/* Self-hosted webfonts — served locally to remove the render-blocking
   third-party request (extra DNS + TLS + round trip to fonts.gstatic.com).
   Manrope is the VARIABLE font: one 24 KB file covers weights 400-800.
   Only latin + latin-ext subsets are shipped. */

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-400-800-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-400-800-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Kiansh Dental Studio — boutique editorial design system
   Bone #F4F0E9 · Ink #161817 · Gold #B59660 · Greige #D8D0C4
   Instrument Serif display · Manrope body
   ========================================================================== */

:root {
  /* Palette */
  --bone:        #F4F0E9;
  --bone-deep:   #ECE6DB;
  --card:        #FBF9F5;
  --ink:         #161817;
  --ink-soft:    #2A2C2A;
  --ink-deep:    #0E100F;
  --gold:        #B59660;
  /* Deep gold for text on light surfaces — darkened to clear WCAG AA (4.5:1)
     on bone, card and ivory backgrounds. Use --gold on dark surfaces instead. */
  --gold-deep:   #7C622D;
  --gold-soft:   #E4D7BC;
  --greige:      #D8D0C4;
  --stone:       #6E695F;
  --line:        #D8D0C4;

  /* Type */
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;

  /* Rhythm */
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 12px 34px rgba(22, 24, 23, 0.08);
  --shadow-card: 0 4px 16px rgba(22, 24, 23, 0.05);
  --container: 1180px;
  --header-h: 78px;
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  /* 500 matches the shipped variable range and reads better than 400 on bone */
  font-weight: 500;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bone);
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold-deep); }
ul { padding-left: 1.2em; }
address { font-style: normal; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.08;
  margin: 0 0 .45em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 .55em;
  letter-spacing: -0.01em;
}
h3 { font-size: 1.13rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 60px 0; }
.section-ivory { background: var(--bone-deep); }
.section-navy { background: var(--ink); color: #CFC9BD; }
.section-navy h2, .section-navy h3 { color: var(--bone); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.eyebrow-light { color: var(--gold); }
.lede { font-size: 1.12rem; line-height: 1.8; color: #45473F; max-width: 44em; font-weight: 500; }
.editorial {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.55rem;
  color: var(--ink-soft);
  line-height: 1.3;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bone); padding: 10px 18px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; color: var(--bone); }

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

/* ---- Buttons: black pills, subtle gold hover ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: .92rem;
  letter-spacing: .02em;
  padding: 14px 30px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
  min-height: 48px;
}
.btn-primary { background: var(--ink); color: var(--bone); }
.btn-primary:hover {
  background: var(--ink-deep); color: var(--gold-soft);
  box-shadow: inset 0 0 0 1.5px var(--gold);
}
.btn-gold { background: var(--gold); color: var(--ink-deep); }
.btn-gold:hover { background: var(--gold-soft); color: var(--ink-deep); }
.btn-outline { border-color: rgba(22,24,23,.35); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-deep); background: rgba(181,150,96,.06); }
.btn-outline-light { border-color: rgba(244,240,233,.4); color: var(--bone); background: transparent; }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold-soft); background: rgba(181,150,96,.1); }
.btn-header { padding: 11px 24px; font-size: .87rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 240, 233, .93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 26px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.5rem; letter-spacing: .3em; color: var(--ink);
}
.brand-sub {
  font-family: var(--font-body); font-size: .6rem; font-weight: 700;
  letter-spacing: .38em; text-transform: uppercase; color: var(--gold-deep);
}
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 10px 12px; font-family: var(--font-body);
  font-size: .9rem; font-weight: 600; color: var(--ink); border-radius: 8px;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--gold-deep); background: var(--bone-deep); }
.has-sub { position: relative; }
.sub-nav {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); padding: 8px; margin: 6px 0 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-sub:hover .sub-nav, .has-sub:focus-within .sub-nav {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sub-nav a { padding: 9px 14px; font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-call {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-body); font-weight: 700; font-size: .88rem; color: var(--ink);
  white-space: nowrap;
}
.header-call:hover { color: var(--gold-deep); }
.nav-toggle { display: none; }

/* ---- Cinematic hero ---- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -12%, rgba(181,150,96,.16), transparent 62%),
    radial-gradient(800px 500px at -8% 112%, rgba(181,150,96,.08), transparent 55%),
    linear-gradient(180deg, var(--ink-deep) 0%, var(--ink) 100%);
  color: #CFC9BD;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181,150,96,.5), transparent);
}
.hero-inner {
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 64px;
  align-items: center; padding: 104px 0 110px;
}
.hero h1 { color: var(--bone); max-width: 12em; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero .lede { color: #B5AF9F; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(181,150,96,.4); border-radius: 999px;
  padding: 8px 18px; font-family: var(--font-body); font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px; background: rgba(14,16,15,.4);
}
.hero-kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-doctor-line { margin-top: 20px; font-size: .97rem; color: #B5AF9F; }
.hero-doctor-line strong { color: var(--bone); font-weight: 700; }
.hero .btn-outline { border-color: rgba(244,240,233,.35); color: var(--bone); }
.hero .btn-outline:hover { border-color: var(--gold); color: var(--gold-soft); background: rgba(181,150,96,.08); }
.hero .btn-primary { background: var(--gold); color: var(--ink-deep); }
.hero .btn-primary:hover { background: var(--gold-soft); color: var(--ink-deep); box-shadow: none; }
.hero-visual { position: relative; }
.hero-visual .placeholder-img { aspect-ratio: 4 / 5; }

/* ---- Hero portrait: ONE frame, no offset plate, no doubled edges ----
   A single hairline in gold, a generous radius, and a deep soft shadow that
   lifts the portrait off the dark band. The image fills the frame edge to edge. */
.hero-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;                      /* clips the image to the frame exactly */
  /* A true gold edge — one frame, clearly gilded, not a faint hairline */
  border: 2px solid var(--gold);
  box-shadow:
    0 32px 64px -18px rgba(0, 0, 0, .78),   /* lifts the portrait off the dark band */
    0 0 0 1px rgba(0, 0, 0, .55),           /* seats the gold against the background */
    0 0 26px -6px rgba(181, 150, 96, .38);  /* soft gold bloom, matches the lit signage */
  background: var(--ink-deep);
  line-height: 0;                        /* removes the inline-image descender gap */
}
.hero-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0;                      /* the frame owns the radius, not the image */
}
.hero-note { margin-top: 18px; font-size: .82rem; color: #7C776A; }

/* Placeholder imagery (until original photography is supplied) */
.placeholder-img {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(165deg, var(--bone-deep) 0%, var(--greige) 100%);
  border: 1px dashed #A79C87; border-radius: var(--radius-lg);
  color: #5C5548; font-family: var(--font-body); font-size: .84rem; font-weight: 600;
  text-align: center; padding: 24px; width: 100%;
}
.placeholder-img svg { opacity: .5; }

/* ---- Trust strip ---- */
.trust-strip { background: var(--bone); border-bottom: 1px solid var(--line); }
.trust-strip .container {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 34px;
  padding-top: 26px; padding-bottom: 26px;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-soft); font-family: var(--font-body); font-size: .87rem; font-weight: 600;
}
.trust-item svg { color: var(--gold-deep); flex: none; }

/* ---- Cards & grids ---- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow-card);
  transition: border-color .22s ease, box-shadow .22s ease;
}
a.card { display: block; color: inherit; }
.card:hover { border-color: var(--gold); box-shadow: var(--shadow-soft); }
.card h3 { margin-top: 16px; }
.card p { color: #55574F; font-size: .95rem; margin-bottom: 0; }
.card .card-link {
  display: inline-block; margin-top: 16px; font-family: var(--font-body);
  font-weight: 700; font-size: .85rem; letter-spacing: .04em; color: var(--gold-deep);
}
.card-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bone-deep); color: var(--ink); border: 1px solid var(--line);
}
.section-navy .card { background: rgba(251,249,245,.04); border-color: rgba(216,208,196,.16); }
.section-navy .card h3 { color: var(--bone); }
.section-navy .card p { color: #A8A294; }
.section-navy .card:hover { border-color: var(--gold); }
/* On ink surfaces the deep gold is too dark — use the lighter accent for contrast */
.section-navy .card-link, .section-navy a:hover { color: var(--gold); }

/* ---- Feature split ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .placeholder-img { aspect-ratio: 4 / 3; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li {
  position: relative; padding-left: 32px; margin-bottom: 12px; color: #45473F;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--gold);
}
.check-list li::after {
  content: ""; position: absolute; left: 4.5px; top: 10.5px;
  width: 7px; height: 4.5px;
  border-left: 1.6px solid var(--gold-deep); border-bottom: 1.6px solid var(--gold-deep);
  transform: rotate(-45deg);
}

/* ---- Patient journey ---- */
.journey { counter-reset: step; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.journey-step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 18px; position: relative;
}
.journey-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 1.35rem;
  color: var(--gold-deep); display: block; margin-bottom: 10px;
}
.journey-step h3 { font-size: .96rem; margin-bottom: 4px; }
.journey-step p { font-size: .84rem; color: #66685E; margin: 0; }

/* ---- Answer box (GEO) ---- */
.answer-box {
  background: var(--card); border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 30px; box-shadow: var(--shadow-card); margin: 28px 0;
}
.answer-box h2, .answer-box h3 {
  font-family: var(--font-body); font-weight: 700; font-size: 1.04rem; margin-bottom: 8px;
}
.answer-box p { margin-bottom: 0; color: #45473F; }

/* ---- FAQ ---- */
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  padding: 19px 24px; font-family: var(--font-body); font-weight: 700; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-display); font-size: 1.4rem;
  color: var(--gold-deep); line-height: 1; flex: none;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 20px; color: #55574F; }

/* ---- Breadcrumbs ---- */
.breadcrumb {
  font-size: .82rem; color: var(--stone); margin-bottom: 22px;
  display: flex; flex-wrap: wrap; gap: 7px;
  letter-spacing: .02em;
}
.breadcrumb a { color: var(--stone); }
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb .sep { color: var(--greige); }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  background:
    radial-gradient(760px 360px at 92% -22%, rgba(181,150,96,.14), transparent 60%),
    var(--bone-deep);
  border-bottom: 1px solid var(--line);
  padding: 62px 0 66px;
}
.page-hero h1 { max-width: 15em; font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.page-hero .lede { margin-bottom: 0; }
.page-hero .cta-row { margin-top: 24px; }

/* ---- Prose ---- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.7em; font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul li { margin-bottom: .45em; color: #45473F; }
.prose p { color: #45473F; }
.prose strong { color: var(--ink); }
.prose a { color: var(--gold-deep); border-bottom: 1px solid var(--gold-soft); }
.prose a:hover { border-bottom-color: var(--gold-deep); }

.content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 60px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.sidebar-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-card);
}
.sidebar-card h3 { font-size: 1.02rem; }
.sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.sidebar-card li { border-bottom: 1px solid var(--bone-deep); }
.sidebar-card li:last-child { border-bottom: 0; }
.sidebar-card li a { display: block; padding: 9px 0; font-size: .91rem; font-weight: 600; }
.sidebar-cta { background: var(--ink); color: #B5AF9F; border-color: var(--ink); }
.sidebar-cta h3 { color: var(--bone); }
.sidebar-cta .btn { width: 100%; margin-top: 10px; }

/* ---- Notes ---- */
.note {
  background: var(--bone-deep); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; font-size: .89rem; color: #66685E; margin: 32px 0 0;
}
.note strong { color: var(--ink); }

/* ---- Forms ---- */
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px; box-shadow: var(--shadow-soft);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-body); font-weight: 700; font-size: .86rem; color: var(--ink); }
.form-field .optional { color: var(--stone); font-weight: 500; }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bone); width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
}
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: #66685E; }
.form-consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); }
.form-error {
  background: #F3E6DC; border: 1px solid #D9BFA6; color: #7C4A22;
  border-radius: 12px; padding: 15px 19px; margin-bottom: 18px; font-size: .92rem;
}
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

/* ---- Final CTA + footer ---- */
.final-cta {
  background:
    radial-gradient(900px 440px at 12% 130%, rgba(181,150,96,.2), transparent 60%),
    var(--ink-deep);
  padding: 92px 0;
}
.final-cta-inner { text-align: center; max-width: 800px; }
.final-cta h2 { color: var(--bone); font-size: clamp(2rem, 4vw, 3rem); }
.final-cta-copy { color: #A8A294; max-width: 40em; margin: 0 auto; }
.final-cta .cta-row { justify-content: center; }

.site-footer { background: var(--ink); color: #A8A294; padding: 70px 0 0; font-size: .92rem; }
.site-footer h3 {
  color: var(--bone); font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer a { color: #A8A294; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 50px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-logo {
  font-family: var(--font-display); font-size: 1.65rem; letter-spacing: .28em;
  color: var(--bone); margin-bottom: 4px;
}
.footer-logo span {
  display: block; font-family: var(--font-body); font-size: .58rem; font-weight: 700;
  letter-spacing: .38em; text-transform: uppercase; color: var(--gold);
}
.footer-tag { font-family: var(--font-display); font-style: italic; font-size: 1.02rem; color: #7C776A; }
.footer-legal {
  border-top: 1px solid rgba(216,208,196,.12); padding: 24px 24px 92px;
  display: flex; flex-direction: column; gap: 10px; font-size: .8rem; color: #8A8578;
}
.footer-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 22px; padding: 0; margin: 0; }
.footer-disclaimer { max-width: 62em; }

/* ---- Mobile sticky bar ---- */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: none; grid-template-columns: repeat(4, 1fr);
  background: rgba(14, 16, 15, .97); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(181,150,96,.25);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: #CFC9BD; font-family: var(--font-body); font-size: .67rem; font-weight: 700;
  padding: 7px 2px; border-radius: 12px;
}
.mobile-bar a.mobile-bar-primary { background: var(--gold); color: var(--ink-deep); }

/* ---- Reveal on scroll ----
   Gated behind html.js so content is NEVER hidden if JavaScript fails to run. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.is-visible { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---- Tables ---- */
.compare-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.compare-table th, .compare-table td {
  text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.compare-table th { font-family: var(--font-body); font-weight: 700; color: var(--ink); background: var(--bone-deep); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .main-nav > ul { gap: 0; }
  .header-call span { display: none; }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 64px 0 72px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(3, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; background: none;
    border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .btn-header { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--bone);
    padding: 28px 24px; overflow-y: auto; margin: 0;
    transform: translateX(100%); transition: transform .25s ease; z-index: 95;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; gap: 2px; }
  .main-nav a { font-size: 1.08rem; padding: 13px 10px; white-space: normal; }
  .sub-nav {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: var(--bone-deep); margin: 4px 0 8px;
  }
  .mobile-bar { display: grid; }
  body { padding-bottom: 74px; }
}
@media (max-width: 620px) {
  .section { padding: 62px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-strip .container { justify-content: flex-start; }
  .cta-row .btn { width: 100%; }
}
