/* Legal Smriti Advocates & Associates — website styles.
   Palette: oxford navy, ivory and the logo gold #D6B46C (brand/README.md). Gold is decorative on light backgrounds;
   text-level gold on light uses --gold-ink, which meets WCAG AA. */

:root {
  --ink: #0b1e36;
  --ink-2: #112842;
  --ink-3: #183352;
  --ink-deep: #071629;
  --ink-line: rgba(214, 180, 108, .2);
  --gold: #d6b46c;
  --gold-soft: #e8d3a2;
  --gold-ink: #7a5b1c;
  --paper: #faf8f4;
  --paper-2: #f1ede5;
  --white: #fff;
  --text: #16202e;
  --muted: #4f5868;
  --line: #e2ddd2;
  --on-dark: #eef1f6;
  --on-dark-muted: #aab6c6;
  --danger: #a3261b;

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 30, 54, .06), 0 12px 32px -12px rgba(11, 30, 54, .2);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1rem/1.7 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.005em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-soft); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--ink); font-weight: 600; border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }

.icon { width: 24px; height: 24px; flex: none; }
.icon--sm { width: 18px; height: 18px; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px;
  font: 600 .75rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--gold); }
.h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem); color: var(--ink); }
.h2--section { margin: 48px 0 24px; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.25rem); }
.h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); color: var(--ink); }
.lead { font-size: 1.15rem; line-height: 1.7; color: var(--text); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  color: var(--gold-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent;
  transition: gap .25s var(--ease), border-color .25s;
}
.text-link:hover { gap: 12px; border-color: currentColor; }
.text-link--light { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px;
  font: 600 .95rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); box-shadow: 0 8px 24px -10px rgba(214, 180, 108, .7); }
.btn--ghost-dark { border-color: rgba(243, 238, 229, .35); color: var(--on-dark); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--gold); color: var(--gold); }
.btn--outline { border-color: var(--line); background: var(--white); color: var(--ink); }
.btn--outline:hover { border-color: var(--gold-ink); color: var(--gold-ink); }

/* ---------- top bar & header ---------- */
.topbar { background: var(--ink-deep); color: var(--on-dark-muted); font-size: .82rem; }
.topbar__in { display: flex; align-items: center; gap: 22px; min-height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap; }
.topbar__item .icon { width: 15px; height: 15px; color: var(--gold); }
a.topbar__item:hover { color: var(--gold); }
.topbar__spacer { flex: 1; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 30, 54, .97); color: var(--on-dark);
  border-bottom: 1px solid var(--ink-line);
  /* No backdrop-filter here: it would become the containing block of the fixed mobile menu. */
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(7, 22, 41, .8); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark); margin-right: auto; }
.brand__mark { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 700 1.55rem/1 var(--serif); letter-spacing: .02em; }
.brand__sub { margin-top: 5px; font: 500 .62rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 20px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px;
  background: none; border: 0; color: var(--on-dark); font: 500 .93rem/1 var(--sans);
  text-decoration: none; cursor: pointer; border-radius: 8px;
}
.nav__link::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__link.is-current { color: var(--gold); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__trigger .icon { transition: transform .25s var(--ease); }
.nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__item--menu { position: relative; }
.nav__cta { min-height: 42px; padding: 10px 20px; font-size: .9rem; }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(760px, 92vw);
  padding: 14px; background: var(--white); color: var(--text); border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(7, 22, 41, .45); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item--menu.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1081px) {
  .nav__item--menu:hover .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega__link { display: flex; gap: 14px; padding: 12px 14px; border-radius: 10px; text-decoration: none; transition: background-color .2s; }
.mega__link:hover, .mega__link[aria-current="page"] { background: var(--paper-2); }
.mega__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--ink); color: var(--gold); }
.mega__icon .icon { width: 21px; height: 21px; }
.mega__title { display: block; font: 600 .95rem/1.3 var(--sans); color: var(--ink); }
.mega__desc { display: block; margin-top: 3px; font-size: .8rem; line-height: 1.45; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.menu-toggle {
  display: none; place-items: center; width: 46px; height: 46px; margin-right: -8px;
  background: none; border: 0; color: var(--on-dark); cursor: pointer; border-radius: 10px;
}
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

@media (max-width: 1080px) {
  .menu-toggle { display: grid; }
  .nav {
    position: fixed; inset: var(--nav-top, calc(var(--header-h) + 38px)) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px;
    background: var(--ink); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--ink-line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .mega {
    position: static; width: auto; padding: 0 0 12px; background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .mega::before { display: none; }
  .nav__item--menu.is-open .mega { display: block; transform: none; }
  .mega__grid { grid-template-columns: 1fr; }
  .mega__link { padding: 10px 4px; }
  .mega__link:hover, .mega__link[aria-current="page"] { background: var(--ink-3); }
  .mega__icon { background: var(--ink-3); }
  .mega__title { color: var(--on-dark); }
  .mega__desc { display: none; }
  .nav__cta { margin-top: 24px; min-height: 52px; }
}
@media (max-width: 720px) {
  .topbar__hide-sm { display: none; }
  .brand__name { font-size: 1.35rem; }
  .brand__mark { width: 40px; height: 40px; }
  :root { --header-h: 68px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(214, 180, 108, .12), transparent 60%),
    radial-gradient(800px 480px at 0% 100%, rgba(40, 90, 150, .35), transparent 60%),
    var(--ink);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero__in {
  position: relative; display: grid; grid-template-columns: 1.25fr .9fr; align-items: center; gap: 56px;
  padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(56px, 7vw, 96px);
}
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 3.8vw, 4.6rem); font-weight: 600; line-height: 1.04; color: var(--white); }
.hero__lede { max-width: 600px; margin: 26px 0 34px; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--on-dark-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__actions--center { justify-content: center; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 18px 40px; margin: 44px 0 0; padding-top: 28px; border-top: 1px solid var(--ink-line); }
.hero__meta div { min-width: 0; }
.hero__meta dt { font: 600 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.hero__meta dd { margin: 8px 0 0; font: 600 1.25rem/1.2 var(--serif); font-variant-numeric: lining-nums; color: var(--on-dark); }
.hero__meta a { text-decoration: none; }
.hero__meta a:hover { color: var(--gold); }

.hero__art { display: flex; justify-content: center; }
.arch {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: min(380px, 100%); aspect-ratio: 4 / 5; padding: 40px 32px;
  border: 1px solid rgba(214, 180, 108, .55); border-radius: 999px 999px 18px 18px;
  background: linear-gradient(180deg, rgba(214, 180, 108, .1), rgba(214, 180, 108, .02) 70%);
  box-shadow: inset 0 0 0 10px var(--ink), inset 0 0 0 11px rgba(214, 180, 108, .25);
}
.arch img { width: 64%; height: auto; filter: drop-shadow(0 18px 40px rgba(214, 180, 108, .25)); }
.arch__caption { margin-top: 26px; font: 700 2rem/1 var(--serif); letter-spacing: .04em; color: var(--white); }
.arch__sub { margin-top: 10px; font: 500 .7rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

.forums { position: relative; border-top: 1px solid var(--ink-line); background: rgba(7, 22, 41, .45); }
.forums__in { display: flex; align-items: center; gap: 28px; padding-top: 20px; padding-bottom: 20px; }
.forums__label { flex: none; margin: 0; font: 600 .7rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.forums__list { display: flex; flex-wrap: wrap; gap: 6px 0; color: var(--on-dark-muted); font-size: .9rem; }
.forums__list li { display: inline-flex; align-items: center; }
.forums__list li + li::before { content: ''; width: 5px; height: 5px; margin: 0 16px; background: var(--gold); transform: rotate(45deg); opacity: .8; }

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { order: -1; }
  .arch { width: 210px; padding: 28px 20px; }
  .arch__caption, .arch__sub { display: none; }
  .forums__in { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 560px) {
  .hero__art { justify-content: flex-start; }
  .arch { width: 150px; padding: 22px 16px; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background: radial-gradient(700px 360px at 90% 0%, rgba(214, 180, 108, .16), transparent 60%), var(--ink);
}
.page-hero::after {
  content: ''; position: absolute; right: -60px; bottom: -120px; width: 420px; height: 420px; opacity: .06;
  background: url('/assets/logo-gold.svg') center / contain no-repeat; pointer-events: none;
}
.page-hero__in { position: relative; z-index: 1; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.9rem); color: var(--white); }
.page-hero__lede { max-width: 720px; margin: 20px 0 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--on-dark-muted); }
.page-hero__icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border: 1px solid rgba(214, 180, 108, .45); border-radius: 50%; color: var(--gold); }
.page-hero__icon .icon { width: 28px; height: 28px; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .page-hero__lede { margin-left: auto; margin-right: auto; }
.page-hero--center .hero__actions { margin-top: 32px; }

.crumbs { margin-bottom: 28px; font-size: .85rem; color: var(--on-dark-muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: '/'; margin: 0 10px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: var(--on-dark); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .h2 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .h2 { margin-top: 0; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.split .h2 { margin-bottom: 22px; }
.split p { color: var(--muted); }
.split .lead { color: var(--text); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.quote {
  position: relative; margin: 0; padding: clamp(32px, 4vw, 48px); border-radius: var(--radius);
  background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow);
}
.quote::before { content: '“'; position: absolute; top: -8px; right: 28px; font: 700 9rem/1 var(--serif); color: var(--gold); opacity: .25; }
.quote blockquote { margin: 0; font: 500 italic clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem)/1.25 var(--serif); color: var(--white); }
.quote figcaption { margin-top: 18px; font: 600 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.quote__values { display: grid; gap: 14px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--ink-line); color: var(--on-dark-muted); }
.quote__values strong { color: var(--gold); font-weight: 600; }

/* practice cards */
.practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.practice-card a {
  display: flex; flex-direction: column; height: 100%; padding: 28px 26px 26px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.practice-card a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(214, 180, 108, .7); }
.practice-card__icon {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; border-radius: 50%;
  background: var(--ink); color: var(--gold); transition: background-color .3s, color .3s;
}
.practice-card a:hover .practice-card__icon { background: var(--gold); color: var(--ink); }
.practice-card__title { margin-bottom: 10px; font-size: 1.5rem; color: var(--ink); }
.practice-card p { flex: 1; margin-bottom: 20px; font-size: .93rem; color: var(--muted); }
.practice-card__more { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--gold-ink); }
.practice-card a:hover .practice-card__more .icon { transform: translateX(3px); }
.practice-card__more .icon { transition: transform .25s var(--ease); }
@media (max-width: 1080px) { .practice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .practice-grid { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 24px 0 0; }
.step::before { content: ''; position: absolute; top: 27px; left: 64px; right: 12px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); opacity: .6; }
.step:last-child::before { display: none; }
.step__num {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; border-radius: 50%;
  border: 1px solid var(--gold); font: 700 1.15rem/1 var(--serif); color: var(--gold-ink); background: var(--paper);
}
.step h3 { margin-bottom: 10px; font-size: 1.45rem; color: var(--ink); }
.step p { margin: 0; font-size: .93rem; color: var(--muted); }
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 22px; padding: 0; }
  .step__num { grid-row: span 2; margin: 0; }
  .step::before { top: 62px; bottom: -26px; left: 27px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold), transparent); }
}

/* principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink-line); border-left: 1px solid var(--ink-line); }
.principle { padding: 34px 32px; border-right: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); transition: background-color .3s; }
.principle:hover { background: var(--ink-2); }
.principle h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 1.5rem; color: var(--white); }
.principle h3::before { content: ''; width: 8px; height: 8px; flex: none; background: var(--gold); transform: rotate(45deg); }
.principle p { margin: 0; color: var(--on-dark-muted); font-size: .95rem; }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .principles { grid-template-columns: 1fr; } .principle { padding: 26px 22px; } }

/* feature duo */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature { position: relative; overflow: hidden; padding: clamp(32px, 4vw, 52px); border-radius: var(--radius); }
.feature .h3 { margin-bottom: 14px; }
.feature p:not(.eyebrow) { max-width: 460px; }
.feature--light { background: var(--white); border: 1px solid var(--line); }
.feature--light p:not(.eyebrow) { color: var(--muted); }
.feature--dark { background: var(--ink); color: var(--on-dark); }
.feature--dark .h3 { color: var(--white); }
.feature--dark p:not(.eyebrow) { color: var(--on-dark-muted); }
.feature__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 26px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-ink); }
.feature--dark .feature__icon { color: var(--gold); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* pillars (about) */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { padding: 32px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.pillar__num { display: block; margin-bottom: 18px; font: 700 1.1rem/1 var(--serif); color: var(--gold-ink); letter-spacing: .1em; }
.pillar .h3 { margin-bottom: 12px; font-size: 1.55rem; }
.pillar p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 1000px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { padding: clamp(56px, 7vw, 88px) 0; background: linear-gradient(120deg, #17345a, var(--ink) 60%); color: var(--on-dark); border-top: 1px solid var(--ink-line); }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.8rem); color: var(--white); }
.cta-band p { max-width: 560px; margin: 12px 0 0; color: var(--on-dark-muted); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 560px) { .cta-band__actions, .cta-band__actions .btn { width: 100%; } }

/* ---------- practice page body ---------- */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
@media (max-width: 1000px) { .with-aside { grid-template-columns: 1fr; } .aside { position: static; } }

.prose > p { color: var(--muted); }
.prose > .lead { color: var(--text); font-size: 1.2rem; }
.prose a { color: var(--gold-ink); }
.bullets { display: grid; gap: 12px; margin: 0 0 32px; padding-left: 0; }
.bullets li { position: relative; padding-left: 26px; color: var(--muted); }
.bullets li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.prose .h3 { margin: 8px 0 18px; }

.item-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.item { padding: 24px 24px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, box-shadow .3s; }
.item:hover { border-color: rgba(214, 180, 108, .7); box-shadow: var(--shadow); }
.item__num { display: block; margin-bottom: 10px; font: 700 .95rem/1 var(--serif); letter-spacing: .1em; color: var(--gold-ink); }
.item__title { margin-bottom: 8px; font-size: 1.35rem; color: var(--ink); }
.item p { margin: 0; font-size: .93rem; color: var(--muted); }
@media (max-width: 640px) { .item-grid { grid-template-columns: 1fr; } }

.notice { display: flex; gap: 16px; margin-bottom: 32px; padding: 20px 22px; border-radius: var(--radius); background: #fff6e6; border: 1px solid #ecd3a1; border-left: 4px solid var(--gold); }
.notice .icon { color: var(--gold-ink); margin-top: 2px; }
.notice strong { display: block; margin-bottom: 4px; color: var(--ink); }
.notice p { margin: 0; color: var(--text); }

.side-card { padding: 28px; border-radius: var(--radius); background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow); }
.side-card__title { margin-bottom: 10px; font-size: 1.55rem; color: var(--white); }
.side-card > p { color: var(--on-dark-muted); font-size: .93rem; }
.side-card__actions { display: grid; gap: 10px; margin-top: 18px; }
.side-card .btn--outline { background: transparent; border-color: rgba(243, 238, 229, .3); color: var(--on-dark); }
.side-card .btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.side-card .checklist li { color: var(--on-dark-muted); }
.side-card .checklist .icon { color: var(--gold); }
.side-card--plain { background: var(--white); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.side-card--plain .side-card__title { font-size: 1.35rem; color: var(--ink); }
.side-card--plain .checklist li { color: var(--muted); }
.side-card--plain .checklist .icon { color: var(--gold-ink); }

.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; line-height: 1.55; }
.checklist .icon { margin-top: 2px; color: var(--gold-ink); }
.checklist--cols { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px 32px; }
.checklist--cols li { padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 1rem; color: var(--text); }
.checklist--lg li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }

/* ---------- learning centre ---------- */
.facts { background: var(--ink); border-top: 1px solid var(--ink-line); }
.facts__list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.fact { padding: 26px 0; color: var(--on-dark); }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--ink-line); }
.fact dt { font: 600 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.fact dd { margin: 10px 0 0; font: 600 1.5rem/1.2 var(--serif); }
@media (max-width: 700px) { .facts__list { grid-template-columns: 1fr; } .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--ink-line); } }

.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.timeline__item { padding: 26px 22px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius-sm); }
.timeline__num { display: block; margin-bottom: 10px; font: 600 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.timeline h3 { margin-bottom: 14px; font-size: 1.4rem; color: var(--ink); }
.timeline ul { display: grid; gap: 8px; }
.timeline ul li { position: relative; padding-left: 16px; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.timeline ul li::before { content: ''; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
@media (max-width: 1100px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list li > .icon { width: 44px; height: 44px; padding: 11px; flex: none; border-radius: 50%; background: var(--ink); color: var(--gold); }
.contact-list h2 { margin-bottom: 4px; font: 600 .72rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.contact-list a:not(.text-link) { font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-list a:not(.text-link):hover { color: var(--gold-ink); text-decoration: underline; }
.contact-list p, .contact-list address { margin: 0; color: var(--muted); }
.map { margin-top: 28px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper-2); aspect-ratio: 16 / 10; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

.form-card { padding: clamp(28px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-card__note { margin: 10px 0 26px; font-size: .9rem; color: var(--muted); }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field__hint { margin: 0; font-weight: 400; font-size: .82rem; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #d3cdc0; border-radius: var(--radius-sm);
  background: var(--paper); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-ink); background: var(--white); box-shadow: 0 0 0 3px rgba(214, 180, 108, .3); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { margin: 0; min-height: 0; font-size: .84rem; color: var(--danger); }
.field__error:empty { display: none; }
.field--check { grid-template-columns: 22px 1fr; column-gap: 12px; align-items: start; }
.field--check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--gold-ink); }
.field--check label { font-weight: 400; color: var(--muted); }
.field--check .field__error { grid-column: 2; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form__status { margin: 0; font-size: .9rem; color: var(--gold-ink); }
.form__status:empty { display: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-deep); color: var(--on-dark-muted); font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.brand--footer { margin-bottom: 20px; }
.footer__about p { max-width: 360px; }
.footer__title { margin-bottom: 18px; font: 600 .72rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.footer__links { display: grid; gap: 10px; }
.footer__links a, .footer__contact a, .footer__social a { text-decoration: none; }
.footer__links a:hover, .footer__contact a:hover, .footer__social a:hover { color: var(--gold); }
.footer__address { margin-bottom: 14px; line-height: 1.65; }
.footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.footer__social a { display: inline-block; padding: 8px 14px; border: 1px solid var(--ink-line); border-radius: 999px; font-size: .84rem; }
.footer__legal { padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; }
.footer__legal p { max-width: 900px; }
.footer__legal a { color: var(--gold); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; } }

/* WhatsApp quick link */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 16px; border-radius: 999px; background: var(--ink); color: var(--gold);
  border: 1px solid rgba(214, 180, 108, .55); box-shadow: 0 14px 30px -10px rgba(7, 22, 41, .55);
  font-weight: 600; font-size: .9rem; text-decoration: none; transition: transform .25s var(--ease), background-color .2s, color .2s;
}
.wa-float:hover { transform: translateY(-2px); background: var(--gold); color: var(--ink); }
@media (max-width: 560px) { .wa-float { right: 14px; bottom: 14px; padding: 14px; } .wa-float span { display: none; } }
body.menu-open .wa-float { display: none; }

/* ---------- disclaimer dialog ---------- */
.disclaimer {
  width: min(600px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid rgba(214, 180, 108, .4);
  border-radius: var(--radius); background: var(--ink); color: var(--on-dark); box-shadow: 0 40px 80px -20px rgba(7, 22, 41, .7);
}
.disclaimer::backdrop { background: rgba(7, 22, 41, .8); backdrop-filter: blur(4px); }
.disclaimer__body { padding: clamp(28px, 5vw, 44px); }
.disclaimer__body img { margin-bottom: 16px; }
.disclaimer h2 { margin-bottom: 14px; font-size: 2rem; color: var(--white); }
.disclaimer p, .disclaimer li { font-size: .93rem; color: var(--on-dark-muted); }
.disclaimer ul { display: grid; gap: 10px; margin: 0 0 26px; }
.disclaimer li { position: relative; padding-left: 22px; }
.disclaimer li::before { content: ''; position: absolute; left: 2px; top: .65em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.disclaimer__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .disclaimer__actions .btn { width: 100%; } }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .wa-float, .cta-band, .disclaimer, .map { display: none !important; }
  body { background: #fff; }
}
