*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --maroon: #480003;
  --maroon-deep: #2d0002;
  --maroon-soft: #5c1114;
  --red: #d6072a;
  --red-dark: #a8061f;
  --orange: #e8803c;
  --ivory: #fbf8f3;
  --ivory-2: #f3ece2;
  --ink: #1c1312;
  --muted: #6e605c;
  --gold: #a98b4b;
  --border: #e6dcce;
  --border-2: #d6c9b8;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --nav-h: 104px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ---------- Top bar + nav ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 101;
  background: linear-gradient(90deg, var(--maroon-deep), var(--maroon) 28%, var(--maroon-soft) 50%, var(--maroon) 72%, var(--maroon-deep));
  background-size: 220% 100%;
  animation: topbar-sheen 16s ease-in-out infinite alternate;
  color: #f0e4d8;
  font-size: 0.76rem; letter-spacing: 0.04em; text-align: center;
  padding: 9px 0;
}

.nav {
  position: fixed; top: 39px; left: 0; right: 0; z-index: 100;
  /* sheen across the bar: clear at the edges, warm and dense through the middle */
  background: linear-gradient(90deg,
    rgba(251, 248, 243, 0.43),
    rgba(238, 229, 215, 0.6) 24%,
    rgba(223, 210, 193, 0.68) 50%,
    rgba(238, 229, 215, 0.6) 76%,
    rgba(251, 248, 243, 0.43));
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  transition: background 0.3s;
}
.nav.scrolled {
  background: linear-gradient(90deg,
    rgba(251, 248, 243, 0.66),
    rgba(240, 231, 218, 0.77) 24%,
    rgba(226, 213, 197, 0.81) 50%,
    rgba(240, 231, 218, 0.77) 76%,
    rgba(251, 248, 243, 0.66));
}
/* hairline under the nav, brightest in the middle */
.nav::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(214, 7, 42, 0.4), rgba(169, 139, 75, 0.4), transparent);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.nav.scrolled::after { opacity: 1; }

.progress {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  width: 0; height: 2px; border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, var(--maroon), var(--red) 60%, var(--orange));
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 65px; }
.brand img { height: 26px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 0.82rem; letter-spacing: 0.01em; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.current { color: var(--ink); }
.nav-links a.current { font-weight: 500; }
.nav-cta {
  background: var(--maroon); color: #fff !important;
  padding: 10px 22px; border-radius: 999px; font-weight: 500;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--red-dark); }

.burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Shared type ---------- */
.eyebrow, .label {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 18px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.label-light { color: var(--orange); }

h1, h2, h3, h4, blockquote p { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
h1 em, h2 em, blockquote em { font-style: normal; color: var(--red); }
.section-dark h2 em, .contact h2 em, .band em { color: var(--orange); }

/* accent words carry a gradient where the browser can clip one to text */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  h1 em, h2 em, blockquote em {
    background-image: linear-gradient(100deg, var(--red-dark), var(--red) 42%, var(--orange));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
  .section-dark h2 em, .contact h2 em, .band em {
    background-image: linear-gradient(100deg, var(--orange), #f6cda4 55%, var(--orange));
  }
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4rem); line-height: 1.08; margin-bottom: 24px; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); line-height: 1.16; margin-bottom: 16px; }

.lede { color: var(--muted); font-size: 1.02rem; line-height: 1.8; max-width: 44ch; }
.sub { color: var(--muted); font-size: 0.93rem; line-height: 1.75; max-width: 54ch; }

/* a sub-page promotes its first h2 to the h1, so they share a size */
.head h1 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); line-height: 1.16; margin-bottom: 16px; max-width: 20ch; }
.head-center h1 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.integrity h1 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); line-height: 1.16; margin-bottom: 16px; }
.page-top { padding-top: calc(var(--nav-h) + 64px); }

.more-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 34px;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); text-decoration: none;
}
.more-link span { transition: transform 0.2s; }
.more-link:hover span { transform: translateX(4px); }

.head { margin-bottom: 56px; max-width: 760px; }
.head h2 { max-width: 20ch; }
.head-center { margin-left: auto; margin-right: auto; text-align: center; }
.head-center h2, .head-center .sub { margin-left: auto; margin-right: auto; }
.head-center h2 { max-width: 18ch; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none; }

.section { padding: 110px 0; }
.section-tint { background: linear-gradient(180deg, #f8f2e8, var(--ivory-2) 45%, #efe6d9); }
.section-dark { background: linear-gradient(165deg, #3c0003, var(--maroon-deep) 55%, #1f0001); color: #f4e9dd; }
.section-dark .sub { color: rgba(244, 233, 221, 0.72); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.01em;
  text-decoration: none; transition: all 0.2s; border: 1px solid transparent;
}
.btn-primary { background: linear-gradient(135deg, var(--maroon), var(--red-dark)); color: #fff; }
.btn-primary:hover { background: linear-gradient(135deg, var(--red-dark), var(--red)); transform: translateY(-1px); }
.btn-ghost { border-color: var(--border-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--maroon); color: var(--maroon); }
.btn-white { background: var(--ivory); color: var(--maroon); font-weight: 600; }
.btn-white:hover { background: #fff; transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + 72px) 0 90px; position: relative; overflow: hidden; }
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(60px);
}
.hero::before {
  top: -240px; right: -180px; width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(214, 7, 42, 0.16), transparent 68%);
}
.hero::after {
  bottom: -280px; left: -200px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(232, 128, 60, 0.2), transparent 70%);
}
/* only hide it when JS is there to bring it back */
.js .hero-copy > * { opacity: 0; animation: hero-rise 0.85s cubic-bezier(0.22, 0.8, 0.2, 1) forwards; }
.js .hero-copy > *:nth-child(1) { animation-delay: 0.08s; }
.js .hero-copy > *:nth-child(2) { animation-delay: 0.17s; }
.js .hero-copy > *:nth-child(3) { animation-delay: 0.27s; }
.js .hero-copy > *:nth-child(4) { animation-delay: 0.37s; }
.js .hero-copy > *:nth-child(5) { animation-delay: 0.47s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero .hero-art.reveal { transition-delay: 0.22s; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 48px; }

.hero-facts { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; border-top: 1px solid var(--border); padding-top: 28px; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--serif); font-size: 1.02rem; font-weight: 500; }
.hero-facts span { font-size: 0.78rem; color: var(--muted); }

.hero-art { position: relative; }
.hero-art-main {
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(72, 0, 3, 0.18);
}
.hero-art-main img { width: 100%; height: auto; }
.hero-art-float {
  position: absolute; left: -46px; bottom: -42px; width: 42%;
  border-radius: 14px; overflow: hidden;
  border: 6px solid var(--ivory);
  box-shadow: 0 18px 44px rgba(72, 0, 3, 0.22);
}

/* ---------- Breadcrumb ---------- */
.crumbs {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 0.74rem; letter-spacing: 0.05em; color: var(--muted);
  margin-bottom: 34px;
}
.crumbs a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.crumbs a:hover { color: var(--maroon); }
.crumbs > span[aria-hidden] { color: var(--border-2); }
.crumbs > span[aria-current] { color: var(--maroon); }
.section-dark .crumbs, .section-dark .crumbs a { color: rgba(244, 233, 221, 0.6); }

/* ---------- Sub-page head ---------- */
.page-head {
  padding: calc(var(--nav-h) + 60px) 0 78px;
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f8f2e8, var(--ivory) 68%);
}
.page-head::before, .page-head::after {
  content: ''; position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 0; filter: blur(70px);
}
.page-head::before { top: -240px; right: -170px; width: 620px; height: 620px; background: radial-gradient(circle, rgba(214, 7, 42, 0.16), transparent 70%); }
.page-head::after { bottom: -270px; left: -190px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(232, 128, 60, 0.2), transparent 70%); }
.page-head > .wrap { position: relative; z-index: 1; }

.page-head-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 60px; align-items: center; }
.page-head-copy h1 { font-size: clamp(2.1rem, 4.2vw, 3.05rem); line-height: 1.1; margin-bottom: 20px; }
.page-head-copy .lede { margin-bottom: 34px; }

.page-head-art { position: relative; }
.page-head-main { border-radius: 18px; overflow: hidden; box-shadow: 0 26px 60px rgba(72, 0, 3, 0.18); }
.page-head-main img { width: 100%; height: auto; }
.page-head-float {
  position: absolute; left: -40px; bottom: -36px; width: 38%;
  border-radius: 14px; overflow: hidden; border: 6px solid var(--ivory);
  box-shadow: 0 18px 44px rgba(72, 0, 3, 0.22);
}
.page-head-float-right { left: auto; right: -30px; }

/* ---------- Habit cards ---------- */
.habits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.habits article {
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
}
.habits img { width: 100%; height: auto; }
.habits article > div { padding: 26px 26px 30px; }
.habits h3 { font-size: 1.12rem; line-height: 1.35; margin-bottom: 10px; }
.habits p { font-size: 0.86rem; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee {
  background: linear-gradient(90deg, var(--maroon-deep), var(--maroon) 30%, var(--maroon-soft) 55%, var(--maroon) 75%, var(--maroon-deep));
  color: #f0ddc9; overflow: hidden; padding: 15px 0;
}
.marquee-track { display: flex; gap: 34px; width: max-content; animation: slide 38s linear infinite; }
.marquee-track span {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
}
.marquee-track span:nth-child(even) { color: var(--orange); }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes topbar-sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ---------- Start here ---------- */
.intake { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.intake-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 16px; padding: 28px 26px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.intake-card:hover { transform: translateY(-3px); border-color: var(--maroon); box-shadow: 0 16px 40px rgba(72, 0, 3, 0.08); }
.intake-card h3 { font-size: 1.1rem; line-height: 1.35; margin-bottom: 10px; color: var(--maroon); }
.intake-card p { font-size: 0.85rem; color: var(--muted); flex-grow: 1; margin-bottom: 18px; }
.intake-go {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); display: inline-flex; align-items: center; gap: 7px;
}
.intake-go em { font-style: normal; transition: transform 0.2s; }
.intake-card:hover .intake-go em { transform: translateX(4px); }
.intake-note { margin-top: 28px; text-align: center; font-size: 0.88rem; color: var(--muted); }
.intake-note a { color: var(--maroon); text-underline-offset: 3px; }

/* ---------- Chips ---------- */
.chapter-note { margin-top: 28px; font-size: 0.86rem; color: rgba(244, 233, 221, 0.72); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips span {
  font-size: 0.76rem; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(244, 233, 221, 0.25); color: #f4e9dd;
  background: rgba(244, 233, 221, 0.06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* ---------- Taxonomy lists ---------- */
.tax-group { margin-bottom: 44px; }
.tax-group:last-of-type { margin-bottom: 0; }
.tax-title {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--red);
  padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--border);
}
.tax-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tax-grid-wide { grid-template-columns: repeat(4, 1fr); }
.tax-grid-plain { grid-template-columns: repeat(3, 1fr); }
.tax-grid > div {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 16px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 0.84rem; background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.2s, color 0.2s;
}
.tax-grid > div:hover { border-color: var(--maroon); color: var(--maroon); }
.tax-grid svg {
  width: 18px; height: 18px; flex-shrink: 0; color: var(--red);
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Referencing style cards ---------- */
.cites { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cite-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: 14px; padding: 22px 20px 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.cite-card h4 {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
.cite-sample {
  font-family: var(--serif); font-size: 0.92rem; line-height: 1.45; color: var(--maroon);
  background: rgba(214, 7, 42, 0.06); border-radius: 8px;
  padding: 11px 13px; margin-bottom: 14px;
}
.cite-card > p:last-child { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }
.cite-card-note .cite-sample { color: var(--muted); background: var(--ivory-2); }

/* ---------- UK map ---------- */
.uni-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 54px; align-items: center; }
.uni-split .tax-grid { grid-template-columns: 1fr 1fr; }
.uk-map svg { width: 100%; height: auto; display: block; }
.uk-land { fill: rgba(255, 255, 255, 0.78); stroke: var(--border-2); stroke-width: 1.6; stroke-linejoin: round; }
.uk-dot { fill: var(--red); }
.uk-dot-lg { fill: var(--maroon); }
.uk-halo { fill: rgba(214, 7, 42, 0.16); }
.uk-label { font-family: var(--sans); font-size: 12px; fill: var(--muted); }
.uk-label-lg { fill: var(--maroon); font-weight: 600; }
.uk-map-note { margin-top: 10px; font-size: 0.78rem; color: var(--muted); line-height: 1.6; }
.tax-note { margin-top: 24px; font-size: 0.86rem; color: var(--muted); }

/* ---------- Deliverables ---------- */
.deliverables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.deliverables article {
  border: 1px solid rgba(244, 233, 221, 0.2); border-radius: 16px; padding: 32px 28px;
  background: linear-gradient(160deg, rgba(244, 233, 221, 0.1), rgba(244, 233, 221, 0.03));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.deliverables h3 { font-size: 1.25rem; margin-bottom: 10px; color: #fff; }
.deliverables p { font-size: 0.87rem; color: rgba(244, 233, 221, 0.74); }

/* ---------- Grade bands ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.tier {
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 30px 28px; display: flex; flex-direction: column;
}
.tier-mid { border-color: var(--border-2); }
.tier-band {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.tier h3 { font-size: 1.3rem; margin-bottom: 10px; }
.tier p { font-size: 0.87rem; color: var(--muted); }

/* ---------- Two-column tick lists ---------- */
.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.dodont > div {
  border-radius: 16px; padding: 30px 28px; border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.dodont h3 { font-size: 1.15rem; margin-bottom: 18px; }
.dodont ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.dodont li { position: relative; padding-left: 28px; font-size: 0.87rem; color: var(--muted); line-height: 1.6; }
.dodont li::before {
  position: absolute; left: 0; top: -1px; font-size: 0.95rem; font-weight: 600;
}
.do li::before { content: '\2713'; color: #2f7a4f; }
.dont li::before { content: '\2715'; color: var(--red); }
.need li::before { content: '\2192'; color: var(--gold); }
.integrity-note {
  margin-top: 28px; font-size: 0.84rem; color: var(--muted);
  border-left: 2px solid var(--border-2); padding-left: 18px; max-width: 72ch;
}

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.bento-feature {
  grid-column: span 2; grid-row: span 2;
  display: flex; flex-direction: column;
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(155deg, var(--maroon-soft), var(--maroon) 45%, var(--maroon-deep));
  color: #f4e9dd;
}
.bento-feature img { width: 100%; height: 380px; object-fit: cover; object-position: center top; }
.bento-feature-body { padding: 30px 32px 34px; }
.bento-feature h3 { font-size: 1.5rem; margin-bottom: 12px; }
.bento-feature p { font-size: 0.9rem; color: rgba(244, 233, 221, 0.76); margin-bottom: 20px; }
.bento-feature .tags span { border-color: rgba(244, 233, 221, 0.25); color: rgba(244, 233, 221, 0.8); }

.bento-card {
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 18px;
  padding: 28px 26px 26px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.bento-card:hover { transform: translateY(-3px); border-color: var(--border-2); box-shadow: 0 16px 40px rgba(72, 0, 3, 0.07); }
.bento-card h3 { font-size: 1.18rem; margin-bottom: 9px; }
.bento-card p { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }

.ico {
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(214, 7, 42, 0.16), rgba(232, 128, 60, 0.12));
  color: var(--red); display: flex; align-items: center; justify-content: center;
}
.ico svg { width: 21px; height: 21px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span {
  font-size: 0.68rem; letter-spacing: 0.02em; padding: 4px 10px;
  border: 1px solid var(--border); border-radius: 999px; color: var(--muted);
}

/* ---------- Split sections ---------- */
/* the offset cards hang outside the container, so clip these two sections */
#approach, #chapters { overflow: hidden; position: relative; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-reverse .split-art { order: 2; }

.split-art { position: relative; }
.split-art > img { width: 100%; border-radius: 18px; box-shadow: 0 26px 60px rgba(72, 0, 3, 0.16); }
.split-art-float {
  position: absolute; right: -46px; bottom: -52px; width: 38%;
  border-radius: 14px; overflow: hidden; border: 6px solid var(--ivory-2);
  box-shadow: 0 18px 44px rgba(72, 0, 3, 0.2);
}
.section-dark .split-art > img,
.section-dark .split-art-float { border: 1px solid rgba(244, 233, 221, 0.22); }
.section-dark .split-art-float { border-width: 6px; border-color: var(--maroon-deep); outline: 1px solid rgba(244, 233, 221, 0.22); }

.steps-list { list-style: none; margin-top: 34px; display: flex; flex-direction: column; gap: 24px; }
.steps-list li { display: flex; gap: 16px; }
.num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px;
  background: rgba(214, 7, 42, 0.08); color: var(--red);
  font-family: var(--serif); font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}
.steps-list h4 { font-size: 1.02rem; margin-bottom: 3px; }
.steps-list p { font-size: 0.86rem; color: var(--muted); line-height: 1.65; }

.chapter-list { margin-top: 34px; display: flex; flex-direction: column; }
.chapter-list > div { padding: 20px 0; border-top: 1px solid rgba(244, 233, 221, 0.18); }
.chapter-list > div:last-child { border-bottom: 1px solid rgba(244, 233, 221, 0.18); }
.chapter-list span { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--orange); }
.chapter-list h4 { font-size: 1.1rem; margin: 2px 0 4px; }
.chapter-list p { font-size: 0.86rem; color: rgba(244, 233, 221, 0.68); line-height: 1.6; }

/* ---------- Guides rail ---------- */
.rail-title {
  font-family: var(--serif); font-size: 1.05rem;
  margin: 0 0 16px; color: var(--ink);
}
.rail-title-2 { margin-top: 52px; }

/* the track holds the slides twice, so one set's width of travel loops seamlessly */
.rail {
  overflow: hidden; margin: 16px -32px 0; padding: 4px 32px 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.rail-track {
  display: flex; gap: 18px; width: max-content;
  animation: rail-run 64s linear infinite;
}
.rail-track-rev { animation-direction: reverse; }
.rail:hover .rail-track { animation-play-state: paused; }
@keyframes rail-run { to { transform: translateX(calc(-50% - 9px)); } }

.rail figure {
  flex: 0 0 300px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); background: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
}
.rail figure:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(72, 0, 3, 0.1); }
.rail img { width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
  .rail { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; }
  .rail-track { animation: none; }
  .rail figure { scroll-snap-align: start; }
  .rail figure[aria-hidden="true"] { display: none; }
}

/* ---------- Quote band ---------- */
.band {
  background: linear-gradient(135deg, var(--maroon-soft), var(--maroon) 45%, var(--maroon-deep));
  color: #f4e9dd; padding: 0; overflow: hidden; position: relative;
}
.band-grid {
  display: grid; grid-template-columns: 0.82fr 1.18fr; align-items: stretch;
  max-width: none; padding: 0;
}
.band-art { height: 100%; }
.band-art img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; object-position: center top; }
.band blockquote { padding: 72px 64px 72px 56px; max-width: 700px; align-self: center; }
.band blockquote p { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.25; margin-bottom: 18px; }
.band cite {
  font-style: normal; font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(244, 233, 221, 0.55);
}

/* ---------- Who ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.who-grid article {
  background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 18px; padding: 32px 28px;
  display: flex; flex-direction: column;
}
.who-grid h3 { font-size: 1.3rem; margin-bottom: 12px; }
.who-grid p { font-size: 0.87rem; color: var(--muted); flex-grow: 1; }
.who-grid ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.who-grid li {
  font-size: 0.7rem; padding: 4px 10px; border-radius: 999px;
  background: var(--ivory-2); color: var(--maroon);
}

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process > div { padding-top: 24px; border-top: 2px solid var(--border); }
.process > div:first-child { border-top-color: var(--red); }
.process .num {
  width: auto; height: auto; background: none; border-radius: 0;
  font-size: 1.9rem; color: var(--red); justify-content: flex-start; margin-bottom: 10px;
}
.process h4 { font-size: 1.05rem; margin-bottom: 6px; }
.process p { font-size: 0.84rem; color: var(--muted); line-height: 1.65; }

/* ---------- Integrity ---------- */
.integrity { display: grid; grid-template-columns: 180px 1fr; gap: 56px; align-items: center; }
.integrity-mark img { width: 100%; opacity: 0.9; }
.integrity p:last-child { color: var(--muted); font-size: 0.95rem; max-width: 62ch; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.faq-wrap .head { margin-bottom: 0; position: sticky; top: var(--nav-h); }
.faq-art {
  margin-top: 32px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 18px 44px rgba(72, 0, 3, 0.09);
}
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative;
  font-family: var(--serif); font-size: 1.08rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 20px;
  font-size: 1.3rem; color: var(--red); font-family: var(--sans); transition: transform 0.2s;
}
.faq details[open] summary::after { content: '\2013'; }
.faq summary:hover { color: var(--maroon); }
.faq details[open] summary { color: var(--maroon); }
.faq details[open] p { animation: faq-open 0.4s cubic-bezier(0.22, 0.8, 0.2, 1) both; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: none; } }
.faq details p { font-size: 0.9rem; color: var(--muted); padding-bottom: 24px; max-width: 62ch; }

/* ---------- Contact ---------- */
.contact {
  background: linear-gradient(140deg, var(--maroon-soft), var(--maroon) 42%, var(--maroon-deep));
  color: #f4e9dd; border-radius: 24px; overflow: hidden;
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: stretch;
  position: relative;
}
.contact::before, .contact::after {
  content: ''; position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(60px);
}
.contact::before {
  top: -150px; left: -90px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(232, 128, 60, 0.34), transparent 68%);
}
.contact::after {
  bottom: -220px; left: 26%; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(214, 7, 42, 0.32), transparent 70%);
}
.contact-copy { padding: 68px 56px; position: relative; }
.contact h2 { margin-bottom: 14px; }
.contact .sub { color: rgba(244, 233, 221, 0.74); margin-bottom: 32px; }

.contact-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.contact-row {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  color: #f4e9dd; padding: 14px 18px; border-radius: 12px;
  border: 1px solid rgba(244, 233, 221, 0.18); transition: background 0.2s, border-color 0.2s;
  background: rgba(244, 233, 221, 0.04); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.contact-row:hover { background: rgba(244, 233, 221, 0.06); border-color: rgba(244, 233, 221, 0.34); }
.contact-row svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--orange); }
.contact-row span { display: flex; flex-direction: column; line-height: 1.4; }
.contact-row strong { font-size: 0.95rem; font-weight: 500; }
.contact-row span { font-size: 0.78rem; color: rgba(244, 233, 221, 0.6); }
.contact-row strong { color: #fff; }

/* the brand images are square, so frame one rather than crop it to the column */
.contact-art { display: flex; align-items: center; justify-content: center; padding: 46px 46px 46px 10px; }
.contact-art img {
  width: 100%; max-width: 430px; height: auto;
  border-radius: 18px; box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3);
}

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, #3a0003, var(--maroon-deep) 55%, #1c0001);
  color: rgba(244, 233, 221, 0.72); padding: 64px 0 40px;
  position: relative; overflow: hidden;
}
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand img { height: 74px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-family: var(--serif); font-size: 0.95rem; color: rgba(244, 233, 221, 0.6); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-meta a {
  color: rgba(244, 233, 221, 0.72); text-decoration: none; font-size: 0.85rem; transition: color 0.2s;
}
.footer-links a:hover, .footer-meta a:hover { color: var(--orange); }
.footer-meta { display: flex; flex-direction: column; gap: 10px; }
.footer-meta p { font-size: 0.75rem; color: rgba(244, 233, 221, 0.45); margin-top: 10px; }

/* ---------- Gradient glow ---------- */
/* blurred colour blobs behind the content; every host clips them so the page cannot widen */
#start, #services, #guides, #students, #subjects, #universities, #process, #deliverables, #guarantee, #contact {
  position: relative; overflow: hidden;
}
.section > .wrap, .band > .wrap, .footer > .wrap { position: relative; z-index: 1; }

#start::before, #start::after,
#services::before, #services::after,
#approach::after,
#chapters::after,
#guides::before,
#students::before, #students::after,
#subjects::before,
#universities::before,
#process::before,
#deliverables::before, #deliverables::after,
#guarantee::before, #guarantee::after,
#contact::before,
.band::before,
.footer::before {
  content: ''; position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 0; filter: blur(70px);
}

#start::before { top: -190px; left: -150px; width: 540px; height: 540px; background: radial-gradient(circle, rgba(214, 7, 42, 0.17), transparent 70%); }
#start::after { bottom: -230px; right: -130px; width: 580px; height: 580px; background: radial-gradient(circle, rgba(232, 128, 60, 0.2), transparent 70%); }

#services::before { top: 40px; right: -220px; width: 640px; height: 640px; background: radial-gradient(circle, rgba(169, 139, 75, 0.22), transparent 70%); }
#services::after { bottom: -260px; left: -180px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(214, 7, 42, 0.12), transparent 70%); }

#approach::after { top: -140px; left: -170px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(232, 128, 60, 0.22), transparent 70%); }

#chapters::after { top: -130px; right: -140px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(232, 128, 60, 0.3), transparent 70%); }

#guides::before { top: -180px; left: 50%; width: 820px; height: 500px; margin-left: -410px; background: radial-gradient(ellipse, rgba(214, 7, 42, 0.14), transparent 70%); }

#students::before { bottom: -240px; left: -170px; width: 620px; height: 620px; background: radial-gradient(circle, rgba(232, 128, 60, 0.18), transparent 70%); }
#students::after { top: -200px; right: -160px; width: 540px; height: 540px; background: radial-gradient(circle, rgba(169, 139, 75, 0.2), transparent 70%); }

#subjects::before { top: 120px; left: -220px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(214, 7, 42, 0.12), transparent 70%); }

#universities::before { bottom: -220px; right: -180px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(232, 128, 60, 0.18), transparent 70%); }

#process::before { top: -180px; right: -160px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(169, 139, 75, 0.2), transparent 70%); }

#deliverables::before { top: -170px; left: -130px; width: 580px; height: 580px; background: radial-gradient(circle, rgba(214, 7, 42, 0.34), transparent 70%); }
#deliverables::after { bottom: -220px; right: -150px; width: 620px; height: 620px; background: radial-gradient(circle, rgba(232, 128, 60, 0.24), transparent 70%); }

#guarantee::before { top: -170px; right: -150px; width: 580px; height: 580px; background: radial-gradient(circle, rgba(214, 7, 42, 0.15), transparent 70%); }
#guarantee::after { bottom: -260px; left: -190px; width: 640px; height: 640px; background: radial-gradient(circle, rgba(169, 139, 75, 0.24), transparent 70%); }

#contact::before { top: 40px; left: 50%; width: 900px; height: 460px; margin-left: -450px; background: radial-gradient(ellipse, rgba(214, 7, 42, 0.12), transparent 70%); }

.band::before { top: -200px; left: 34%; width: 640px; height: 640px; background: radial-gradient(circle, rgba(232, 128, 60, 0.26), transparent 70%); }

.footer::before { top: -300px; left: 50%; width: 940px; height: 560px; margin-left: -470px; background: radial-gradient(ellipse, rgba(214, 7, 42, 0.34), transparent 70%); }

/* ---------- Image wipe ---------- */
.unveil { clip-path: inset(0 0 100% 0); transition: clip-path 1.05s cubic-bezier(0.22, 0.8, 0.2, 1) 0.15s; }
.in .unveil { clip-path: inset(0 0 0 0); }

/* ---------- Cursor spotlight ---------- */
.spot { position: relative; }
.spot::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 128, 60, 0.16), transparent 62%);
  opacity: 0; transition: opacity 0.35s;
}
.spot:hover::after { opacity: 1; }
.bento-feature::after, .deliverables article::after {
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 128, 60, 0.2), transparent 62%);
}

/* ---------- Film grain ---------- */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .js .hero-copy > * { opacity: 1; animation: none; }
  .spot::after { display: none; }
  .topbar { animation: none; }
  .unveil { clip-path: none; transition: none; }
  .faq details[open] p { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .hero-art { max-width: 520px; }
  .page-head-grid { grid-template-columns: 1fr; gap: 56px; }
  .page-head-art { max-width: 520px; }
  .habits { grid-template-columns: repeat(2, 1fr); }
  .cites { grid-template-columns: repeat(2, 1fr); }
  .uni-split { grid-template-columns: 1fr; gap: 44px; }
  .uk-map { max-width: 380px; margin: 0 auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-feature { grid-column: span 2; grid-row: auto; }
  .intake, .deliverables, .tiers { grid-template-columns: repeat(2, 1fr); }
  .tax-grid, .tax-grid-wide, .tax-grid-plain { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 56px; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .who-grid { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .faq-wrap .head { position: static; }
  .faq-art { max-width: 420px; }
  .contact { grid-template-columns: 1fr; }
  .contact-art { padding: 0 44px 50px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --nav-h: 96px; }
  .wrap { padding: 0 20px; }
  .section { padding: 72px 0; }
  .topbar { font-size: 0.66rem; padding: 7px 0; }
  .nav { top: 33px; }
  .nav-links {
    display: none; position: absolute; top: calc(100% + 8px); left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    background: rgba(251, 248, 243, 0.98); backdrop-filter: blur(20px);
    border: 1px solid var(--border); border-radius: 14px;
    box-shadow: 0 16px 40px rgba(72, 0, 3, 0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; border-radius: 9px; font-size: 0.9rem; }
  .nav-cta { text-align: center; }
  .burger { display: flex; }
  .nav-inner { position: relative; }

  .hero { padding: calc(var(--nav-h) + 40px) 0 64px; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  .hero-art-float { left: -14px; bottom: -24px; width: 46%; border-width: 5px; }

  .bento, .intake, .deliverables, .dodont, .tiers, .habits { grid-template-columns: 1fr; }
  .page-head { padding-top: calc(var(--nav-h) + 40px); }
  .page-head-float { left: -12px; bottom: -22px; width: 45%; border-width: 5px; }
  .bento-feature { grid-column: span 1; }
  .tax-grid, .tax-grid-wide, .tax-grid-plain { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cites { grid-template-columns: 1fr; }
  .uni-split { grid-template-columns: 1fr; gap: 40px; }
  .uk-map { max-width: 320px; margin: 0 auto; }
  .tax-grid > div { padding: 11px 13px; font-size: 0.78rem; }
  .dodont { margin-top: 40px; }
  .bento-feature img { height: 270px; }
  .bento-feature-body { padding: 26px 24px 28px; }

  .split { grid-template-columns: 1fr; gap: 48px; }
  .split-reverse .split-art { order: 0; }
  .split-art-float, .split-reverse .split-art-float { right: -10px; left: auto; bottom: -24px; width: 44%; border-width: 5px; }
  .band-grid { grid-template-columns: 1fr; }
  .band-art img { min-height: 0; max-height: 320px; }
  .band blockquote { padding: 44px 20px 56px; }

  .head-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .rail { margin: 16px -20px 0; padding-left: 20px; padding-right: 20px; }
  .rail figure { flex-basis: 74vw; }

  .process { grid-template-columns: 1fr; }
  .integrity { grid-template-columns: 1fr; gap: 28px; }
  .integrity-mark { width: 110px; }
  .contact-copy { padding: 48px 26px; }
  .contact-art { padding: 0 26px 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
