:root {
  --ink: #10262f;
  --navy: #0b2330;
  --navy-2: #143540;
  --gold: #e6b55a;
  --gold-soft: #f1cf8a;
  --paper: #f4f0e7;
  --white: #fffdf8;
  --muted: #66777b;
  --line: rgba(16, 38, 47, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.65 "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: var(--gold); color: var(--navy); padding: .75rem 1rem; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; height: 6.5rem; padding: 0 clamp(1.25rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.18); }
.brand { font-family: "Bodoni 72", Didot, Georgia, serif; font-size: clamp(1.8rem, 3vw, 2.35rem); letter-spacing: .02em; text-decoration: none; }
.brand span, .manifesto-sign span { color: var(--gold); }
nav { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.8rem); }
nav a { font-size: .88rem; font-weight: 500; text-decoration: none; letter-spacing: .03em; }
nav a:not(.nav-cta):hover { color: var(--gold-soft); }
.nav-cta { border: 1px solid rgba(255,255,255,.65); padding: .65rem 1.2rem; }
.nav-cta:hover { background: var(--white); color: var(--navy); }
.menu-toggle { display: none; background: transparent; border: 0; color: inherit; padding: .5rem; }
.menu-toggle > span:not(.sr-only) { display: block; width: 1.5rem; height: 1px; margin: .32rem 0; background: currentColor; }

.hero { position: relative; min-height: 47rem; height: 100svh; max-height: 62rem; color: var(--white); overflow: hidden; display: grid; align-items: center; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,23,33,.93) 0%, rgba(5,23,33,.70) 37%, rgba(5,23,33,.12) 72%, rgba(5,23,33,.2) 100%), linear-gradient(0deg, rgba(5,23,33,.35), transparent 45%); }
.hero-content { position: relative; z-index: 2; width: min(43rem, 88vw); margin-left: clamp(1.25rem, 8vw, 8.5rem); padding-top: 5.5rem; }
.eyebrow { margin: 0 0 1.4rem; font-size: .73rem; font-weight: 600; letter-spacing: .21em; text-transform: uppercase; color: #9a6a1b; }
.eyebrow.light { color: var(--gold-soft); }
h1, h2, blockquote { font-family: "Bodoni 72", Didot, Georgia, serif; font-weight: 400; letter-spacing: -.02em; line-height: 1.04; }
h1 { margin: 0 0 1.6rem; font-size: clamp(3.5rem, 7vw, 6.7rem); }
h1 em, h2 em { color: var(--gold-soft); font-style: normal; }
.hero-copy { max-width: 39rem; margin: 0 0 2.25rem; font-size: clamp(1rem, 1.45vw, 1.18rem); line-height: 1.7; color: rgba(255,255,255,.84); }
.hero-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.3rem; padding: .85rem 1.5rem; font-size: .82rem; font-weight: 600; letter-spacing: .045em; text-decoration: none; }
.button-gold { color: var(--navy); background: var(--gold); }
.button-gold:hover { background: var(--gold-soft); }
.text-link { display: inline-block; margin-top: 1rem; padding-bottom: .15rem; border-bottom: 1px solid currentColor; font-size: .88rem; font-weight: 600; text-decoration: none; }
.text-link span { margin-left: .35rem; }
.light-link { color: var(--white); margin: 0; }
.hero-note { position: absolute; z-index: 2; right: clamp(1.25rem, 5vw, 5rem); bottom: 2rem; margin: 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .17em; color: rgba(255,255,255,.72); }

.section { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 8vw, 8.5rem); }
.intro { display: grid; grid-template-columns: 3.8rem minmax(16rem, 1.2fr) minmax(18rem, .9fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.section-number { color: #af8339; font-size: .75rem; letter-spacing: .1em; border-top: 1px solid #af8339; padding-top: .7rem; }
h2 { margin: 0; font-size: clamp(3rem, 5.8vw, 5.8rem); }
.intro-copy { padding-top: 2.35rem; }
.intro-copy .lead { color: var(--ink); font-size: 1.3rem; line-height: 1.5; }
.intro-copy p:not(.lead) { color: var(--muted); }

.services { background: var(--white); }
.section-heading-row { display: grid; grid-template-columns: 1.45fr .55fr; align-items: end; gap: 3rem; margin-bottom: 4rem; }
.section-heading-row > p { max-width: 28rem; margin: 0 0 .75rem; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 30rem; padding: clamp(1.5rem, 3.5vw, 3rem); display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { position: relative; z-index: 2; transform: translateY(-4px); box-shadow: 0 20px 60px rgba(16,38,47,.11); }
.service-card.featured { background: var(--navy); color: var(--white); }
.card-top { min-height: 2rem; display: flex; justify-content: space-between; align-items: start; font-size: .72rem; color: #a6782d; letter-spacing: .12em; }
.featured .card-top { color: var(--gold-soft); }
.pill { border: 1px solid rgba(241,207,138,.5); padding: .3rem .6rem; letter-spacing: .08em; text-transform: uppercase; }
.service-card h3 { margin: 2.2rem 0 .25rem; font: 400 clamp(1.8rem, 3vw, 2.7rem)/1.15 "Bodoni 72", Didot, Georgia, serif; }
.service-subtitle { margin: 0 0 1.5rem; font-size: .8rem; color: #9a6a1b; text-transform: uppercase; letter-spacing: .09em; }
.featured .service-subtitle { color: var(--gold-soft); }
.service-card > p:not(.service-subtitle) { max-width: 32rem; color: var(--muted); }
.featured > p:not(.service-subtitle) { color: rgba(255,255,255,.68); }
.price { margin-top: auto; padding-top: 2rem; font: 400 1.4rem "Bodoni 72", Didot, Georgia, serif; }
.price span { font: 500 .7rem "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.featured .price span { color: rgba(255,255,255,.55); }
.service-card > a { margin-top: 1rem; font-size: .82rem; font-weight: 600; text-decoration: none; }
.service-card > a:hover { color: #a6782d; }
.featured > a:hover { color: var(--gold-soft); }
.price-note { max-width: 57rem; margin: 1.25rem 0 0; font-size: .76rem; color: var(--muted); }

.approach { color: var(--white); background: var(--navy); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(4rem, 10vw, 10rem); }
.approach-title h2 { font-size: clamp(3rem, 5vw, 5.2rem); }
.steps { padding-top: 2rem; }
.step { display: grid; grid-template-columns: 3rem 1fr; gap: 1.2rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.17); }
.step > span { color: var(--gold-soft); font-size: .7rem; }
.step h3 { margin: -.2rem 0 .3rem; font: 400 1.7rem "Bodoni 72", Didot, Georgia, serif; }
.step p { margin: 0; color: rgba(255,255,255,.65); font-size: .93rem; }

.manifesto { text-align: center; }
.manifesto blockquote { max-width: 62rem; margin: 0 auto; font-size: clamp(2.2rem, 5vw, 4.6rem); }
.manifesto-sign { margin-top: 2.5rem; font: 400 1.8rem "Bodoni 72", Didot, Georgia, serif; }

.contact { color: var(--white); background: var(--navy-2); display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(3rem, 9vw, 9rem); }
.contact h2 { font-size: clamp(3rem, 5.5vw, 5.7rem); }
.contact-box > p { margin: 0 0 2rem; color: rgba(255,255,255,.72); }
.contact-box .button { margin-bottom: 2.5rem; }
.contact-meta { display: grid; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.17); }
.contact-meta > div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; }
.contact-meta span { color: var(--gold-soft); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-meta p, .contact-meta a { margin: 0; color: rgba(255,255,255,.83); text-decoration: none; }

footer { padding: 3.5rem clamp(1.25rem, 5vw, 5rem) 2rem; background: #071920; color: var(--white); display: grid; grid-template-columns: 1fr auto; gap: .3rem 2rem; align-items: center; }
.footer-brand { grid-row: span 2; font-size: 2.3rem; }
footer > p { margin: 0; color: rgba(255,255,255,.5); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: flex; gap: 1.3rem; justify-content: end; flex-wrap: wrap; }
.footer-links a, .footer-links button { color: rgba(255,255,255,.75); background: none; border: 0; padding: 0; font: inherit; font-size: .8rem; cursor: pointer; text-decoration: none; }
.footer-links a:hover, .footer-links button:hover { color: var(--gold-soft); }
.copyright { grid-column: 1 / -1; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); text-align: right; }

dialog { width: min(44rem, calc(100vw - 2rem)); max-height: 80vh; padding: 2.5rem; color: var(--ink); background: var(--white); border: 0; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
dialog::backdrop { background: rgba(3,16,22,.75); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; right: 1rem; top: .75rem; border: 0; background: none; font-size: 2rem; cursor: pointer; color: var(--ink); }
dialog h2 { font-size: 2.7rem; margin-bottom: 1rem; }
dialog h3 { margin-top: 2rem; }
dialog p { color: var(--muted); }
.legal-alert { padding: 1rem; background: #fff2d9; border-left: 3px solid #b57816; color: #6c4c18; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 850px) {
  .site-header { height: 5rem; }
  .menu-toggle { display: block; }
  nav { position: absolute; display: none; top: 5rem; left: 0; right: 0; padding: 1.4rem; align-items: stretch; background: var(--navy); border-top: 1px solid rgba(255,255,255,.15); flex-direction: column; gap: .4rem; }
  nav.open { display: flex; }
  nav a { padding: .7rem; }
  .nav-cta { text-align: center; margin-top: .5rem; }
  .hero { min-height: 44rem; }
  .hero-content { margin-left: 1.25rem; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,23,33,.91), rgba(5,23,33,.36)), linear-gradient(0deg, rgba(5,23,33,.6), transparent 50%); }
  .intro, .approach, .contact { grid-template-columns: 1fr; }
  .intro { gap: 1.5rem; }
  .section-number { width: 3rem; }
  .intro-copy { padding-top: 0; }
  .section-heading-row { grid-template-columns: 1fr; align-items: start; gap: 1.5rem; }
  .service-card { min-height: 27rem; }
  footer { grid-template-columns: 1fr; gap: 1rem; }
  .footer-brand { grid-row: auto; }
  .footer-links { justify-content: start; }
  .copyright { text-align: left; }
}

@media (max-width: 620px) {
  .hero-content { width: calc(100vw - 2.5rem); }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-note { left: 1.25rem; right: auto; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 25rem; }
  .contact-meta > div { grid-template-columns: 1fr; gap: .2rem; }
  dialog { padding: 2rem 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
