:root {
  --navy-950: #171411;
  --navy-900: #231f1c;
  --navy-800: #332c27;
  --ivory: #f7f3e9;
  --paper: #fffdf8;
  --ink: #26211d;
  --muted: #706760;
  --gold: #d2ac36;
  --gold-light: #f0d66b;
  --line: rgba(62, 49, 34, 0.17);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--paper);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: 6rem;
  padding: 1.25rem clamp(1.25rem, 5vw, 5.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: #fff;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo { width: 3.15rem; height: 3.15rem; object-fit: contain; filter: drop-shadow(0 0 .35rem rgba(210,172,54,.14)); }

.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-family: var(--serif); font-size: 1rem; font-weight: 500; }
.brand-copy small { margin-top: .25rem; color: rgba(255,255,255,.68); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }

nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.3rem); }
nav a { color: rgba(255,255,255,.82); text-decoration: none; font-size: .9rem; }
nav a:hover, nav a:focus-visible { color: #fff; }
.nav-contact { padding: .55rem .9rem; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; }

.hero {
  min-height: 680px;
  padding: clamp(4.5rem, 10vw, 8.5rem) clamp(1.25rem, 7vw, 8rem);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .72fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(210,172,54,.17), transparent 27rem),
    linear-gradient(125deg, #100e0c, var(--navy-900) 62%, #2b241f);
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 900px;
  margin-bottom: 1.6rem;
  font-family: var(--serif);
  font-size: clamp(3rem, 6.6vw, 6.8rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.045em;
}

.hero-intro { max-width: 680px; color: rgba(255,255,255,.75); font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.hero-actions { margin-top: 2.5rem; display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: .85rem 1.35rem;
  border-radius: 2px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy-950); background: var(--gold); }
.button-primary:hover { background: #d0ad78; }
.text-link { color: rgba(255,255,255,.9); text-underline-offset: .35rem; }

.hero-portrait {
  position: relative;
  width: 100%;
  max-width: 510px;
  margin: 0 0 0 auto;
  aspect-ratio: .92;
  overflow: hidden;
  background: #080705;
  border: 1px solid rgba(210,172,54,.55);
  box-shadow: 1.25rem 1.25rem 0 rgba(210,172,54,.12);
}

.hero-portrait::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: .85rem;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.18);
}

.hero-portrait img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 45%; }
.hero-portrait figcaption {
  position: absolute;
  z-index: 2;
  right: 1.6rem;
  bottom: 1.6rem;
  left: 1.6rem;
  padding: .9rem 1rem;
  display: grid;
  background: rgba(17,14,12,.78);
  border-left: 2px solid var(--gold);
  backdrop-filter: blur(8px);
}
.hero-portrait figcaption span { font-family: var(--serif); font-size: 1.15rem; }
.hero-portrait figcaption small { color: var(--gold-light); }

.about {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 7vw, 8rem);
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 9vw, 9rem);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.about::before {
  content: "";
  position: absolute;
  top: 2rem;
  right: clamp(1.25rem, 7vw, 8rem);
  width: clamp(7rem, 14vw, 11rem);
  aspect-ratio: 1;
  background: url("./assets/logo-sarah-romualdo.png") center / contain no-repeat;
  opacity: .055;
  pointer-events: none;
}

.about-title, .about-copy { position: relative; z-index: 1; }
.about-title h2 { max-width: 420px; margin-bottom: 0; }
.about-copy { max-width: 760px; padding-left: clamp(1.5rem, 4vw, 3.5rem); border-left: 1px solid var(--gold); }
.about-copy p { margin-bottom: 1.25rem; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.13rem); }
.about-copy p:first-child { color: var(--ink); font-size: clamp(1.08rem, 1.7vw, 1.28rem); }
.about-link { display: inline-flex; gap: .55rem; margin-top: .8rem; color: var(--navy-800); font-weight: 600; text-underline-offset: .35rem; }
.about-link span { color: var(--gold); }

.audience {
  padding: 1.5rem clamp(1.25rem, 7vw, 8rem);
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.audience p { margin: 0; color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.audience-list { display: flex; flex-wrap: wrap; gap: .65rem; }
.audience-list span { padding: .4rem .75rem; color: var(--navy-800); background: var(--ivory); border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; }

.section { padding: clamp(5rem, 9vw, 8.5rem) clamp(1.25rem, 7vw, 8rem); }
.section-heading { max-width: 690px; margin-bottom: 4rem; }
h2 { margin-bottom: 1.35rem; font-family: var(--serif); font-size: clamp(2.35rem, 4.5vw, 4.4rem); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
.section-heading > p:last-child, .method-intro > p:last-child { color: var(--muted); font-size: 1.07rem; }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 300px; padding: clamp(1.75rem, 4vw, 3.25rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-number { display: block; margin-bottom: 3.5rem; color: var(--gold); font-family: var(--serif); }
.service-card h3 { max-width: 430px; margin-bottom: 1rem; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; line-height: 1.2; }
.service-card p { max-width: 520px; color: var(--muted); }
.service-card-featured { background: var(--paper); box-shadow: inset 3px 0 0 var(--gold); }
.service-link { display: inline-flex; gap: .55rem; margin-top: .7rem; color: var(--navy-800); font-weight: 600; text-underline-offset: .3rem; }
.service-link span { color: var(--gold); }
.service-link-secondary { display: flex; margin-top: .45rem; font-size: .92rem; }

.defense-hero {
  min-height: 650px;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 7vw, 8rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  color: #fff;
  background: radial-gradient(circle at 82% 25%, rgba(210,172,54,.16), transparent 25rem), linear-gradient(125deg, #100e0c, var(--navy-900) 68%, #302821);
}
.defense-hero h1 { max-width: 960px; font-size: clamp(2.8rem, 6vw, 6.2rem); }
.defense-hero .hero-intro { max-width: 760px; }
.deadline-panel { padding: clamp(1.6rem, 3vw, 2.5rem); background: rgba(255,255,255,.06); border: 1px solid rgba(210,172,54,.45); }
.deadline-panel h2 { margin-bottom: 1rem; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.deadline-panel p { margin-bottom: 0; color: rgba(255,255,255,.72); }
.defense-section { padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 7vw, 8rem); }
.defense-section.paper { background: var(--paper); }
.defense-heading { max-width: 790px; margin-bottom: 3.5rem; }
.defense-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.situation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.situation-card { min-height: 220px; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--ivory); }
.situation-card span { color: var(--gold); font-family: var(--serif); }
.situation-card h3 { margin: 2rem 0 .75rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.25; }
.situation-card p { margin-bottom: 0; color: var(--muted); }
.defense-process { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 9vw, 9rem); }
.document-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.document-list li { padding: 1rem 0 1rem 2rem; position: relative; border-bottom: 1px solid var(--line); color: var(--muted); }
.document-list li::before { content: ""; position: absolute; top: 1.65rem; left: .25rem; width: .45rem; height: .45rem; background: var(--gold); }
.credibility { padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 9vw, 10rem); display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 8rem); color: #fff; background: var(--navy-800); }
.credibility h2 { max-width: 520px; }
.credibility-copy { padding-left: clamp(1.4rem, 4vw, 3.5rem); border-left: 1px solid var(--gold); }
.credibility-copy p { color: rgba(255,255,255,.72); font-size: 1.08rem; }
.credibility-copy p:first-child { color: #fff; font-size: 1.2rem; }
.faq { max-width: 960px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 1.35rem 2.25rem 1.35rem 0; cursor: pointer; font-family: var(--serif); font-size: 1.25rem; }
.faq details p { max-width: 780px; padding: 0 0 1.35rem; color: var(--muted); }
.back-link { color: rgba(255,255,255,.78); text-decoration: none; font-size: .88rem; }
.back-link:hover, .back-link:focus-visible { color: #fff; }

.method { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 9vw, 9rem); background: var(--paper); }
.method-intro { max-width: 560px; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { padding: 1.7rem 0; display: grid; grid-template-columns: 3rem 1fr; gap: 1.25rem; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps > li > span { color: var(--gold); font-family: var(--serif); font-size: 1.35rem; }
.steps h3 { margin-bottom: .35rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.steps p { margin: 0; color: var(--muted); }

.principle { padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 12vw, 14rem); text-align: center; }
.principle blockquote { max-width: 1050px; margin: 0 auto; color: var(--navy-800); font-family: var(--serif); font-size: clamp(2rem, 4vw, 4rem); line-height: 1.2; letter-spacing: -.025em; }
.principle-signature { margin: 2.3rem 0 0; color: var(--gold); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

.contact {
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 7vw, 8rem);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  color: #fff;
  background: var(--navy-900);
}

.contact h2 { max-width: 760px; }
.contact > div > p:last-child { max-width: 660px; color: rgba(255,255,255,.68); }
.contact-links { display: grid; gap: 1rem; }
.contact-links > a:not(.button) { color: rgba(255,255,255,.82); text-underline-offset: .3rem; overflow-wrap: anywhere; }
.button-light { color: var(--navy-950); background: var(--paper); }

footer {
  padding: 2rem clamp(1.25rem, 7vw, 8rem);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: rgba(255,255,255,.6);
  background: var(--navy-950);
  font-size: .8rem;
}

footer div { display: grid; }
footer strong { color: rgba(255,255,255,.88); }
footer p { max-width: 600px; margin: 0; text-align: right; }
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-brand img { width: 2.8rem; height: 2.8rem; object-fit: contain; }
.footer-brand > span { display: grid; }
.footer-brand small { color: rgba(255,255,255,.6); }

@media (max-width: 850px) {
  .site-header nav a:not(.nav-contact) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; align-items: start; }
  .hero-note { max-width: 520px; }
  .hero-portrait { max-width: 620px; margin: 0; }
  .audience { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .about, .service-grid, .method, .contact { grid-template-columns: 1fr; }
  .about { gap: 2rem; }
  .about-copy { max-width: none; }
  .contact { align-items: start; }
  .defense-hero, .defense-process, .credibility { grid-template-columns: 1fr; }
  .situation-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .site-header { min-height: 5.2rem; }
  .brand-copy small { display: none; }
  .nav-contact { padding: .45rem .75rem; }
  .hero { padding-top: 4.5rem; padding-bottom: 5rem; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.6rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-number { margin-bottom: 2.25rem; }
  .about-copy { padding-left: 1.2rem; }
  .situation-grid { grid-template-columns: 1fr; }
  .credibility-copy { padding-left: 1.2rem; }
  footer { flex-direction: column; }
  footer p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
