/* Inkkspiration shared styles */
/* ============================================================
   INKKSPIRATION — SHARED STYLES
   Brand tokens carried over from "Inkkspiration Revised" HTML.
   WordPress note: tokens map 1:1 to theme.json palette + fonts.
   ============================================================ */

:root {
  --ink: #1A1A18;
  --warm-white: #FFFDF9;
  --cream: #FAF8F4;
  --forest: #1D4A38;
  --forest-mid: #2D6B52;
  --forest-pale: #E8F2ED;
  --gold: #B08D57;
  --gold-light: #F5EDD8;
  --muted: #6B6860;
  --border: rgba(26, 26, 24, 0.1);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --hand: 'Caveat', cursive;
  --radius: 2px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --maxw: 1280px;
  --header-h: 74px;
}

/* Layout utilities moved from inline attributes in the page templates. */

[data-layout="absolute"] { position: absolute; }

[data-layout="noscript"] { max-width: 640px; margin: 4rem auto; padding: 2rem; font-family: Georgia, serif; }

[data-layout="grid-center"] { display: grid; place-items: center; }

[data-layout="muted-small"] { font-size: 0.92rem; color: var(--muted); }

[data-layout="form-note"] { margin: 0.5rem 0 1.4rem; }

[data-layout="center-message"] { margin: 1rem auto 2rem; }

[data-layout="mt-08"] { margin-top: 0.8rem; }

[data-layout="sidebar-cta"] { margin-top: 0.9rem; width: 100%; justify-content: center; }

[data-layout="mt-12"] { margin-top: 1.2rem; }

[data-layout="mt-14"] { margin-top: 1.4rem; }

[data-layout="mt-14-wide"] { margin-top: 1.4rem; max-width: 44rem; }

[data-layout="mt-15"] { margin-top: 1.5rem; }

[data-layout="mt-15-wide"] { margin-top: 1.5rem; max-width: 44rem; }

[data-layout="mt-16"] { margin-top: 1.6rem; }

[data-layout="mt-1"] { margin-top: 1rem; }

[data-layout="mt-1-wide"] { margin-top: 1rem; max-width: 44rem; }

[data-layout="mt-22"] { margin-top: 2.2rem; }

[data-layout="mt-25"] { margin-top: 2.5rem; }

[data-layout="mt-2"] { margin-top: 2rem; }

[data-layout="mt-35"] { margin-top: 3.5rem; }

[data-layout="wide"] { max-width: 44rem; }

[data-layout="pt-0"] { padding-top: 0; }

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.2; color: var(--ink); }

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }

h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }

h3 { font-size: clamp(1.35rem, 2.5vw, 1.7rem); }

a { color: var(--forest); text-decoration: none; transition: var(--transition); }

a:hover { color: var(--forest-mid); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--radius); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--forest); color: var(--warm-white);
  padding: 0.6rem 1.2rem; border-radius: var(--radius); transition: top 0.2s;
}

.skip-link:focus { top: 1rem; color: var(--warm-white); }

/* ---------- Layout helpers ---------- */

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

.section-alt { background: var(--cream); }

.section-forest { background: var(--forest); color: var(--forest-pale); }

.section-forest h2, .section-forest h3 { color: var(--warm-white); }

.eyebrow {
  font-family: var(--sans); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: #896936;
  display: block; margin-bottom: 1rem;
}

.section-intro { max-width: 46rem; }

.center { text-align: center; }

.center .section-intro { margin-inline: auto; }

.lede { font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.6; color: var(--muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.04em; padding: 0.85rem 1.8rem;
  min-height: 48px; justify-content: center;
  border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: var(--transition); text-align: center;
}

.btn-primary {
  background: var(--forest); color: var(--warm-white);
  box-shadow: 0 18px 38px -28px rgba(29, 74, 56, 0.72);
}

.btn-primary:hover {
  background: var(--forest-mid); color: var(--warm-white);
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 24px 46px -26px rgba(29, 74, 56, 0.82);
}

.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }

.btn-outline:hover { background: var(--forest-pale); }

.btn-outline-light { border-color: rgba(255, 253, 249, 0.5); color: var(--warm-white); background: transparent; }

.btn-outline-light:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-gold {
  background: var(--gold); color: #102f23;
  box-shadow: 0 18px 38px -28px rgba(176, 141, 87, 0.8);
}

.btn-gold:hover {
  background: #c09a60; color: #102f23;
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 24px 46px -26px rgba(176, 141, 87, 0.9);
}

.btn svg { flex: none; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.main-nav {
  max-width: var(--maxw); margin: 0 auto; height: var(--header-h);
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.nav-logo {
  position: relative;
  font-family: var(--serif); font-size: 1.55rem; font-weight: 600;
  color: var(--ink); letter-spacing: 0.01em;
}

.nav-logo span { color: var(--forest); font-weight: 400; font-style: italic; }

.logo-stroke {
  position: absolute; left: 0; bottom: -3px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform-origin: left; transform: scaleX(0); transition: transform 0.5s ease;
}

.nav-logo:hover .logo-stroke { transform: scaleX(1); }

.nav-links { list-style: none; display: flex; gap: 1.6rem; margin-left: auto; }

.nav-links a {
  font-size: 0.9rem; font-weight: 400; color: var(--ink);
  padding: 0.3rem 0; border-bottom: 1px solid transparent;
}

.nav-links a:hover { color: var(--forest); }

.nav-links a[aria-current="page"] { color: var(--forest); border-bottom-color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 0.9rem; }

.nav-search-btn {
  background: none; border: none; cursor: pointer; color: var(--ink);
  padding: 0.45rem; display: flex; border-radius: var(--radius);
}

.nav-search-btn:hover { color: var(--forest); }

.nav-cta { padding: 0.6rem 1.25rem; font-size: 0.85rem; }

.nav-search-panel { border-top: 1px solid var(--border); background: var(--cream); }

.nav-search-panel form {
  max-width: var(--maxw); margin: 0 auto; display: flex; gap: 0.75rem;
  padding: 0.9rem clamp(1.25rem, 4vw, 2.5rem);
}

.nav-search-panel input {
  flex: 1; font: inherit; padding: 0.65rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--warm-white);
}

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }

.mobile-menu-btn span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  margin: 5px 0; transition: var(--transition);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }

.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Reading progress ---------- */

.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 110; pointer-events: none; }

.reading-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--forest), var(--gold));
}

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--cream) 0%, var(--warm-white) 55%, var(--forest-pale) 130%);
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}

.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 { margin: 0.75rem 0 1.4rem; }

.hero h1 em { font-style: italic; color: var(--forest); }

.hero-sub { max-width: 34rem; color: var(--muted); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero-visual { position: relative; }

.hero-visual .illus { width: 100%; }

.photo-placeholder {
  border: 1.5px dashed var(--gold); border-radius: var(--radius);
  background: rgba(245, 237, 216, 0.4);
  display: grid; place-items: center; text-align: center;
  color: var(--muted); font-size: 0.85rem; letter-spacing: 0.05em;
  padding: 2rem; min-height: 280px;
}

.photo-placeholder strong { font-family: var(--serif); font-size: 1.05rem; color: var(--forest); display: block; margin-bottom: 0.4rem; }

.hand-note { font-family: var(--hand); font-size: 1.5rem; color: var(--gold); transform: rotate(-2deg); display: inline-block; }

/* ---------- Cards & grids ---------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }

.card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: var(--transition); position: relative;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(29, 74, 56, 0.35); border-color: var(--forest-pale); }

.card h3 { margin-bottom: 0.7rem; }

.card .card-kicker { font-size: 1.7rem; line-height: 1; margin-bottom: 0.9rem; display: block; }

.card p { color: var(--muted); font-size: 0.98rem; }

.card .card-tags { margin-top: 0.9rem; font-size: 0.82rem; color: var(--forest-mid); letter-spacing: 0.02em; }

.card-link { margin-top: 1.2rem; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 500; font-size: 0.9rem; }

.card-link svg { width: 16px; height: 16px; transition: var(--transition); }

.card:hover .card-link svg { transform: translateX(4px); }

/* Feel-like list */

.feel-list { list-style: none; max-width: 44rem; margin: 2rem auto 0; }

.feel-list li {
  font-family: var(--serif); font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-style: italic;
  padding: 0.85rem 0 0.85rem 2rem; border-bottom: 1px solid var(--border); position: relative;
  color: var(--ink);
}

.feel-list li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 2px;
  background: var(--gold); transform: translateY(-50%);
}

/* Mission list */

.check-list { list-style: none; }

.check-list li { padding: 0.5rem 0 0.5rem 1.9rem; position: relative; }

.check-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 500;
}

.section-forest .check-list li { color: var(--forest-pale); }

/* ---------- Method steps ---------- */

.steps { counter-reset: step; display: grid; gap: 0; margin-top: 2.5rem; position: relative; }

.step {
  display: grid; grid-template-columns: 72px 1fr; gap: 1.5rem;
  padding: 2rem 0; border-bottom: 1px solid var(--border); position: relative;
}

.step:last-child { border-bottom: none; }

.step-num {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 300; color: var(--gold);
  line-height: 1;
}

.step h3 { margin-bottom: 0.2rem; }

.step .step-tag { font-family: var(--hand); font-size: 1.35rem; color: var(--forest-mid); display: block; margin-bottom: 0.7rem; }

.step p { color: var(--muted); max-width: 40rem; }

.step-rail {
  position: absolute; left: 35px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--forest-pale), var(--gold-light));
}

/* ---------- Founder ---------- */

.founder-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.founder-quote {
  font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-style: italic;
  line-height: 1.6; border-left: 3px solid var(--gold); padding-left: 1.6rem; margin: 1.5rem 0;
}

.founder-creds { list-style: none; color: var(--muted); }

.founder-creds li { padding: 0.2rem 0; }

/* ---------- Blog listing ---------- */

.featured-badge {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light);
}

.no-results { padding: 3rem 0; text-align: center; color: var(--muted); font-family: var(--serif); font-size: 1.3rem; }

/* ---------- Article ---------- */

.breadcrumbs { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.6rem; }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }

.breadcrumbs li + li::before { content: "→"; margin-right: 0.4rem; color: var(--gold); }

.toc-list a { color: var(--muted); }

.toc-list a:hover { color: var(--forest); }

.author-box {
  display: grid; grid-template-columns: 88px 1fr; gap: 1.4rem; align-items: center;
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; margin: 3rem 0 0; max-width: 42rem;
}

.author-avatar {
  width: 88px; height: 88px; border-radius: 50%; border: 1.5px dashed var(--gold);
  display: grid; place-items: center; font-size: 0.62rem; text-align: center;
  color: var(--muted); background: rgba(245, 237, 216, 0.4); padding: 0.4rem; letter-spacing: 0.03em;
}

.author-box h2 { font-size: 1.25rem; }

.author-box p { font-size: 0.92rem; color: var(--muted); margin-top: 0.3rem; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 46rem; margin-top: 2rem; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  align-items: baseline; font-family: var(--serif); font-size: 1.25rem; padding: 1.15rem 0;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; flex: none; transition: var(--transition); }

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-answer { padding: 0 0 1.3rem; color: var(--muted); max-width: 40rem; }

/* ---------- Forms / contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }

.form-field { margin-bottom: 1.2rem; }

.form-field label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.4rem; }

.form-field input, .form-field textarea, .form-field select {
  width: 100%; font: inherit; padding: 0.75rem 1rem; background: var(--warm-white);
  border: 1px solid var(--border); border-radius: var(--radius);
}

.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: 2px solid var(--gold); outline-offset: 1px;
}

.form-note { font-size: 0.82rem; color: var(--muted); }

/* ---------- Canonical final CTA ---------- */

.site-final-cta {
  --site-cta-image: url("../images/contact-discovery-call-v1.jpg");
  --site-cta-position: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: -1.5rem;
  padding-block: clamp(5.5rem, 9vw, 8.5rem);
  border-radius: 50% 50% 0 0 / 38px 38px 0 0;
  text-align: center;
  color: var(--forest-pale);
  background:
    linear-gradient(90deg, rgba(20, 58, 44, 0.975), rgba(29, 74, 56, 0.88)),
    var(--site-cta-image) var(--site-cta-position) / cover no-repeat;
}

.site-final-cta::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(42vw, 560px);
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(245, 237, 216, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.site-final-cta::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.075;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.68'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.site-final-cta__glow {
  position: absolute;
  z-index: 0;
  width: clamp(250px, 34vw, 520px);
  height: clamp(250px, 34vw, 520px);
  right: -10%;
  bottom: -55%;
  border-radius: 50%;
  background: rgba(245, 237, 216, 0.18);
  filter: blur(82px);
  pointer-events: none;
}

.site-final-cta__inner {
  position: relative;
  z-index: 2;
}

.route-page .site-final-cta .eyebrow {
  color: var(--gold-light);
}

.site-final-cta h2 {
  max-width: 860px;
  margin: 0 auto;
  color: var(--warm-white);
  font-size: clamp(2.15rem, 3.2vw, 3.35rem);
  line-height: 1.07;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.site-final-cta p {
  max-width: 660px;
  margin: 1.4rem auto 0;
  color: rgba(255, 253, 249, 0.76);
  line-height: 1.75;
}

.site-final-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
  width: fit-content;
  margin: 2rem auto 0;
}

.site-final-cta__actions::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20px -32px;
  border-radius: 999px;
  background: var(--gold-light);
  opacity: 0.06;
  filter: blur(20px);
}

.section-forest .lede { color: rgba(232, 242, 237, 0.85); }

/* ---------- Legal ---------- */

.placeholder-note {
  background: var(--gold-light); border-left: 3px solid var(--gold); border-radius: var(--radius);
  padding: 1rem 1.3rem; font-size: 0.92rem; margin: 1.5rem 0;
}

/* ---------- Motion ---------- */

.illus .draw { stroke-dasharray: none; stroke-dashoffset: 0; }

.illus.illus-pending .draw { stroke-dasharray: 900; stroke-dashoffset: 900; }

.in-view .draw, .illus.in-view .draw { animation: draw 2.4s ease forwards; }

.in-view .draw.d2 { animation-delay: 0.35s; }

.in-view .draw.d3 { animation-delay: 0.7s; }

@keyframes draw { to { stroke-dashoffset: 0; } }

.pulse { animation: pulse 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }

@keyframes pulse { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.35); } }

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.reveal-pending { opacity: 0; transform: translateY(22px); }

.reveal.in-view { opacity: 1; transform: none; }

.page-enter { animation: pageIn 0.45s ease; }

@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Home page experience ---------- */

@keyframes gentleFloat { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-9px) rotate(-1deg); } }

/* Home: immersive art direction and scroll motion */

.ambient-shape { position: absolute; pointer-events: none; z-index: 0; will-change: transform; }

.ambient-shape.orb {
  width: clamp(140px, 20vw, 300px); aspect-ratio: 1; right: -8%; top: 12%;
  border-radius: 42% 58% 63% 37% / 44% 38% 62% 56%;
  background: radial-gradient(circle at 34% 30%, rgba(255,253,249,.92), rgba(232,242,237,.7) 38%, rgba(176,141,87,.18));
  box-shadow: inset 22px 18px 45px rgba(255,253,249,.75), inset -18px -22px 44px rgba(29,74,56,.1), 0 28px 70px -35px rgba(29,74,56,.42);
  animation: shapeMorph 10s ease-in-out infinite alternate, orbFloat 7s ease-in-out infinite;
}

.ambient-shape.ring { width: 190px; height: 190px; left: -80px; bottom: 10%; border: 1px solid rgba(176,141,87,.42); border-radius: 50%; box-shadow: 0 0 40px rgba(176,141,87,.12), inset 0 0 35px rgba(176,141,87,.08); }

.ambient-shape.ring::after { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(29,74,56,.16); border-radius: 50%; }

@keyframes shapeMorph {
  0% { border-radius: 42% 58% 63% 37% / 44% 38% 62% 56%; }
  50% { border-radius: 64% 36% 41% 59% / 38% 61% 39% 62%; }
  100% { border-radius: 35% 65% 56% 44% / 61% 35% 65% 39%; }
}

@keyframes orbFloat { 0%,100% { translate: 0 0; rotate: 0deg; } 50% { translate: -12px -18px; rotate: 7deg; } }

@keyframes frameBreathe { 0%,100% { transform: perspective(900px) rotateY(0) translateY(0); } 50% { transform: perspective(900px) rotateY(-1.8deg) translateY(-5px); } }

@keyframes imageScan { to { transform: translate3d(18%, -8%, 0); } }

@keyframes maskGlitch {
  0%,72%,76%,100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateX(0); }
  73% { opacity: .85; clip-path: inset(18% 0 63% 0); transform: translateX(8px); }
  74% { opacity: .55; clip-path: inset(61% 0 18% 0); transform: translateX(-6px); }
  75% { opacity: .75; clip-path: inset(42% 0 44% 0); transform: translateX(4px); }
}

.program-image {
  height: 190px; margin: calc(-1 * clamp(1.5rem,3vw,2.25rem)) calc(-1 * clamp(1.5rem,3vw,2.25rem)) 1.5rem;
  position: relative; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--forest-pale), var(--gold-light)); border-bottom: 1px solid var(--border);
}

.program-image::before, .program-image::after { content: ""; position: absolute; transition: transform .7s cubic-bezier(.2,.7,.2,1); }

.program-image::before {
  width: 170px; height: 170px; border-radius: 40% 60% 56% 44% / 56% 42% 58% 44%;
  background: linear-gradient(145deg, rgba(255,253,249,.88), rgba(29,74,56,.12));
  box-shadow: inset 12px 12px 28px rgba(255,253,249,.7), 0 18px 35px -25px rgba(29,74,56,.5);
  animation: shapeMorph 8s ease-in-out infinite alternate;
}

.program-image::after { width: 230px; height: 1px; background: var(--gold); rotate: -22deg; box-shadow: 0 12px 0 rgba(176,141,87,.38), 0 -12px 0 rgba(176,141,87,.25); }

.program-image span { position: relative; z-index: 2; max-width: 150px; text-align: center; font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--forest); background: rgba(255,253,249,.78); padding: .55rem .7rem; backdrop-filter: blur(5px); }

.scroll-line { position: fixed; right: 18px; top: 25%; height: 50%; width: 1px; background: var(--border); z-index: 70; }

.scroll-line span { display: block; width: 3px; margin-left: -1px; height: calc(var(--home-scroll, 0) * 100%); background: linear-gradient(var(--gold), var(--forest)); border-radius: 99px; }

@media (max-width: 720px) {
.ambient-shape.orb { width: 170px; right: -70px; }
.program-image { height: 165px; }
}

/* Home composition refinements: tighter rhythm, bento cards, visible interaction */

@keyframes headingLift { to { transform: translateY(0) rotate(0); opacity: 1; } }

/* Human-centred photographic layers */

/* Compact conversation section */

/* Editorial home layout: image-led, aligned and deliberately paced */

@keyframes heroGlowDrift { to { transform: translate(32px,24px) scale(1.12); filter: blur(10px); } }

@supports (animation-timeline: view()) {
@keyframes editorialImageReveal {
    from { clip-path: inset(18% 12% 18% 12% round 40px); transform: scale(.96); filter: saturate(.65); }
    to { clip-path: inset(0 0 0 0 round 0); transform: scale(1); filter: saturate(1); }
  }
}

/* ============================================================
   HUMAN-CENTRED INNER PAGE SYSTEM
   ============================================================ */

.route-page:not(.route-home) { overflow: hidden; background: var(--warm-white); }

.route-page:not(.route-home) .inner-section { position: relative; isolation: isolate; }

.route-page:not(.route-home) .inner-section > .wrap { position: relative; z-index: 2; }

.route-page:not(.route-home) .inner-section:nth-of-type(even):not(.section-forest):not(.site-final-cta) { background: var(--cream); }

.inner-motion-line { position: absolute; left: 0; top: 0; height: 2px; width: calc(var(--inner-progress,0) * 100%); background: linear-gradient(90deg,transparent,var(--gold),var(--forest)); z-index: 8; }

.inner-morph {
  position: absolute; width: clamp(180px,26vw,380px); aspect-ratio: 1; right: -12%; top: 12%; z-index: 0; pointer-events: none;
  border-radius: 42% 58% 63% 37% / 44% 38% 62% 56%;
  background: radial-gradient(circle at 35% 30%, rgba(255,253,249,.8), rgba(232,242,237,.5) 42%, rgba(176,141,87,.12));
  filter: blur(1px); animation: shapeMorph 11s ease-in-out infinite alternate, orbFloat 8s ease-in-out infinite;
}

.route-page:not(.route-home) .inner-hero { padding-top: clamp(2.4rem,5vw,4.2rem); }

.route-page:not(.route-home) .inner-hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: min(620px,72vh); z-index: -2;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}

.route-page:not(.route-home) .inner-hero::after {
  content: ""; position: absolute; width: 320px; height: 320px; right: -110px; top: 170px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle,rgba(245,237,216,.48),rgba(232,242,237,.2) 50%,transparent 70%); filter: blur(5px);
  animation: heroGlowDrift 8s ease-in-out infinite alternate;
}

.route-page:not(.route-home) .breadcrumbs {
  display: inline-flex; padding: .42rem .75rem; border: 1px solid var(--border); background: rgba(255,253,249,.76);
  backdrop-filter: blur(8px); margin-bottom: clamp(1.8rem,4vw,3rem); border-radius: 999px;
}

.route-page:not(.route-home) h1 { max-width: 820px; letter-spacing: -.025em; }

.inner-heading { opacity: 0; transform: translateY(34px); clip-path: inset(0 0 100% 0); transition: opacity .8s ease,transform .9s cubic-bezier(.16,1,.3,1),clip-path .9s cubic-bezier(.16,1,.3,1); }

.inner-heading.inner-in-view { opacity: 1; transform: none; clip-path: inset(0); }

.inner-visual { opacity: 0; transform: translateY(28px) scale(.97); filter: saturate(.72); transition: opacity .9s ease,transform 1s cubic-bezier(.16,1,.3,1),filter 1s ease; }

.inner-visual.inner-in-view { opacity: 1; transform: none; filter: saturate(1); }

.inner-interactive { --gx: 50%; --gy: 50%; opacity: 0; transform: translateY(24px); transition: opacity .7s ease var(--delay),transform .75s cubic-bezier(.2,.75,.2,1) var(--delay),box-shadow .45s ease,border-color .35s ease; overflow: hidden; }

.inner-interactive.inner-in-view { opacity: 1; transform: none; }

.inner-interactive:hover { transform: translateY(-6px); box-shadow: 0 25px 58px -34px rgba(29,74,56,.48); }

.inner-card-glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(230px circle at var(--gx) var(--gy),rgba(245,237,216,.58),transparent 70%); transition: opacity .3s ease; z-index: 5; }

.inner-interactive:hover > .inner-card-glow { opacity: 1; }

/* About */

/* Method */

/* Sessions */

/* Programs */

/* Blog and articles */

/* FAQ, contact and legal */

.route-page:not(.route-home) .cta-band {
  background-image: linear-gradient(90deg,rgba(29,74,56,.96),rgba(29,74,56,.78)),url("../images/group-conversation-bg.jpg");
  background-size: cover; background-position: center 52%;
}

@media (max-width: 720px) {
.route-page:not(.route-home) .inner-hero::before { height: 480px; opacity: .75; }
}

/* About page: dedicated founder composition */

@supports (animation-timeline: view()) {
@keyframes aboutPortraitReveal {
    from { clip-path: inset(14% 12% 20% 12% round 90px); transform: translateY(40px) scale(.96); filter: saturate(.65); }
    to { clip-path: inset(0 0 0 0 round 0); transform: none; filter: saturate(1); }
  }
}

/* About v2: photographic banner, compact profile and interactive credentials */

@keyframes aboutBannerBreath { from { background-size: 100% auto; } to { background-size: 104% auto; } }

.credential-icon {
  width: 66px; height: 66px; display: grid; place-items: center; color: var(--forest); border-radius: 50%;
  background: var(--forest-pale); border: 1px solid rgba(29,74,56,.12); transition: transform .5s cubic-bezier(.2,.8,.2,1),background .4s ease,color .4s ease;
}

.credential-icon svg { width: 36px; height: 36px; }

@media (max-width: 720px) {
.credential-icon { width: 52px; height: 52px; }
.credential-icon svg { width: 29px; height: 29px; }
}

/* Home mission journey inspired by the supplied editorial reference */

.mission-needs { display: grid; grid-template-columns: repeat(5,1fr); gap: clamp(.7rem,2vw,1.5rem); margin-top: clamp(2.8rem,5vw,4.2rem); position: relative; }

.mission-needs::before { content: ""; position: absolute; left: 9%; right: 9%; top: 91px; height: 1px; background: linear-gradient(90deg,transparent,var(--gold),var(--gold),transparent); z-index: 0; }

.mission-need { position: relative; text-align: center; z-index: 1; padding-top: 15px; transition: transform .55s cubic-bezier(.2,.8,.2,1); }

.mission-need:hover { transform: translateY(-9px); }

.mission-number { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--warm-white); font-family: var(--serif); font-size: 1.05rem; box-shadow: 0 0 0 6px var(--cream); z-index: 3; }

.mission-icon { width: clamp(130px,13vw,175px); aspect-ratio: 1; margin: 0 auto 1.25rem; border: 1px solid rgba(176,141,87,.38); border-radius: 50%; display: grid; place-items: center; background: rgba(255,253,249,.72); box-shadow: inset 0 0 35px rgba(245,237,216,.5); transition: box-shadow .45s ease,border-color .45s ease; }

.mission-icon svg { width: 68%; color: var(--forest); overflow: visible; }

.mission-need:hover .mission-icon { border-color: var(--gold); box-shadow: 0 20px 45px -32px rgba(29,74,56,.5),inset 0 0 45px rgba(232,242,237,.65); }

.mission-need h3 { color: var(--ink); font-size: clamp(1.05rem,1.6vw,1.35rem); line-height: 1.18; }

.mission-need:not(:last-child)::after { content: "›"; position: absolute; right: calc(-1 * clamp(.75rem,1.2vw,1rem)); top: 75px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--warm-white); font-family: var(--serif); font-size: 1.35rem; line-height: 1; z-index: 3; box-shadow: 0 0 0 5px var(--cream); }

.mission-statement {
  min-height: 270px; margin-top: clamp(3.5rem,6vw,5.5rem); padding: clamp(2rem,5vw,4rem); border-radius: 18px; display: flex; flex-direction: column; justify-content: center;
  background-image: linear-gradient(90deg,rgba(29,74,56,.98) 0%,rgba(29,74,56,.92) 47%,rgba(29,74,56,.5) 72%,rgba(29,74,56,.4)),url("../images/group-conversation-bg.jpg");
  background-size: cover; background-position: center 48%; color: var(--forest-pale); box-shadow: 0 32px 75px -46px rgba(29,74,56,.65); overflow: hidden; position: relative;
}

.mission-statement::after { content: ""; position: absolute; width: 170px; height: 170px; right: 4%; top: -35px; border: 1px solid rgba(245,237,216,.35); border-radius: 42% 58% 63% 37% / 44% 38% 62% 56%; animation: shapeMorph 9s ease-in-out infinite alternate; }

.mission-statement .eyebrow { color: var(--gold-light); }

.mission-statement p { max-width: 650px; font-family: var(--serif); font-size: clamp(1.55rem,3vw,2.35rem); line-height: 1.35; color: var(--warm-white); position: relative; z-index: 1; }

@media (max-width: 980px) {
.mission-needs { grid-template-columns: repeat(3,1fr); row-gap: 2.5rem; }
.mission-needs::before,.mission-need::after { display: none !important; }
}

@media (max-width: 620px) {
.mission-needs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -1.25rem; padding: 1rem 1.25rem 1rem; scrollbar-width: none; }
.mission-needs::-webkit-scrollbar { display: none; }
.mission-need { flex: 0 0 72vw; scroll-snap-align: center; }
.mission-icon { width: 150px; }
.mission-statement { min-height: 340px; background-position: 66% center; }
}

/* Mission artwork replacement and corrected heading scale */

.mission-illustration-strip { position: relative; height: clamp(300px,31vw,420px); overflow: hidden; }

.mission-illustration-strip img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; mix-blend-mode: multiply; }

.mission-strip-numbers { position: absolute; z-index: 2; left: 2.6%; right: 2.6%; top: 10%; display: grid; grid-template-columns: repeat(5,1fr); pointer-events: none; }

.mission-strip-numbers span { width: 34px; height: 34px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--warm-white); font-family: var(--serif); font-size: 1rem; box-shadow: 0 0 0 6px rgba(250,248,244,.92); }

.mission-labels { display: grid; grid-template-columns: repeat(5,1fr); gap: .8rem; margin-top: .4rem; }

.mission-labels article { text-align: center; padding: .45rem .5rem 1rem; transition: transform .4s ease; position: relative; overflow: hidden; }

.mission-labels article:hover { transform: translateY(-5px); }

.mission-labels h3 { font-size: clamp(1.05rem,1.55vw,1.3rem); line-height: 1.2; }

@media (max-width: 720px) {
.mission-illustration-strip,.mission-labels { min-width: 860px; }
.mission-illustration-strip { height: 320px; }
.mission-strip-numbers { top: 9%; }
}

/* Compact connected mission cards */

.mission-visual-card { position: relative; z-index: 1; text-align: center; padding-top: 13px; min-width: 0; }

.mission-photo-icon {
  width: clamp(118px,10.5vw,148px); aspect-ratio: 1; margin: 0 auto 1rem; border-radius: 50%;
  overflow: hidden; background: var(--warm-white);
  border: 1px solid rgba(176,141,87,.32); box-shadow: 0 16px 36px -30px rgba(29,74,56,.45);
  transition: transform .5s cubic-bezier(.2,.8,.2,1),box-shadow .45s ease;
}

.mission-photo-icon img {
  width: 100%; height: 100%; display: block; object-fit: cover; object-position: center;
}

.mission-visual-card:hover .mission-photo-icon { transform: translateY(-5px) scale(1.035); box-shadow: 0 24px 48px -30px rgba(29,74,56,.55); }

.mission-visual-card .mission-number { top: -4px; width: 30px; height: 30px; font-size: .9rem; box-shadow: 0 0 0 5px var(--cream); }

.mission-visual-card h3 { font-size: clamp(1rem,1.4vw,1.2rem); line-height: 1.18; margin: 0; }

.mission-visual-card:not(:last-child)::after {
  content: "›"; position: absolute; right: calc(-1 * clamp(.7rem,1.25vw,1rem)); top: 65px; width: 24px; height: 24px;
  display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--warm-white); font-family: var(--serif); font-size: 1.2rem; box-shadow: 0 0 0 5px var(--cream); z-index: 4;
}

.mission-statement { margin-top: clamp(2.6rem,5vw,4rem); }

@media (max-width: 620px) {
.mission-visual-card { flex: 0 0 58vw; scroll-snap-align: center; }
.mission-photo-icon { width: 138px; }
}

@media (max-width: 560px) {
  .site-final-cta {
    margin-top: -1rem;
    padding-block: 5rem;
    border-radius: 50% 50% 0 0 / 24px 24px 0 0;
  }

  .site-final-cta__actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .site-final-cta__actions .btn {
    width: 100%;
  }
}

/* Conversation section alignment and reassurance panel */

/* Compact About hero banner */

/* Refined About closing CTA */

/* Method page: structured editorial journey */

/* Final refinement: Method purpose panel */

/* Sessions page */

/* Programs page: editorial programme journeys */

/* Blog page: calm editorial archive with aligned cards */

/* FAQ page: image-led guide and refined accordion */

@keyframes faqAnswerReveal {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: none; }
}

/* Contact page: consultation-led hero and focused enquiry form */

/* Standard long-form article layout */

@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
.illus .draw { stroke-dashoffset: 0; }
.reveal { opacity: 1; transform: none; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: rgba(255, 253, 249, 0.78); margin-top: 0; }

.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem) 2rem;
  display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr; gap: clamp(1.75rem, 4vw, 3rem);
}

.footer-logo { color: var(--warm-white); font-size: 1.7rem; }

.footer-logo span { color: var(--gold-light); }

.footer-tag { font-family: var(--serif); font-style: italic; margin-top: 0.6rem; }

.footer-heading {
  font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; font-weight: 500;
}

.footer-inner ul { list-style: none; }

.footer-inner li { padding: 0.28rem 0; font-size: 0.92rem; }

.footer-inner a { color: rgba(255, 253, 249, 0.78); }

.footer-inner a:hover { color: var(--gold-light); }

.footer-social { display: flex; gap: 1rem; margin-top: 1rem; font-size: 0.88rem; }

.footer-cta-col p { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 1rem; color: var(--warm-white); }

.footer-base {
  border-top: 1px solid rgba(255, 253, 249, 0.12);
  max-width: var(--maxw); margin: 0 auto;
  padding: 1.4rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.85rem;
}

.footer-policies { list-style: none; display: flex; gap: 1.5rem; }

.footer-policies a { color: rgba(255, 253, 249, 0.78); }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--warm-white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    box-shadow: 0 22px 40px -22px rgba(26, 26, 24, 0.3);
  }

  .nav-links.open { transform: translateY(0); }

  .nav-links a {
    display: block;
    padding: 0.85rem clamp(1.25rem, 5vw, 2rem);
    border-bottom: 0;
    font-size: 1rem;
  }

  .nav-links a[aria-current="page"] { background: var(--forest-pale); }
  .mobile-menu-btn { display: block; }
  .nav-cta { display: none; }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
.nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--warm-white); border-bottom: 1px solid var(--border);
    flex-direction: column; gap: 0; padding: 0.5rem 0 1rem;
    transform: translateY(-130%); transition: transform 0.35s ease;
    box-shadow: 0 22px 40px -22px rgba(26, 26, 24, 0.3);
  }
.nav-links.open { transform: translateY(0); }
.nav-links a { display: block; padding: 0.85rem clamp(1.25rem, 5vw, 2rem); font-size: 1rem; border-bottom: none; }
.nav-links a[aria-current="page"] { background: var(--forest-pale); }
.mobile-menu-btn { display: block; }
.nav-cta { display: none; }
.step { grid-template-columns: 52px 1fr; gap: 1rem; }
.step-rail { left: 25px; }
.step-num { font-size: 2rem; }
.footer-inner { grid-template-columns: 1fr; }
.author-box { grid-template-columns: 1fr; text-align: center; }
.author-avatar { margin: 0 auto; }
}
