/* Lodestone Attorneys — the firm's website.
   Same family as Lodestone Legacy (Inter + Instrument Serif, brass compass),
   in Lodestone Legacy's Chambers palette (owner, 2026-10-12): deep navy
   ground, raised navy panels, cool off-white text and gold accents. */

:root {
  /* Chambers, Lodestone Legacy's default palette (owner, 2026-10-12):
     deep navy and gold, "a law firm's library". */
  --ink: #080d17;            /* hero, footer, Coming soon: the deepest ground */
  --ink-2: #0c121f;
  --ink-3: #162135;
  --paper: #090e18;          /* page (Chambers --bg) */
  --paper-2: #0c121f;        /* alternate sections (Chambers --bg-2) */
  --panel: #111a2a;          /* cards, form, menus (Chambers --panel) */
  --panel-2: #162135;
  --line: #1c2739;
  --line-strong: #2a3850;
  --text: #ecf0f7;
  --text-2: #a2acbe;
  --text-3: #707c92;
  --on-ink: #ecf0f7;
  --on-ink-2: #a2acbe;
  --on-ink-3: #707c92;
  --brass: #d6b46a;          /* text and links (Chambers --accent) */
  --brass-2: #b89a56;        /* rules, icons */
  --brass-light: #e3c584;    /* buttons, headline accents (Chambers --accent-2) */
  --brass-soft: rgba(214, 180, 106, .12);
  --focus: #d6b46a;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 28px 70px rgba(0, 0, 0, .55);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px; }
.muted { color: var(--text-3); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px;
  background: var(--brass-light); color: #1a1405; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---- type ---- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.h-display { font-family: var(--display); font-size: clamp(42px, 6vw, 78px); line-height: 1.02; letter-spacing: -.02em; }
.h-section { font-family: var(--display); font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.015em; }
.h-display em, .h-section em { font-style: italic; color: var(--brass); }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.65; color: var(--text-2); max-width: 640px; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: end; margin-bottom: 56px; }
.section-head .lead { margin: 0; font-size: 17px; }
.section-alt { background: var(--paper-2); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent; font: 500 15.5px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-primary { background: var(--text); color: #090e18; }
.btn-primary:hover { background: #fff; box-shadow: 0 8px 26px rgba(255, 255, 255, .12); }
.btn-brass { background: var(--brass-light); color: #1a1405; }
.btn-brass:hover { background: #ecd29a; box-shadow: 0 8px 26px rgba(214, 180, 106, .25); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .22); color: var(--on-ink); background: rgba(255, 255, 255, .03); }
.btn-ghost-light:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .06); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.arrow { width: 16px; height: 16px; flex: none; }

/* ---- brand ---- */
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #1a1405;
  background: linear-gradient(135deg, #e2bb6c, #b8893a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--display); font-weight: 400; font-size: 23px; letter-spacing: -.01em; }
.brand-text span { font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--text-3); margin-top: 2px; }
.brand-light { color: var(--on-ink); }
.brand-light .brand-text span { color: var(--on-ink-3); }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(170%) blur(16px); -webkit-backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.nav-row { display: flex; align-items: center; gap: 36px; height: 76px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a, .nav-drop > a { display: inline-flex; align-items: center; gap: 5px; padding: 8px 0; font-size: 15px; font-weight: 500;
  color: var(--text-2); text-decoration: none; transition: color .2s; }
.nav-links > a:hover, .nav-drop > a:hover, .nav-links a[aria-current] { color: var(--text); }
.nav-links a[aria-current]::after { content: ''; }
.chev { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.nav-drop { position: relative; }
.drop-panel { position: absolute; top: calc(100% + 10px); left: -20px; width: 340px; padding: 10px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.drop-panel::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-drop:hover .drop-panel, .nav-drop:focus-within .drop-panel { opacity: 1; visibility: visible; transform: none; }
.nav-drop:hover .chev, .nav-drop:focus-within .chev { transform: rotate(180deg); }
.drop-panel a { text-decoration: none; }
/* the Practice areas menu: three areas on the left, a consultation panel on the right */
.mega { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); padding: 0; overflow: hidden;
  width: min(780px, calc(100vw - 250px)); border-radius: 20px; }
.mega-main { padding: 20px; }
.mega-label { margin: 4px 12px 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.mega-item, .mm-card { display: grid; grid-template-columns: 44px minmax(0, 1fr) 16px; gap: 14px; align-items: center; color: var(--text); text-decoration: none; }
.mega-item { padding: 13px 12px; border-radius: 14px; transition: background .2s var(--ease); }
.mega-item:hover, .mega-item:focus-visible { background: var(--panel-2); }
.mega-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--brass);
  background: var(--brass-soft); border: 1px solid rgba(214, 180, 106, .18); }
.mega-icon svg { width: 22px; height: 22px; }
.mega-text b { display: block; font-size: 15px; font-weight: 550; }
.mega-text small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--text-3); }
.mega-item .arrow { color: var(--brass); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s var(--ease); }
.mega-item:hover .arrow, .mega-item:focus-visible .arrow { opacity: 1; transform: none; }
.mega-side { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px;
  background: var(--ink); border-left: 1px solid var(--line); }
.mega-glow { position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(214, 180, 106, .22), transparent); }
.mega-side .mega-label { margin: 0; color: var(--brass); }
.mega-pitch { position: relative; margin: 0; font-family: var(--display); font-size: 23px; line-height: 1.22; color: var(--text); }
.mega-side .btn { align-self: flex-start; }
.mega-facts { list-style: none; display: grid; gap: 8px; margin-top: 2px; font-size: 13.5px; color: var(--text-2); }
.mega-facts li { display: flex; align-items: center; gap: 10px; }
.mega-facts svg { width: 16px; height: 16px; flex: none; color: var(--brass-2); }
.mega-facts a { color: var(--text); }
.mega-legacy { margin-top: auto; display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--panel);
  border: 1px solid var(--line); transition: border-color .2s; }
.mega-legacy:hover, .mega-legacy:focus-visible { border-color: var(--brass-2); }
.mega-legacy small { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.mega-legacy b { font-family: var(--display); font-weight: 400; font-size: 21px; color: var(--brass-light); }
.mega-legacy span { font-size: 13px; color: var(--text-2); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--text-2); text-decoration: none; }
.nav-phone svg { width: 17px; height: 17px; color: var(--brass-2); }
.nav-phone:hover { color: var(--text); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
/* the phone menu: a full-height sheet with the practice areas as cards */
.mobile-menu { height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); border-top: 1px solid var(--line); }
.mm-inner { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; padding-bottom: 36px; }
.mm-label { margin: 12px 0 2px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.mm-cards { display: grid; gap: 10px; }
.mm-card { padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.mm-card:active { background: var(--panel-2); }
.mm-card .arrow { color: var(--brass); }
.mm-links { display: grid; overflow: hidden; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.mm-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; font-size: 16px; color: var(--text); text-decoration: none; }
.mm-links a + a { border-top: 1px solid var(--line); }
.mm-links .arrow { color: var(--text-3); }
.mm-contact { position: relative; overflow: hidden; display: grid; gap: 14px; margin-top: 8px; padding: 18px 16px; border-radius: 16px;
  background: radial-gradient(260px 160px at 100% 0%, rgba(214, 180, 106, .14), transparent 70%), var(--ink); border: 1px solid var(--line); }
.mm-contact > * { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.mm-contact svg { width: 18px; height: 18px; flex: none; color: var(--brass-2); }
.mm-contact small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.mm-actions { display: grid; margin-top: 8px; }
.mobile-menu:not([hidden]) .mm-anim { animation: mmIn .45s var(--ease) both; }
.mm-cards .mm-card:nth-child(2) { animation-delay: .04s; } .mm-cards .mm-card:nth-child(3) { animation-delay: .08s; }
.mm-inner > p.mm-label:nth-of-type(2) { animation-delay: .12s; } .mm-links { animation-delay: .15s; }
.mm-contact { animation-delay: .19s; } .mm-actions { animation-delay: .23s; }
@keyframes mmIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 1020px) { .nav-phone { display: none; } }
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-row { height: 68px; }
}

/* ---- hero (home) ---- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); padding: clamp(84px, 11vw, 150px) 0 clamp(150px, 15vw, 200px); isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(620px 420px at 82% 38%, rgba(214, 180, 106, .16), transparent 70%),
              radial-gradient(1000px 620px at 15% 0%, rgba(38, 66, 120, .45), transparent 70%),
              radial-gradient(900px 500px at 10% 110%, rgba(31, 58, 104, .35), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; }
.hero .eyebrow { color: var(--brass-light); }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--brass-light); }
.hero .lead { color: var(--on-ink-2); margin: 28px 0 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 14px 30px; margin: 52px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--on-ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; }
.hero-points svg { width: 18px; height: 18px; color: var(--brass-light); flex: none; }
.hero-art { position: relative; justify-self: end; width: min(460px, 100%); aspect-ratio: 1; }
.hero-art svg { width: 100%; height: 100%; overflow: visible; }
.ha-ring { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 1; }
.ha-ring-2 { fill: none; stroke: rgba(214, 180, 106, .35); stroke-width: 1; }
.ha-tick { stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.ha-tick-major { stroke: rgba(214, 180, 106, .7); stroke-width: 1.5; }
.ha-label { fill: var(--on-ink-3); font: 500 12px var(--sans); letter-spacing: .2em; text-anchor: middle; }
.ha-glow { fill: rgba(214, 180, 106, .18); }
.ha-north { fill: url(#needleGold); }
.ha-south { fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .25); stroke-width: 1; }
.ha-pin { fill: var(--ink); stroke: var(--brass-light); stroke-width: 2; }
.ha-needle, .ha-dial { transform-box: view-box; transform-origin: 200px 200px; }
.ha-needle { animation: swing 3.4s cubic-bezier(.3, .6, .3, 1) .3s both, drift 7s ease-in-out 3.7s infinite; }
.ha-dial { animation: spin 160s linear infinite; }
@keyframes swing { 0% { transform: rotate(-42deg); } 14% { transform: rotate(24deg); } 28% { transform: rotate(-14deg); }
  42% { transform: rotate(8deg); } 56% { transform: rotate(-4deg); } 70% { transform: rotate(2deg); } 82%, 100% { transform: rotate(0); } }
@keyframes drift { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(2.5deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* practice cards that rise out of the hero */
.practice-lift { position: relative; z-index: 2; margin-top: clamp(-120px, -10vw, -90px); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; padding: 34px 32px 30px; border-radius: var(--radius-lg);
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--text);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 26px; border-radius: 14px;
  background: var(--brass-soft); color: var(--brass); }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--display); font-size: 30px; line-height: 1.1; margin-bottom: 12px; }
.card p { color: var(--text-2); font-size: 15.5px; margin-bottom: 22px; }
.card ul { list-style: none; display: grid; gap: 8px; margin-bottom: 26px; font-size: 14.5px; color: var(--text-2); }
.card li { display: flex; gap: 10px; }
.card li::before { content: ''; flex: none; width: 5px; height: 5px; margin-top: 10px; border-radius: 50%; background: var(--brass-2); }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 550; color: var(--brass); }
a.card:hover .card-link .arrow { transform: translateX(4px); }
.card-link .arrow { transition: transform .25s var(--ease); }

/* ---- approach / principles ---- */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.principle { padding: 36px 36px 8px 0; }
.principle + .principle { padding-left: 36px; border-left: 1px solid var(--line); }
.principle-num { font-family: var(--display); font-size: 20px; color: var(--brass-2); margin-bottom: 14px; }
.principle h3 { font-family: var(--display); font-size: 28px; line-height: 1.15; margin-bottom: 12px; }
.principle p { color: var(--text-2); font-size: 15.5px; }

/* ---- steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; margin-bottom: 30px;
  font-family: var(--display); font-size: 40px; line-height: 1; color: var(--brass-2); }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step p { margin: 0; font-size: 15px; color: var(--text-2); }

/* ---- journey: "Working with us" on the home page (owner, 2026-10-12: "too
   text heavy, add animation instead"). A gold track draws across, each step's
   line drawing sketches itself in turn, then a glint walks the path every 8s
   and lights each step as it passes. No-JS and reduced motion show it drawn. */
.journey { position: relative; --node: 92px; }
.jsteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; text-align: center; }
.jstep { position: relative; padding: 0 14px; }
.jstep:nth-child(1) { --d: .25s; } .jstep:nth-child(2) { --d: .55s; }
.jstep:nth-child(3) { --d: .85s; } .jstep:nth-child(4) { --d: 1.15s; }
.jnode { position: relative; z-index: 1; display: grid; place-items: center; width: var(--node); height: var(--node); margin: 0 auto 24px;
  border-radius: 50%; border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  background: radial-gradient(circle at 32% 26%, var(--panel-2), var(--panel) 70%);
  transition: opacity .6s var(--ease) var(--d), transform .7s cubic-bezier(.3, 1.5, .5, 1) var(--d), border-color .3s; }
.jnode::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(214, 180, 106, .16); }
.jart { width: 44px; height: 44px; fill: none; stroke: var(--brass); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.jart .jd { stroke-dasharray: 1; stroke-dashoffset: 0; }
.journey.in .jart .jd { animation: jdraw .9s var(--ease) both; animation-delay: calc(var(--d) + .15s); }
.journey.in .jart .j2 { animation-delay: calc(var(--d) + .3s); } .journey.in .jart .j3 { animation-delay: calc(var(--d) + .45s); }
.journey.in .jart .j4 { animation-delay: calc(var(--d) + .6s); } .journey.in .jart .j5 { animation-delay: calc(var(--d) + .75s); }
.journey.in .jart .j6 { animation-delay: calc(var(--d) + .9s); }
@keyframes jdraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.jart .jback { fill: var(--panel); stroke: none; }
.jart .jdot { fill: var(--brass); stroke: none; transition: opacity .4s var(--ease) calc(var(--d) + .7s); }
.jnum { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--brass); }
.jstep h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.jstep p { margin: 0; font-size: 15px; color: var(--text-2); }
.jnum, .jstep h3, .jstep p { transition: opacity .7s var(--ease) calc(var(--d) + .25s), transform .7s var(--ease) calc(var(--d) + .25s); }

/* the track runs node centre to node centre: columns have no gap, so 12.5% */
.jtrack { position: absolute; left: 12.5%; right: 12.5%; top: calc(var(--node) / 2); height: 2px; margin-top: -1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.jtrack::before { content: ""; position: absolute; inset: 0; transform-origin: left center;
  background: linear-gradient(90deg, var(--brass-2), var(--brass-light) 50%, var(--brass-2));
  transition: transform 1.6s cubic-bezier(.65, 0, .35, 1) .2s; }
.jtrack i { position: absolute; inset: 0; opacity: 0; }
.jtrack i::after { content: ""; position: absolute; left: -6px; top: -5px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff3d6; box-shadow: 0 0 0 4px rgba(227, 197, 132, .22), 0 0 22px 6px rgba(227, 197, 132, .55); }

/* before it scrolls into view */
.js .journey:not(.in) .jnode { opacity: 0; transform: scale(.6); }
.js .journey:not(.in) .jart .jd { stroke-dashoffset: 1; }
.js .journey:not(.in) .jdot { opacity: 0; }
.js .journey:not(.in) .jnum, .js .journey:not(.in) .jstep h3, .js .journey:not(.in) .jstep p { opacity: 0; transform: translateY(10px); }
.js .journey:not(.in) .jtrack::before { transform: scaleX(0); }

/* the loop, once drawn: glint 0-6s across, each node lit as it arrives */
.journey.in .jtrack i { animation: jglint 8s linear 2.4s infinite; }
.journey.in .jnode { animation: jlit 8s ease-out infinite; }
.journey.in .jart { animation: jart 8s ease-out infinite; }
.journey.in .jstep:nth-child(1) .jnode, .journey.in .jstep:nth-child(1) .jart { animation-delay: 2.4s; }
.journey.in .jstep:nth-child(2) .jnode, .journey.in .jstep:nth-child(2) .jart { animation-delay: 4.4s; }
.journey.in .jstep:nth-child(3) .jnode, .journey.in .jstep:nth-child(3) .jart { animation-delay: 6.4s; }
.journey.in .jstep:nth-child(4) .jnode, .journey.in .jstep:nth-child(4) .jart { animation-delay: 8.4s; }
.journey.in .jdot { animation: jtype 1.4s ease-in-out 2s infinite; }
.journey.in .jdot-2 { animation-delay: 2.2s; } .journey.in .jdot-3 { animation-delay: 2.4s; }
@keyframes jglint {
  0% { transform: translateX(0); opacity: 0; } 3% { opacity: 1; }
  72% { opacity: 1; } 75%, 100% { transform: translateX(100%); opacity: 0; }
}
@keyframes jlit {
  0% { border-color: var(--brass); box-shadow: var(--shadow), 0 0 0 0 rgba(214, 180, 106, .4); }
  14% { border-color: var(--brass); box-shadow: var(--shadow), 0 0 0 16px rgba(214, 180, 106, 0); }
  30%, 100% { border-color: var(--line-strong); box-shadow: var(--shadow); }
}
@keyframes jart { 0%, 12% { transform: scale(1.1); filter: brightness(1.25) drop-shadow(0 0 6px rgba(227, 197, 132, .45)); } 30%, 100% { transform: none; filter: none; } }
@keyframes jtype { 0%, 60%, 100% { transform: none; opacity: .55; } 30% { transform: translateY(-3px); opacity: 1; } }
.jdot { transform-box: fill-box; transform-origin: center; }
@media (hover: hover) {
  .jstep:hover .jnode { border-color: var(--brass); transform: translateY(-4px); transition-delay: 0s; }
}

/* ---- split ---- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.split-top { align-items: start; }

/* ---- Legacy band ---- */
.band-dark { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); color: var(--on-ink); border-radius: 28px; padding: clamp(40px, 6vw, 80px); isolation: isolate; }
.band-dark::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(560px 360px at 90% 10%, rgba(214, 180, 106, .18), transparent 70%); }
.band-dark .eyebrow { color: var(--brass-light); }
.band-dark .h-section { color: #fff; }
.band-dark .h-section em { color: var(--brass-light); }
.band-dark .lead { color: var(--on-ink-2); }
.band-dark .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.legacy-list { list-style: none; display: grid; gap: 2px; }
.legacy-list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.legacy-list li:last-child { border-bottom: 0; }
.legacy-list svg { width: 22px; height: 22px; flex: none; color: var(--brass-light); margin-top: 2px; }
.legacy-list b { display: block; font-weight: 550; color: #fff; margin-bottom: 2px; }
.legacy-list span { font-size: 15px; color: var(--on-ink-2); }

/* ---- FAQ ---- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-size: clamp(21px, 2.2vw, 25px); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%23efeeec' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform .3s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--paper-2); }
.faq summary:hover::after { border-color: var(--text-2); }
.faq .answer { padding: 0 64px 26px 0; color: var(--text-2); max-width: 760px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---- CTA ---- */
.cta { text-align: center; }
.cta .h-section { max-width: 820px; margin: 0 auto 20px; }
.cta .lead { margin: 0 auto 36px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-meta { margin-top: 22px; font-size: 14px; color: var(--text-3); }

/* ---- page hero (inner pages) ---- */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line);
  background: radial-gradient(900px 500px at 20% 0%, rgba(38, 66, 120, .35), transparent 70%), linear-gradient(180deg, var(--paper-2), var(--paper)); }
.page-hero::after { content: ''; position: absolute; right: -140px; top: -140px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid var(--line); box-shadow: 0 0 0 70px rgba(255, 255, 255, .0), inset 0 0 0 70px var(--paper-2), inset 0 0 0 71px var(--line); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; font-size: 13.5px; color: var(--text-3); list-style: none; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.page-hero .h-display { font-size: clamp(42px, 5.6vw, 72px); max-width: 900px; }
.page-hero .lead { margin: 24px 0 0; }
.page-hero .hero-actions { margin-top: 34px; }

/* ---- service detail blocks ---- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service { padding: 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.service h3 { font-family: var(--display); font-size: 25px; line-height: 1.15; margin-bottom: 10px; }
.service p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--text-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--brass-soft)
  no-repeat center / 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5' fill='none' stroke='%23d4b37a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ticks b { color: var(--text); font-weight: 550; }
.audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.audience > div { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); }
.audience h3 { font-family: var(--display); font-size: 32px; margin-bottom: 8px; }
.audience > div > p { color: var(--text-2); margin-bottom: 24px; }
.note { display: flex; gap: 14px; padding: 20px 22px; border-radius: var(--radius); background: var(--brass-soft); color: #e9dcc0; font-size: 15px; border: 1px solid rgba(214, 180, 106, .18); }
.note svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--brass); }
.note p { margin: 0; }
.aside-card { position: sticky; top: 100px; padding: 32px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); color: var(--on-ink); }
.aside-card h3 { font-family: var(--display); font-size: 28px; color: #fff; margin-bottom: 10px; }
.aside-card p { color: var(--on-ink-2); font-size: 15px; }
.aside-card .btn { width: 100%; margin-top: 8px; }
.aside-card .aside-line { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14.5px; color: var(--on-ink-2); }
.aside-card .aside-line a { color: #fff; text-decoration: none; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.stack > * + * { margin-top: 56px; }
.stack h2 { margin-bottom: 18px; }
.stack .h-sub { font-family: var(--display); font-size: clamp(28px, 3vw, 38px); line-height: 1.12; }

/* ---- about ---- */
.story-mark { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: var(--ink); border: 1px solid var(--line); position: relative; overflow: hidden; display: grid; place-items: center; }
.story-mark svg { width: 70%; }
.person { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; padding: 36px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); }
.portrait { aspect-ratio: 1; border-radius: 18px; background: linear-gradient(135deg, var(--paper-2), var(--brass-soft)); display: grid; place-items: center;
  font-family: var(--display); font-size: 72px; color: var(--brass); }
.person h3 { font-family: var(--display); font-size: 34px; }
.person .role { margin: 2px 0 16px; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.person p { color: var(--text-2); }

/* ---- contact ---- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.form { display: grid; gap: 20px; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 14.5px; font-weight: 550; }
.field .opt { font-weight: 400; color: var(--text-3); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--paper); color: var(--text); font: 16px/1.4 var(--sans); transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%237b8190' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 42px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass-2); background: var(--panel-2); box-shadow: 0 0 0 4px rgba(214, 180, 106, .14); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #d65c40; }
.field .hint { font-size: 13.5px; color: var(--text-3); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; border: 0; margin: 0; padding: 0; }
.chips legend { margin-bottom: 10px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 15px; background: var(--paper); transition: all .2s var(--ease); }
.chip input:checked + span { background: var(--brass-light); border-color: var(--brass-light); color: #1a1405; }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); }
.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brass-light); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 16px 18px; border-radius: 12px; font-size: 15px; }
.form-status.show { display: block; }
.form-status.err { background: rgba(214, 92, 64, .14); color: #f2a48f; border: 1px solid rgba(214, 92, 64, .3); }
.form-done { display: none; text-align: center; padding: 40px 10px; }
.form-done .done-icon { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--brass-soft); color: var(--brass); }
.form-done .done-icon svg { width: 30px; height: 30px; }
.form-done h2 { font-family: var(--display); font-size: 38px; margin-bottom: 12px; }
.form-done p { color: var(--text-2); max-width: 440px; margin: 0 auto; }
.form.sent > :not(.form-done) { display: none; }
.form.sent .form-done { display: block; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
a.contact-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.contact-card .ci { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--brass-soft); color: var(--brass); }
.contact-card .ci svg { width: 21px; height: 21px; }
.contact-card small { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.contact-card b { font-weight: 550; overflow-wrap: anywhere; }

/* ---- prose (legal pages) ---- */
.prose { max-width: 760px; color: var(--text-2); }
.prose h2 { font-family: var(--display); font-size: clamp(26px, 3vw, 34px); color: var(--text); margin: 56px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; font-weight: 600; color: var(--text); margin: 28px 0 8px; }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--brass); }
.prose dl { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0; margin: 0 0 1em; border-top: 1px solid var(--line); }
.prose dt, .prose dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.prose dt { font-weight: 550; color: var(--text); padding-right: 20px; }
.updated { font-size: 14px; color: var(--text-3); }

/* ---- footer ---- */
.footer { background: var(--ink); color: var(--on-ink-2); padding: 88px 0 40px; margin-top: 0; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.foot-brand p { max-width: 320px; margin: 22px 0 26px; font-family: var(--display); font-size: 22px; line-height: 1.3; color: var(--on-ink); }
.foot-h { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-3); margin-bottom: 20px; }
.footer ul { list-style: none; display: grid; gap: 12px; font-size: 15px; }
.footer a { color: var(--on-ink); text-decoration: none; }
.footer a:hover { color: var(--brass-light); }
.foot-contact .muted { color: var(--on-ink-3); }
.foot-legal { padding-top: 30px; display: grid; gap: 8px; font-size: 13px; color: var(--on-ink-3); }
.foot-legal p { margin: 0; max-width: 900px; }
.foot-legal a { text-decoration: underline; color: var(--on-ink-2); }

/* ---- coming soon ---- */
.soon { min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; isolation: isolate; }
.soon::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 480px at 50% 42%, rgba(214, 180, 106, .14), transparent 70%),
              radial-gradient(1100px 700px at 50% 0%, rgba(38, 66, 120, .42), transparent 70%); }
.soon-top, .soon-foot { padding: 28px 0; }
.soon-main { display: grid; place-items: center; text-align: center; padding: 40px 0 60px; }
.soon-art { width: min(300px, 64vw); margin: 0 auto 44px; }
.soon .eyebrow { color: var(--brass-light); }
.soon .eyebrow::after { content: ''; width: 22px; height: 1px; background: currentColor; }
.soon h1 { color: #fff; font-size: clamp(42px, 6.4vw, 78px); }
.soon h1 em { color: var(--brass-light); }
.soon .lead { color: var(--on-ink-2); margin: 24px auto 38px; }
.soon-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.soon-foot { font-size: 13px; color: var(--on-ink-3); text-align: center; }
.soon-foot a { color: var(--on-ink-2); }

/* ---- 404 ---- */
.notfound { padding: clamp(90px, 14vw, 180px) 0; text-align: center; }
.notfound .lead { margin: 22px auto 36px; }

/* ---- reveal on scroll ---- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---- responsive ---- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .layout-aside, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .aside-card { position: static; }
}
@media (max-width: 960px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { position: absolute; right: -180px; top: 40px; width: 460px; opacity: .28; pointer-events: none; z-index: -1; }
  .section-head { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 40px; }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .principle, .principle + .principle { padding: 30px 0 6px; border-left: 0; border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .services, .audience { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .journey { --node: 64px; }
  .jsteps { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .jstep { display: grid; grid-template-columns: var(--node) minmax(0, 1fr); column-gap: 18px; align-content: start; padding: 0 0 30px; }
  .jstep:last-child { padding-bottom: 0; }
  .jnode { grid-row: 1 / span 3; margin: 0; }
  .jnum { margin: 8px 0 4px; }
  .jart { width: 32px; height: 32px; }
  .jnode::after { inset: 5px; }
  .jtrack { left: calc(var(--node) / 2); right: auto; top: calc(var(--node) / 2); bottom: var(--jend, 60px); width: 2px; height: auto;
    margin: 0 0 0 -1px; background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 12px); }
  .jtrack::before { transform-origin: center top; background: linear-gradient(180deg, var(--brass-2), var(--brass-light) 50%, var(--brass-2)); }
  .js .journey:not(.in) .jtrack::before { transform: scaleY(0); }
  .jtrack i::after { left: -5px; top: -6px; }
  .journey.in .jtrack i { animation-name: jglint-down; }
}
@keyframes jglint-down {
  0% { transform: translateY(0); opacity: 0; } 3% { opacity: 1; }
  72% { opacity: 1; } 75%, 100% { transform: translateY(100%); opacity: 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .person { grid-template-columns: minmax(0, 1fr); padding: 26px; }
  .portrait { width: 120px; font-size: 48px; }
  .hero-actions .btn, .cta-actions .btn, .soon-actions .btn { width: 100%; }
  .faq .answer { padding-right: 0; }
  .prose dl { grid-template-columns: minmax(0, 1fr); }
  .prose dt { padding-bottom: 0; border-bottom: 0; }
  .band-dark { border-radius: 20px; }
  .card { padding: 28px 24px 26px; }
}

.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; }
.mt-20 { margin-top: 20px; }
.mb-36 { margin-bottom: 36px; }
.h-section-sm { font-size: clamp(30px, 3.4vw, 42px); }
.band-dark .h-section + .lead { margin-top: 22px; }

/* ---- Wills & estates: Lodestone Legacy as the way in (owner, 2026-10-12) ---- */
.page-hero-legacy { background: radial-gradient(700px 420px at 85% 30%, rgba(214, 180, 106, .12), transparent 70%), linear-gradient(180deg, var(--paper-2), var(--paper)); }
.page-hero-legacy::after { display: none; }
.legacy-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.page-hero .lead b { color: var(--text); font-weight: 600; }
.fine { margin: 18px 0 0; font-size: 14px; color: var(--text-3); }
.fine a { color: var(--brass); }
.legacy-card { padding: 24px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.lc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.lc-head b { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.1; color: var(--brass-light); }
.lc-head small { font-size: 12.5px; color: var(--text-3); }
.lc-list { list-style: none; display: grid; }
.lc-list li { display: grid; grid-template-columns: 38px minmax(0, 1fr) 20px; gap: 14px; align-items: center; padding: 13px 0; }
.lc-list li + li { border-top: 1px solid var(--line); }
.lc-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--panel-2); color: var(--text-2); }
.lc-ic svg { width: 19px; height: 19px; }
.lc-list b { display: block; font-size: 15px; font-weight: 550; }
.lc-list small { font-size: 13px; color: var(--text-3); }
.lc-ok svg { width: 20px; height: 20px; color: var(--brass); }
.stat-card { padding: clamp(28px, 4vw, 44px); border-radius: 22px; border: 1px solid var(--line);
  background: radial-gradient(420px 240px at 100% 0%, rgba(214, 180, 106, .16), transparent 70%), var(--panel); }
.stat-num { margin: 0 0 12px; font-family: var(--display); font-size: clamp(56px, 7vw, 88px); line-height: 1; color: var(--brass-light); }
.stat-label { margin: 0 0 18px; font-size: 17px; color: var(--text); }
.stat-src { margin: 0; font-size: 12.5px; color: var(--text-3); }
.docs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.doc { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line);
  color: var(--text); text-decoration: none; }
.doc .mega-icon { margin-bottom: 8px; }
.doc h3 { font-family: var(--display); font-size: 25px; line-height: 1.1; }
.doc p { margin: 0; font-size: 14.5px; color: var(--text-2); }
.doc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.doc-tags span { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 12px; color: var(--text-3); }
.doc-cta { border-color: rgba(214, 180, 106, .3); transition: transform .3s var(--ease), border-color .3s;
  background: radial-gradient(320px 200px at 100% 0%, rgba(214, 180, 106, .2), transparent 70%), var(--ink); }
.doc-cta:hover { transform: translateY(-3px); border-color: var(--brass-2); }
.doc-cta-label { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.doc-cta .card-link { margin-top: auto; padding-top: 10px; }
.split .hero-actions { margin-top: 30px; }
.ticks-lg { gap: 18px; }
.ticks-lg li { font-size: 16px; }
.handover { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.handover li { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: 16px; background: var(--ink); border: 1px solid var(--line); }
.ho-num { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 6px; border-radius: 50%; background: var(--brass-light); color: #1a1405; font-size: 15px; font-weight: 600; }
.handover b { font-size: 16px; font-weight: 550; color: var(--text); }
.handover li > span:last-child { font-size: 14.5px; color: var(--text-2); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { position: relative; display: grid; gap: 6px; padding: 28px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line);
  color: var(--text-2); text-decoration: none; transition: transform .3s var(--ease), border-color .3s; }
.plan:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.plan b { font-size: 15px; font-weight: 600; color: var(--text); }
.plan-price { font-family: var(--display); font-size: 48px; line-height: 1.1; color: var(--text); }
.plan-price small { margin-left: 4px; font-family: var(--sans); font-size: 14px; color: var(--text-3); }
.plan > span:last-child { font-size: 14.5px; }
.plan-pop { border-color: rgba(214, 180, 106, .45); background: radial-gradient(320px 200px at 100% 0%, rgba(214, 180, 106, .14), transparent 70%), var(--panel); }
.plan-tag { position: absolute; top: 20px; right: 20px; padding: 3px 10px; border-radius: 999px; background: var(--brass-light); color: #1a1405; font-size: 12px; font-weight: 600; }
.plans-note { margin: 22px 0 0; font-size: 14px; color: var(--text-3); }
.aside-card .eyebrow { margin-bottom: 12px; }
/* contact form: estate enquiries are pointed to Lodestone Legacy */
.legacy-nudge { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid rgba(214, 180, 106, .3);
  background: radial-gradient(300px 160px at 100% 0%, rgba(214, 180, 106, .14), transparent 70%), var(--panel-2); }
.legacy-nudge[hidden] { display: none; }
.legacy-nudge .mega-icon { flex: none; }
.legacy-nudge b { display: block; margin-bottom: 4px; font-weight: 600; color: var(--text); }
.legacy-nudge p { margin: 0 0 10px; font-size: 14.5px; color: var(--text-2); }
.legacy-nudge a { font-size: 14.5px; font-weight: 550; color: var(--brass); }
@media (max-width: 1080px) { .docs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .legacy-hero-grid, .handover, .plans { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .docs-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- practice pages: the area's line drawing draws itself into the header ----
   The drawing has its own grid column (owner, 2026-10-12: it overlapped the
   heading on a wide screen), so text and drawing never touch at any width. */
.page-hero.has-art::after { display: none; }
.hero-art-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-art-text { min-width: 0; }
.line-art { display: block; width: 100%; height: auto; pointer-events: none; }
.line-art * { fill: none; stroke: var(--brass-light); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: artDraw 1.4s var(--ease) forwards; }
.line-art .d1 { animation-delay: .05s; } .line-art .d2 { animation-delay: .2s; } .line-art .d3 { animation-delay: .35s; }
.line-art .d4 { animation-delay: .5s; } .line-art .d5 { animation-delay: .65s; } .line-art .d6 { animation-delay: .8s; }
.line-art .d7 { animation-delay: .95s; } .line-art .d8 { animation-delay: 1.1s; } .line-art .d9 { animation-delay: 1.25s; }
@keyframes artDraw { to { stroke-dashoffset: 0; } }
/* the wills page: the drawing sits in its own space above the Lodestone Legacy card */
.legacy-col { display: grid; justify-items: end; gap: 6px; min-width: 0; }
.legacy-col .line-art { width: min(260px, 70%); margin-right: 8px; }
.legacy-col .legacy-card { width: 100%; }
@media (max-width: 960px) {
  .hero-art-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art-grid .line-art { order: -1; width: 180px; justify-self: end; margin-bottom: -12px; }
  .legacy-col .line-art { width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .line-art * { animation: none; stroke-dashoffset: 0; }
}
/* one page fades into the next where the browser can (Chrome, Edge, Safari 18) */
@view-transition { navigation: auto; }

/* the hero's navy glow fades into the page, so no edge shows behind the cards */
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--paper)); }
