/* The Source Code Method · sourcecodemethod.co.za
   Hand-written. Fonts: Cormorant Garamond (self-hosted, OFL) + the system sans. */

@font-face { font-family: "Cormorant"; src: url("../fonts/CormorantGaramond-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/CormorantGaramond-italic-var.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }

:root {
  --ink: #141A1F; --ink-2: #1C252C; --ink-3: #26323A;
  --cream: #F6F0E4; --parchment: #EDE3CE; --paper: #FBF8F1;
  --gold: #C9A24A; --gold-l: #E3C77F; --gold-d: #9C7A2E; --gold-text: #7A5E1E;
  --teal: #0F4C5C; --teal-l: #2E7A8C; --sage: #5E805A; --terra: #A8472E;
  --text: #23201C; --muted: #6B645A; --line: rgba(35,32,28,.12);
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-0: clamp(.86rem, .82rem + .2vw, .95rem);
  --fs-1: clamp(1.02rem, .96rem + .3vw, 1.18rem);
  --fs-2: clamp(1.25rem, 1.1rem + .7vw, 1.7rem);
  --fs-3: clamp(1.7rem, 1.35rem + 1.6vw, 2.6rem);
  --fs-4: clamp(2.3rem, 1.6rem + 3.2vw, 4.4rem);
  --fs-5: clamp(2.9rem, 1.8rem + 5.4vw, 6.4rem);
  --space: clamp(3.5rem, 2.5rem + 5vw, 7.5rem);
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 18px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow: 0 18px 50px rgba(20,26,31,.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: var(--fs-1); line-height: 1.65; color: var(--text); background: var(--cream); overflow-x: hidden; }
img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-d); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 .5em; color: inherit; font-variant-numeric: lining-nums; }
.timeline .m, .card .num, .stat b, .price .big, .big { font-variant-numeric: lining-nums; }
h1 { font-size: var(--fs-5); }
h2 { font-size: var(--fs-4); }
h3 { font-size: var(--fs-3); }
h4 { font-size: var(--fs-2); }
p { margin: 0 0 1.1em; }
em.ac, .ac { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold-d); }
.dark .ac { color: var(--gold-l); }
.lead { font-size: var(--fs-2); font-family: var(--serif); font-weight: 400; line-height: 1.35; }
.eyebrow { font-family: var(--sans); font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 1.2rem; font-weight: 600; }
.dark .eyebrow { color: var(--gold); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-0); }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-l); color: var(--ink); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: .8rem 1.6rem; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: .01em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s; }
.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-l); color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,162,74,.35); }
.btn-ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-ink:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.light .btn-ghost:hover { background: rgba(20,26,31,.06); }
.btn-wa { background: #1f8f5a; color: #fff; border-color: #1f8f5a; }
.btn-wa:hover { background: #167546; color: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* ── Header ──────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246,240,228,.82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.site-header.on-dark { background: rgba(20,26,31,.72); border-bottom-color: rgba(255,255,255,.08); color: var(--cream); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; letter-spacing: .02em; }
.brand svg { width: 42px; height: 42px; }
.brand span small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.on-dark .brand span small { color: var(--gold); }
.nav-links { display: flex; gap: 1.25rem; align-items: center; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.nav-links li { flex: none; }
.nav-links a { text-decoration: none; color: inherit; font-weight: 500; font-size: .92rem; white-space: nowrap; opacity: .85; padding: .4rem 0; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--gold); transition: right .35s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a:hover { opacity: 1; }
.nav-cta { margin-left: .3rem; }
.nav-cta .btn { min-height: 44px; padding: .6rem 1.15rem; font-size: .92rem; }
@media (max-width: 1080px) and (min-width: 901px) { .nav-links { gap: .9rem; } .nav-links a { font-size: .86rem; } }
.nav-toggle { display: none; background: none; border: 1.5px solid currentColor; border-radius: 999px; color: inherit; min-height: 44px; min-width: 44px; padding: .4rem .9rem; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); color: var(--text); padding: .5rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; max-height: calc(100vh - 68px); overflow: auto; }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: .9rem 0; font-size: 1.05rem; }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta { margin: 1rem 0 0; }
  .nav-links .nav-cta a { display: flex; }
  .nav-toggle { display: inline-flex; align-items: center; gap: .5rem; }
}

/* ── Hero ────────────────────────────────────────────────── */
.dark { background: var(--ink); color: var(--cream); }
.light { background: var(--cream); color: var(--text); }
.parchment { background: var(--parchment); }
.paper { background: var(--paper); }
.hero { position: relative; min-height: min(92vh, 980px); display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--ink) url("../img/web-still.webp") center / cover no-repeat; }
.hero-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,26,31,.25) 0%, rgba(20,26,31,.05) 35%, rgba(20,26,31,.55) 80%, var(--ink) 100%); pointer-events: none; }
@media (max-width: 700px) { .hero-bg { background-image: url("../img/web-still-tall.webp"); } }
.hero-inner { padding: calc(var(--space) * 1.1) 0 var(--space); max-width: 880px; }
.hero h1 { margin-bottom: .4em; text-wrap: balance; }
.hero .lead { max-width: 620px; color: rgba(246,240,228,.86); }
.hero-note { margin-top: 2.2rem; display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: var(--fs-0); color: rgba(246,240,228,.7); }
.hero-note span::before { content: "✦"; color: var(--gold); margin-right: .5rem; }
.hero-hint { position: absolute; left: var(--gutter); bottom: 1.4rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(246,240,228,.5); display: none; }
@media (hover: hover) and (min-width: 900px) { .hero-hint { display: block; } }

/* CSS entrances: visible without JS, animated with backwards fill */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 1s var(--ease) backwards; }
.rise-1 { animation-delay: .1s; } .rise-2 { animation-delay: .28s; } .rise-3 { animation-delay: .46s; } .rise-4 { animation-delay: .64s; } .rise-5 { animation-delay: .82s; }

/* Scroll reveal: only when the script is running (html.io) */
html.io .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.io .reveal.in { opacity: 1; transform: none; }
html.io .reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.io .reveal-stagger.in > * { opacity: 1; transform: none; }
html.io .reveal-stagger.in > :nth-child(2) { transition-delay: .1s; }
html.io .reveal-stagger.in > :nth-child(3) { transition-delay: .2s; }
html.io .reveal-stagger.in > :nth-child(4) { transition-delay: .3s; }
html.io .reveal-stagger.in > :nth-child(5) { transition-delay: .4s; }
html.io .reveal-stagger.in > :nth-child(6) { transition-delay: .5s; }
html.io .reveal-stagger.in > :nth-child(7) { transition-delay: .6s; }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: var(--space) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { text-wrap: balance; }
.grid-2 { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.grid-2.top { align-items: start; }
@media (min-width: 760px) { .sticky { position: sticky; top: 90px; } }
.grid-3 { display: grid; gap: 1.4rem; }
.grid-4 { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.figure { margin: 0; }
.figure img { border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.figure figcaption { font-size: var(--fs-0); color: var(--muted); margin-top: .8rem; }
.dark .figure figcaption { color: rgba(246,240,228,.6); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3, .card h4 { margin-top: .2rem; }
.card .num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold-d); font-weight: 400; }
.dark .card { background: var(--ink-2); border-color: rgba(255,255,255,.08); color: var(--cream); }
.dark .card .num { color: var(--gold); }
.icon { width: 44px; height: 44px; color: var(--gold-d); margin-bottom: 1rem; }
.dark .icon { color: var(--gold); }
.icon svg { width: 100%; height: 100%; }

/* Stats */
.stats { display: grid; gap: 1.2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 1.4rem 1.2rem; border-left: 2px solid var(--gold); }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 1.6rem + 3vw, 4rem); line-height: 1; font-weight: 400; color: var(--cream); }
.stat b small { font-size: .45em; letter-spacing: .02em; }
.stat span { display: block; font-size: var(--fs-0); color: rgba(246,240,228,.7); margin-top: .6rem; line-height: 1.45; }
.light .stat b { color: var(--ink); } .light .stat span { color: var(--muted); }

/* Quote */
.quote { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem); line-height: 1.25; font-weight: 400; font-style: italic; text-wrap: balance; margin: 0; }
.quote cite { display: block; font-family: var(--sans); font-style: normal; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; margin-top: 1.4rem; color: var(--gold-text); }
.dark .quote cite { color: var(--gold); }

/* Timeline (modules) */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: m; }
.timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 1.2rem; align-items: start; padding: 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); position: relative; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.timeline li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.timeline .m { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 1.7rem; color: var(--gold-d); background: var(--cream); }
.timeline h3 { font-size: var(--fs-2); margin-bottom: .2rem; }
.timeline .meta { font-size: var(--fs-0); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .6rem; }
.timeline p { margin-bottom: 0; }
.timeline li.soon { border-style: dashed; }

/* Steps (Meet Melt Move) */
.steps { display: grid; gap: 1.4rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: center; padding: 2rem 1.4rem; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.step .ring { width: 120px; height: 120px; margin: 0 auto 1.2rem; }
.step h3 { font-size: var(--fs-3); margin-bottom: .3rem; }
.step .sub { color: var(--gold); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 600; }
.step p { color: rgba(246,240,228,.78); font-size: var(--fs-0); margin: 0; }

/* Practitioner cards */
.people { display: grid; gap: 1.4rem; }
@media (min-width: 700px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .people { grid-template-columns: repeat(3, 1fr); } }
.person { display: grid; grid-template-columns: 76px 1fr; gap: 1.1rem; align-items: center; }
.person .mono { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.8rem; color: var(--ink); background: linear-gradient(135deg, var(--gold-l), var(--gold)); box-shadow: 0 8px 20px rgba(201,162,74,.35); }
.person .mono img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.person h3 { font-size: var(--fs-2); margin: 0 0 .15rem; }
.person .tag { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.person .where { font-size: var(--fs-0); color: var(--muted); margin: .2rem 0 0; }
.person-card { display: block; }
.person-card .actions .btn { min-height: 46px; }
.person-card .btn-wa svg { width: 20px; height: 20px; }
.badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; background: rgba(15,76,92,.08); color: var(--teal); }
.dark .badge { background: rgba(201,162,74,.14); color: var(--gold-l); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--serif); font-size: var(--fs-2); font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .3rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.6rem; color: var(--gold-d); transition: transform .35s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: .6rem 0 .4rem; max-width: 70ch; }

/* Forms */
.form { display: grid; gap: 1rem; }
.form .row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: .4rem; font-size: var(--fs-0); font-weight: 600; letter-spacing: .02em; }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid rgba(35,32,28,.2); background: #fff; color: var(--text); min-height: 50px; width: 100%; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); outline: 3px solid rgba(201,162,74,.25); outline-offset: 0; }
.form .hint { font-size: var(--fs-0); color: var(--muted); }
.form .err { color: var(--terra); font-size: var(--fs-0); font-weight: 600; display: none; }
.form.invalid .err { display: block; }
.choices { display: flex; flex-wrap: wrap; gap: .6rem; }
.choices label { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border: 1.5px solid rgba(35,32,28,.2); border-radius: 999px; background: #fff; font-weight: 500; cursor: pointer; min-height: 44px; }
.choices input { width: 18px; height: 18px; min-height: 0; accent-color: var(--teal); }
.choices label:has(input:checked) { border-color: var(--teal); background: rgba(15,76,92,.08); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.done { display: none; text-align: center; padding: 2rem 1rem; }
.done.show { display: block; }
.done .tick { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; background: var(--sage); color: #fff; display: grid; place-items: center; font-size: 2rem; }

/* Price */
.price { display: grid; gap: 1.4rem; }
@media (min-width: 900px) { .price { grid-template-columns: 1.1fr .9fr; } }
.price .big { font-family: var(--serif); font-size: clamp(2.8rem, 2rem + 4vw, 5rem); line-height: 1; font-weight: 400; }
.price .big small { font-size: .35em; letter-spacing: .1em; text-transform: uppercase; font-family: var(--sans); font-weight: 600; color: var(--gold-text); vertical-align: middle; margin-left: .5rem; }
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .55rem; }
.ticks li { padding-left: 1.8rem; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--sage); font-weight: 700; }

/* Band with image */
.band { position: relative; overflow: hidden; }
.band-img { position: absolute; inset: 0; z-index: 0; }
.band-img img { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: saturate(.6); }
.band .wrap { position: relative; z-index: 1; }

/* Marquee of credentials */
.ticker { overflow: hidden; border-block: 1px solid rgba(255,255,255,.1); padding: .9rem 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker ul { display: flex; gap: 2.5rem; list-style: none; margin: 0; padding: 0; width: max-content; animation: slide 46s linear infinite; font-family: var(--serif); font-size: 1.25rem; white-space: nowrap; }
.ticker li::before { content: "✦"; color: var(--gold); margin-right: .9rem; font-size: .8em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Layers illustration (SVG drawn in code) */
.layers { display: grid; gap: .5rem; }
.layer { display: grid; grid-template-columns: 1fr 2fr; gap: 1rem; align-items: center; padding: .9rem 1.2rem; border-radius: 14px; background: rgba(255,255,255,.55); border: 1px solid var(--line); }
.layer b { font-family: var(--serif); font-size: var(--fs-2); font-weight: 500; }
.layer span { font-size: var(--fs-0); color: var(--muted); }
html.io .layers .layer { transform: translateX(-16px); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease); }
html.io .layers.in .layer { transform: none; opacity: 1; }
html.io .layers.in .layer:nth-child(2) { transition-delay: .12s; }
html.io .layers.in .layer:nth-child(3) { transition-delay: .24s; }
html.io .layers.in .layer:nth-child(4) { transition-delay: .36s; }
html.io .layers.in .layer:nth-child(5) { transition-delay: .48s; }
html.io .layers.in .layer:nth-child(6) { transition-delay: .6s; }

/* Line drawing animation for SVG rings */
.draw path, .draw circle { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.io .draw.in path, html.io .draw.in circle { animation: draw 2.2s var(--ease) forwards; }
html:not(.io) .draw path, html:not(.io) .draw circle { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Breathing dot (the tide) */
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.35); opacity: 1; } }
.breathe { animation: breathe 6s ease-in-out infinite; transform-origin: center; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(246,240,228,.78); padding: calc(var(--space) * .8) 0 2rem; }
.site-footer .cols { display: grid; gap: 2rem; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { color: var(--cream); font-size: 1.1rem; letter-spacing: .04em; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--gold-l); }
.site-footer .legal { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: rgba(246,240,228,.5); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }

/* Sticky WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1f8f5a; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); text-decoration: none; transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* Page hero (inner pages) */
.page-hero { padding: calc(var(--space) * .9) 0 calc(var(--space) * .6); }
.page-hero h1 { font-size: var(--fs-4); text-wrap: balance; }
.page-hero .lead { max-width: 680px; }

/* Prose */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--fs-3); margin-top: 2.4rem; }
.prose h3 { font-size: var(--fs-2); margin-top: 1.8rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.cite { font-size: .82rem; color: var(--muted); }
.refs { font-size: .85rem; color: var(--muted); padding-left: 1.2rem; }
.refs li { margin-bottom: .5rem; }
.credits { font-size: .78rem; color: var(--muted); }

/* Gallery */
.gallery { display: grid; gap: 1.2rem; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.gallery img.contain { object-fit: contain; padding: 1rem; }
.gallery figcaption { font-size: var(--fs-0); color: var(--muted); margin-top: .6rem; }

/* Progress bar */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--gold); z-index: 60; transition: width .1s linear; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .rise-1, .rise-2, .rise-3, .rise-4, .rise-5 { animation: none; }
  html.io .reveal, html.io .reveal-stagger > *, html.io .layers .layer { opacity: 1; transform: none; transition: none; }
  .ticker ul { animation: none; width: auto; flex-wrap: wrap; white-space: normal; }
  .breathe { animation: none; }
  .draw path, .draw circle { stroke-dashoffset: 0 !important; animation: none !important; }
  .btn, .card, .timeline li { transition: none; }
}
