/* Layout: colour bands, one per idea. White pages with bright bands; photos tilted like prints on a fridge in a shared kitchen. */
:root {
  --bg: #FFFDF7;
  --surface: #FFFFFF;
  --ink: #17201B;
  --muted: #55605A;
  --line: #E6E2D4;
  --accent: #1F7046;
  --blue: #23804F;   --on-blue: #FFFFFF;
  --sun: #F6C33B;    --on-sun: #17201B;
  --pink: #F26A93;   --on-pink: #17201B;
  --green: #23804F;  --on-green: #FFFFFF;
  --sky: #DFF0E4;    --on-sky: #17201B;
  --pale-blue: #DFF0E4; --pale-sun: #FCF0C8; --pale-pink: #FCE1E9; --tint: rgba(255,255,255,.62);
  --ph-ink: #17201B;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Literata", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10140F; --surface: #1A201B; --ink: #F2F1EA; --muted: #A8B0A9; --line: #2D352F; --accent: #8FD3A8;
    --blue: #2E8A57; --sun: #E3B12C; --pink: #DE5A82; --green: #1F7046; --sky: #172A1F; --on-sky: #F2F1EA;
    --pale-blue: #172A1F; --pale-sun: #2A2513; --pale-pink: #2E1C24; --tint: rgba(255,255,255,.05);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #10140F; --surface: #1A201B; --ink: #F2F1EA; --muted: #A8B0A9; --line: #2D352F; --accent: #8FD3A8;
  --blue: #2E8A57; --sun: #E3B12C; --pink: #DE5A82; --green: #1F7046; --sky: #172A1F; --on-sky: #F2F1EA;
  --pale-blue: #172A1F; --pale-sun: #2A2513; --pale-pink: #2E1C24; --tint: rgba(255,255,255,.05);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; margin: 0; line-height: 1.08; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { max-width: 1140px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; }
.ph { font-family: var(--mono); font-size: 0.8em; padding: 1px 7px; border-radius: 4px; border: 1.5px dashed currentColor; background: color-mix(in srgb, var(--sun) 35%, transparent); color: inherit; }

/* Nav */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--bg); }
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; padding-block: 12px; flex-wrap: wrap; }
.brand { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand .dots { display: inline-flex; gap: 3px; }
.brand .dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: var(--blue); } .dots i:nth-child(2) { background: var(--sun); } .dots i:nth-child(3) { background: var(--pink); } .dots i:nth-child(4) { background: var(--green); }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; max-width: 100%; align-items: center; }
.nav ul::-webkit-scrollbar { display: none; }
.nav ul a { display: block; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--muted); text-decoration: none; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.nav ul a:hover { color: var(--ink); }
.nav ul a[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--sun) 45%, transparent); }
.nav ul a.cta { background: var(--blue); color: var(--on-blue); }
.nav > nav { min-width: 0; max-width: 100%; }
@media (max-width: 720px) { .nav { flex-direction: column; align-items: stretch; } .nav > nav { width: 100%; } .nav ul { width: 100%; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 16px; text-decoration: none; padding: 13px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; }
.btn.blue { background: var(--blue); color: var(--on-blue); }
.btn.ink { background: var(--ink); color: var(--bg); }
.btn.line { border-color: currentColor; color: inherit; background: transparent; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Bands */
.band { padding-block: 76px; }
.band.blue { background: var(--blue); color: var(--on-blue); }
.band.sun { background: var(--sun); color: var(--on-sun); }
.band.pink { background: var(--pink); color: var(--on-pink); }
.band.green { background: var(--green); color: var(--on-green); }
.band.sky { background: var(--sky); color: var(--on-sky); }
.band.blue a:not(.btn), .band.green a:not(.btn) { color: inherit; }
.band.sun a:not(.btn), .band.pink a:not(.btn), .band.sky a:not(.btn) { color: inherit; }
.band .btn.ink { background: var(--ink); color: var(--bg); }
.band.blue .btn.ink, .band.green .btn.ink { background: #FFFFFF; color: #17201B; }
.band.pink .btn.ink, .band.sun .btn.ink { background: #17201B; color: #FFFFFF; }
.band .label { opacity: .8; }
.sec-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
.sec-head p { font-size: 18px; opacity: .85; }
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.sec-head.row > div { display: grid; gap: 14px; max-width: 760px; }

/* Hero */
.hero { padding-block: 56px 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero .label { color: var(--muted); }
.hero h1 { font-size: clamp(40px, 6vw, 74px); font-weight: 800; margin-top: 16px; }
.hero h1 mark { background: linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%); color: inherit; padding: 0 2px; }
.hero .lede { margin-top: 22px; font-size: 20px; max-width: 38ch; color: var(--muted); }
.hero .btn-row { margin-top: 30px; }
.hero .soft-link { font-family: var(--display); font-weight: 600; }
.page-hero { padding-block: 56px 56px; }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; margin-top: 14px; max-width: 17ch; }
.page-hero .lede { margin-top: 20px; font-size: 20px; max-width: 46ch; opacity: .9; }

/* Photos: prints on a fridge */
.collage { position: relative; min-height: 460px; }
.print { position: absolute; background: var(--surface); padding: 10px 10px 34px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); border-radius: 4px; max-width: 100%; }
.print .photo { width: 100%; height: 100%; }
.print figcaption { position: absolute; left: 12px; right: 12px; bottom: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.collage .p1 { width: 62%; aspect-ratio: 4/5; right: 4%; top: 0; transform: rotate(3deg); z-index: 2; }
.collage .p2 { width: 52%; aspect-ratio: 5/4; left: 0; top: 18%; transform: rotate(-5deg); z-index: 1; }
.collage .p3 { width: 46%; aspect-ratio: 1/1; left: 14%; bottom: 0; transform: rotate(4deg); z-index: 3; }
.collage .p1 { height: auto; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .collage { min-height: 380px; max-width: 460px; } }
.photo { display: grid; place-items: center; text-align: center; padding: 14px; border-radius: 2px; color: var(--ph-ink); font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.3;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,.12) 1px, transparent 0); background-size: 12px 12px; aspect-ratio: inherit; height: 100%; }
.photo small { display: block; font-family: var(--mono); font-weight: 400; font-size: 11px; margin-top: 6px; opacity: .75; }
.photo.c-blue { background-color: #A7D8B9; } .photo.c-sun { background-color: #FBDC86; } .photo.c-pink { background-color: #F8B3C8; } .photo.c-green { background-color: #A7D8B9; } .photo.c-sky { background-color: #C9E8D3; }

/* Strip */
.strip { border-block: 1px solid var(--line); padding-block: 22px; }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 32px; align-items: baseline; }
.strip .label { color: var(--muted); }
.strip span.n { font-family: var(--display); font-weight: 800; font-size: clamp(18px, 2.2vw, 23px); }

/* Problem cards */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .cards3, .cards2 { grid-template-columns: 1fr; } }
.qcard { background: rgba(255,255,255,.55); border-radius: 18px; padding: 26px 24px; display: grid; gap: 10px; align-content: start; }
.band.sun .qcard, .band.pink .qcard { background: rgba(255,255,255,.5); }
.band.blue .qcard, .band.green .qcard { background: rgba(255,255,255,.12); }
.qcard h3 { font-size: 22px; font-weight: 700; }
.qcard p { opacity: .85; font-size: 16px; }
.qcard .big { font-family: var(--display); font-size: 44px; font-weight: 800; line-height: 1; }

/* Case */
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.case .text { display: grid; gap: 16px; }
.case h2, .case h3 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.case .numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.case .numbers div { border-top: 3px solid currentColor; padding-top: 10px; }
.case .numbers b { display: block; font-family: var(--display); font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.case .numbers span { font-size: 14px; opacity: .85; }
.case .pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.case .pics .photo { aspect-ratio: 4/5; border-radius: 14px; }
.case .pics .photo:first-child { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } .case .numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Offers (steps of a ladder) */
.ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .ladder { grid-template-columns: 1fr; } }
.rung { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rung .top { height: 10px; border-radius: 999px; }
.rung:nth-child(1) .top { background: var(--sun); } .rung:nth-child(2) .top { background: var(--pink); } .rung:nth-child(3) .top { background: var(--blue); }
.rung .step { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rung h3 { font-size: 25px; font-weight: 800; }
.rung p { color: var(--muted); font-size: 16px; }
.rung ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15.5px; display: grid; gap: 4px; }
.rung .price { font-family: var(--display); font-weight: 800; font-size: 22px; margin-top: auto; padding-top: 6px; }
.rung .btn { align-self: flex-start; }

/* Split (text + photo) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split .text { display: grid; gap: 16px; }
.split .text h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; }
.split .text p { font-size: 18px; opacity: .9; }
.split .photo { aspect-ratio: 5/4; border-radius: 22px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery .photo { aspect-ratio: 1/1; border-radius: 14px; font-size: 14px; }
.gallery .photo.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery .photo.wide { grid-column: span 2; aspect-ratio: auto; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Lists */
.plist { display: grid; }
.plist .item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.band .plist .item { border-color: color-mix(in srgb, currentColor 25%, transparent); }
.plist .t { font-family: var(--display); font-size: 19px; font-weight: 700; color: inherit; text-decoration: none; }
a.t:hover { text-decoration: underline; }
.plist .src { opacity: .75; font-size: 15px; grid-column: 1; }
.plist .d { font-family: var(--mono); font-size: 12.5px; opacity: .75; grid-column: 2; grid-row: 1; text-align: right; white-space: nowrap; }
@media (max-width: 680px) { .plist .item { grid-template-columns: 1fr; } .plist .d { grid-column: 1; grid-row: auto; text-align: left; } }

/* Timeline */
.route { list-style: none; margin: 0; padding: 0; display: grid; max-width: 800px; }
.route li { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 24px; position: relative; padding-bottom: 30px; }
.route li::before { content: ""; position: absolute; left: 122px; top: 12px; bottom: -8px; width: 3px; border-radius: 3px; background: var(--line); }
.route li:last-child::before { display: none; }
.route .when { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 3px; text-align: right; padding-right: 12px; }
.route .stop { padding-left: 22px; position: relative; min-width: 0; display: grid; gap: 6px; }
.route .stop::before { content: ""; position: absolute; left: -12px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--blue); }
.route li:nth-child(4n+2) .stop::before { background: var(--sun); } .route li:nth-child(4n+3) .stop::before { background: var(--pink); } .route li:nth-child(4n+4) .stop::before { background: var(--green); }
.route h3 { font-size: 21px; font-weight: 700; }
.route p { color: var(--muted); }
@media (max-width: 560px) {
  .route li { grid-template-columns: 1fr; gap: 4px; padding-left: 24px; }
  .route li::before { left: 6px; top: 20px; }
  .route .when { text-align: left; padding: 0; }
  .route .stop { padding-left: 0; }
  .route .stop::before { left: -24px; }
}

/* Talks */
.talks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .talks { grid-template-columns: 1fr; } }
.talk { background: rgba(255,255,255,.12); border-radius: 18px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.talk .yr { font-family: var(--display); font-size: 46px; font-weight: 800; line-height: 1; color: var(--sun); }
.talk h3 { font-size: 20px; font-weight: 700; }
.talk p { opacity: .85; font-size: 15.5px; }

/* Contact */
.contact { background: var(--ink); color: var(--bg); }
.contact .wrap { padding-block: 80px; }
.contact .label { opacity: .7; }
.contact h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; max-width: 17ch; margin-top: 14px; }
.contact h2 span { color: var(--sun); }
.contact p.sub { margin-top: 16px; opacity: .8; max-width: 48ch; }
.mailrow { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mail { font-family: var(--mono); font-size: clamp(15px, 2.4vw, 20px); user-select: all; padding: 12px 16px; border: 1px solid color-mix(in srgb, var(--bg) 40%, transparent); border-radius: 10px; overflow-wrap: anywhere; min-width: 0; }
.copy { font-family: var(--display); font-weight: 700; font-size: 15px; cursor: pointer; background: var(--sun); color: #17201B; border: 0; border-radius: 999px; padding: 12px 18px; }
.socials { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.socials a { color: var(--bg); font-family: var(--display); font-weight: 600; }
footer.foot { padding-block: 22px; }
footer.foot p { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* Chicken-and-egg loop */
.loop { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: stretch; }
.loop .step { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.loop-arrow { display: grid; align-content: center; gap: 2px; font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; text-align: center; }
.answer { margin-top: 18px; background: var(--ink); color: var(--bg); border-radius: 20px; padding: 30px 28px; display: grid; gap: 12px; }
.answer h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.answer p { opacity: .85; max-width: 60ch; }
.band .answer .btn.ink { background: var(--sun); color: #17201B; justify-self: start; }
@media (max-width: 760px) { .loop { grid-template-columns: 1fr; } .loop-arrow { grid-auto-flow: column; justify-content: center; gap: 14px; transform: rotate(90deg); } }


/* v4: calmer palette. Bands are pale blue, pale yellow and pale pink, with ink text in every band. */
.band.blue, .band.sky { background: var(--pale-blue); color: var(--ink); }
.band.sun, .band.green { background: var(--pale-sun); color: var(--ink); }
.band.pink { background: var(--pale-pink); color: var(--ink); }
.band.blue .btn.ink, .band.green .btn.ink, .band.pink .btn.ink, .band.sun .btn.ink, .band .btn.ink { background: var(--ink); color: var(--bg); }
.band .qcard, .band.sun .qcard, .band.pink .qcard, .band.blue .qcard, .band.green .qcard { background: var(--tint); }
.talk { background: var(--tint); }
.talk .yr { color: var(--accent); }
.case .numbers div { border-top-color: var(--accent); }
.band .answer .btn.ink { background: var(--sun); color: #17201B; }
.method { list-style: none; counter-reset: m; margin: 6px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.method li { counter-increment: m; display: grid; gap: 4px; padding-top: 14px; border-top: 2px solid var(--sun); }
.method li::before { content: counter(m); font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--sun); line-height: 1; }
.method b { font-family: var(--display); font-size: 20px; }
.method span { opacity: .8; font-size: 15.5px; }
@media (max-width: 760px) { .method { grid-template-columns: 1fr; } }

/* v5 consulting */
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 24px; position: relative; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.method.on-light li { border-top-color: var(--ink); }
.method.on-light li::before { color: var(--accent); }
.method.on-light span { opacity: .85; }
.case .credit { font-size: 14.5px; color: var(--muted); font-style: italic; }
.case .next { font-size: 16px; padding: 10px 14px; border-radius: 12px; background: var(--pale-sun); justify-self: start; }
.qcard .step.label { opacity: .7; }

/* 7 Pillars */
.pillars { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.pillars li { counter-increment: p; background: var(--tint); border-radius: 16px; padding: 20px 20px 22px; display: grid; gap: 6px; align-content: start; }
.pillars li::before { content: counter(p); font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--accent); }
.pillars b { font-family: var(--display); font-size: 19px; }
.pillars span { opacity: .8; font-size: 15.5px; }
.pillars span i { font-style: normal; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--accent); margin-right: 6px; }

/* Footer nav */
.foot-grid { display: grid; gap: 12px; }
.foot-grid nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-grid nav a { font-family: var(--display); font-weight: 600; color: var(--ink); text-decoration: none; }
.foot-grid nav a:hover { color: var(--accent); }
.foot-grid .soon { font-family: var(--display); font-weight: 600; color: var(--muted); }
.proof-line { font-family: var(--mono); font-size: 13px; color: var(--ink) !important; background: var(--pale-sun); padding: 8px 12px; border-radius: 10px; }
.btn[aria-disabled="true"] { cursor: default; flex-wrap: wrap; }
.rung .photo { aspect-ratio: 16/9; border-radius: 12px; height: auto; }

/* Case media: 2 photos + 2 videos */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.media .photo, .media .video { aspect-ratio: 4/5; border-radius: 14px; height: auto; }
.video { position: relative; display: grid; place-items: center; text-align: center; text-decoration: none; color: #FFFFFF; background: #17201B; font-family: var(--display); font-weight: 700; font-size: 15px; overflow: hidden; }
.video small { display: block; font-family: var(--mono); font-weight: 400; font-size: 11px; opacity: .7; margin-top: 4px; }
.video .play { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -54px 0 0 -29px; border-radius: 50%; background: var(--sun); }
.video .play::after { content: ""; position: absolute; left: 23px; top: 18px; border-left: 16px solid #17201B; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.video > span:last-child { margin-top: 64px; }
.video:hover .play { transform: scale(1.06); }
.route li.arc .stop { background: var(--pale-sun); border-radius: 16px; padding: 16px 18px 18px 26px; }
.route li.arc .stop::before { background: var(--sun); width: 19px; height: 19px; left: -14px; top: 18px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--sun) 30%, transparent); }
@media (max-width: 560px) { .route li.arc .stop { padding-left: 16px; } .route li.arc .stop::before { left: -26px; } }
.route .when b { display: block; font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: 0; line-height: 1.25; }
.route .when small { display: block; margin-top: 2px; }
.route li { grid-template-columns: 150px minmax(0, 1fr); }
.route li::before { left: 156px; }
@media (max-width: 560px) { .route li { grid-template-columns: 1fr; } .route li::before { left: 6px; } }
.route li:nth-child(3n+1) .stop::before { background: var(--blue); }
.route li:nth-child(3n+2) .stop::before { background: var(--sun); }
.route li:nth-child(3n+3) .stop::before { background: var(--pink); }
.route li.arc .stop::before { background: var(--sun); }
.qcard .next-up { font-family: var(--mono); font-size: 13px; opacity: 1; background: var(--pale-sun); color: var(--ink); padding: 8px 12px; border-radius: 10px; }
.qcard .next-up a { color: var(--accent); }

/* Life chapters: one word per chapter, no dots */
.chapters { list-style: none; margin: 0; padding: 0; display: grid; max-width: 920px; }
.chapters li { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 8px 36px; padding-block: 26px; border-top: 1px solid var(--line); }
.chapters li:last-child { border-bottom: 1px solid var(--line); }
.chapters .word b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.05; letter-spacing: -0.02em; color: var(--accent); }
.chapters .word small { display: block; margin-top: 6px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.chapters .story { display: grid; gap: 6px; min-width: 0; }
.chapters h3 { font-size: 21px; font-weight: 700; }
.chapters p { color: var(--muted); }
.chapters li.arc { background: var(--pale-sun); border-radius: 18px; border: 0; padding-inline: 24px; margin-top: 10px; }
.chapters li.arc .word b { color: var(--ink); }
@media (max-width: 640px) { .chapters li { grid-template-columns: 1fr; padding-block: 22px; } .chapters li.arc { padding-inline: 18px; } }

/* Real photos */
.hero-photo { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: 22px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.4); max-width: 460px; justify-self: end; }
@media (max-width: 820px) { .hero-photo { justify-self: start; } }
.masonry { columns: 3 260px; column-gap: 12px; }
.masonry img { width: 100%; height: auto; margin-bottom: 12px; border-radius: 14px; break-inside: avoid; display: block; }
.route li:nth-child(3n+1) .stop::before { background: var(--green); }

/* Photos in collage, case media and splits */
.print > img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 2px; }
.media > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; }
.video.cover { padding: 0; }
.video.cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%); }
.video.cover .play { z-index: 2; }
.video.cover .vlabel { position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0; z-index: 2; font-size: 14px; color: #FFFFFF; }
.video.cover .vlabel .ph { color: #FFFFFF; }
.split-img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 22px; }


/* Hover: photos lift and come forward */
.print { transition: transform .35s ease, box-shadow .35s ease; }
.collage .print:hover { transform: rotate(0deg) scale(1.08); z-index: 10; box-shadow: 0 26px 50px -16px rgba(0,0,0,.45); }
.media > img, .media .video, .split-img, .masonry img, .hero-photo { transition: transform .35s ease, box-shadow .35s ease; }
.media > img:hover, .media .video:hover, .split-img:hover, .hero-photo:hover { transform: scale(1.04); box-shadow: 0 20px 40px -18px rgba(0,0,0,.45); position: relative; z-index: 2; }
.masonry img:hover { transform: scale(1.04); box-shadow: 0 20px 40px -18px rgba(0,0,0,.45); position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .collage .print:hover, .media > img:hover, .media .video:hover, .split-img:hover, .hero-photo:hover, .masonry img:hover { transform: none; } }
.hero-split .text h1 { margin-top: 0; }
.hero-split .hero-photo { max-width: 380px; object-position: 50% 30%; }

/* About: work and words as lists */
.press-group { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px 40px; padding-block: 28px; border-top: 2px solid var(--ink); }
.press-group + .press-group { margin-top: 24px; }
.press-group h2 { font-size: 26px; font-weight: 800; }
.press-group .plist .item:first-child { padding-top: 0; }
@media (max-width: 720px) { .press-group { grid-template-columns: 1fr; } }
.group-body { display: grid; gap: 18px; min-width: 0; }
.group-intro { font-size: 18px; color: var(--muted); max-width: 62ch; }
.offer2 .rung:nth-child(1) .top { background: var(--sun); }
.offer2 .rung:nth-child(2) .top { background: var(--pink); }
.offer2 .rung ul { font-size: 16px; }
.offer2 .rung .btn-row { margin-top: auto; }
.offer3 .rung:nth-child(1) .top { background: var(--sun); }
.offer3 .rung:nth-child(2) .top { background: var(--green); }
.offer3 .rung:nth-child(3) .top { background: var(--pink); }
.offer3 .rung ul { font-size: 16px; }
.offer3 .rung .btn { margin-top: auto; }

/* Intake quiz pop-up */
.quiz { position: fixed; inset: 0; z-index: 100; background: rgba(23, 32, 27, .55); display: grid; place-items: center;
  padding: calc(16px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.quiz[hidden] { display: none; }
.quiz-panel { width: 100%; max-width: 640px; max-height: 100%; overflow-y: auto; background: var(--bg); color: var(--ink); border-radius: 22px; padding: 22px 28px 28px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); }
.quiz-top { display: flex; justify-content: space-between; align-items: center; }
.quiz-top .label { color: var(--muted); }
.quiz-close { border: 0; background: var(--pale-sun); color: var(--ink); width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.quiz-bar { height: 6px; border-radius: 999px; background: var(--line); margin: 12px 0 22px; overflow: hidden; }
.quiz-bar span { display: block; height: 100%; width: 4%; background: linear-gradient(90deg, var(--sun), var(--pink)); border-radius: 999px; transition: width .35s ease; }
#quizForm { display: grid; gap: 20px; }
#quizForm h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; }
.qsub { color: var(--muted); margin-top: -10px; }
.qfield { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.qfield label, .qfield legend { font-family: var(--display); font-weight: 600; font-size: 16px; padding: 0; }
.qfield legend { margin-bottom: 8px; }
.req { color: var(--pink); }
.qfield input[type="text"], .qfield input[type="email"], .qfield textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.qfield input:focus, .qfield textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.qchips { display: flex; flex-wrap: wrap; gap: 8px; }
.qchip { position: relative; cursor: pointer; }
.qchip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.qchip span { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 15px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); transition: background .15s, border-color .15s; }
.qchip input:checked + span { background: var(--pale-pink); border-color: var(--pink); }
.qchip input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.qfield.bad input, .qfield.bad textarea { border-color: #C0392B; }
.qerr { color: #C0392B; font-size: 14px; }
.qnav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; }
.qnav .btn.line { color: var(--ink); }
.qdone p { font-size: 18px; }
.qdone { display: grid; gap: 16px; }
@media (max-width: 520px) { .quiz-panel { padding: 18px 18px 22px; } }

/* Collaborations strip */
.strip .wrap { align-items: center; }
.collabs { display: flex; flex-wrap: wrap; gap: 6px 10px; flex: 1; min-width: 0; }
.collab { display: grid; gap: 1px; text-decoration: none; color: var(--ink); padding: 8px 14px; border-radius: 14px; transition: background .2s, transform .2s; }
.collab b { font-family: var(--display); font-weight: 800; font-size: clamp(17px, 2vw, 21px); }
.collab small { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.collab b::after { content: " ↗"; font-weight: 600; font-size: .7em; color: var(--accent); opacity: 0; transition: opacity .2s; }
.collab:hover, .collab:focus-visible { background: var(--pale-sun); transform: translateY(-2px); }
.collab:hover b::after, .collab:focus-visible b::after { opacity: 1; }
@media (hover: none) { .collab b::after { opacity: 1; } }
@media (max-width: 560px) { .collabs { margin-left: -14px; } .collab { flex: 1 1 45%; } }
.hero-split .hero-photo.wide { max-width: 560px; aspect-ratio: 4 / 3; object-position: 30% 40%; }

/* Work with me: two boxes + wide on-site box */
.onsite-wide { margin-top: 18px; }
.onsite-wide .top { background: var(--pink); }
.onsite-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; align-items: start; }
.onsite-text { display: grid; gap: 14px; justify-items: start; }
.onsite-items { display: grid; gap: 14px; }
.onsite-item { background: var(--pale-pink); border-radius: 16px; padding: 18px 20px; display: grid; gap: 4px; }
.onsite-item h4 { font-size: 20px; font-weight: 700; }
.onsite-item p { font-size: 16px; color: var(--muted); }
.onsite-item .step { color: var(--ink); opacity: .7; }
.form-steps { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
@media (max-width: 820px) { .onsite-grid { grid-template-columns: 1fr; } }
.rung.onsite-wide .top { background: var(--pink); }
.route li.arc .stop { background: none; padding: 0 0 0 22px; border-radius: 0; }
@media (max-width: 560px) { .route li.arc .stop { padding-left: 0; } }

/* About: work and words grid with photo tiles */
.ww-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.ww-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ww-card h2 { font-size: 28px; font-weight: 800; }
.ww-card .group-intro { font-size: 16.5px; }
.ww-card .plist .item:first-child { padding-top: 0; }
.ww-card .plist .item:last-child { border-bottom: 0; }
.tiles { display: grid; gap: 10px; margin-top: auto; padding-top: 6px; }
.tiles.t2 { grid-template-columns: 1fr 1fr; }
.tiles.t3 { grid-template-columns: 1fr 1fr 1fr; }
.tile { position: relative; margin: 0; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.tile img, .tile .photo { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: auto; border-radius: 0; font-size: 13px; }
.tile figcaption { position: absolute; inset: auto 0 0 0; padding: 22px 10px 8px; font-family: var(--display); font-weight: 600; font-size: 13px; line-height: 1.25; color: #FFFFFF; background: linear-gradient(to top, rgba(0,0,0,.7), transparent); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.tile:hover { transform: scale(1.04); box-shadow: 0 18px 36px -16px rgba(0,0,0,.45); z-index: 2; }
.tile:hover figcaption { opacity: 1; transform: none; }
@media (hover: none) { .tile figcaption { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tile, .tile figcaption { transition: none; } .tile:hover { transform: none; } }
@media (max-width: 900px) { .ww-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .tiles.t3 { grid-template-columns: 1fr 1fr; } .tiles.t3 .tile:first-child { grid-column: span 2; } }

/* About: one horizontal row per section, photos alternate sides */
.ww-grid { grid-template-columns: 1fr; gap: 22px; }
.ww-card.split-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px 40px; align-items: center; }
.ww-card.split-row .ww-text { display: grid; gap: 16px; min-width: 0; }
.ww-card.split-row .tiles { margin-top: 0; padding-top: 0; }
.ww-card.split-row.flip .tiles { order: -1; }
.ww-card.split-row .tiles.t3 { grid-template-columns: 1fr 1fr; }
.ww-card.split-row .tiles.t3 .tile:first-child { grid-column: span 2; aspect-ratio: 16/9; }
.ww-card.split-row .tiles.t2 .tile { aspect-ratio: 4/5; }
@media (max-width: 860px) { .ww-card.split-row { grid-template-columns: 1fr; } .ww-card.split-row.flip .tiles { order: 0; } }
.next-callout { display: grid; gap: 4px; justify-items: start; text-decoration: none; color: var(--ink); background: var(--pale-sun); border: 1.5px solid var(--sun); border-radius: 16px; padding: 16px 18px; transition: transform .2s, box-shadow .2s; }
.next-callout .label { color: var(--muted); }
.next-callout b { font-family: var(--display); font-size: 19px; }
.next-callout .go { font-family: var(--display); font-weight: 700; color: var(--accent); }
.next-callout:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(0,0,0,.35); }
#coliving-hub .tiles.t2 { grid-template-columns: 1fr; }
#coliving-hub .tiles.t2 .tile { aspect-ratio: 16 / 8; }

/* Gallery: gap-free mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 17vw, 220px); grid-auto-flow: dense; gap: 12px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; transition: transform .35s ease, box-shadow .35s ease; }
.mosaic img.big { grid-column: span 2; grid-row: span 2; }
.mosaic img.wide { grid-column: span 2; }
.mosaic img.tall { grid-row: span 2; }
.mosaic img:hover { transform: scale(1.03); box-shadow: 0 20px 40px -18px rgba(0,0,0,.45); position: relative; z-index: 2; }
@media (max-width: 700px) { .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 38vw; gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .mosaic img:hover { transform: none; } }

/* Contact form in the footer */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 56px; align-items: start; }
.contact-text { min-width: 0; }
.cform { display: grid; gap: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 26px 24px; min-width: 0; }
.cform .qfield label { color: var(--bg); }
.cform input[type="text"], .cform input[type="email"], .cform textarea { width: 100%; font: inherit; font-size: 16px; color: #17201B; background: #FFFDF7; border: 1.5px solid transparent; border-radius: 12px; padding: 12px 14px; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 3px rgba(246,195,59,.35); }
.cform .qerr { color: #FFB4A8; }
.cform .qfield.bad input, .cform .qfield.bad textarea { border-color: #FFB4A8; }
.cf-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.cf-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--sun); }
.cf-actions { display: flex; justify-content: flex-end; }
.cf-send { display: inline-flex; gap: 8px; align-items: center; }
.cf-done { display: grid; gap: 8px; }
.cf-done h3 { font-size: 26px; font-weight: 800; color: var(--sun); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.join-check { color: var(--ink); }
.join-check input { accent-color: var(--accent); }

/* Legal pages */
.legal { max-width: 760px; }
.legal h2 { font-size: 24px; margin: 36px 0 10px; }
.legal p, .legal li { line-height: 1.65; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--accent); }
.legal .small-note { margin-top: 32px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
footer.foot p a { color: inherit; }
