/* =========================================================================
   El Dorado Hills Neighbors — placeholder site
   Premium editorial system: warm near-black grounds, parchment light
   sections, brass-gold accents. Playfair Display (display) + Inter (UI).
   Vanilla CSS, no build step. Degrades gracefully (reveals gated on .js).
   ========================================================================= */

/* ---- Tokens ---------------------------------------------------------- */
:root {
  --ink:        #0E0B07;   /* page background, warm near-black            */
  --ink-2:      #15110A;   /* alt dark band                              */
  --ink-3:      #1C160D;   /* dark card                                  */
  --ink-4:      #261E12;   /* raised dark card / borders                 */
  --cream:      #F2EADB;   /* light section background                   */
  --cream-2:    #F8F3E9;   /* lighter light section                      */
  --paper:      #FCFAF4;   /* card on cream                              */
  --gold:       #C29B4C;   /* primary brass                             */
  --gold-2:     #E0C079;   /* bright gold (hover / accents)             */
  --gold-deep:  #9A7A33;   /* deep gold                                  */
  --text-light: #F3ECDD;   /* primary text on dark                       */
  --text-mut:   #B7AB92;   /* muted text on dark                         */
  --text-dark:  #271F15;   /* primary text on cream                      */
  --text-dmut:  #6E6149;   /* muted text on cream                        */
  --line-d:     rgba(255,255,255,.10);   /* hairline on dark             */
  --line-g:     rgba(194,155,76,.30);    /* gold hairline                */
  --line-l:     rgba(39,31,21,.14);      /* hairline on cream            */
  --shadow:     0 24px 60px -28px rgba(0,0,0,.65);
  --shadow-s:   0 14px 34px -22px rgba(0,0,0,.55);
  --r:          14px;      /* radius                                     */
  --r-s:        10px;
  --maxw:       1200px;
  --pad:        clamp(20px, 5vw, 64px);
  --ease:       cubic-bezier(.22,.61,.36,1);
  --serif:      "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:       "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---- Reset / base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--ink);
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: #1a1304; padding: 10px 16px;
  border-radius: 8px; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---- Layout helpers -------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 9vw, 132px); position: relative; }
.section--dark  { background: var(--ink); }
.section--dark2 { background: var(--ink-2); }
.section--cream { background: var(--cream); color: var(--text-dark); }

.eyebrow {
  font-family: var(--sans); font-size: .76rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 18px; display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .8; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .8; }

.h-display { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
.h-section { font-size: clamp(1.9rem, 4.2vw, 3rem); text-wrap: balance; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-mut); max-width: 60ch; }
.section--cream .lead { color: var(--text-dmut); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.text-gold { color: var(--gold); }
.section--cream .text-gold { color: var(--gold-deep); }

/* ---- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-family: var(--sans);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1c1404; box-shadow: 0 10px 26px -12px rgba(194,155,76,.7);
}
.btn--gold:hover { box-shadow: 0 16px 34px -12px rgba(224,192,121,.8); }
.btn--ghost { background: transparent; color: var(--text-light); border-color: rgba(243,236,221,.34); }
.btn--ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.section--cream .btn--ghost { color: var(--text-dark); border-color: var(--line-l); }
.section--cream .btn--ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn--lg { padding: 17px 36px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---- Header / nav ---------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; isolation: isolate;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,6,3,.6), rgba(8,6,3,0));
  transition: opacity .35s var(--ease);
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-scrolled {
  background: rgba(14,11,7,.86); backdrop-filter: blur(12px) saturate(140%);
  border-bottom-color: var(--line-d);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.nav__brand img { height: 40px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-size: .92rem; font-weight: 500; color: var(--text-light); position: relative; padding: 4px 0; opacity: .92;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--gold-2); transition: width .28s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { width: 100%; }
.nav__menu { display: flex; align-items: center; gap: 32px; }
.nav__cta { flex-shrink: 0; }
.nav__toggle, .nav__close { display: none; }

@media (max-width: 940px) {
  .nav__toggle {
    display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0;
    padding: 8px; z-index: 120;
  }
  .nav__toggle span { width: 26px; height: 2px; background: var(--text-light); transition: transform .3s var(--ease), opacity .3s var(--ease); }
  .nav__menu {
    position: fixed; inset: 0; background: rgba(12,9,5,.97); backdrop-filter: blur(8px);
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 8px; padding: var(--pad); transform: translateX(100%); transition: transform .4s var(--ease);
    z-index: 110;
  }
  .nav.is-open .nav__menu { transform: translateX(0); }
  .nav__links { flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
  .nav__links a { font-family: var(--serif); font-size: 1.7rem; padding: 10px 0; }
  .nav__links a::after { display: none; }
  .nav__menu .btn--gold { display: inline-flex; margin-top: 22px; }
  .nav__close {
    display: inline-flex; position: absolute; top: 22px; right: var(--pad);
    background: none; border: 0; color: var(--text-light); font-size: 2.4rem; line-height: 1;
  }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---- Hero ------------------------------------------------------------ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%;
  animation: kenburns 30s ease-in-out infinite alternate; will-change: transform;
}
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.15) translate(-2%, -1.2%); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,6,3,.95) 0%, rgba(8,6,3,.86) 40%, rgba(8,6,3,.5) 66%, rgba(8,6,3,.12) 100%),
    linear-gradient(0deg, rgba(8,6,3,.82) 0%, rgba(8,6,3,0) 42%);
}
.hero__inner { padding-top: 120px; padding-bottom: 64px; max-width: 760px; }
.hero__eyebrow { color: var(--gold-2); }
.hero h1 { font-size: clamp(2.5rem, 6.6vw, 4.7rem); line-height: 1.02; margin-bottom: 22px; text-wrap: balance; }
.hero h1 .hl-line { display: block; }
.hero h1 .accent { color: var(--gold-2); font-style: italic; display: block; }
.hero__sub { font-size: clamp(1.06rem, 1.7vw, 1.28rem); color: #E6DDCB; max-width: 56ch; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__trust {
  display: inline-flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--text-mut);
  letter-spacing: .04em;
}
.hero__trust::before { content: ""; width: 20px; height: 1px; background: var(--gold); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1;
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--text-mut);
}
.hero__scroll span { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: scrolldash 2.2s var(--ease) infinite; }
@keyframes scrolldash { 0% { transform: scaleY(.3); transform-origin: top; opacity: 0; } 40% { opacity: 1; } 100% { transform: scaleY(1); transform-origin: top; opacity: 0; } }

@media (max-width: 720px) {
  .hero__bg img { object-position: 50% 42%; }
  .hero__scrim { background: linear-gradient(0deg, rgba(8,6,3,.94) 8%, rgba(8,6,3,.6) 48%, rgba(8,6,3,.82) 100%); }
  .hero__scroll { display: none; }
}

/* ---- Proof strip ----------------------------------------------------- */
.proof { background: var(--ink-2); border-block: 1px solid var(--line-d); }
.proof__row {
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding-block: clamp(26px, 4vw, 40px);
}
.proof__item { text-align: center; padding: 8px 16px; position: relative; }
.proof__item + .proof__item::before {
  content: ""; position: absolute; left: 0; top: 14%; height: 72%; width: 1px; background: var(--line-d);
}
.proof__num { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.15rem); color: var(--gold-2); line-height: 1; margin-bottom: 8px; }
.proof__label { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mut); }
@media (max-width: 800px) {
  .proof__row { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .proof__item:nth-child(odd)::before { display: none; }
  .proof__item:nth-child(5) { grid-column: 1 / -1; }
  .proof__item:nth-child(5)::before { display: none; }
}

/* ---- Services grid --------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
  background: var(--paper); border: 1px solid var(--line-l); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-s); border-color: var(--line-g); }
.svc-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card__img img { transform: scale(1.05); }
.svc-card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-card__num { font-family: var(--serif); font-size: .9rem; color: var(--gold-deep); letter-spacing: .1em; }
.svc-card h3 { font-size: 1.34rem; color: var(--text-dark); }
.svc-card p { font-size: .96rem; color: var(--text-dmut); margin: 0; }
@media (max-width: 920px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---- Split (image + copy) ------------------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(34px, 6vw, 78px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.split__media img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; }
.split__media--tall img { aspect-ratio: 5 / 4; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--rev .split__media { order: 0; }
}

/* ---- Steps (How it works) ------------------------------------------- */
.steps { display: grid; gap: 18px; margin-top: 8px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line-d); }
.step:first-child { border-top: 0; }
.step__n {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-g);
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.2rem; color: var(--gold-2);
}
.step h3 { font-size: 1.3rem; margin-bottom: 6px; }
.step p { color: var(--text-mut); margin: 0; font-size: .98rem; }

/* ---- Mini cards (integrated platform) ------------------------------- */
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.mini {
  background: var(--ink-3); border: 1px solid var(--line-d); border-radius: var(--r-s); padding: 22px 20px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.mini:hover { border-color: var(--line-g); transform: translateY(-4px); }
.mini__icon { color: var(--gold-2); margin-bottom: 12px; }
.mini__icon svg { width: 26px; height: 26px; }
.mini h4 { font-family: var(--sans); font-weight: 700; font-size: 1rem; margin-bottom: 5px; color: var(--text-light); }
.mini p { font-size: .86rem; color: var(--text-mut); margin: 0; }
@media (max-width: 860px) { .mini-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Markets band ---------------------------------------------------- */
.markets { position: relative; isolation: isolate; }
.markets__bg { position: absolute; inset: 0; z-index: -2; }
.markets__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.markets__scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,6,3,.92) 0%, rgba(8,6,3,.74) 44%, rgba(8,6,3,.3) 100%); }
.markets__inner { max-width: 640px; }
.markets__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; padding: 0; list-style: none; }
.markets__list li {
  border: 1px solid var(--line-g); border-radius: 999px; padding: 8px 18px; font-size: .9rem;
  color: var(--text-light); background: rgba(20,16,9,.5);
}
.markets__list li.is-soft { color: var(--text-mut); border-color: var(--line-d); }

/* ---- Owner ----------------------------------------------------------- */
.owner__sig { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-deep); margin: 22px 0 2px; }
.owner__role { font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dmut); }
.owner__media { position: relative; }
.owner__badge {
  position: absolute; left: -18px; bottom: -18px; background: var(--ink);
  border: 1px solid var(--line-g); border-radius: var(--r-s); padding: 16px 20px; box-shadow: var(--shadow-s);
}
.owner__badge strong { font-family: var(--serif); color: var(--gold-2); font-size: 1.4rem; display: block; }
.owner__badge span { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mut); }
@media (max-width: 860px) { .owner__badge { left: 12px; bottom: 12px; } }

/* ---- Testimonials ---------------------------------------------------- */
.tst-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tst {
  background: rgba(255,255,255,.02); border: 1px solid var(--line-d); border-radius: var(--r);
  padding: 30px 30px 28px; display: flex; flex-direction: column;
}
.section--cream .tst { background: var(--paper); border-color: var(--line-l); }
.tst__stars { color: var(--gold-2); letter-spacing: 3px; margin-bottom: 14px; font-size: .95rem; }
.tst__quote { font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; color: var(--text-light); margin: 0 0 18px; }
.section--cream .tst__quote { color: var(--text-dark); }
.tst__who { margin-top: auto; font-size: .9rem; }
.tst__name { font-weight: 700; color: var(--gold-2); }
.section--cream .tst__name { color: var(--gold-deep); }
.tst__biz { color: var(--text-mut); }
.section--cream .tst__biz { color: var(--text-dmut); }
@media (max-width: 700px) { .tst-grid { grid-template-columns: 1fr; } }

/* ---- Lead form ------------------------------------------------------- */
.cta-form {
  position: relative; isolation: isolate;
  background:
    radial-gradient(1100px 520px at 82% -5%, rgba(194,155,76,.14), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(194,155,76,.07), transparent 55%),
    var(--ink-2);
}
.form-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.form-aside h2 { margin-bottom: 18px; }
.form-aside .lead { margin-bottom: 28px; }
.expect { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.expect li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.expect svg { width: 22px; height: 22px; color: var(--gold-2); margin-top: 3px; flex-shrink: 0; }
.expect strong { display: block; color: var(--text-light); font-family: var(--sans); }
.expect span { color: var(--text-mut); font-size: .92rem; }
.form-contact { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; gap: 10px 28px; }
.form-contact a { display: inline-flex; align-items: center; gap: 9px; color: var(--text-light); font-weight: 500; font-size: .96rem; }
.form-contact svg { width: 18px; height: 18px; color: var(--gold-2); }

.lead-form {
  background: var(--paper); color: var(--text-dark); border-radius: var(--r);
  padding: clamp(26px, 3.4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line-g);
}
.lead-form__head { margin-bottom: 22px; }
.lead-form__head .eyebrow { color: var(--gold-deep); }
.lead-form__head h3 { font-size: 1.7rem; color: var(--text-dark); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; color: var(--text-dark); letter-spacing: .01em; }
.field label .opt { color: var(--text-dmut); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; padding: 12px 14px; border-radius: 9px;
  border: 1px solid rgba(39,31,21,.2); background: #fff; color: var(--text-dark); width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,155,76,.18);
}
.field textarea { resize: vertical; min-height: 92px; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  background: rgba(194,155,76,.07); border: 1px solid var(--line-g); border-radius: var(--r-s); padding: 14px 16px; }
.consent input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--gold-deep); flex-shrink: 0; }
.consent label { font-size: .8rem; line-height: 1.5; color: var(--text-dmut); font-weight: 400; }
.consent a { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.lead-form__submit { margin-top: 20px; }
.form-note {
  margin: 14px 0 0; font-size: .9rem; display: flex; gap: 9px; align-items: flex-start;
  padding: 12px 14px; border-radius: 9px;
}
.form-note[hidden] { display: none; }
.form-note[data-state="ok"]   { background: rgba(46,125,72,.12); color: #2c6b41; }
.form-note[data-state="err"]  { background: rgba(170,70,40,.1); color: #9a3a1e; }
.form-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.form-micro { margin: 14px 0 0; font-size: .8rem; color: var(--text-dmut); text-align: center; }
.cta-band { max-width: 760px; margin-inline: auto; text-align: center; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.cta-band__micro { margin-top: 18px; font-size: .85rem; color: var(--text-mut); }

/* Calendly booking card (on /book) */
.cal-card { background: var(--paper); border: 1px solid var(--line-g); border-radius: var(--r); padding: 14px 14px 4px; box-shadow: var(--shadow); }
.cal-card .calendly-inline-widget { border-radius: 10px; overflow: hidden; }
.cal-consent { margin: 8px 8px 10px; font-size: .76rem; line-height: 1.55; color: var(--text-dmut); }
.cal-consent a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 980px) { .form-wrap { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .fields { grid-template-columns: 1fr; } }

/* ---- Footer ---------------------------------------------------------- */
.site-footer { background: #0A0805; border-top: 1px solid var(--line-d); padding-block: clamp(54px, 7vw, 84px) 30px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__logo { height: 46px; width: auto; margin-bottom: 18px; }
.footer__blurb { color: var(--text-mut); font-size: .92rem; max-width: 38ch; margin-bottom: 18px; }
.footer__pub { font-size: .8rem; color: var(--text-dmut); letter-spacing: .04em; }
.footer__col h4 { font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col a, .footer__col li { color: var(--text-mut); font-size: .92rem; }
.footer__col a:hover { color: var(--gold-2); }
.footer__contact span { display: block; }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-d);
  display: grid; place-items: center; color: var(--text-mut); transition: all .25s var(--ease);
}
.footer__social a:hover { color: var(--gold-2); border-color: var(--gold-2); transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-d);
  font-size: .84rem; color: var(--text-dmut);
}
.footer__legal { display: flex; gap: 22px; list-style: none; padding: 0; margin: 0; }
.footer__legal a:hover { color: var(--gold-2); }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---- Legal pages ----------------------------------------------------- */
.legal { padding-top: 130px; padding-bottom: 90px; background: var(--ink); min-height: 70vh; }
.legal__inner { max-width: 820px; }
.legal__back { color: var(--gold-2); font-size: .9rem; display: inline-block; margin-bottom: 26px; }
.legal__title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
.legal__updated { color: var(--text-mut); font-size: .9rem; margin-bottom: 36px; }
.legal__body h2 { font-size: 1.4rem; color: var(--gold-2); margin: 36px 0 12px; }
.legal__body h3 { font-family: var(--sans); font-size: 1.04rem; color: var(--text-light); margin: 22px 0 8px; }
.legal__body p, .legal__body li { color: var(--text-mut); font-size: .98rem; line-height: 1.7; }
.legal__body a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 2px; }
.legal__body ul { padding-left: 20px; margin: 0 0 1em; }
.legal__body li { margin-bottom: 6px; }
.legal__callout { background: var(--ink-3); border: 1px solid var(--line-g); border-radius: var(--r-s); padding: 20px 22px; margin: 22px 0; }
.legal__callout p:last-child { margin-bottom: 0; }

/* ---- 404 ------------------------------------------------------------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--pad); }
.nf h1 { font-size: clamp(4rem, 16vw, 9rem); color: var(--gold-2); line-height: 1; }
.nf p { color: var(--text-mut); max-width: 42ch; margin: 14px auto 28px; }

/* ---- Reveal animations ---------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .08s; }
.js .reveal[data-d="2"] { transition-delay: .16s; }
.js .reveal[data-d="3"] { transition-delay: .24s; }
.js .reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__scroll span { animation: none; }
  .hero__bg img { animation: none; transform: scale(1.02); }
}

/* ---- Large monitors: let the layout breathe and scale up ----------- */
@media (min-width: 1600px) {
  :root { --maxw: 1480px; }
  html { scroll-padding-top: 98px; }
  .nav { height: 88px; }
  .nav__brand img { height: 46px; }
  .hero__inner { max-width: 920px; padding-top: 132px; }
  .hero h1 { font-size: clamp(4.7rem, 4.6vw, 6rem); }
  .hero__sub { font-size: 1.36rem; max-width: 56ch; }
  .h-display { font-size: clamp(3.4rem, 3.4vw, 4.1rem); }
  .h-section { font-size: clamp(3rem, 3.2vw, 3.6rem); }
  .lead { font-size: 1.3rem; }
  .eyebrow { font-size: .82rem; }
  .section { padding-block: clamp(116px, 8.5vw, 172px); }
  .svc-grid { gap: 30px; }
  .svc-card h3 { font-size: 1.46rem; }
  .svc-card p { font-size: 1.01rem; }
  .step h3 { font-size: 1.42rem; }
  .step p { font-size: 1.04rem; }
  .mini h4 { font-size: 1.08rem; }
  .tst__quote { font-size: 1.3rem; }
  .owner__sig { font-size: 1.7rem; }
}
@media (min-width: 2100px) {
  :root { --maxw: 1660px; }
  .hero__inner { max-width: 1020px; }
  .hero h1 { font-size: 6.4rem; }
  .hero__sub { font-size: 1.44rem; }
  .h-section { font-size: 4rem; }
  .lead { font-size: 1.36rem; }
}
