/* =========================================================
   Hall's Conveyancing — site styles
   Palette kept from the existing brand:
   purple #853f9e · ink #111 · gold #ca9c5e · light grey #f0f0f0
   ========================================================= */
/* Self-hosted fonts (Crimson Pro + Hanken Grotesk, SIL OFL) */
@font-face{font-family:"Crimson Pro";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/crimson-pro-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Crimson Pro";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/crimson-pro-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Crimson Pro";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/crimson-pro-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Crimson Pro";font-style:italic;font-weight:400;font-display:swap;src:url(../fonts/crimson-pro-latin-400-italic.woff2) format("woff2")}
@font-face{font-family:"Crimson Pro";font-style:italic;font-weight:500;font-display:swap;src:url(../fonts/crimson-pro-latin-500-italic.woff2) format("woff2")}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/hanken-grotesk-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/hanken-grotesk-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/hanken-grotesk-latin-600-normal.woff2) format("woff2")}

:root {
  --purple: #853f9e;
  --purple-deep: #5e2a71;
  --purple-ink: #2a1433;
  --purple-tint: #f5eff8;
  --gold: #ca9c5e;
  --gold-soft: #f3e7d6;
  --ink: #111111;
  --text: #3d3a40;
  --muted: #6b6870;
  --line: #e4dfe7;
  --grey: #f0f0f0;
  --white: #ffffff;

  --serif: "Crimson Pro", "Crimson Text", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--purple);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--gold); }
.hero .eyebrow.light, .page-hero .eyebrow.light { color: #fff; }
.hero .eyebrow.light::before { background: var(--gold); width: 46px; height: 2px; }
.display { font-size: clamp(44px, 7.4vw, 104px); line-height: .98; letter-spacing: -0.02em; }
.h2 { font-size: clamp(36px, 4.6vw, 64px); }
.h3 { font-size: clamp(26px, 2.4vw, 34px); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--text); }
em.accent, .accent { font-style: italic; color: var(--purple); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--purple); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg);
  font: 600 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none;
  overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn.ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.btn.ghost::after { background: #fff; }
.btn.ghost:hover { color: var(--ink); }
.btn.gold { --bg: var(--gold); --fg: var(--ink); }
.btn.outline { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn.outline:hover { color: #fff; }

.link-arrow svg { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; color: var(--purple); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--purple), var(--gold)); transform-origin: left; transform: scaleX(var(--sp, 0)); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 18px 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; background: #fff; padding: 8px 14px; transition: padding .4s var(--ease), box-shadow .4s; }
.brand img { height: 52px; width: auto; transition: height .4s var(--ease); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a.nav-link {
  position: relative; text-decoration: none; color: #fff; font-weight: 500; font-size: 15px; padding: 6px 0;
}
.nav a.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a.nav-link:hover::after, .nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: 13px 20px; }
.header-light .nav a.nav-link { color: var(--ink); }
.site-header.scrolled { background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); padding: 8px 0; }
.site-header.scrolled .nav a.nav-link { color: var(--ink); }
.site-header.scrolled .brand { padding: 4px 0; }
.site-header.scrolled .brand img { height: 44px; }
.menu-toggle { display: none; background: #fff; border: 0; width: 48px; height: 48px; cursor: pointer; position: relative; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); content: ""; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle span { top: 23px; }
.menu-toggle span::before { top: -7px; left: 0; right: 0; }
.menu-toggle span::after { top: 7px; left: 0; right: 0; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; background: var(--purple-ink); flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 0 32px; gap: 18px; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease);
  }
  .nav-open .nav { clip-path: inset(0 0 0 0); }
  .nav a.nav-link, .site-header.scrolled .nav a.nav-link, .header-light .nav a.nav-link { color: #fff; font-family: var(--serif); font-size: 40px; }
  .brand img { height: 42px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; color: #fff; background: var(--purple-ink); }
.hero-media { position: absolute; inset: 0; transform: scale(calc(1.06 + var(--hp, 0) * .18)); transform-origin: 50% 70%; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(17,10,20,.55) 0%, rgba(17,10,20,.05) 32%, rgba(17,10,20,.15) 55%, rgba(42,20,51,.88) 100%),
    linear-gradient(90deg, rgba(42,20,51,.55) 0%, rgba(42,20,51,0) 60%);
}
.hero-inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(56px, 10vh, 110px);
  opacity: calc(1 - var(--hp, 0) * 1.3); transform: translateY(calc(var(--hp, 0) * -60px));
}
.hero h1 { color: #fff; max-width: 12ch; }
.hero .lead { color: rgba(255,255,255,.88); max-width: 560px; margin: 28px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(56px, 10vh, 110px); text-align: right; font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.5; }
.hero-meta strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; color: #fff; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 22px; width: 1px; height: 44px; background: rgba(255,255,255,.25); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
@media (max-width: 820px) { .hero-meta { display: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--purple-ink); }
.page-hero .hero-media { transform: scale(calc(1.05 + var(--hp, 0) * .14)); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,10,20,.5), rgba(42,20,51,.35) 40%, rgba(42,20,51,.9)); }
.page-hero .wrap { position: relative; z-index: 2; padding-top: 160px; padding-bottom: clamp(56px, 9vh, 96px); opacity: calc(1 - var(--hp, 0) * 1.3); }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero .lead { color: rgba(255,255,255,.86); max-width: 640px; margin-top: 24px; }
.crumbs { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 20px; }
.crumbs a { text-decoration: none; color: rgba(255,255,255,.75); font-weight: 500; }

/* ---------- Sections ---------- */
section { position: relative; }
.pad { padding: clamp(88px, 12vw, 160px) 0; }
.pad-s { padding: clamp(64px, 8vw, 110px) 0; }
.bg-tint { background: var(--purple-tint); }
.bg-grey { background: var(--grey); }
.bg-ink { background: var(--purple-ink); color: rgba(255,255,255,.82); }
.bg-ink h2, .bg-ink h3 { color: #fff; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* Intro */
.intro h2 { margin-bottom: 30px; }
.intro-figure { position: relative; }
.intro-figure .frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.intro-figure .frame img { width: 100%; height: 118%; object-fit: cover; transform: translateY(var(--py, 0)); }
.award-badge {
  position: absolute; left: -48px; bottom: 40px; width: 196px; aspect-ratio: 1; border-radius: 50%;
  background: #fff; display: grid; place-items: center; box-shadow: 0 30px 60px -20px rgba(42,20,51,.35);
}
.award-badge img { width: 40%; position: relative; z-index: 1; }
.award-ring { position: absolute; inset: 8px; animation: spin 26s linear infinite; }
.award-ring text { font: 600 11px var(--sans); letter-spacing: .2em; fill: var(--purple); text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .award-badge { left: 16px; bottom: 16px; width: 150px; } .award-ring { inset: 4px; } }

.address-line { display: flex; gap: 16px; align-items: flex-start; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.address-line svg { flex: none; width: 22px; height: 22px; color: var(--purple); margin-top: 3px; }
.address-line strong { display: block; color: var(--ink); font-weight: 600; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.stat { padding: 46px 28px 10px 0; border-right: 1px solid rgba(255,255,255,.14); margin-right: 28px; }
.stat:last-child { border-right: 0; margin-right: 0; }
.stat .num { font-family: var(--serif); font-size: clamp(52px, 6vw, 84px); line-height: 1; color: #fff; }
.stat .num sup { font-size: .45em; color: var(--gold); vertical-align: top; position: relative; top: .25em; margin-left: 4px; }
.stat p { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.7); max-width: 22ch; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; margin-right: 0; } }

/* Services grid */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(48px, 6vw, 80px); flex-wrap: wrap; }
.section-head .h2 { max-width: 14ch; }
.section-head p { max-width: 440px; margin: 0; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.service {
  position: relative; padding: 40px 28px 44px; border-right: 1px solid var(--line); background: #fff;
  transition: background .5s var(--ease), color .5s var(--ease);
}
.service:last-child { border-right: 0; }
.service .idx { font: 600 13px var(--sans); letter-spacing: .14em; color: var(--muted); }
.service .icon { width: 64px; height: 64px; margin: 44px 0 28px; transition: transform .6s var(--ease); }
.service h3 { font-size: 28px; margin-bottom: 12px; }
.service p { font-size: 15.5px; color: var(--muted); margin: 0; }
.service:hover { background: var(--purple-tint); }
.service:hover .icon { transform: translateY(-6px) scale(1.06); }
@media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } .service:nth-child(2) { border-right: 0; } .service { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } .service { border-right: 0; } }

/* ---------- Pinned journey (horizontal scroll) ---------- */
.journey { position: relative; height: calc(var(--steps, 5) * 85vh); background: var(--purple-ink); color: #fff; }
.journey-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.journey-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 56px; }
.journey-head h2 { color: #fff; max-width: 15ch; }
.journey-count { font-family: var(--serif); font-size: 22px; color: rgba(255,255,255,.6); white-space: nowrap; }
.journey-count b { color: var(--gold); font-weight: 500; font-size: 44px; }
.journey-track { display: flex; gap: 28px; padding-left: var(--gutter); transform: translateX(var(--jx, 0px)); will-change: transform; }
.step {
  flex: 0 0 min(440px, 78vw); min-height: 340px; padding: 40px 36px; position: relative;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14);
  display: flex; flex-direction: column; transition: background .5s var(--ease), border-color .5s;
}
.step.active { background: var(--purple); border-color: var(--purple); }
.step .n { font-family: var(--serif); font-size: 76px; line-height: 1; color: var(--gold); }
.step h3 { color: #fff; font-size: 30px; margin: auto 0 14px; }
.step p { margin: 0; color: rgba(255,255,255,.78); font-size: 16px; }
.journey-bar { margin: 56px var(--gutter) 0; height: 2px; background: rgba(255,255,255,.14); }
.journey-bar span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--jp, 0)); }

/* ---------- Why choose us ---------- */
.why { overflow: hidden; }
.why-bg { position: absolute; inset: -15% 0; background-size: cover; background-position: center; transform: translateY(var(--py, 0)); }
.why::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.95) 52%, rgba(255,255,255,.55) 100%); z-index: 1; }
.why .wrap { position: relative; z-index: 2; }
.why-list { list-style: none; padding: 0; margin: 0; counter-reset: why; display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; max-width: 900px; }
.why-list li { counter-increment: why; display: grid; grid-template-columns: 64px 1fr; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.why-list li::before { content: counter(why, decimal-leading-zero); font-family: var(--serif); font-size: 26px; color: var(--purple); }
.why-list strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--ink); line-height: 1.15; }
.why-list span { display: block; margin-top: 6px; font-size: 15.5px; color: var(--muted); }
@media (max-width: 760px) { .why-list { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: clamp(60px, 9vw, 120px); }
.quote { display: grid; grid-template-columns: 120px 1fr; gap: 30px; max-width: 980px; }
.quote:nth-child(2) { margin-left: auto; }
.quote .mark { font-family: var(--serif); font-size: 180px; line-height: .7; color: var(--gold); }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(26px, 2.9vw, 40px); line-height: 1.22; color: #fff; }
.quote cite { display: block; margin-top: 26px; font-style: normal; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 700px) { .quote { grid-template-columns: 1fr; gap: 0; } .quote .mark { font-size: 120px; height: 70px; } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; }
.cta-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--purple); color: #fff; }
.cta-card .copy { padding: clamp(40px, 6vw, 80px); }
.cta-card h2 { color: #fff; margin-bottom: 20px; }
.cta-card .eyebrow { color: #fff; }
.cta-card .eyebrow::before { background: var(--gold); height: 2px; }
.cta-card p { color: rgba(255,255,255,.85); max-width: 46ch; }
.cta-card .media { position: relative; overflow: hidden; min-height: 360px; }
.cta-card .media img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; transform: translateY(var(--py, 0)); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.phone-big { display: block; font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); line-height: 1; color: #fff; text-decoration: none; margin: 24px 0 6px; }
@media (max-width: 860px) { .cta-card { grid-template-columns: 1fr; } .cta-card .media { min-height: 260px; } }

/* ---------- About ---------- */
.prose p { font-size: 18px; }
.prose p:first-child { font-family: var(--serif); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.3; color: var(--ink); }
.figure-tall { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--grey); }
.figure-tall img { width: 100%; height: 120%; object-fit: cover; transform: translateY(var(--py, 0)); }
.figure-contain { background: var(--grey); display: grid; place-items: center; padding: 40px; aspect-ratio: 4/5; overflow: hidden; }
.figure-contain img { max-height: 100%; width: auto; object-fit: contain; }

.team { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.member { background: #fff; border-top: 3px solid var(--purple); padding: clamp(32px, 4vw, 52px); }
.member .mono { width: 76px; height: 76px; border-radius: 50%; background: var(--purple-tint); color: var(--purple); display: grid; place-items: center; font-family: var(--serif); font-size: 32px; margin-bottom: 26px; }
.member .role { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); font-weight: 600; }
.member h3 { font-size: 40px; margin: 6px 0 20px; }
.member p { font-size: 16px; color: var(--muted); }
.member .award { display: inline-block; margin-top: 8px; padding: 8px 14px; background: var(--gold-soft); color: #6d4f22; font-size: 14px; font-weight: 600; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; } }

/* ---------- Conveyancing page ---------- */
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.type { background: #fff; padding: 36px 28px; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.type:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(42,20,51,.35); }
.type img { width: 58px; height: 58px; margin-bottom: 26px; }
.type h3 { font-size: 25px; }
@media (max-width: 960px) { .types { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .types { grid-template-columns: 1fr; } }

.tasks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.tasks li { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); font-size: 19px; color: var(--ink); align-items: baseline; }
.tasks li b { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--purple); }
.tasks-note { font-family: var(--serif); font-size: 28px; color: var(--purple); margin-top: 30px; font-style: italic; }
.sticky-col { position: sticky; top: 120px; }

/* ---------- Resources ---------- */
.res-list { border-top: 1px solid var(--ink); }
.res {
  display: grid; grid-template-columns: 70px 1fr auto; gap: 24px; align-items: center;
  padding: 34px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: padding .5s var(--ease), background .5s var(--ease);
}
.res .n { font-family: var(--serif); font-size: 22px; color: var(--muted); }
.res h3 { font-size: clamp(26px, 2.6vw, 38px); }
.res p { margin: 6px 0 0; font-size: 15.5px; color: var(--muted); }
.res .go { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; transition: background .4s, color .4s, transform .5s var(--ease); }
.res .go svg { width: 20px; height: 20px; }
.res:hover { padding-left: 18px; padding-right: 18px; background: var(--purple-tint); }
.res:hover .go { background: var(--purple); border-color: var(--purple); color: #fff; transform: rotate(-45deg); }
@media (max-width: 600px) { .res { grid-template-columns: 1fr auto; } .res .n { display: none; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); }
.info-list { list-style: none; margin: 0 0 36px; padding: 0; border-top: 1px solid var(--line); }
.info-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-list small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--purple); margin-bottom: 6px; }
.info-list a, .info-list span { font-family: var(--serif); font-size: 26px; color: var(--ink); text-decoration: none; line-height: 1.25; }
.map { aspect-ratio: 4 / 3; border: 0; width: 100%; filter: grayscale(.4) contrast(1.05); background: var(--grey); }
.form { background: var(--purple-tint); padding: clamp(28px, 4vw, 56px); }
.form h2 { margin-bottom: 8px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { position: relative; margin-top: 22px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px var(--sans); color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-bottom: 2px solid var(--ink); padding: 14px 16px; border-radius: 0;
  transition: border-color .3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--purple); }
.hp { position: absolute; left: -9999px; }
.recaptcha-wrap { margin-top: 24px; min-height: 78px; }
.form-msg { margin-top: 18px; padding: 14px 16px; display: none; font-weight: 500; }
.form-msg.ok { display: block; background: #e7f4ec; color: #1f5d39; }
.form-msg.err { display: block; background: #fbeaea; color: #8a2424; }
.form .btn { margin-top: 24px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .form .row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: clamp(70px, 9vw, 120px) 0 36px; font-size: 15px; }
.footer-big { font-family: var(--serif); font-size: clamp(44px, 7vw, 100px); line-height: .98; color: #fff; margin-bottom: 70px; max-width: 14ch; }
.footer-big em { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-grid h4 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-grid a { color: #fff; text-decoration: none; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; line-height: 2.1; }
.footer-logo { background: #fff; display: inline-block; padding: 10px 14px; margin-bottom: 22px; }
.footer-logo img { height: 50px; width: auto; }
.mlg { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.mlg img { height: 34px; width: auto; background: #fff; padding: 6px 8px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; font-size: 13.5px; color: rgba(255,255,255,.5); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; background: #fff; }
.marquee-track { display: flex; gap: 60px; width: max-content; transform: translateX(var(--mx, 0px)); will-change: transform; }
.marquee-track span { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 46px); color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 60px; }
.marquee-track span::after { content: "✦"; color: var(--gold); font-size: .5em; }
.marquee-track span:nth-child(even) { font-style: italic; color: var(--purple); }

/* =========================================================
   Scroll reveal system
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="scale"] { transform: scale(.92); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="clip"].in { clip-path: inset(0 0 0 0); }

/* split words */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0s)); }
.js [data-split].in .w > span { transform: none; }

/* stagger children */
.js [data-stagger] > * { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js [data-stagger].in > * { opacity: 1; transform: none; }

/* Static / preview mode and reduced motion: everything visible, no pinning */
.static [data-reveal], .static [data-split] .w > span, .static [data-stagger] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal], [data-split] .w > span, [data-stagger] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
/* Journey falls back to a stacked grid on small screens, reduced motion and preview */
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .journey { height: auto; }
  .journey-sticky { position: static; height: auto; padding: 90px 0; }
  .journey-track { flex-direction: column; transform: none !important; padding: 0 var(--gutter); max-width: var(--wrap); margin: 0 auto; }
  .step { flex: none; min-height: 0; }
  .step h3 { margin-top: 28px; }
  .journey-bar, .journey-count { display: none; }
}
.static .journey { height: auto; }
.static .journey-sticky { position: static; height: auto; padding: 120px 0; }
.static .journey-track { flex-wrap: wrap; transform: none !important; padding: 0 var(--gutter); max-width: var(--wrap); margin: 0 auto; }
.static .step { flex: 1 1 calc(33.333% - 28px); min-height: 300px; }
.static .journey-bar, .static .journey-count { display: none; }
.static .hero, .static .page-hero { --hp: 0 !important; }
.static .scroll-cue { display: none; }
