/* Cheong, Rashid & Devan — heritage green / brass / parchment. Cormorant Garamond + Mulish. */

:root {
  --ink: #16261f;
  --green: #1e3a30;
  --green-800: #234636;
  --green-700: #2c5643;
  --green-600: #3a6a53;
  --parch: #f5efe3;
  --parch-lite: #fbf7ef;
  --sand: #ece2ce;
  --sand-2: #e3d7bd;
  --line: #dccfb4;
  --sage: #869c7a;
  --sage-wash: #e7ece0;
  --sage-dk: #5f7358;
  --brass: #a9822f;
  --brass-dk: #876825;
  --brass-lt: #c19a4d;
  --clay: #7c5a3a;
  --cream: #fbf7ef;
  --white: #ffffff;
  --muted: #5c6a5e;
  --muted-2: #798570;

  --shadow-sm: 0 2px 8px rgba(22, 38, 31, .06);
  --shadow: 0 14px 34px rgba(22, 38, 31, .10);
  --shadow-lg: 0 28px 60px rgba(22, 38, 31, .16);

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

  --r: 8px;
  --r-lg: 14px;
  --wrap: 1200px;
  --gap: clamp(1rem, 3.4vw, 2rem);
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.31 0 0 0 0 0.22 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"), var(--parch);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-color: rgba(169, 130, 47, .5); text-underline-offset: 3px; }
a:hover { color: var(--brass-dk); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; color: var(--green); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.32rem; }
p { margin: 0 0 1rem; }
strong { font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.4rem); }
.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 { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: .7rem 1.1rem; z-index: 200; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

.eyebrow {
  font-family: var(--sans); font-weight: 700; font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brass-dk); margin: 0 0 .85rem; display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--brass); display: inline-block; }
.sec-head.center .eyebrow { justify-content: center; }

/* ---------- buttons ---------- */
.btn {
  --_bg: var(--green); --_fg: #fff; --_bd: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 700; font-size: .96rem; letter-spacing: .005em;
  padding: .82rem 1.5rem; border-radius: 999px; border: 1.5px solid var(--_bd);
  background: var(--_bg); color: var(--_fg); cursor: pointer; text-decoration: none;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  line-height: 1.1;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:focus-visible { outline: 3px solid var(--brass-lt); outline-offset: 2px; }
a.btn, a.btn:hover { color: var(--_fg); }
.btn-solid { --_bg: var(--green); --_fg: #fff; --_bd: var(--green); }
.btn-solid:hover { --_bg: var(--green-800); }
.btn-gold { --_bg: var(--brass); --_fg: #241a06; --_bd: var(--brass); }
a.btn-gold, a.btn-gold:hover { color: #241a06; }
.btn-gold:hover { --_bg: var(--brass-lt); }
.btn-line { --_bg: transparent; --_fg: var(--green); --_bd: var(--green); }
a.btn-line, a.btn-line:hover { color: var(--green); }
.btn-line:hover { --_bg: var(--green); --_fg: #fff; }
a.btn-line:hover { color: #fff; }
.btn-ghost { --_bg: transparent; --_fg: #fff; --_bd: rgba(255,255,255,.5); }
a.btn-ghost, a.btn-ghost:hover { color: #fff; }
.btn-ghost:hover { --_bd: #fff; --_bg: rgba(255,255,255,.1); }
.btn-sm { padding: .58rem 1.1rem; font-size: .86rem; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.02rem; }

/* ---------- topbar + header ---------- */
.topbar { background: var(--green); color: #dfe7dd; font-size: .82rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; padding-block: .3rem; }
.topbar a { color: #eef3ec; text-decoration: none; }
.topbar a:hover { color: var(--brass-lt); }
.topbar-note { color: #c7d3c4; letter-spacing: .01em; }
.topbar-links { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.topbar-dot, .topbar-hours { color: #8fa090; }

.site-head { position: sticky; top: 0; z-index: 90; background: var(--parch-lite); border-bottom: 1px solid var(--line); }
.site-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--brass) 30%, var(--brass) 70%, transparent); opacity: .5; }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--green); }
.brand-mark {
  font-family: var(--serif); font-weight: 700; font-size: .96rem; color: #fff; background: var(--green);
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; letter-spacing: 0;
  line-height: 1; white-space: nowrap; overflow: hidden; flex: 0 0 auto;
  box-shadow: inset 0 0 0 1.5px var(--brass);
}
.brand-mark i { color: var(--brass-lt); font-style: italic; }
.brand-word { font-family: var(--serif); font-weight: 600; font-size: 1.32rem; line-height: 1.08; letter-spacing: -.01em; white-space: nowrap; display: flex; flex-direction: column; gap: 3px; }
.brand-word i { font-style: italic; color: var(--brass-dk); }
.brand-word small { font-family: var(--sans); font-weight: 600; font-size: .58rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.8rem); }
.site-nav > ul { display: flex; align-items: center; gap: clamp(.7rem, 1.6vw, 1.5rem); list-style: none; margin: 0; padding: 0; }
.site-nav a { font-family: var(--sans); font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; padding: .35rem 0; position: relative; white-space: nowrap; }
.site-nav > ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav > ul a:hover { color: var(--green); }
.site-nav > ul a:hover::after, .site-nav li.active a::after { transform: scaleX(1); }
.site-nav li.active a { color: var(--green); }
.nav-cta { font-size: .9rem; padding: .62rem 1.2rem; }
.site-nav a.nav-cta, .site-nav a.nav-cta:hover { color: #fff; padding: .62rem 1.2rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { width: 22px; height: 2px; background: var(--green); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-scrim { position: fixed; inset: 0; background: rgba(22, 38, 31, .48); z-index: 80; opacity: 0; transition: opacity .25s ease; }
.nav-scrim.show { opacity: 1; }

/* ---------- generic sections ---------- */
section { position: relative; }
.pad { padding-block: clamp(3.4rem, 8vw, 6rem); }
.pad-sm { padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.sec-head { max-width: 760px; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
/* mid-page CTA/section blocks may be centred, but then the WHOLE block is
   centred (heading + eyebrow + content) - hero/page-title stay left elsewhere */
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-intro { color: var(--muted); font-size: 1.08rem; margin: 0; }
.sec-h { margin-bottom: 1.4rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.32rem); line-height: 1.55; color: var(--muted); }

.bg-parch { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.36 0 0 0 0 0.24 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23w)'/%3E%3C/svg%3E"), var(--parch); }
.bg-cream { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.30 0 0 0 0 0.36 0 0 0 0 0.26 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23g)'/%3E%3C/svg%3E"), var(--sage-wash); }
.bg-sand { background: linear-gradient(180deg, var(--parch-lite), var(--sand)); }
.bg-green { background: linear-gradient(rgba(30,58,48,.82), rgba(22,42,34,.88)), url("/demos/legal/cheong-rashid-devan/assets/img/texture-deepgreen.webp") center / cover no-repeat; color: #e9efe6; }
.bg-green h2, .bg-green h3 { color: #fff; }
.bg-green .eyebrow { color: var(--brass-lt); }
.bg-green .eyebrow::before { background: var(--brass-lt); }
.bg-green .sec-intro, .bg-green .lead { color: #c3d0c1; }
.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }

/* texture-plate helper */
.plate { position: relative; isolation: isolate; }
.plate > .plate-tex { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .1; }
.bg-green .plate-tex { opacity: .07; mix-blend-mode: screen; }

/* ============ HOME HERO ============ */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: min(88vh, 760px); display: flex; align-items: flex-end;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(96deg, rgba(16,29,23,.9) 0%, rgba(16,29,23,.66) 40%, rgba(16,29,23,.22) 72%, rgba(16,29,23,.12) 100%),
    linear-gradient(0deg, rgba(16,29,23,.82) 0%, rgba(16,29,23,.1) 45%);
}
/* full-width wrap so the copy sits on the container gutter (same left edge as
   the logo — centred hero blocks are banned); line lengths capped per child */
.hero-in { padding-block: clamp(2.6rem, 6vw, 4.6rem); }
.hero-in > * { max-width: 760px; }
.hero-eyebrow { color: #e7d7ad; font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; display: flex; align-items: center; gap: .6rem; margin: 0 0 1.1rem; }
.hero-eyebrow::before { content: ""; width: 30px; height: 1.5px; background: var(--brass-lt); }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 600; margin: 0 0 1rem; text-wrap: balance; }
.hero h1 em { font-style: italic; color: #ecd9a9; }
.hero-lead { font-size: clamp(1.1rem, 2.1vw, 1.4rem); color: #e2e9df; max-width: 42ch; margin: 0 0 1.6rem; line-height: 1.5; }

/* hero two-path toggle */
.paths { background: rgba(11,22,17,.42); border: 1px solid rgba(233,216,169,.28); border-radius: var(--r-lg); padding: 1rem 1.15rem 1.15rem; max-width: 560px; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); margin: 0 0 1.6rem; }
.paths-label { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #cbb987; margin: 0 0 .6rem; }
.paths-tabs { display: inline-flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 4px; gap: 3px; margin-bottom: .85rem; }
.paths-tab { font-family: var(--sans); font-weight: 700; font-size: .9rem; color: #dfe7dd; background: none; border: 0; padding: .5rem 1.05rem; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.paths-tab[aria-selected="true"] { background: var(--brass); color: #241a06; }
.paths-out { display: grid; grid-template-columns: auto 1fr; gap: .7rem 1rem; align-items: start; min-height: 62px; }
.paths-chip { align-self: start; font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: .32rem .6rem; border-radius: 6px; white-space: nowrap; }
.paths-chip.bad { background: rgba(197, 96, 62, .22); color: #f2c3ad; border: 1px solid rgba(197,96,62,.5); }
.paths-chip.good { background: rgba(134,156,122,.24); color: #cfe0c2; border: 1px solid rgba(134,156,122,.55); }
.paths-text { margin: 0; color: #eef2ea; font-size: 1.02rem; line-height: 1.45; }
.paths-text b { color: #ecd9a9; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.5rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; font-size: .82rem; color: #bcccb8; border-top: 1px solid rgba(255,255,255,.16); padding-top: 1rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brass-lt); }

/* ============ EDUCATION "hard truths" band ============ */
.truths { }
.truths-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.truths-figure { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.truths-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.truths-list { display: grid; gap: 1rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.truths-list li { display: grid; grid-template-columns: auto 1fr; gap: .95rem; align-items: start; }
.truths-num { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--brass-dk); line-height: 1; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--sand); border: 1px solid var(--line); }
.truths-list h3 { font-family: var(--sans); font-weight: 800; font-size: 1.02rem; color: var(--green); margin: .3rem 0 .2rem; }
.truths-list p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ============ Simulator feature block (home) ============ */
.simfeat { color: #eef2ea; }
.simfeat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.sim-demo { background: rgba(255,255,255,.05); border: 1px solid rgba(233,216,169,.24); border-radius: var(--r-lg); padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: var(--shadow-lg); }
.sim-demo h3 { color: #fff; font-family: var(--sans); font-weight: 800; font-size: 1rem; letter-spacing: .01em; margin: 0 0 .3rem; }
.sim-demo .sim-sub { color: #b9c7b6; font-size: .86rem; margin: 0 0 1rem; }
.share-row { display: grid; grid-template-columns: 130px 1fr auto; gap: .5rem .8rem; align-items: center; margin-bottom: .7rem; font-size: .9rem; }
.share-name { color: #e6ecdf; font-weight: 600; }
.share-bar { height: 12px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.share-bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brass), var(--brass-lt)); transition: width .8s cubic-bezier(.22,.61,.36,1); }
.share-frac { color: #ecd9a9; font-weight: 700; font-variant-numeric: tabular-nums; }
.sim-note { font-size: .8rem; color: #9fb09b; margin: .8rem 0 0; }

/* ============ practice cards ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.pcard {
  background: var(--parch-lite); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem 1.4rem;
  display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: var(--ink);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s; position: relative; overflow: hidden;
}
.pcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brass); transform: scaleY(0); transform-origin: top; transition: transform .25s ease; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sand-2); }
.pcard:hover::before { transform: scaleY(1); }
.pcard-ico { width: 46px; height: 46px; border-radius: 11px; background: var(--sand); color: var(--green); display: grid; place-items: center; margin-bottom: 1rem; border: 1px solid var(--line); }
.pcard-ico .ico { width: 24px; height: 24px; }
.pcard h3 { font-family: var(--serif); font-weight: 600; font-size: 1.34rem; margin: 0 0 .45rem; color: var(--green); }
.pcard p { color: var(--muted); font-size: .96rem; margin: 0 0 1rem; flex: 1; }
.pcard .pcard-link { font-weight: 700; font-size: .9rem; color: var(--brass-dk); display: inline-flex; align-items: center; gap: .4rem; }
.pcard .pcard-link::after { content: "→"; transition: transform .2s; }
.pcard:hover .pcard-link::after { transform: translateX(4px); }

/* ============ life-moment navigator ============ */
.moments { }
.moments-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.moment {
  background: var(--parch-lite); border: 1px solid var(--line); border-radius: var(--r); padding: 1.15rem 1.1rem;
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: .5rem; min-width: 0;
  transition: transform .16s, box-shadow .2s, background .2s;
}
.moment:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); background: #fff; }
.moment .ico { width: 26px; height: 26px; color: var(--brass-dk); }
.moment b { font-family: var(--sans); font-weight: 800; font-size: .98rem; color: var(--green); }
.moment span { color: var(--muted); font-size: .86rem; }

/* ============ civil vs islamic table ============ */
.dual { }
.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.dual-col { background: var(--parch-lite); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.3rem, 3vw, 1.9rem); min-width: 0; }
.dual-col.islam { background: linear-gradient(180deg, #21402f, #1b3327); color: #e7efe4; border-color: #2f5744; }
.dual-col.islam h3, .dual-col.islam h4 { color: #fff; }
.dual-col .dual-tag { font-family: var(--sans); font-weight: 700; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; color: var(--brass-dk); margin: 0 0 .4rem; }
.dual-col.islam .dual-tag { color: var(--brass-lt); }
.dual-col h3 { font-size: 1.5rem; margin: 0 0 .3rem; }
.dual-col > p { color: var(--muted); font-size: .96rem; }
.dual-col.islam > p { color: #c3d2be; }
.dual-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .7rem; }
.dual-list li { display: grid; grid-template-columns: auto 1fr; gap: .6rem; font-size: .94rem; align-items: start; }
.dual-list li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brass); margin-top: .5rem; }
.dual-col.islam .dual-list li::before { background: var(--brass-lt); }
.dual-mid { text-align: left; margin: 1.4rem 0 0; max-width: 720px; color: var(--muted); font-size: .94rem; }

/* ============ interstitial full-bleed ============ */
.interstitial { position: relative; min-height: clamp(320px, 46vw, 480px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.interstitial img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.interstitial::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16,29,23,.86), rgba(16,29,23,.42)); }
.interstitial-in { max-width: 620px; }
.interstitial h2 { color: #fff; }
.interstitial p { color: #dbe4d7; font-size: 1.1rem; }
.interstitial blockquote { margin: 0; }
.interstitial .iq { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.28; color: #fff; }
.interstitial cite { display: block; font-family: var(--sans); font-style: normal; font-size: .92rem; color: #cbb987; margin-top: 1rem; letter-spacing: .02em; }

/* ============ process steps ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: step; }
.step { background: var(--parch-lite); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.4rem; min-width: 0; position: relative; }
.step-n { font-family: var(--serif); font-weight: 700; font-size: 2.1rem; color: var(--brass); line-height: 1; margin-bottom: .6rem; display: block; }
.step h3 { font-family: var(--sans); font-weight: 800; font-size: 1.05rem; margin: 0 0 .4rem; color: var(--green); }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ============ people ============ */
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.person-card { text-decoration: none; color: var(--ink); background: var(--parch-lite); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .2s; min-width: 0; }
.person-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.person-photo { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.person-meta { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .18rem; }
.person-meta strong { font-family: var(--serif); font-weight: 600; font-size: 1.32rem; color: var(--green); line-height: 1.1; }
.person-role { font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brass-dk); }
.person-focus { color: var(--muted); font-size: .92rem; }
.person-meta em { color: var(--sage-dk); font-size: .82rem; font-style: italic; margin-top: .2rem; }

/* ============ recognition ============ */
.recog-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
.recog-quotes { display: grid; gap: 1rem; }
.recog-q { background: rgba(255,255,255,.05); border-left: 3px solid var(--brass); border-radius: 0 var(--r) var(--r) 0; padding: 1.1rem 1.3rem; }
.recog-q p { font-family: var(--serif); font-style: italic; font-size: 1.14rem; color: #f0f4ee; margin: 0 0 .5rem; line-height: 1.4; }
.recog-q cite { font-family: var(--sans); font-style: normal; font-size: .82rem; color: var(--brass-lt); letter-spacing: .03em; }
.recog-badges { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.badge { background: rgba(255,255,255,.05); border: 1px solid rgba(233,216,169,.2); border-radius: var(--r); padding: 1rem 1.1rem; }
.badge b { display: block; font-family: var(--serif); font-size: 1.15rem; color: #fff; }
.badge span { font-size: .82rem; color: #b7c5b3; }

/* ============ guides ============ */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.guide-card { background: var(--parch-lite); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .18s, box-shadow .2s; min-width: 0; }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.guide-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.guide-card:hover .guide-thumb img { transform: scale(1.04); }
.guide-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.guide-tag { font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-dk); margin-bottom: .5rem; }
.guide-card h3 { font-size: 1.28rem; margin: 0 0 .5rem; }
.guide-card p { color: var(--muted); font-size: .93rem; margin: 0 0 1rem; flex: 1; }
.guide-meta { font-size: .82rem; color: var(--sage-dk); display: flex; gap: .8rem; }

/* article */
.article { max-width: 760px; margin-inline: auto; }
.article-hero { max-width: 820px; text-align: left; }
.article-hero .article-tag { color: var(--brass-dk); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .76rem; }
.article-fig { border-radius: var(--r-lg); overflow: hidden; margin: 0 0 2rem; box-shadow: var(--shadow); max-width: 900px; margin-inline: auto; }
.article-fig img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.article-byline { display: flex; align-items: center; gap: .8rem; justify-content: center; margin: 1.2rem 0 0; font-size: .9rem; color: var(--muted); }
.article-byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; border: 1px solid var(--line); }
.prose { font-size: 1.06rem; line-height: 1.75; color: #24352b; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.95rem); margin: 2rem 0 .7rem; }
.prose h2::before { content: ""; display: block; width: 34px; height: 2px; background: var(--brass); margin-bottom: .8rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose a { font-weight: 600; }
.prose .post-note { font-size: .92rem; color: var(--muted); background: var(--sand); border-radius: var(--r); padding: 1rem 1.2rem; margin-top: 1.8rem; border: 1px solid var(--line); }

/* ============ FAQ ============ */
.faq-sec { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.30 0 0 0 0 0.36 0 0 0 0 0.26 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23g)'/%3E%3C/svg%3E"), var(--sage-wash); padding-block: clamp(3.4rem, 8vw, 6rem); }
.faq-sec.faq-warm { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.36 0 0 0 0 0.24 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23g)'/%3E%3C/svg%3E"), var(--parch); }
.faq-list { max-width: 820px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-family: var(--serif); font-weight: 600; font-size: 1.28rem; color: var(--green); }
.faq summary::-webkit-details-marker { display: none; }
.faq-mark { position: relative; flex: 0 0 auto; width: 20px; height: 20px; margin-top: 6px; }
.faq-mark::before, .faq-mark::after { content: ""; position: absolute; background: var(--brass-dk); border-radius: 2px; }
.faq-mark::before { top: 9px; left: 2px; right: 2px; height: 2px; }
.faq-mark::after { left: 9px; top: 2px; bottom: 2px; width: 2px; transition: transform .25s ease; }
.faq[open] .faq-mark::after { transform: scaleY(0); }
.faq-a { padding: 0 2rem 1.3rem 0; color: var(--muted); }
.faq-a p { margin: 0; }
.faq-a a { color: var(--green-700); font-weight: 600; }

/* ============ CTA band ============ */
.cta-band { background: linear-gradient(120deg, rgba(28,53,43,.9), rgba(33,64,50,.93)), url("/demos/legal/cheong-rashid-devan/assets/img/texture-greenwash.webp") center / cover no-repeat; color: #fff; padding-block: clamp(2.8rem, 6vw, 4.4rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 140% at 90% 20%, rgba(169,130,47,.22), transparent 55%); }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-copy { max-width: 620px; }
.cta-kicker { font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .74rem; color: var(--brass-lt); margin: 0 0 .5rem; }
.cta-band h2 { color: #fff; margin: 0 0 .6rem; }
.cta-band p { color: #cfdaca; margin: 0; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ============ page hero (inner) ============ */
/* content directly after a page-title band starts tighter (title-to-content rhythm) */
.page-hero + .pad { padding-top: clamp(2.2rem, 4.5vw, 3.2rem); }

/* wide tables inside aside cards scroll within the card instead of bleeding out */
/* fee lists inside the narrow aside card: stacked flex rows, amount never clips */
.aside-card .fees-table, .aside-card .fees-table tbody { display: block; }
.aside-card .fees-table tr { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--line); }
.aside-card .fees-table tr:last-child { border-bottom: 0; }
.aside-card .fees-table td { display: block; border: 0; padding: .7rem 0; }
.aside-card .fees-table td:first-child { flex: 1 1 auto; }
.aside-card .fees-table td:last-child { flex: 0 0 auto; text-align: right; white-space: nowrap; }

/* zero flat bands: every page-title band carries a texture plate under its wash */
.page-hero {
  background:
    linear-gradient(rgba(22, 42, 34, .88), rgba(16, 29, 23, .93)),
    url("/demos/legal/cheong-rashid-devan/assets/img/texture-greenwash.webp") center / cover no-repeat;
  color: #fff; padding-block: clamp(2.6rem, 6vw, 4rem); position: relative; overflow: hidden;
}
.page-hero.bg-parch {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.36 0 0 0 0 0.24 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23w)'/%3E%3C/svg%3E"), var(--parch);
  color: var(--ink);
}
.page-hero.bg-parch h1 { color: var(--green); }
.page-hero.bg-parch .lead { color: var(--muted); }
.page-hero.bg-parch .crumbs a, .page-hero.bg-parch .crumbs span { color: var(--muted); }
.page-hero.has-img { color: #fff; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .34; }
.page-hero.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,29,23,.6), rgba(16,29,23,.86)); z-index: 0; }
/* copy on the container gutter, not a centred narrow block */
.page-hero-in { position: relative; z-index: 1; }
.page-hero-in > * { max-width: 820px; }
.page-hero h1 { color: #fff; margin: .4rem 0 .5rem; }
.page-hero .lead { color: #d7e0d3; }
.crumbs { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .82rem; margin-bottom: .8rem; }
.crumbs a { color: #c9d5c5; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: var(--brass-lt); }
.crumb-sep { color: #7f9080; }

/* ============ generic content blocks ============ */
.rich { max-width: 760px; }
.rich h2 { margin-top: 2rem; }
.rich h2:first-child { margin-top: 0; }
.rich ul { padding-left: 1.2rem; }
.rich li { margin-bottom: .5rem; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.two-col > *, .contact-grid > *, .tool-grid > * { min-width: 0; }
.aside-card { background: var(--parch-lite); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem 1.4rem; position: sticky; top: 100px; }
.aside-card h3 { font-size: 1.2rem; }
.aside-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.aside-card li { display: grid; grid-template-columns: auto 1fr; gap: .5rem; font-size: .93rem; color: var(--muted); }
.aside-card li::before { content: "✓"; color: var(--brass-dk); font-weight: 800; }

.scope-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.scope-list li { background: var(--parch-lite); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; }
.scope-list b { display: block; color: var(--green); font-size: 1rem; margin-bottom: .2rem; }
.scope-list span { color: var(--muted); font-size: .94rem; }

.forwho { display: grid; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.forwho li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; color: #2b3c31; }
.forwho li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--sand); color: var(--brass-dk); display: grid; place-items: center; margin-top: 2px; }
.forwho li::before { content: "→"; font-weight: 800; font-size: .8rem; }

.fees-table { width: 100%; border-collapse: collapse; }
.fees-table th, .fees-table td { text-align: left; padding: .95rem 1rem; border-bottom: 1px solid var(--line); }
.fees-table th { font-family: var(--sans); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fees-table td:last-child { text-align: right; font-weight: 700; color: var(--green); white-space: nowrap; }
@media (max-width: 860px) { .fees-table td:last-child { white-space: normal; } }
.fees-note { font-size: .86rem; color: var(--muted); margin-top: .8rem; }

/* ============ TOOLS (simulator, estate-check, route finder, forms) ============ */
.tool { background: var(--parch-lite); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.tool-head { background: var(--green); color: #fff; padding: 1.2rem 1.5rem; }
.tool-head h2 { color: #fff; margin: 0; font-size: 1.5rem; }
.tool-head p { margin: .3rem 0 0; color: #c6d2c2; font-size: .92rem; }
.tool-body { padding: clamp(1.2rem, 3vw, 1.9rem); }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3.4vw, 2.2rem); align-items: start; }
@media (max-width: 820px) { .tool-grid { grid-template-columns: 1fr; } }
[data-tool="sim"] .islamic-only { display: none; }
[data-tool="sim"].is-islamic .islamic-only { display: block; }
[data-tool="sim"].is-islamic .civil-only { display: none; }
.field-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 420px) { .field-2col { grid-template-columns: 1fr; } }

.field { margin-bottom: 1.15rem; min-width: 0; }
.field > label, .field-label { display: block; font-weight: 700; font-size: .9rem; color: var(--green); margin-bottom: .45rem; }
.field .hint { font-weight: 500; color: var(--muted); font-size: .82rem; }
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg button, .seg .seg-opt { font-family: var(--sans); font-weight: 700; font-size: .9rem; padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .15s; }
.seg button[aria-pressed="true"], .seg .seg-opt.on { background: var(--green); color: #fff; border-color: var(--green); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.stepper button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.3rem; color: var(--green); cursor: pointer; font-weight: 700; }
.stepper button:hover { background: var(--sand); }
.stepper output { min-width: 40px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; padding: .72rem .9rem; border: 1.5px solid var(--line);
  border-radius: var(--r); background: #fff; color: var(--ink); min-width: 0;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(58,106,83,.15); }
.money-input { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.money-input span { padding: 0 .2rem 0 .9rem; color: var(--muted); font-weight: 700; }
.money-input input { border: 0; box-shadow: none; }

.sim-result { background: var(--green); color: #eef2ea; border-radius: var(--r-lg); padding: clamp(1.2rem, 3vw, 1.7rem); position: sticky; top: 100px; }
.sim-result h3 { color: #fff; font-family: var(--sans); font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .3rem; }
.sim-result .sim-head-note { color: #b9c7b6; font-size: .86rem; margin: 0 0 1.1rem; }
.sim-result.empty { display: grid; place-items: center; min-height: 240px; text-align: center; color: #a9baa5; }
.sim-shares { display: grid; gap: .8rem; margin-bottom: 1rem; }
.sim-share-name { font-weight: 700; color: #fff; }
.sim-share-sub { color: #b0c0ac; font-weight: 500; font-size: .82rem; }
.sim-empty-msg { background: rgba(197,96,62,.16); border: 1px solid rgba(197,96,62,.4); border-radius: var(--r); padding: 1rem; color: #f2c9b6; font-size: .9rem; }
.sim-cta { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.15); }
.sim-cta p { color: #cbb987; font-family: var(--serif); font-style: italic; font-size: 1.15rem; margin: 0 0 .9rem; line-height: 1.35; }
.sim-legal { font-size: .78rem; color: var(--muted); margin-top: 1rem; line-height: 1.5; }

/* readiness check */
.check-q { border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; margin-bottom: .8rem; background: #fff; }
.check-q p { font-weight: 700; color: var(--green); margin: 0 0 .6rem; font-size: .98rem; }
.check-score { position: sticky; top: 100px; background: var(--green); color: #fff; border-radius: var(--r-lg); padding: 1.6rem; text-align: center; }
.check-meter { --v: 0; width: 150px; height: 150px; margin: .5rem auto 1rem; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--brass) calc(var(--v) * 1%), rgba(255,255,255,.14) 0); position: relative; }
.check-meter::before { content: ""; position: absolute; inset: 12px; background: var(--green); border-radius: 50%; }
.check-meter b { position: relative; font-family: var(--serif); font-size: 2.6rem; color: #fff; line-height: 1; }
.check-band { font-weight: 800; letter-spacing: .04em; margin-bottom: .3rem; }
.check-list { text-align: left; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.15); }
.check-list h4 { color: var(--brass-lt); font-family: var(--sans); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .6rem; }
.check-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: .5rem; font-size: .88rem; color: #d7e0d3; text-align: left; }
.check-list li::before { content: "•"; color: var(--brass-lt); }

/* route finder */
.route-out { background: var(--sand); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.4rem; margin-top: 1rem; }
.route-out .route-name { font-family: var(--serif); font-size: 1.5rem; color: var(--green); margin: 0 0 .3rem; }
.route-out .route-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: .88rem; color: var(--muted); margin-bottom: .6rem; }
.route-out p { margin: 0; color: #2b3c31; font-size: .94rem; }

/* forms */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-err { color: #b4472a; font-size: .82rem; margin-top: .3rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c5603e; }
.field.invalid .form-err { display: block; }
.form-success { background: #21402f; color: #eef2ea; border-radius: var(--r-lg); padding: 1.6rem; text-align: center; display: none; }
.form-success.show { display: block; }
.form-success h3 { color: #fff; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.contact-card { background: var(--parch-lite); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.contact-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.contact-card .cc-body { padding: 1.4rem; }
.contact-card dl { margin: 0; display: grid; gap: .8rem; }
.contact-card dt { font-weight: 800; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-card dd { margin: .1rem 0 0; }
.contact-card dd a { color: var(--green-700); font-weight: 600; }

/* about stats-free credential strip */
.creds-strip { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; align-items: center; justify-content: center; padding: 1.4rem 0; }
.creds-strip span { font-family: var(--serif); font-size: 1.05rem; color: var(--green); display: inline-flex; align-items: center; gap: .5rem; }
.creds-strip span b { color: var(--brass-dk); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* ---------- footer ---------- */
.site-foot { background: linear-gradient(rgba(20,37,29,.95), rgba(17,31,24,.97)), url("/demos/legal/cheong-rashid-devan/assets/img/texture-linen.webp") center / cover no-repeat; color: #b7c5b1; padding-top: clamp(3rem, 6vw, 4.2rem); font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 2rem; padding-bottom: 2.4rem; }
.foot-logo { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; color: #fff; margin: 0 0 .3rem; }
.foot-logo i { font-style: italic; color: var(--brass-lt); }
.foot-tag { color: #9fb09b; font-style: italic; font-family: var(--serif); font-size: 1.1rem; margin: 0 0 1rem; }
.foot-brand address { font-style: normal; line-height: 1.7; margin-bottom: .9rem; }
.foot-brand a { color: var(--brass-lt); }
.foot-contact a { color: #cdd9c9; text-decoration: none; }
.foot-contact a:hover { color: #fff; }
.site-foot h3 { font-family: var(--sans); font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #cbb987; margin: 0 0 .9rem; }
.site-foot nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-foot nav a { color: #b7c5b1; text-decoration: none; }
.site-foot nav a:hover { color: #fff; }
.foot-hours { display: grid; gap: .5rem; margin: 0 0 1rem; }
.foot-hours span { display: block; }
.foot-hours b { color: #dbe4d7; font-weight: 700; display: block; font-size: .82rem; }
.foot-appt { color: #8fa08b; font-size: .86rem; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.6rem 2.2rem; }
.foot-legal p { font-size: .8rem; color: #869783; line-height: 1.6; margin: 0 0 .7rem; }
.foot-legal a { color: #a9b89f; }
.foot-mockup { border-top: 1px dashed rgba(203,185,135,.4); padding-top: 1rem; margin-top: .4rem !important; color: #97a891 !important; }
.foot-mockup a { color: var(--brass-lt); font-weight: 600; }

/* ---------- Seed Light promo kit ---------- */
.wa-float { position: fixed; right: 20px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.4); z-index: 95; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.sl-drawer { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 96; display: flex; align-items: center; }
.sl-tab { writing-mode: vertical-rl; transform: rotate(180deg); background: #171a21; color: #fff; border: 0; border-radius: 8px 0 0 8px; padding: 1rem .5rem; font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .05em; cursor: pointer; box-shadow: -3px 0 12px rgba(0,0,0,.25); }
.sl-tab strong { color: #35e07f; }
.sl-panel { position: absolute; right: 0; top: 50%; transform: translateY(-50%) translateX(calc(100% + 20px)); width: 260px; background: #171a21; color: #e8ecf1; border-radius: 12px 0 0 12px; padding: 1.3rem; box-shadow: -10px 0 30px rgba(0,0,0,.3); transition: transform .3s ease; }
.sl-drawer.open .sl-panel, .sl-drawer:hover .sl-panel { transform: translateY(-50%) translateX(0); }
.sl-kicker { color: #35e07f; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .3rem; }
.sl-panel h3 { color: #fff; font-family: var(--sans); font-size: 1.1rem; margin: 0 0 .4rem; }
.sl-panel p { font-size: .84rem; color: #aeb6c2; margin: 0 0 1rem; }
.sl-btn { display: block; text-align: center; padding: .6rem; border-radius: 8px; font-weight: 700; font-size: .86rem; text-decoration: none; margin-bottom: .5rem; }
.sl-btn-wa { background: #35e07f; color: #08130c; }
.sl-btn-site { background: transparent; border: 1px solid #35e07f; color: #35e07f; margin-bottom: 0; }

.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 94; background: var(--parch-lite); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(22,38,31,.1); }
.mobile-bar a { flex: 1; text-align: center; padding: .85rem .4rem; font-weight: 700; font-size: .9rem; color: var(--green); text-decoration: none; border-right: 1px solid var(--line); }
.mobile-bar a:last-child { border-right: 0; }
.mobile-bar .mb-book { background: var(--brass); color: #241a06; }

/* ============ responsive ============ */
@media (max-width: 1000px) {
  .cards, .guide-grid, .people-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .moments-rail { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
  .truths-grid, .simfeat-grid, .dual-grid, .recog-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .aside-card, .sim-result, .check-score { position: static; }
  .two-col .aside-card { max-width: 520px; }
}
@media (max-width: 860px) {
  .topbar-hours { display: none; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px); background: var(--parch-lite);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 5.2rem 1.6rem 2rem;
    transform: translateX(100%); transition: transform .3s ease; z-index: 85; box-shadow: -20px 0 50px rgba(22,38,31,.18);
    overflow-y: auto; border-left: 1px solid var(--line);
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul li { border-bottom: 1px solid var(--line); }
  .site-nav > ul a { display: block; padding: .95rem 0; font-size: 1.05rem; }
  .site-nav > ul a::after { display: none; }
  .nav-cta { margin-top: 1.2rem; text-align: center; }
  body.nav-open { overflow: hidden; }
  .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); }
  .mobile-bar { display: flex; }
  .site-foot { padding-bottom: 4.6rem; }
  body { padding-bottom: 0; }
  .wa-float { bottom: 74px; width: 50px; height: 50px; }
  .wa-float svg { width: 28px; height: 28px; }
  .sl-drawer { display: none; }
  body.nav-open .wa-float, body.nav-open .mobile-bar { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards, .guide-grid, .people-grid, .steps, .moments-rail, .recog-badges, .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .share-row { grid-template-columns: 96px 1fr auto; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .hero-meta span:nth-child(n+3) { display: none; }
  .brand-word { font-size: 1.06rem; }
  .brand-word small { font-size: .52rem; }
}
@media (max-width: 380px) { .brand-word small { display: none; } }

@media print {
  .topbar, .site-head, .site-foot .foot-grid, .wa-float, .sl-drawer, .mobile-bar, .cta-band, .nav-toggle, .nav-scrim { display: none !important; }
  body { color: #000; background: #fff; }
  .sim-result, .check-score { position: static; }
}

/* ===== Seed Light drawer close-X (2026-07-24c): lift the toggle above the open drawer as a visible close button ===== */
.nav-toggle[aria-expanded="true"]{position:fixed;top:14px;right:16px;z-index:5000;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid rgba(0,0,0,.14);border-radius:10px;padding:0;font-size:0;box-shadow:0 4px 14px rgba(0,0,0,.12)}
.nav-toggle[aria-expanded="true"] span{display:none!important}
.nav-toggle[aria-expanded="true"]::before{content:"\2715";font-size:20px;line-height:1;color:#222}

/* ===== Seed Light mobile-header fix (2026-07-24c): topbar wrapped to 2 lines on mobile; hide it ===== */
@media (max-width:820px){ .topbar{display:none} }
