/* Turvi Creative site styles, v2 (27 Sep 2026): full-screen slides, black and white text. Charcoal, grey and white
   since 20 Oct 2026 (Ema); the variable names still say green because every rule uses them. ?theme=green shows the old palette. */
:root {
  --green-deep: #121212;   /* the deep ground: hero, statements, case studies (charcoal, Ema 20 Oct) */
  --green: #1f1f1f;        /* buttons, lifted charcoal */
  --green-soft: #ececec;   /* light band tint, pale grey */
  --sea: #6b6b6b;          /* small labels and numbers on white sections */
  --sea-light: #bdbdbd;    /* the same on the dark ground */
  --underline: #9fd8ef;    /* underline on key words: light blue, kept when the site went charcoal (Ema, 20 Oct) */
  --navy: #151a23;         /* dark charcoal navy, the second ground */
  --navy-soft: #1d2430;    /* slightly lifted navy for alternating bands */
  --white: #ffffff;
  --paper: #f7f7f5;
  --ink: #111111;          /* black text on the white grounds */
  --muted: #5a5f5c;
  --line: #e2e5e3;
  --line-dark: rgba(255,255,255,.16);
  --on-dark-muted: rgba(255,255,255,.72);
  --font-display: 'Bricolage Grotesque', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --font-mark: 'Amatic SC', 'Bricolage Grotesque', cursive;
  --wrap: 1180px;
  --radius: 12px;
  --header-h: 75px;
  --card: #1d1d1d;         /* the lifted ground of cards and media boxes */
  --deep-rgb: 18,18,18;    /* --green-deep as numbers, for translucent overlays */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--green-deep); color: var(--ink); overflow-x: hidden;   /* dark under the transparent header; light sections set their own white */
  font-family: var(--font-body); font-size: 18px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; z-index: 50; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 650; }
h3 { font-size: 1.35rem; font-weight: 650; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 66ch; }
.lede { font-size: 1.25rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.eyebrow { font-family: var(--font-display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 650; margin: 0 0 1em; color: var(--sea); }
.dark .eyebrow { color: var(--sea-light); }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }

/* Dark and light bands */
.dark { background: var(--green-deep); color: var(--white); }
.dark .muted { color: var(--on-dark-muted); }
.dark .lede { color: var(--on-dark-muted); }
.light { background: var(--white); color: var(--ink); }
.tint { background: var(--green-soft); color: var(--ink); }

/* Header: fixed, dark green, white logo, hamburger at every size */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 30; background: var(--green-deep); color: #fff; height: var(--header-h); display: flex; align-items: center; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.brand img { width: 84px; height: auto; }
.brand .wordmark { font-family: var(--font-mark); font-weight: 700; font-size: 2rem; letter-spacing: .04em; line-height: 1; white-space: nowrap; position: relative; top: 1px; color: #5b6c66; transition: letter-spacing 1.1s cubic-bezier(.2,.7,.2,1), word-spacing 1.1s cubic-bezier(.2,.7,.2,1), color .7s ease; }
.site-header .brand:hover .wordmark, .site-header .brand:focus-visible .wordmark { letter-spacing: .32em; word-spacing: .8em; color: #8fa39b; }
.site-header .brand img { transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.site-header .brand:hover img { transform: translateX(-4px); }
@media (prefers-reduced-motion: reduce) { .brand .wordmark, .site-header .brand img { transition: none; } }
.drawer-top .brand img { width: 66px; }
.drawer-top .brand .wordmark { font-size: 1.7rem; }
.footer-brand { margin-bottom: 4px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-cta { color: var(--green-deep); }
.menu-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; cursor: pointer; display: grid; place-items: center; gap: 0; padding: 0; }
/* (the 27 Sep round menu button's rules were removed on 19 Oct: they squashed the new burger's lines to 0px) */

/* Drawer: slides in from the right */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 40; opacity: 0; transition: opacity .3s ease; }
.menu-open .drawer-overlay { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 92vw); background: var(--green-deep); color: #fff; z-index: 50; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column; padding: 18px 32px 32px; overflow-y: auto; visibility: hidden; }
.menu-open .drawer { transform: none; visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: calc(var(--header-h) - 18px); }
.drawer-close { background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.drawer-close:hover { background: rgba(255,255,255,.08); }
.drawer-links { list-style: none; padding: 0; margin: 36px 0 28px; display: grid; gap: 6px; }
.drawer-links a { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 650; text-decoration: none; color: #fff; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.drawer-links a:hover { color: var(--sea-light); }
.drawer-cta { align-self: flex-start; }
.drawer-foot { margin-top: auto; padding-top: 32px; color: rgba(255,255,255,.75); font-size: 1rem; }
.drawer-foot a { color: #fff; }
.drawer-foot p { margin: 0 0 6px; }
@media (max-width: 480px) { .header-cta { display: none; } .brand img { width: 64px; } .brand .wordmark { font-size: 1.6rem; } }

main { padding-top: var(--header-h); }
body.page-index main { padding-top: 0; }

/* Buttons */
.btn { display: inline-block; white-space: nowrap; text-decoration: none; font-weight: 650; padding: 15px 26px; border-radius: 999px; font-family: var(--font-display); border: 2px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: var(--green-deep); }
.btn-white { background: #fff; color: var(--green-deep); border-color: #fff; }
.btn-white:hover { background: #e9f1ed; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }
.btn-small { padding: 9px 18px; font-size: .95rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Slides: full-height panels on the home page */
.slides { scroll-snap-type: y proximity; }
.slide { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 48px) 0 64px; scroll-snap-align: start; position: relative; }
.slide > .wrap { width: 100%; }

/* Scroll-driven hero: a tall section with a sticky full-screen panel; words light up as you scroll */
.hero-scroll { height: 240vh; position: relative; scroll-snap-align: none; }
.hero-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.hero-sticky > .wrap { width: 100%; }
.hero-words .w { display: inline-block; opacity: 0; transform: translate(var(--dx, 0), var(--dy, .6em)) scale(.9); filter: blur(2px); transition: opacity 1.3s ease, transform 1.6s cubic-bezier(.2,.7,.2,1), filter 1.3s ease; }
.hero-words .w.on { opacity: 1; transform: none; filter: none; }
.hero-words .w.key { opacity: 1; transform: none; filter: none; }
.hero-words .w + .key-group { margin-left: .18em; }
.hero-words .key-group { background: linear-gradient(var(--underline), var(--underline)) no-repeat left calc(100% - .02em) / 100% .07em; padding-bottom: .06em; }
html:not(.js-hero) .hero-words .w { opacity: 1; transform: none; }
.hero-after { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.hero-after.on, html:not(.js-hero) .hero-after { opacity: 1; transform: none; }
@media (max-width: 960px) { .hero-scroll { height: 180vh; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll { height: auto; } .hero-sticky { position: relative; min-height: 100vh; } .hero-words .w { opacity: 1 !important; transform: none !important; } .hero-after { opacity: 1 !important; transform: none !important; } }

/* Video hero */
.hero-video { position: relative; overflow: hidden; color: #fff; padding: 0; width: 100%; }
.hero-sticky.hero-video { position: sticky; }
.hero-video video, .hero-video .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--deep-rgb),.55) 0%, rgba(var(--deep-rgb),.35) 45%, rgba(var(--deep-rgb),.85) 100%); }
.hero-video .wrap { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px; }
.hero-video h1 { max-width: 16ch; }
.hero-video .lede { max-width: 48ch; color: rgba(255,255,255,.85); font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 2em; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.8); font-family: var(--font-display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 36px; background: rgba(255,255,255,.7); margin: 10px auto 0; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(1); opacity: .8; } 50% { transform: scaleY(.4); opacity: .3; } }

/* Statement slide: three big lines */
.statement-lines { display: grid; gap: 22px; margin: 24px 0 40px; }
.statement-lines p { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.15; font-weight: 600; margin: 0; max-width: 24ch; padding-left: 26px; border-left: 3px solid rgba(255,255,255,.5); }
.fit-line { font-size: clamp(1.1rem, 1.8vw, 1.35rem); max-width: 58ch; color: var(--on-dark-muted); }

/* Inner page bands */
section.light, section.tint { padding: 72px 0; }
section.dark:not(.slide):not(.cta):not(.page-hero) { padding: 72px 0; }

/* Page heroes (inner pages) */
.page-hero { padding: 72px 0 40px; }
.page-hero.dark { padding: 88px 0 72px; }
.page-hero .lede { max-width: 58ch; }

/* Grids and cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; color: var(--ink); }
.card h3 { margin-bottom: .4em; }
.card p { margin-bottom: 0; font-size: 1.02rem; }
.card .num { font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .12em; display: block; margin-bottom: 8px; color: var(--sea); }
.card a.more { display: inline-block; margin-top: 12px; font-weight: 650; color: var(--green); }
.dark .card { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: #fff; }
.dark .card .num, .dark .card a.more { color: #fff; }

/* Stacked hover-reveal list: the six services on the home page */
.help-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.help-list li { border-bottom: 1px solid var(--line); }
.dark .help-list, .dark .help-list li { border-color: var(--line-dark); }
.help-row { display: grid; grid-template-columns: 70px 1fr 40px; gap: 20px; align-items: baseline; padding: 26px 18px; margin: 0 -18px; text-decoration: none; color: inherit; position: relative; border-radius: 10px; transition: background .25s ease, color .25s ease; }
.help-row .num { font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .12em; color: var(--sea); }
.dark .help-row .num { color: var(--sea-light); }
.help-row .title { font-family: var(--font-display); font-weight: 650; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -0.01em; margin: 0; }
.help-row .arrow { font-family: var(--font-display); font-size: 1.6rem; opacity: .35; transition: opacity .25s ease, transform .25s ease; }
.help-row .body { grid-column: 2 / 3; max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-6px); transition: max-height .4s ease, opacity .3s ease, transform .3s ease; font-size: 1.1rem; color: rgba(255,255,255,.8); max-width: 60ch; }
.help-row .body p { margin: 10px 0 0; }
.help-row .body span { display: inline-block; margin-top: 10px; font-weight: 650; color: #fff; }
.help-row:hover, .help-row:focus-visible { background: var(--green-deep); color: #fff; outline: none; }
.dark .help-row:hover, .dark .help-row:focus-visible { background: rgba(255,255,255,.08); }
.help-row .sub { font-size: 1rem; color: var(--muted); }
.dark .help-row .sub { color: rgba(255,255,255,.7); }
.help-row:hover .sub { color: rgba(255,255,255,.8); }
.help-row:hover .body, .help-row:focus-visible .body { max-height: 220px; opacity: 1; transform: none; }
.help-row:hover .arrow, .help-row:focus-visible .arrow { opacity: 1; transform: translateX(6px); }
.help-row:hover .num, .help-row:focus-visible .num { color: #fff; }
@media (hover: none) { .help-row .body { max-height: none; opacity: 1; transform: none; color: inherit; } .help-row .body span { color: inherit; } .help-row .arrow { opacity: 1; } }
@media (max-width: 640px) { .help-row { grid-template-columns: 50px 1fr 28px; gap: 12px; padding: 20px 12px; margin: 0 -12px; } .help-row .body { grid-column: 1 / -1; } }

/* Hover cards: zoom in and take the dark green of the statement slides */
.hover-cards .card { transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease; cursor: default; }
.hover-cards .card:hover { transform: scale(1.05); background: var(--green-deep); color: #fff; border-color: var(--green-deep); box-shadow: 0 18px 40px rgba(var(--deep-rgb),.25); z-index: 1; position: relative; }
.hover-cards .card:hover h3 { color: #fff; }
/* Video band: a faded close-up clip behind a dark section */
.video-band { position: relative; overflow: hidden; }
.video-band .band-bg { position: absolute; inset: 0; z-index: 0; }
.video-band .band-bg video { width: 100%; height: 100%; object-fit: cover; opacity: .3; filter: saturate(.6); }
.video-band .band-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(var(--deep-rgb),.2) 0%, rgba(var(--deep-rgb),.8) 75%); }
.video-band > .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .video-band .band-bg video { display: none; } }
/* Video hero on inner pages: taller, clip more visible, dark green overlay heaviest at the top */
.page-hero.video-hero { min-height: 62vh; display: flex; align-items: flex-end; padding: 120px 0 72px; }
.page-hero.video-hero > .wrap { width: 100%; }
.video-hero .band-bg video { opacity: .75; filter: saturate(.8); }
.video-hero .band-bg::after { background: linear-gradient(180deg, rgba(var(--deep-rgb),.92) 0%, rgba(var(--deep-rgb),.55) 45%, rgba(var(--deep-rgb),.8) 100%); }
/* Light video band: the clip is washed with white so black text sits on it */
.video-light { color: var(--ink); }
.video-light .band-bg video { opacity: 1; filter: saturate(.85) brightness(1.08); }
.video-light .band-bg::after { background: linear-gradient(180deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.62) 55%, rgba(255,255,255,.9) 100%); }
.video-light .eyebrow { color: var(--sea); }
.page-hero.video-light { padding: 96px 0 88px; }
@media (max-width: 720px) { .four-lines br { display: none; } }
/* On a dark band the hover inverts: white box, dark text */
.dark .hover-cards .card:hover { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.dark .hover-cards .card:hover h3 { color: var(--ink); }
/* Fly-in cards: each starts off-screen in its own direction and settles when scrolled into view */
.js-reveal .fly { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 40px)); transition: opacity 1.8s ease, transform 2.6s cubic-bezier(.2,.7,.2,1); }
.js-reveal .fly.in { opacity: 1; transform: none; }
.js-reveal .fly:nth-child(2) { transition-delay: .25s; } .js-reveal .fly:nth-child(3) { transition-delay: .5s; } .js-reveal .fly:nth-child(4) { transition-delay: .75s; } .js-reveal .fly:nth-child(5) { transition-delay: 1s; }
.hover-cards .card.fly.in:hover { transform: scale(1.05); }
/* Hover reveal: the text under each title stays hidden until the box is hovered */
.hover-reveal .card p { max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; transition: max-height .4s ease, opacity .3s ease, margin-top .3s ease; }
.hover-reveal .card:hover p, .hover-reveal .card:focus-within p { max-height: 200px; opacity: 1; margin-top: 8px; }
.hover-reveal .card h3 { margin-bottom: 0; }
@media (hover: none) { .hover-reveal .card p { max-height: none; opacity: 1; margin-top: 8px; } }
@media (prefers-reduced-motion: reduce) { .hover-cards .card:hover { transform: none; } }

/* Horizontal scroller (services on home, stories) */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 34%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 18px; scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; }
.scroller .card { min-height: 240px; display: flex; flex-direction: column; }
.scroller .card p { flex: 1; }
.scroll-hint { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-display); opacity: .7; margin-top: 6px; }

/* Services page */
.service-list { display: grid; }
.service { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 40px 0; border-top: 1px solid var(--line); }
.service .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--sea); line-height: 1; }
.service dl { display: grid; grid-template-columns: 130px 1fr; gap: 6px 14px; margin: 16px 0 0; font-size: 1rem; }
.service dt { font-weight: 650; color: var(--muted); }
.service dd { margin: 0; }
.service .line { font-size: 1.2rem; font-weight: 600; margin-bottom: .5em; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { border: 1px solid var(--line-dark); background: rgba(255,255,255,.05); border-radius: var(--radius); padding: 22px; }
.light .step, .tint .step { border-color: var(--line); background: #fff; }
.step .k { font-family: var(--font-display); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 650; opacity: .8; }
.step h3 { margin: 8px 0 6px; font-size: 1.15rem; }
.step p { font-size: 1rem; margin: 0; }
.step-long { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 36px 0; border-top: 1px solid var(--line); }
.step-long .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--sea); line-height: 1; }
.step-long .price { font-family: var(--font-display); font-weight: 650; color: var(--green); }

/* Lists */
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.plain-list li { padding-left: 28px; position: relative; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--green); }
.dark .plain-list li::before { background: #fff; }

/* Stories page: big alternating bands */
.story { padding: 72px 0; }
.story .eyebrow { margin-bottom: .6em; }
.story h2 { max-width: 20ch; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.story .part h4 { margin: 0 0 8px; font-family: var(--font-display); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.story .part p, .story .part li { font-size: 1.02rem; }
.story .part ul { padding-left: 18px; margin: 0; }
.story .part li { margin-bottom: 6px; }

/* Split with image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.portrait img { aspect-ratio: 1 / 1; object-fit: cover; }
.tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.portrait-small img { width: 72%; margin: 0 auto; }

/* CTA band */
section.light.cta { padding: 96px 0; }
section.light.cta h2 { color: var(--ink); }
section.light.cta p { color: var(--muted); }
.cta { padding: 96px 0; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }

/* Booking */
.booking-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.booking-frame { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 16px 0; }
.booking-frame iframe { display: block; width: 100%; height: 760px; border: 0; background: #fff; }
.copy-email { font-family: var(--font-display); font-size: 1.3rem; word-break: break-all; }

/* Footer */
.site-footer { background: var(--green-deep); color: #fff; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.brand-line { font-family: var(--font-display); font-weight: 650; margin: 12px 0 4px; }
.footer-head { font-family: var(--font-display); font-weight: 650; margin: 0 0 8px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,.85); }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 36px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); }
.site-footer .muted { color: var(--on-dark-muted); }

/* Privacy prose */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }

/* Reveal on scroll (content is visible without JS; JS adds .js-reveal to animate in) */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* Slow reveal: a gentler, longer fade for sections that should ease in */
.js-reveal .reveal.slow-reveal { transition: opacity 2.8s ease, transform 3s ease; transform: translateY(26px); }
.js-reveal .reveal.slow-reveal.in { transform: none; }
.js-reveal .card.slow-reveal:nth-child(2) { transition-delay: .5s; } .js-reveal .card.slow-reveal:nth-child(3) { transition-delay: 1s; }


/* Services mind map: a core, five floating bubbles on curved cords, signals travelling along them */
.mind-section { padding: 88px 0 96px; overflow: hidden; }
.mind-section .wrap { max-width: 1360px; }
.mind-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.mind { position: relative; width: 100%; max-width: 820px; aspect-ratio: 1 / 1; margin: 0 auto; }
.mind svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mind .cord { fill: none; stroke: rgba(143,201,179,.38); stroke-width: 1.6; stroke-linecap: round; transition: stroke .4s ease, stroke-width .4s ease; }
.mind .cord.active { stroke: #ffffff; stroke-width: 2.4; }
.mind .dendrite { fill: none; stroke: rgba(143,201,179,.22); stroke-width: 1; stroke-linecap: round; }
.mind .node-dot { fill: rgba(143,201,179,.5); }
.mind .signal { fill: #cfeee2; filter: url(#soft); opacity: .9; }
.mind .signal.faint { fill: #8fc9b3; opacity: .6; }
.mind .signal.active { fill: #ffffff; opacity: 1; }
.mind .ring { fill: none; stroke: rgba(143,201,179,.35); stroke-width: 1; transform-origin: 300px 300px; animation: ring 4.5s ease-out infinite; }
.mind .ring-2 { animation-delay: 2.25s; }
@keyframes ring { 0% { transform: scale(.8); opacity: .8; } 100% { transform: scale(1.75); opacity: 0; } }
.mind .core { position: absolute; left: 50%; top: 50%; width: 27%; aspect-ratio: 1 / 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #1d5243, #0b241c 70%); border: 1px solid rgba(143,201,179,.55); box-shadow: 0 0 40px rgba(143,201,179,.25), inset 0 0 24px rgba(143,201,179,.18); }
.mind .core span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2.4vw, 2rem); letter-spacing: .02em; }
.mind .bubble { position: absolute; width: 25%; aspect-ratio: 1 / 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.07); color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px; text-align: center; font: inherit; backdrop-filter: blur(3px); transform: translate(-50%, -50%); animation: bob var(--float, 6s) ease-in-out var(--delay, 0s) infinite; transition: background .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease, scale .35s ease; }
.mind .bubble .b-num { font-family: var(--font-display); font-size: clamp(.78rem, 1vw, .95rem); letter-spacing: .14em; color: #8fc9b3; font-weight: 700; }
.mind .bubble .b-title { font-family: var(--font-display); font-weight: 650; font-size: clamp(.85rem, 1.55vw, 1.3rem); line-height: 1.15; }
.mind .bubble:hover, .mind .bubble:focus-visible, .mind .bubble.active { background: #fff; color: var(--green-deep); border-color: #fff; box-shadow: 0 0 0 8px rgba(255,255,255,.08), 0 18px 44px rgba(0,0,0,.35); scale: 1.1; outline: none; }
.mind .bubble:hover .b-num, .mind .bubble.active .b-num, .mind .bubble:focus-visible .b-num { color: var(--green); }
@keyframes bob { 0%, 100% { translate: 0 -5px; } 50% { translate: 0 6px; } }
.detail-panel { position: relative; min-height: 600px; }
.detail-hint { font-family: var(--font-display); font-size: 1.25rem; color: rgba(255,255,255,.6); margin: 0; position: absolute; top: 50%; transform: translateY(-50%); transition: opacity .4s ease; }
.detail-panel.has-active .detail-hint { opacity: 0; }
.detail { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .6s ease, transform .6s ease; display: flex; flex-direction: column; justify-content: center; }
.detail.active { opacity: 1; transform: none; pointer-events: auto; }
.detail .d-num { font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; color: var(--sea-light); margin: 0 0 .4em; }
.detail h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: .35em; }
.detail .line { font-size: 1.15rem; font-weight: 600; }
.detail p { color: rgba(255,255,255,.85); font-size: 1rem; }
.detail .line { color: #fff; }
.detail dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 14px; margin: 6px 0 0; font-size: .95rem; }
.detail dt { font-weight: 650; color: var(--sea-light); }
.detail dd { margin: 0; color: rgba(255,255,255,.85); }
.mind-fallback { display: none; }
@media (max-width: 960px) {
  .mind-section { display: none; }
  .mind-fallback { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .mind .bubble, .mind .ring { animation: none; }
  .mind .signal { display: none; }
}


/* Services hero: "Services" large, title letters gather on scroll, then the lines slide to the centre in turn */
.svc-scroll { height: 520vh; position: relative; }
.svc-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.svc-sticky.video-band.video-hero { min-height: 0; padding: 0; }
.svc-sticky > .wrap { width: 100%; position: relative; z-index: 1; padding-top: var(--header-h); }
.svc-word { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 6.2vw, 5.4rem); line-height: 1; letter-spacing: -0.015em; margin: 0 0 .25em; width: fit-content; max-width: 100%; color: #fff; background: linear-gradient(var(--underline), var(--underline)) no-repeat left calc(100% - .04em) / 100% .06em; padding-bottom: .1em; }
.svc-title { font-size: clamp(2.2rem, 5.6vw, 4.8rem); line-height: 1.06; margin: 0 0 .5em; }
.svc-title .ln { display: block; width: fit-content; max-width: 100%; white-space: nowrap; }
.svc-sub { width: fit-content; max-width: 56ch; color: rgba(255,255,255,.88); margin: 0; }
.svc-sub a { color: #fff; }
.js-svc .mv { transform: translateX(var(--x, 0px)); will-change: transform; }
.js-svc .svc-title { opacity: var(--a, 0); letter-spacing: calc((1 - var(--a, 0)) * .6em); }
.js-svc .svc-sub { opacity: var(--s, 0); text-align: center; }
html:not(.js-svc) .svc-scroll { height: auto; }
html:not(.js-svc) .svc-sticky { position: relative; height: auto; min-height: 70vh; padding: 120px 0 72px; }
@media (max-width: 720px) {
  .svc-scroll { height: 400vh; }
  .svc-title .ln { white-space: normal; }
}

/* Responsive */
@media (max-width: 960px) {
  .split, .grid-3, .grid-2, .footer-grid, .story-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .service { grid-template-columns: 1fr; }
  .service dl { grid-template-columns: 1fr; }
  .slides { scroll-snap-type: none; }
  .slide { min-height: 0; padding: 72px 0; }
  .hero-video { min-height: 0; }
  .scroller { grid-auto-columns: 82%; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .steps { grid-template-columns: 1fr; }
  .statement-lines p { padding-left: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video video { display: none; }
  .scroll-cue::after { animation: none; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* Loading screen on the home page (19 Oct 2026), built from Robyn's: six waves draw in across a dark green
   screen around the turtle, the waves fade, a light-blue dot appears above the turtle, then a
   circle opens from the dot onto the hero and the header fades in. About 4.2 s. No "TC" (Ema, 19 Oct). Pure CSS; where @property
   is missing the screen simply clears at the end. Skipped under reduced motion (html.no-intro). */
@property --hole { syntax: "<length>"; inherits: false; initial-value: -2px; }   /* below zero, so no pin-prick hole shows before the circle opens */
.intro {
  --tw: clamp(180px, 26vw, 320px);                 /* turtle width; the image is 640 x 324 */
  --dot: calc(var(--tw) * .253 + 26px);            /* dot height above centre: half the turtle, plus a gap */
  position: fixed; inset: 0; z-index: 100; background: var(--green-deep); overflow: hidden;
  -webkit-mask: radial-gradient(circle at 50% calc(50% - var(--dot)), transparent var(--hole), #000 calc(var(--hole) + 1px));
  mask: radial-gradient(circle at 50% calc(50% - var(--dot)), transparent var(--hole), #000 calc(var(--hole) + 1px));
  animation: intro-hole 1.5s cubic-bezier(.75,0,.2,1) 2.7s forwards, intro-gone .01s 4.2s forwards;
}
/* each wave draws in from one side (a width animation on the wrapper, which every browser honours; Safari ignores
   clip-path on an inline SVG) while the swell drifts along it, then fades before the circle opens */
.intro .wave { position: absolute; height: 40px; margin-top: -20px; overflow: hidden; width: 0; }
.intro .wave svg { position: absolute; top: 0; width: 100vw; height: 40px; overflow: visible; }
.intro .wave.lr { left: 0; }
.intro .wave.lr svg { left: 0; }
.intro .wave.rl { right: 0; }
.intro .wave.rl svg { right: 0; }
.intro .wave path { fill: none; stroke: #fff; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.intro .wave.lr, .intro .wave.rl { animation: wave-draw .9s cubic-bezier(.2,.7,.2,1) forwards, line-fade .5s ease 2.1s forwards; }
.intro .wave.lr path { animation: swell-l 3.6s linear infinite; }
.intro .wave.rl path { animation: swell-r 3.6s linear infinite; }
.intro .wave.w1 { top: 10%; opacity: .45; animation-delay: .1s, 2.1s; }
.intro .wave.w2 { top: 18%; opacity: .9;  animation-delay: .3s, 2.1s; }
.intro .wave.w3 { top: 26%; opacity: .6;  animation-delay: .5s, 2.1s; }
.intro .wave.w4 { top: 74%; opacity: .6;  animation-delay: .7s, 2.1s; }
.intro .wave.w5 { top: 82%; opacity: .9;  animation-delay: .9s, 2.1s; }
.intro .wave.w6 { top: 90%; opacity: .45; animation-delay: 1.05s, 2.1s; }
.intro .w3 path, .intro .w4 path { stroke: var(--sea-light); }
/* the turtle without the wordmark, "TC" under it in the wordmark typeface */
.intro-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; animation: fade-in 1.3s cubic-bezier(.2,.7,.2,1) .4s forwards; }
.intro-mark img { width: var(--tw); height: auto; animation: swim 3s ease-in-out infinite; }
.intro-dot { position: absolute; left: 50%; top: calc(50% - var(--dot)); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--underline); opacity: 0; transform: scale(0); animation: intro-dot .6s cubic-bezier(.2,.7,.2,1) 2s forwards; }
@keyframes wave-draw { to { width: 100%; } }
@keyframes swell-l { to { transform: translateX(calc(var(--wl) * -1px)); } }
@keyframes swell-r { to { transform: translateX(calc(var(--wl) * 1px)); } }
@keyframes line-fade { to { opacity: 0; } }
@keyframes swim { 0%, 100% { translate: 0 -3px; } 50% { translate: 0 3px; } }
@keyframes intro-dot { 0% { opacity: 1; } 60% { opacity: 1; transform: scale(1.5); } 100% { opacity: 1; transform: scale(1); } }
@keyframes intro-hole { to { --hole: 150vmax; } }
@keyframes intro-gone { to { visibility: hidden; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
html:not(.no-intro) .site-header { animation: fade-in 1.1s ease 3.5s both; }
html:not(.no-intro) .scroll-cue { animation: fade-in 1s ease 4.1s both; }
.no-intro .intro { display: none; }
/* on short landscape screens the inner pair of waves would cross the turtle */
@media (max-height: 520px) { .intro .w3, .intro .w4 { display: none; } }

/* ============================================================================================
   Services stack, about photo, Work page and case studies (19 Oct 2026).
   Built from palominoprod.com (services cards, story photo, work grid and list) and
   dashdigital.studio (case-study pages). Mechanics measured on the reference pages:
   see DESIGN-NOTES.md "Work and services, 19 Oct 2026".
   ============================================================================================ */

/* Zoom-out reveal: the box opens from a slit at its centre while the picture settles from 120% to 100%.
   Added to the reveal observer in layout.html; "in" is set once when the box scrolls into view. */
.zoom-reveal { clip-path: inset(50%); overflow: hidden; }
.zoom-reveal > * { transform: scale(1.2); transform-origin: center; }
.zoom-reveal.in { clip-path: inset(0); transition: clip-path 1.3s cubic-bezier(.16,1,.3,1); }
.zoom-reveal.in > * { transform: scale(1); transition: transform 1.3s cubic-bezier(.16,1,.3,1); }
html:not(.js-reveal) .zoom-reveal { clip-path: none; }
html:not(.js-reveal) .zoom-reveal > * { transform: none; }

/* A stack of pinned cards: each sticks a little lower than the one before; as the next card rides
   up, the one underneath shrinks from its top edge and dims under its veil (set by the stack script). */
[data-stack] > .stack-card { position: sticky; top: calc(var(--stack-top, 100px) + var(--i, 0) * var(--stack-step, 18px)); transform-origin: top center; will-change: transform; }
.stack-veil { position: absolute; inset: 0; background: var(--green-deep); opacity: 0; pointer-events: none; z-index: 5; transition: opacity .1s linear; }

/* Services on the home page */
.svc-section { padding: 96px 0 20vh !important; }
.svc-section h2 { margin-bottom: 36px; }
.svc-stack { display: flex; flex-direction: column; gap: 20px; }
.svc-card { position: relative; height: clamp(440px, calc(100svh - 100px - 96px), 560px); background: var(--card); border-radius: var(--radius); overflow: hidden; padding: 20px;
  display: grid; grid-template-columns: 4fr 5fr 3fr; grid-template-rows: 1fr auto; gap: 24px 32px; color: #fff; }
.svc-media { grid-row: 1 / 3; position: relative; border-radius: 8px; overflow: hidden; background: var(--green-deep); }
.svc-media img, .svc-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 55%); }
.svc-media .n { position: absolute; top: 16px; left: 18px; z-index: 1; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.svc-media h3 { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1; margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.05; }
.svc-body { padding-top: 8px; }
.svc-line { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.2; margin: 0 0 16px; letter-spacing: -.01em; }
.svc-body p:not(.svc-line) { margin: 0; color: var(--on-dark-muted); font-size: 1.05rem; max-width: 46ch; }
.svc-list { padding-top: 10px; }
.svc-list .eyebrow { margin-bottom: 8px; }
.svc-list ul { list-style: none; margin: 0; padding: 0; font-size: .98rem; color: var(--on-dark-muted); line-height: 1.6; }
.svc-links { grid-column: 2 / 4; display: flex; justify-content: space-between; gap: 24px; align-items: end; border-top: 1px solid var(--line-dark); padding-top: 16px; }
.svc-links a { color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 650; font-size: .95rem; letter-spacing: .02em; }
.svc-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* About on the home page: text left, the portrait opens on the right, and the block stays pinned while the next section rides over it */
.about-pin { position: sticky; top: 0; z-index: 0; }
.about-pin + section { position: relative; z-index: 1; }
.about-photo { border-radius: var(--radius); aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; border-radius: 0; }

/* Work on the home page: two featured clients */
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.all-work { font-family: var(--font-display); font-weight: 650; text-decoration: none; color: inherit; padding-bottom: .6em; }
.all-work:hover { text-decoration: underline; text-underline-offset: 4px; }
.feat-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 28px; align-items: start; margin-top: 36px; }
.feat { display: block; text-decoration: none; color: inherit; }
.feat:nth-child(2) { margin-top: 96px; }
.feat-media { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--green-deep); }
.feat:nth-child(2) .feat-media { aspect-ratio: 4 / 5; }
.feat-media > * { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.feat:hover .feat-media > * { transform: scale(1.06); }
.feat-cap { padding-top: 16px; }
.feat-cap h3 { margin: 0 0 2px; font-size: 1.5rem; }
.feat-cap p { margin: 0; color: var(--muted); }
.feat-cap span { display: inline-block; margin-top: 8px; font-family: var(--font-display); font-weight: 650; font-size: .95rem; }

/* Work page: header with the view toggle */
.work-hero { padding-bottom: 32px; }
.work-hero h1 { font-size: clamp(3.4rem, 10vw, 8rem); margin-bottom: .2em; }
.view-toggle { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; }
.view-toggle .small { margin: 0 6px 0 0; }
.vt { width: 32px; height: 32px; border-radius: 4px; background: rgba(255,255,255,.1); display: grid; place-items: center; transition: background .3s; }
.vt:hover { background: rgba(255,255,255,.2); }
.vt svg { width: 12px; height: 12px; fill: rgba(255,255,255,.45); transition: fill .3s; }
body:not(.view-list) .vt-grid svg, body.view-list .vt-list svg { fill: #fff; }
body:not(.view-list) .vt-grid, body.view-list .vt-list { background: rgba(255,255,255,.22); }
.work-body { padding-top: 0 !important; }

/* Grid view: blocks of different sizes, staggered down the page, each a picture or a clip.
   Hover: the media zooms, the caption slides up from below with a dot growing in before the name. */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.work-card { position: relative; display: block; overflow: hidden; border-radius: 8px; background: var(--card); }
.work-card:nth-child(5n+1) { grid-column: 1 / span 8; }
.work-card:nth-child(5n+2) { grid-column: 9 / span 4; margin-top: 120px; }
.work-card:nth-child(5n+3) { grid-column: 2 / span 5; margin-top: 40px; }
.work-card:nth-child(5n+4) { grid-column: 8 / span 5; margin-top: 160px; }
.work-card:nth-child(5n+5) { grid-column: 3 / span 8; margin-top: 40px; }
.work-media { aspect-ratio: 16 / 10; }
.work-card:nth-child(5n+2) .work-media, .work-card:nth-child(5n+4) .work-media { aspect-ratio: 4 / 5; }
.work-card:nth-child(5n+3) .work-media { aspect-ratio: 4 / 3; }
.work-media > * { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.work-card:hover .work-media > * { transform: scale(1.1); }
.work-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,0)); pointer-events: none; }
.work-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 20px 20px 42px; color: #fff; transform: translateY(100%); transition: transform .6s cubic-bezier(.16,1,.3,1); }
.work-cap h3 { margin: 0; font-size: 1.35rem; }
.work-cap p { margin: 2px 0 0; font-size: .9rem; opacity: .8; }
.work-cap .dot { position: absolute; left: 20px; top: 26px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transform: scale(0); transform-origin: 100% 50%; transition: transform .4s cubic-bezier(.16,1,.3,1) .2s; }
.work-card:hover .work-cap { transform: none; }
.work-card:hover .work-cap .dot { transform: scale(1); }
@media (hover: none) { .work-cap { transform: none; } .work-cap .dot { transform: scale(1); } }

/* List view: one row per client. Hover brightens the row, nudges the columns apart, grows a dot in,
   scales the name up from its left edge, and opens a preview that follows the pointer. */
.work-list { display: none; }
body.view-list .work-list { display: block; }
body.view-list .work-grid { display: none; }
.work-row { position: relative; z-index: 2; display: grid; grid-template-columns: 3fr 5fr 2fr 2fr 1fr; gap: 20px; align-items: center; height: 112px; border-bottom: 1px solid rgba(255,255,255,.2); text-decoration: none; color: #fff; }
.work-row > span { opacity: .5; font-family: var(--font-display); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; transition: opacity .3s ease, transform .3s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.work-row .r-project { position: relative; padding-left: 0; }
.work-row .r-name { overflow: visible; }
.work-row .r-name span { display: inline-block; font-size: clamp(1.5rem, 3vw, 2.6rem); font-weight: 650; letter-spacing: -.01em; text-transform: none; line-height: 1; transform-origin: left center; transition: transform .3s ease; mix-blend-mode: difference; position: relative; z-index: 3; }
.work-row .r-industry, .work-row .r-service, .work-row .r-year { text-align: right; }
.work-row .dot { position: absolute; left: -18px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #fff; transform: scale(0); transform-origin: 100% 50%; transition: transform .3s ease; }
.work-row:hover > span, .work-row:focus-visible > span { opacity: 1; }
.work-row:hover .r-project { transform: translateX(24px); }
.work-row:hover .r-industry, .work-row:hover .r-service, .work-row:hover .r-year { transform: translateX(-24px); }
.work-row:hover .dot { transform: scale(1); }
.work-card.is-soon, .work-row.is-soon { cursor: default; }   /* shown on Work, case study not live yet (18 Nov) */
.work-row:hover .r-name span { transform: scale(1.2); }
.work-row-head { height: 56px; pointer-events: none; }
.work-row-head > span { opacity: .4; font-size: .72rem; }
.work-row-head .r-name span { font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.work-preview { position: fixed; left: 0; top: 0; z-index: 1; width: min(28vw, 380px); aspect-ratio: 4 / 3; pointer-events: none; opacity: 0; transition: opacity .2s; }
.work-preview.on { opacity: 1; }
.wp-clip { width: 100%; height: 100%; overflow: hidden; clip-path: inset(50% 0); transition: clip-path .5s cubic-bezier(.16,1,.3,1); border-radius: 6px; }
.work-preview.on .wp-clip { clip-path: inset(0); }
.wp-media, .wp-media > * { width: 100%; height: 100%; }
.wp-media > * { object-fit: cover; display: block; transform: scale(1.1); transition: transform .5s cubic-bezier(.16,1,.3,1); }
.work-preview.on .wp-media > * { transform: scale(1); }
@media (pointer: coarse) { .work-preview { display: none; } }   /* touch screens have no pointer to follow */

/* Case study pages */
body.page-work main { padding-top: var(--header-h); }
.cs-hero { padding: 64px 0 0; }
.cs-hero .eyebrow a { color: inherit; text-decoration: none; opacity: .7; }
.cs-hero h1 { font-size: clamp(3rem, 9vw, 7rem); margin: .1em 0 .25em; }
.cs-meta { display: flex; gap: 56px; flex-wrap: wrap; border-top: 1px solid var(--line-dark); padding: 20px 0 40px; font-size: .95rem; }
.cs-meta b { display: block; font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-bottom: 6px; font-weight: 600; }
.cs-meta ul { list-style: none; margin: 0; padding: 0; }
.cs-hero-media { padding-bottom: 0; }
.cs-cover { aspect-ratio: 16 / 9; border-radius: 10px; background: var(--card); }
.cs-cover > * { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-overview { padding: 96px 0 !important; }
.cs-statement { font-family: var(--font-display); font-weight: 650; font-size: clamp(1.8rem, 4vw, 3.3rem); line-height: 1.12; letter-spacing: -.015em; max-width: 26ch; margin: 0 0 56px; text-wrap: balance; }
.cs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1000px; }
.cs-cols p { margin: 0; font-size: 1.08rem; }
.cs-cols .eyebrow { margin-bottom: .6em; }
/* the windows: full-width panels pinned on top of each other, the write-up locked up over the media */
.cs-windows { padding: 0 0 18vh !important; --stack-top: 88px; --stack-step: 14px; }
.cs-window { position: relative; width: min(100% - 48px, var(--wrap)); margin: 0 auto 24px; height: clamp(460px, calc(100svh - 88px - 56px), 780px); border-radius: 12px; overflow: hidden; background: var(--card); }
.cs-window-media, .cs-window-media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-window-veil { position: absolute; inset: 0; background: var(--green-deep); opacity: 0; pointer-events: none; z-index: 5; transition: opacity .1s linear; }
.cs-lockup { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 4vw, 56px); background: linear-gradient(to top, rgba(var(--deep-rgb),.92), rgba(var(--deep-rgb),.5) 55%, rgba(var(--deep-rgb),0)); color: #fff; }
.cs-lockup .eyebrow { margin-bottom: .8em; }
.cs-lockup .eyebrow .n { opacity: .6; margin-right: 10px; }
.cs-lockup h2 { max-width: 18ch; font-size: clamp(1.8rem, 4vw, 3.4rem); margin-bottom: .35em; }
.cs-lockup p:last-child { margin: 0; max-width: 52ch; font-size: 1.1rem; color: var(--on-dark-muted); }
/* pinned text on the left, media and notes scrolling on the right */
.cs-pin { padding: 96px 0 !important; }
.cs-pin-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.cs-pin-text { position: sticky; top: calc(var(--header-h) + 32px); }
.cs-pin-lede { font-family: var(--font-display); font-weight: 650; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.15; letter-spacing: -.01em; margin: 0; max-width: 20ch; }
.cs-pin-item { margin-bottom: 72px; }
.cs-pin-item:last-child { margin-bottom: 0; }
.cs-pin-media { aspect-ratio: 4 / 3; border-radius: 10px; background: var(--green-deep); }
.cs-pin-media > * { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-pin-item h3 { margin: 20px 0 6px; font-size: 1.5rem; }
.cs-pin-item p { margin: 0; color: var(--muted); max-width: 52ch; }
.cs-grid-section { padding: 0 0 96px !important; }
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.cs-grid-item { aspect-ratio: 4 / 5; border-radius: 10px; background: var(--green-deep); }
.cs-grid-item > * { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-grid-item:nth-child(2) { margin-top: 64px; }
.cs-result { padding: 96px 0 !important; }
.cs-result .cs-statement { margin: 0; }
.cs-next { padding: 0 !important; }
.cs-next-link { display: block; padding: 96px 24px; text-decoration: none; color: #fff; transition: background .3s; }
.cs-next-link:hover { background: rgba(255,255,255,.06); }
.cs-next-link .eyebrow { display: block; }
.cs-next-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -.02em; margin: .2em 0 .3em; }
.cs-next-sub { opacity: .7; }

@media (max-width: 960px) {
  [data-stack] > .stack-card { position: relative; top: auto; transform: none !important; }
  .stack-veil, .cs-window-veil { display: none; }
  .svc-card { height: auto; grid-template-columns: 1fr; grid-template-rows: auto; }
  .svc-media { grid-row: auto; aspect-ratio: 16 / 9; }
  .svc-links { grid-column: auto; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat:nth-child(2) { margin-top: 0; }
  .feat:nth-child(2) .feat-media { aspect-ratio: 4 / 3; }
  .about-pin { position: relative; }
  .work-card:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .work-row { grid-template-columns: 1fr auto; height: 84px; }
  .work-row .r-project, .work-row .r-industry, .work-row .r-service { display: none; }
  .cs-cols, .cs-pin-grid { grid-template-columns: 1fr; }
  .cs-pin-text { position: static; }
  .cs-window { height: auto; aspect-ratio: 4 / 5; width: calc(100% - 32px); }
  .cs-grid { grid-template-columns: 1fr 1fr; }
  .cs-grid-item:nth-child(2) { margin-top: 0; }
}

/* Pointer (19 Oct 2026, from apax.apa.archi/agence): a small white dot under the mouse and a thin white ring that
   trails it; both invert what is beneath them (mix-blend-mode: difference). Over links and buttons the ring grows
   and the dot shrinks away. Only with a fine pointer; off under reduced motion. The system cursor is hidden. */
.cur-dot, .cur-ring { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; border-radius: 50%; mix-blend-mode: difference; opacity: 0; transition: opacity .3s; will-change: transform; }
.cur-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; }
.cur-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid #fff; }
.cur-dot i, .cur-ring i { display: block; width: 100%; height: 100%; border-radius: 50%; transition: transform .3s cubic-bezier(.645,.045,.355,1), background .3s; }
.cur-ring i { transform: scale(1); }
html.cur-on .cur-dot, html.cur-on .cur-ring { opacity: 1; }
html.cur-on.cur-link .cur-ring i { transform: scale(1.6); background: rgba(255,255,255,.12); }
html.cur-on.cur-link .cur-dot i { transform: scale(0); }
html.cur-on.cur-down .cur-ring i { transform: scale(.8); }
@media (pointer: fine) { html.cur-on, html.cur-on * { cursor: none !important; } }
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .cur-dot, .cur-ring { display: none; } }

/* How I work (19 Oct 2026, from dashdigital.studio/about "pillars"): a pinned left column whose step title and text
   slide up like a counter as the step's list scrolls past on the right; the list items fan to the right as they rise. */
.hiw-hero { padding: 64px 0 0 !important; }
.hiw-hero-grid { margin-bottom: 40px; }
.hiw-hero-grid h1 { margin: 0; font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 16ch; }
.hiw-hero-side .muted { max-width: 40ch; margin: 0; }
.hiw-hero-media { border-radius: 10px; }
.hiw-video { aspect-ratio: 16 / 8; background: var(--card); }
.hiw-video > * { width: 100%; height: 100%; object-fit: cover; display: block; }
.pillars { padding: 96px 0 !important; }
.pil-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pil-left { position: sticky; top: calc(var(--header-h) + 32px); }
.pil-win { --win: 420px; height: var(--win); overflow: hidden; }
.pil-stack { transition: transform .7s cubic-bezier(.16,1,.3,1); }
.pil-step { height: var(--win); display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; padding-right: 24px; }
.pil-step h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); margin: 0; max-width: 16ch; }
.pil-step p { margin: 0; color: var(--on-dark-muted); font-size: 1.02rem; max-width: 50ch; }
.pil-step .price { color: #fff; font-weight: 600; }
.pil-step .btn { align-self: flex-start; margin-top: 4px; }
.pil-counter { margin: 20px 0 0; font-family: var(--font-display); font-size: .85rem; letter-spacing: .14em; color: var(--sea-light); border-top: 1px solid var(--line-dark); padding-top: 16px; }
.pil-counter .pil-sep { margin: 0 8px; opacity: .5; }
.pil-counter .pil-total { opacity: .5; }
.pil-group { padding: 0 0 88px; }
.pil-group .eyebrow { margin: 20px 0 10px; }
.pil-media { aspect-ratio: 16 / 10; border-radius: 10px; background: var(--card); }
.pil-media > * { width: 100%; height: 100%; object-fit: cover; display: block; }
.pil-item { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line-dark); font-size: clamp(1.15rem, 1.8vw, 1.55rem); font-weight: 600; line-height: 1.25; will-change: transform; transition: transform .15s linear; }
@media (max-width: 960px) {
  .hiw-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .pil-grid { grid-template-columns: 1fr; gap: 32px; }
  .pil-left { position: static; }
  .pil-win { height: auto; overflow: visible; }
  .pil-stack { transform: none !important; }
  .pil-step { height: auto; padding: 0 0 28px; }
  .pil-counter { display: none; }
  .pil-item { transform: none !important; }
}

/* "My vision" on the home page (19 Oct 2026): a full-screen black-and-white portrait pinned behind the page; it fades
   and rotates in exactly as dashdigital.studio's hero media does (scale 1.3, 8deg, opacity 0 -> 1 over 1 s, settle 1.5 s). */
.vision { height: 160vh; position: relative; z-index: 0; }
.vision-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #000; color: #fff; display: flex; align-items: flex-end; }
.vision-media { position: absolute; inset: 0; }
.vision-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.05); display: block; }
.vision-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.15) 100%); }
.fade-rotate { opacity: 0; transform: scale(1.3) rotate(8deg); transition: opacity 1s cubic-bezier(.075,0,.165,0), transform 1.5s cubic-bezier(.075,.82,.165,1); }
.fade-rotate.in { opacity: 1; transform: scale(1) rotate(0deg); }
html:not(.js-reveal) .fade-rotate { opacity: 1; transform: none; }
.vision-text { position: relative; z-index: 1; padding-bottom: clamp(56px, 10vh, 120px); }
.vision-text .eyebrow { color: var(--sea-light); }
.vision-line { font-family: var(--font-display); font-weight: 650; font-size: clamp(1.7rem, 3.6vw, 3.2rem); line-height: 1.12; letter-spacing: -.015em; max-width: 24ch; margin: 0 0 28px; text-wrap: balance; }
.vision + section { position: relative; z-index: 1; }
@media (max-width: 960px) { .vision { height: 120vh; } }

/* "Sound familiar?" (rebuilt 19 Oct 2026): a 300vh section with a pinned panel. Each statement rises in word by word
   over its own full-bleed clip, which enters with the Dash fade-rotate; the counter and the progress line follow. */
.familiar { height: 420vh; position: relative; scroll-snap-align: none; padding: 0 !important; }   /* no band above or below: the generic dark-section padding is cancelled */
.fam-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.fam-media { position: absolute; inset: 0; z-index: 0; }
.fam-bg { position: absolute; inset: 0; opacity: 0; transform: scale(1.3) rotate(8deg); transition: opacity 1.4s cubic-bezier(.075,0,.165,0), transform 2.2s cubic-bezier(.075,.82,.165,1); }
.fam-bg video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) brightness(.6); display: block; }
.fam-bg.in { opacity: 1; transform: none; }
.fam-bg.out { opacity: 0; transform: scale(1.08); transition: opacity .8s ease, transform 1.2s ease; }
.fam-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(var(--deep-rgb),.85) 0%, rgba(var(--deep-rgb),.55) 55%, rgba(var(--deep-rgb),.25) 100%); }
.fam-text { position: relative; z-index: 1; width: 100%; padding-top: var(--header-h); }
.fam-text .eyebrow { font-size: clamp(1.1rem, 1.6vw, 1.4rem); margin-bottom: 1em; }
.fam-stack { position: relative; min-height: 4.6em; font-size: clamp(1.9rem, 4.4vw, 3.6rem); }
.fam-line { position: absolute; left: 0; top: 0; margin: 0; font-family: var(--font-display); font-weight: 650; font-size: inherit; line-height: 1.12; letter-spacing: -.015em; max-width: 22ch; pointer-events: none; }
.fam-line .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.fam-line .w span { display: inline-block; transform: translateY(110%); opacity: 0; transition: transform 1s cubic-bezier(.16,1,.3,1) calc(var(--i) * 70ms), opacity .5s linear calc(var(--i) * 70ms); }
.fam-line.on .w span { transform: none; opacity: 1; }
.fam-line.gone .w span { transform: translateY(-110%); opacity: 0; transition: transform .7s cubic-bezier(.7,0,.3,1) calc(var(--i) * 30ms), opacity .4s linear calc(var(--i) * 30ms); }
.fam-counter { margin-top: 36px; border-top: 0; padding-top: 0; }
.fam-progress { width: min(320px, 40vw); height: 1px; background: rgba(255,255,255,.2); margin-top: 14px; overflow: hidden; }
.fam-progress i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
html:not(.js-fam) .familiar { height: auto; }
html:not(.js-fam) .fam-sticky { position: relative; height: auto; padding: 96px 0; }
html:not(.js-fam) .fam-line { position: static; margin-bottom: .6em; }
html:not(.js-fam) .fam-line .w span { transform: none; opacity: 1; }
html:not(.js-fam) .fam-bg { opacity: 0; }
html:not(.js-fam) .fam-counter, html:not(.js-fam) .fam-progress { display: none; }
@media (max-width: 960px) { .familiar { height: 340vh; } .fam-stack { font-size: clamp(1.5rem, 5.4vw, 2.4rem); min-height: 6em; } }

/* About page (19 Oct 2026, synced with palominoprod.com/en/about). Hero: a giant centred title, small photos on a
   12-column grid scrolling past behind a pinned statement whose words light up with the scroll (mix-blend-difference,
   as on Palomino). Story: text left, three photos right, the block pinned so the next section rides over it. */
.ab-hero { position: relative; padding: 0 0 20vh; }
.ab-title { padding: calc(var(--header-h) + 48px) 24px 0; text-align: center; }
.ab-title h1 { font-size: clamp(4rem, 15vw, 13rem); line-height: .9; margin: 0; letter-spacing: -.03em; }
.ab-statement { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; z-index: 2; pointer-events: none; mix-blend-mode: difference; }
.ab-words { margin: 0 auto; max-width: 30ch; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.3; color: #fff; }
.ab-words .w { opacity: .3; transition: opacity .35s ease; }
.ab-words .w.lit { opacity: 1; }
.ab-photos { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(140px, 18vh, 260px) 20px; margin-top: calc(-100vh + 80px); }   /* the photos start under the pinned statement */
.ab-ph { border-radius: 6px; background: var(--card); will-change: transform; }
.ab-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-ph.p1 { grid-column: 1 / span 2; aspect-ratio: 4 / 5; margin-top: 60px; }
.ab-ph.p2 { grid-column: 4 / span 3; aspect-ratio: 16 / 9; margin-top: 140px; }
.ab-ph.p3 { grid-column: 10 / span 2; aspect-ratio: 4 / 5; }
.ab-ph.p4 { grid-column: 2 / span 2; aspect-ratio: 4 / 5; }
.ab-ph.p5 { grid-column: 6 / span 2; aspect-ratio: 1 / 1; margin-top: 80px; }
.ab-ph.p6 { grid-column: 11 / span 2; aspect-ratio: 4 / 5; margin-top: 30px; }
.ab-ph.p7 { grid-column: 4 / span 3; aspect-ratio: 16 / 9; }
.ab-ph.p8 { grid-column: 9 / span 2; aspect-ratio: 4 / 5; margin-top: 120px; }
.ab-story { position: sticky; top: 0; z-index: 0; padding: 96px 0 !important; min-height: 100vh; display: flex; align-items: center; }
.ab-story ~ section { position: relative; z-index: 1; }   /* the story is sticky inside <main>, so everything after it must paint on top */
.ab-story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.ab-story-text p:not(.eyebrow) { font-size: 1.02rem; color: var(--on-dark-muted); max-width: 46ch; }
.ab-story-photos { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: start; }
.ab-sp { border-radius: 6px; background: var(--card); }
.ab-sp img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-sp.a { grid-column: 1 / span 5; aspect-ratio: 4 / 5; margin-top: 60px; }
.ab-sp.b { grid-column: 7 / span 6; aspect-ratio: 4 / 5; }
.ab-sp.c { grid-column: 3 / span 7; aspect-ratio: 16 / 9; }
.ab-story-photos:not(:has(.ab-sp.a:not([hidden]), .ab-sp.b:not([hidden]))) .ab-sp.c { grid-column: 1 / -1; }   /* the wide photo on its own (22 Oct) */
.pil-item span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .98rem; color: var(--on-dark-muted); margin-top: 4px; }
.ab-pillars .pil-group[data-step="1"] { padding-bottom: 20vh; }
.ab-services { padding-top: 0 !important; }
@media (max-width: 960px) {
  .ab-statement { position: relative; height: auto; margin: 32px 0 0; mix-blend-mode: normal; }
  .ab-words .w { opacity: 1; }
  .ab-photos { gap: 40px 12px; margin-top: 48px; }
  .ab-ph.p1, .ab-ph.p4 { grid-column: 1 / span 5; } .ab-ph.p2, .ab-ph.p7 { grid-column: 7 / span 6; } .ab-ph.p3, .ab-ph.p6, .ab-ph.p8 { grid-column: 8 / span 5; } .ab-ph.p5 { grid-column: 2 / span 4; }
  .ab-ph { margin-top: 0 !important; }
  .ab-story { position: relative; min-height: 0; }
  .ab-story-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Page transition (19 Oct 2026): the dark screen slides up over the page on a link click, the turtle draws itself
   (stroke-dashoffset, lengths set by the script), the next page arrives covered and the screen slides up and away. */
.pt { position: fixed; inset: 0; z-index: 200; background: var(--green-deep); display: grid; place-items: center; transform: translateY(100%); pointer-events: none; }
.pt.pt-cover { transform: translateY(0); transition: transform .6s cubic-bezier(.76,0,.24,1); pointer-events: auto; }
html.pt-in .pt { transform: translateY(0); }
.pt.pt-leave { transform: translateY(-100%); transition: transform .75s cubic-bezier(.76,0,.24,1); }
.pt-turtle { width: clamp(180px, 26vw, 320px); height: auto; }
@media (prefers-reduced-motion: reduce) { .pt { display: none; } }

/* Colour sweep (19 Oct 2026, from apax.apa.archi/agence): each word is a two-tone gradient clipped to the text,
   grey on the right and full colour on the left; the script slides it across word by word with the scroll. */
.sweep .w { display: inline-block; background-image: linear-gradient(to right, #fff, #fff 50%, rgba(255,255,255,.28) 50%); background-size: 200% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
html:not(.js-reveal) .sweep .w { color: inherit; background: none; }

/* Service card entrance (19 Oct 2026, measured on Palomino): as a card reaches the lower part of the screen, its
   image box opens from a point at its centre (clip-path inset(50%) to inset(0), with the number and title inside the
   box), the headline and paragraph rise out of clipped boxes, and the list items follow one by one. Once per card. */
.svc-clip { position: absolute; inset: 0; clip-path: inset(50%); transition: clip-path .9s cubic-bezier(.16,1,.3,1); }
.svc-clip img, .svc-clip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-clip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 55%); }
.svc-media::after { display: none; }
.svc-media .n, .svc-media h3 { z-index: 1; }
.svc-card .rise { overflow: hidden; }
.svc-card .rise > * { display: block; transform: translateY(110%); transition: transform .8s cubic-bezier(.16,1,.3,1) var(--d, 0s); }
.svc-card li.rise { padding: 1px 0; }
.svc-card.in .svc-clip { clip-path: inset(0); }
.svc-card.in .rise > * { transform: none; }
.svc-card .svc-links { opacity: 0; transition: opacity .6s ease .45s; }
.svc-card.in .svc-links { opacity: 1; }
html:not(.js-reveal) .svc-clip { clip-path: none; }
html:not(.js-reveal) .svc-card .rise > * { transform: none; }
html:not(.js-reveal) .svc-card .svc-links { opacity: 1; }
.svc-card.noanim, .svc-card.noanim * { transition: none !important; }   /* instant reset when a card drops back below the trigger line */

/* Services page on the Work page's shape (19 Oct 2026): the blocks and list above, each service's detail as a
   sliding window below. Book a call: title sweep, the calendar opening with the slit reveal, pinned pillars. */
.svc-windows-label { margin: 0 0 24px; }
.svc-lockup dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 18px 0 0; max-width: 60ch; font-size: .98rem; }
.svc-lockup dt { font-family: var(--font-display); font-weight: 650; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sea-light); padding-top: 3px; }
.svc-lockup dd { margin: 0; color: var(--on-dark-muted); }
.svc-lockup h2 { max-width: 22ch; font-size: clamp(1.6rem, 3.2vw, 2.8rem); }
.svc-windows { padding-top: 48px !important; }
.book-hero { padding: 64px 0 24px !important; }
.book-title { font-size: clamp(1.8rem, 4vw, 3.4rem); max-width: 24ch; line-height: 1.12; }
.book-cal { padding: 24px 0 72px !important; }
.book-frame-wrap { border-radius: 10px; }
.book-cal .booking-frame { margin-top: 20px; }
.book-other { padding: 72px 0 96px !important; }
.book-other .copy-email { font-family: var(--font-display); font-weight: 650; font-size: clamp(1.3rem, 2.4vw, 2rem); margin: 6px 0 8px; }
.book-other a { color: #fff; }
@media (max-width: 960px) { .svc-lockup dl { grid-template-columns: 1fr; } }


/* ============================================================================================
   Header and menu (19 Oct 2026, from palominoprod.com/en, both sizes). Desktop: a 75px bar across the whole
   screen, transparent with a soft dark gradient and blur, logo far left, links centred 64px apart in small caps
   whose letters roll up on hover, the call-to-action far right. Phones: logo and a two-line burger; the menu is a
   full-height frosted light panel with big uppercase links rising in one by one, socials at the foot.
   ============================================================================================ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: var(--header-h); padding: 0 20px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,0)); color: #fff; }
.site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 130px; pointer-events: none; z-index: -1; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); -webkit-mask: linear-gradient(to bottom, #000 30%, transparent 100%); mask: linear-gradient(to bottom, #000 30%, transparent 100%); }
.site-header .brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.site-header .brand img { width: 54px; height: 36px; }
.site-header .wordmark { font-size: 1.5rem; }
.top-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 64px; }
.top-nav a, .top-cta { color: #fff; text-decoration: none; font-family: var(--font-body); font-size: 16px; letter-spacing: .02em; text-transform: uppercase; }
.header-right { display: flex; align-items: center; gap: 24px; }
.roll { display: inline-flex; overflow: hidden; height: 1.2em; line-height: 1.2; }
.roll .ch { display: inline-flex; flex-direction: column; transition: transform .5s cubic-bezier(.16,1,.3,1) calc(var(--i) * 18ms); }
.roll .ch i { font-style: normal; display: block; height: 1.2em; }
.roll:hover .ch { transform: translateY(-1.2em); }
.menu-btn { display: none; width: 28px; height: 10px; padding: 0; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: space-between; position: relative; z-index: 60; }
.menu-btn span { display: block; height: 1px; width: 100%; margin: 0; flex: none; background: #fff; transition: transform .5s cubic-bezier(.16,1,.3,1), background .3s; transform-origin: right center; }
.menu-btn span:nth-child(2) { display: none; }
html.menu-open .menu-btn span { background: var(--ink); }
html.menu-open .menu-btn span:nth-child(1) { transform: translateY(4.5px) rotate(-45deg); transform-origin: center; }
html.menu-open .menu-btn span:nth-child(3) { transform: translateY(-4.5px) rotate(45deg); transform-origin: center; }
.drawer { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 50; background: rgba(240,242,240,.86); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); color: var(--ink); transform: translateY(-100%); transition: transform .7s cubic-bezier(.76,0,.24,1); display: flex; flex-direction: column; padding: 0 20px 28px; visibility: hidden; overflow-y: auto; }
html.menu-open .drawer { transform: none; visibility: visible; }
.drawer-overlay { display: none; }
.drawer-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; flex: none; }
.drawer-top .brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.drawer-top .brand img { width: 54px; height: 36px; }
.drawer-top .wordmark { color: var(--ink); font-size: 1.5rem; }
.drawer-close { width: 28px; height: 28px; border: 0; background: none; padding: 0; position: relative; cursor: pointer; }
.drawer-close span { position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: var(--ink); }
.drawer-close span:first-child { transform: rotate(45deg); } .drawer-close span:last-child { transform: rotate(-45deg); }
.drawer-links { list-style: none; margin: 14vh 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.drawer-links li { overflow: hidden; }
.drawer-links a { display: inline-flex; align-items: center; position: relative; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.1rem, 9.5vw, 3.2rem); line-height: 1.15; text-transform: uppercase; letter-spacing: -.01em; transform: translateY(110%); transition: transform .9s cubic-bezier(.16,1,.3,1) calc(.1s + var(--i) * 60ms); }
html.menu-open .drawer-links a { transform: none; }
.drawer-links a .dot { position: absolute; left: -16px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--ink); transform: scale(0); transform-origin: right center; transition: transform .3s; }
.drawer-links a:hover { transform: translateX(20px); transition: transform .3s; }
.drawer-links a:hover .dot { transform: scale(1); }
.drawer-foot { margin-top: auto; padding-top: 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; font-size: 14px; }
.drawer-socials { display: flex; flex-direction: column; gap: 6px; }
.drawer-socials a, .drawer-mail { color: var(--ink); opacity: .5; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; }
.drawer-socials a:hover, .drawer-mail:hover { opacity: 1; }
.drawer-mail { text-transform: none; text-align: right; }
@media (max-width: 960px) {
  .top-nav, .top-cta { display: none; }
  .menu-btn { display: flex; }
}
@media (min-width: 961px) { .drawer { display: none; } }

/* The transition page slide-in: the arriving page sits a little low and rises as the screen leaves */
html.pt-in main, html.pt-in .site-footer { transform: translateY(6vh); }
html.pt-in.pt-reveal main, html.pt-in.pt-reveal .site-footer { transform: none; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.pt.pt-cover { transition-duration: .45s; }
.pt.pt-leave { transition-duration: .6s; }

/* Pillar pages on phones (19 Oct 2026, from Palomino's services at phone width): each step becomes a card, image on
   top, number, title, text, then the list. The pinned left column is hidden. */
.pil-mhead { display: none; }
@media (max-width: 960px) {
  .pil-left { display: none; }
  .pil-mhead { display: block; padding: 18px 0 4px; }
  .pil-mhead .n { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
  .pil-mhead h2 { font-size: clamp(1.5rem, 6.4vw, 2rem); margin: 0 0 10px; }
  .pil-mhead p { margin: 0; color: var(--on-dark-muted); font-size: 1rem; }
  .pil-group { background: var(--card); border-radius: var(--radius); padding: 16px 16px 10px; margin-bottom: 20px; }
  .pil-group .eyebrow { margin: 18px 0 6px; }
  .pil-media { aspect-ratio: 16 / 10; }
  .pil-item { font-size: 1.05rem; padding: 8px 0; }
  .pillars { padding: 48px 0 !important; }
}

/* Charcoal preview (19 Oct 2026, Ema asked to see the site in charcoal, grey and white): the greens become greys.
   Switch with ?theme=charcoal on any page (remembered), back with ?theme=green. Placeholder tiles stay green. */
/* Charcoal, grey and white is the design (Ema, 20 Oct 2026). The old green stays reachable as ?theme=green for comparison. */
.site-header .wordmark, .footer-brand .wordmark { color: #cfcfcf; }
.intro, .pt { background: var(--green-deep); }
html.theme-green { --green-deep: #0b241c; --green: #123a2f; --green-soft: #e6efeb; --sea: #2e6b5a; --sea-light: #8fc9b3; --underline: #9fd8ef; --card: #10332a; --deep-rgb: 11,36,28; }
html.theme-green .site-header .wordmark, html.theme-green .footer-brand .wordmark { color: inherit; }
/* Charcoal changes the greens only. Images and clips keep their real colours (Ema, 20 Oct: "take my site out of
   black and white"); the grayscale pass from earlier that day is gone. */

/* Hero still with a slow push-in, so the light trails keep a sense of motion */
.hero-video .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: hero-push 28s ease-in-out infinite alternate; }
@keyframes hero-push { from { transform: scale(1); } to { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .hero-video .hero-img { animation: none; } }

/* Book a call: two buttons instead of the calendar embed (19 Oct 2026) */
.btn-big { padding: 20px 34px; font-size: 1.15rem; }
.book-actions { gap: 16px; margin: 8px 0 18px; }

/* Gathering title (19 Oct 2026, Palomino's home hero): lines set left / centre / right slide toward the middle on scroll */
.book-hero { height: 150vh; padding: 0 !important; position: relative; }
.book-hero-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; padding: var(--header-h) 20px 0; will-change: transform; }
.gather-title { width: 100%; margin: 0; font-size: clamp(1.5rem, min(4.6vw, 7.5vh), 4rem); line-height: 1.08; letter-spacing: -.02em; }
.gather-title .ln { display: block; will-change: transform; }
.gather-title .ln.l { text-align: left; }
.gather-title .ln.c { text-align: center; }
.gather-title .ln.r { text-align: right; }
.book-hero + section { position: relative; z-index: 1; }
@media (max-width: 960px) { .book-hero { height: 120vh; } .gather-title { font-size: clamp(1.4rem, 6.8vw, 2.2rem); } }

/* Home hero headline across the whole screen (Ema, 19 Oct: "too small and does not stretch across the whole screen
   on desktop"): the hero column drops the 1180px cap and the headline scales with the screen width up to 10rem. */
.hero-video .wrap { max-width: none; padding-left: 20px; padding-right: 20px; }
.hero-words { font-size: clamp(2.8rem, 7.6vw, 11.5rem); line-height: .98; max-width: none; letter-spacing: -.025em; }   /* three set lines (Ema, 20 Oct): bigger on a full desktop screen, never edge to edge */
.hero-after .lede { max-width: 60ch; font-size: clamp(1.1rem, 1.4vw, 1.5rem); }
@media (max-width: 640px) { .hero-words { font-size: clamp(2.2rem, 10.4vw, 3.4rem); } }

/* Full desktop width (Ema, 19 Oct: "all the content on the homepage to be optimized for full desktop screen view").
   The content column is fluid up to 1800px with a gutter that grows with the screen; body type and the big headings
   scale with the viewport; the service cards grow with the screen height. Site-wide, so every page matches. */
:root { --wrap: 1800px; }
.wrap { padding-left: clamp(20px, 3.5vw, 72px); padding-right: clamp(20px, 3.5vw, 72px); }
body { font-size: clamp(17px, 0.3vw + 14px, 20px); }
h2 { font-size: clamp(2rem, 3.6vw, 4.6rem); }
.hero-video h1.hero-words { max-width: none; }
.hero-video .wrap { padding-left: clamp(20px, 3.5vw, 72px); padding-right: clamp(20px, 3.5vw, 72px); }
.fam-stack { font-size: clamp(1.9rem, 4.6vw, 5.2rem); }
.fam-line { max-width: 24ch; }
.vision-line { font-size: clamp(1.7rem, 3.6vw, 4.4rem); max-width: 26ch; }
.svc-card { height: clamp(440px, calc(100svh - 196px), 780px); grid-template-columns: 4fr 5fr 3fr; }
.svc-line { font-size: clamp(1.25rem, 1.9vw, 2.1rem); }
.svc-body p:not(.svc-line) { font-size: clamp(1rem, 1.1vw, 1.3rem); max-width: 50ch; }
.svc-list ul { font-size: clamp(.95rem, 1vw, 1.2rem); }
.svc-media h3 { font-size: clamp(1.5rem, 2.6vw, 3rem); }
.feat-cap h3 { font-size: clamp(1.4rem, 1.6vw, 2rem); }
.feat-cap p, .feat-cap span { font-size: clamp(1rem, 1vw, 1.2rem); }
.slide .lede, .page-hero .lede { font-size: clamp(1.1rem, 1.3vw, 1.5rem); max-width: 60ch; }
.work-hero h1 { font-size: clamp(3.4rem, 10vw, 11rem); }
.work-row { height: clamp(96px, 8vh, 132px); }

/* Pillar cards on phones, in Palomino's order: image with the number and title on it, then the text, then the list */
@media (max-width: 960px) {
  .pil-group { display: flex; flex-direction: column; position: relative; }
  .pil-group .pil-media { order: 0; position: relative; }
  .pil-group .pil-mhead { order: 1; padding-top: 16px; }
  .pil-group .eyebrow { order: 2; }
  .pil-group .pil-item { order: 3; }
  .pil-mhead .n { position: absolute; top: 30px; left: 30px; z-index: 2; margin: 0; font-size: 1.1rem; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
  .pil-mhead h2 { position: absolute; left: 30px; right: 30px; z-index: 2; margin: 0; font-size: clamp(1.4rem, 6vw, 1.9rem); text-shadow: 0 1px 10px rgba(0,0,0,.55); --mh: 0; }
  .pil-group .pil-media::after { content: ""; position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 55%); pointer-events: none; }
  .pil-group:not(.has-media) .pil-mhead .n, .pil-group:not(.has-media) .pil-mhead h2 { position: static; text-shadow: none; }
  .pil-mhead p { padding-top: 2px; }
}

/* Phone cards, closer to Palomino: a tall image (their 400px block), a big number, lighter text, a link at the foot */
@media (max-width: 960px) {
  .pil-group { padding: 12px 12px 18px; margin-bottom: 16px; border-radius: 10px; }
  .pil-group .pil-media { aspect-ratio: 4 / 5; max-height: 440px; border-radius: 8px; }
  .pil-mhead .n { top: 26px; left: 26px; font-size: 1.6rem; font-weight: 700; }
  .pil-mhead h2 { left: 26px; right: 26px; font-size: clamp(1.5rem, 6.4vw, 2rem); line-height: 1.05; }
  .pil-mhead p { font-size: 1rem; line-height: 1.5; color: rgba(255,255,255,.66); padding: 14px 6px 0; }
  .pil-group .eyebrow { padding: 0 6px; margin: 18px 0 4px; font-size: .72rem; }
  .pil-item { padding: 9px 6px; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.14); }
  .pil-group .pil-item:last-of-type { border-bottom: 0; }
  .pil-group::after { content: "Book a call \2192"; order: 4; display: block; padding: 18px 6px 0; font-family: var(--font-display); font-weight: 650; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
  .hiw-hero { padding-top: 40px !important; }
  .hiw-video { aspect-ratio: 4 / 3; }
}

/* Service cards on phones (Ema, 19 Oct: "what I help with" looked wrong): the full-width rule above re-imposed the
   three-column grid under 960px. This block comes last: one column, a tall image with the number and title on it,
   headline, text, the list, then the links, as on Palomino's phone services. */
@media (max-width: 960px) {
  .svc-stack { gap: 16px; }
  .svc-card { height: auto !important; grid-template-columns: 1fr !important; grid-template-rows: auto; gap: 16px 0; padding: 12px 12px 18px; }
  .svc-media { grid-row: auto; aspect-ratio: 4 / 5; max-height: 440px; border-radius: 8px; }
  .svc-media .n { top: 22px; left: 22px; font-size: 1.5rem; }
  .svc-media h3 { left: 22px; right: 22px; bottom: 20px; font-size: clamp(1.5rem, 6.4vw, 2rem); }
  .svc-body { padding: 4px 6px 0; }
  .svc-line { font-size: clamp(1.25rem, 5.4vw, 1.6rem); }
  .svc-body p:not(.svc-line) { font-size: 1rem; max-width: none; }
  .svc-list { padding: 0 6px; }
  .svc-list ul { font-size: 1rem; }
  .svc-links { grid-column: auto; flex-direction: column; gap: 10px; align-items: flex-start; padding: 16px 6px 0; }
  .svc-links a { white-space: nowrap; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
  .svc-section { padding: 48px 0 40px !important; }
}

/* Case studies, rebuilt 20 Oct 2026 with the real work shown: a numbers row under the overview, then "The work, up
   close": one section per focus area (strategy, logo lock-up, typography, colour, packages, systems, print, people),
   each a heading, a lede, a plain list where the work is words, and a gallery of the pieces. Phone screenshots sit in
   a tall frame; everything else keeps its own proportions, so a brand-book page reads as a page. */
.cs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line-dark); }
.cs-stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: -.02em; margin-bottom: 10px; }
.cs-stat span { color: var(--on-dark-muted); font-size: 1rem; max-width: 22ch; display: block; }
.cs-windows-label { padding: 0 0 28px; }
.cs-process-wrap { background: var(--green-deep); color: #fff; padding-top: 96px; }
.cs-process-wrap > .wrap > .cs-windows-label { padding-bottom: 0; }
.cs-process { padding: 56px 0 72px !important; }
.cs-process + .cs-process { border-top: 1px solid var(--line-dark); }
.cs-g-head { max-width: 1000px; }
.cs-g-head .eyebrow .n { opacity: .6; margin-right: 10px; }
.cs-g-head h2 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); margin: 0 0 .35em; max-width: 20ch; letter-spacing: -.015em; }
.cs-g-lede { font-size: 1.15rem; color: var(--on-dark-muted); max-width: 62ch; margin: 0 0 8px; }
.cs-g-list { list-style: none; margin: 24px 0 8px; padding: 0; max-width: 760px; }
.cs-g-list li { padding: 14px 0; border-top: 1px solid var(--line-dark); font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.cs-g-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.cs-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px 20px; margin-top: 40px; align-items: start; }
.cs-gallery:empty { display: none; }
.cs-g-item { margin: 0; grid-column: span 3; }
.cs-g-item.span-wide { grid-column: span 6; }
.cs-g-item.span-two { grid-column: span 4; }
.cs-g-item.span-third { grid-column: span 2; }
.cs-g-item.span-phone { grid-column: span 2; }
.cs-g-media { border-radius: 10px; overflow: hidden; background: var(--card); }
.cs-g-media > * { width: 100%; height: auto; display: block; }
.cs-g-phone .cs-g-media { aspect-ratio: 390 / 844; max-width: 360px; margin: 0 auto; }
.cs-g-phone .cs-g-media > * { height: 100%; object-fit: cover; object-position: top; }
.cs-g-item figcaption { margin-top: 12px; font-size: .98rem; color: var(--on-dark-muted); max-width: 60ch; }
.cs-g-item figcaption b { color: #fff; font-weight: 650; }
.cs-quote { padding: 72px 0 !important; }
.cs-quote blockquote { margin: 0; max-width: 32ch; }
.cs-quote p { font-family: var(--font-display); font-weight: 650; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.15; margin: 0 0 .6em; }
.cs-quote cite { font-style: normal; color: var(--on-dark-muted); }
@media (max-width: 960px) {
  .cs-gallery { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .cs-g-item, .cs-g-item.span-wide, .cs-g-item.span-two { grid-column: span 2; }
  .cs-g-item.span-third, .cs-g-item.span-phone { grid-column: span 1; }
  .cs-stats { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .cs-process-wrap { padding-top: 64px; }
}
/* On phones the window write-up covers most of a light brand-book page, so the gradient behind it is deeper (20 Oct). */
@media (max-width: 960px) {
  .cs-lockup { background: linear-gradient(to top, rgba(var(--deep-rgb),.96) 0, rgba(var(--deep-rgb),.88) 55%, rgba(var(--deep-rgb),.35) 85%, rgba(var(--deep-rgb),0)); }
}
/* Services windows on phones (20 Oct): they carry a paragraph and three labelled lines, too much for a 4:5 panel with
   the text locked over the media. On phones the media sits on top as a 16:9 band and the write-up follows below it. */
@media (max-width: 960px) {
  .svc-windows .cs-window { height: auto; aspect-ratio: auto; display: flex; flex-direction: column; }
  .svc-windows .cs-window-media { position: relative; inset: auto; aspect-ratio: 16 / 9; height: auto; }
  .svc-windows .cs-window-media > * { position: absolute; inset: 0; }
  .svc-windows .cs-lockup { position: static; background: none; padding: 20px 20px 28px; }
}

/* How I work, Flexibility: words beside the family clip; clip above the words on phones (Ema, 20 Oct) */
.flex-split { gap: clamp(32px, 5vw, 96px); }
.flex-media { aspect-ratio: 16 / 10; border-radius: 10px; background: var(--card); }
.flex-media > video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 960px) {
  .flex-media { order: -1; }
}

/* Black fade behind every piece of text that sits on a clip or photo, so the media never takes over the words
   (Ema, 20 Oct). The fade is solid black where the text is and only lets the clip through above and to the right. */
.cs-lockup { padding-top: clamp(96px, 16vh, 200px); background: linear-gradient(to top, rgba(0,0,0,.92) 0, rgba(0,0,0,.84) 55%, rgba(0,0,0,.45) 82%, rgba(0,0,0,0) 100%); }
.cs-window-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.55) 0, rgba(0,0,0,.25) 50%, rgba(0,0,0,0) 80%); pointer-events: none; }
.svc-clip::after { background: linear-gradient(to top, rgba(0,0,0,.88) 0, rgba(0,0,0,.55) 32%, rgba(0,0,0,.12) 62%, rgba(0,0,0,.4) 100%); }
.svc-lockup .eyebrow .el { margin-left: 14px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.35); color: var(--sea-light); }
/* Services hero: an element clip behind the opening paragraph, under a black fade heaviest behind the words */
.svc-hero.video-hero { min-height: 78vh; }
.svc-hero .band-bg video { opacity: 1; filter: none; }
.svc-hero .band-bg::after { background: linear-gradient(to top, rgba(0,0,0,.94) 0, rgba(0,0,0,.78) 40%, rgba(0,0,0,.45) 75%, rgba(0,0,0,.55) 100%), linear-gradient(to right, rgba(0,0,0,.6) 0, rgba(0,0,0,0) 70%); }
.svc-hero .lede { color: #fff; }
.svc-hero-note { max-width: 60ch; margin: 1.2em 0 0; color: var(--on-dark-muted); }
.svc-hero-note a { color: #fff; }
@media (max-width: 960px) {
  .cs-lockup { padding-top: clamp(72px, 14vh, 140px); background: linear-gradient(to top, rgba(0,0,0,.96) 0, rgba(0,0,0,.9) 60%, rgba(0,0,0,.4) 88%, rgba(0,0,0,0) 100%); }
  .svc-windows .cs-lockup { padding-top: 20px; background: none; }
  .svc-hero.video-hero { min-height: 88svh; }
}
/* Services windows on a computer: the words sit on the left over solid black that clears towards the right, so the
   clip shows in full on the open side however long the write-up is. */
@media (min-width: 961px) {
  .svc-windows .cs-lockup { top: 0; display: flex; flex-direction: column; justify-content: flex-end; padding-top: clamp(24px, 4vw, 56px);
    background: linear-gradient(to right, rgba(0,0,0,.9) 0, rgba(0,0,0,.84) 36%, rgba(0,0,0,.45) 56%, rgba(0,0,0,0) 74%); }
  .svc-windows .cs-window-media::after { background: linear-gradient(to top, rgba(0,0,0,.45) 0, rgba(0,0,0,0) 40%); }
}
/* Services panels: the service name is the title, and the line that says what it is sits above it in small type
   (Ema, 20 Oct). The small line can run to two lines, so it gets a measure and line height. */
.svc-lockup .eyebrow { max-width: 58ch; line-height: 1.55; }
.svc-lockup h2 { max-width: none; font-size: clamp(2rem, 4.2vw, 3.6rem); }
/* Services opening paragraph as a subheading (Ema, 20 Oct): display type, larger, white */
.svc-hero .lede { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 1.9vw, 2.1rem); line-height: 1.32; letter-spacing: -.005em; max-width: 46ch; }
.svc-hero-note { font-size: clamp(1rem, 1.1vw, 1.2rem); }
/* Services panels on shorter laptop screens (Ema's write-ups grew on 20 Oct): tighter type and spacing so the whole
   write-up fits inside the panel, with the black fade solid a little further across for the wider text. */
@media (min-width: 961px) and (max-height: 860px) {
  .svc-windows .cs-lockup { padding: 22px clamp(28px, 3.4vw, 48px);
    background: linear-gradient(to right, rgba(0,0,0,.9) 0, rgba(0,0,0,.86) 44%, rgba(0,0,0,.45) 62%, rgba(0,0,0,0) 78%); }
  .svc-lockup .eyebrow { margin-bottom: .45em; }
  .svc-lockup h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: .22em; }
  .svc-lockup > p { font-size: .98rem; line-height: 1.5; max-width: 66ch; margin-bottom: 0; }
  .svc-lockup dl { font-size: .86rem; margin-top: 12px; gap: 3px 16px; max-width: 76ch; }
}
@media (min-width: 961px) and (max-height: 740px) {
  .svc-lockup > p { font-size: .93rem; }
  .svc-lockup dl { font-size: .82rem; }
}
/* Services: the note under Brand and website, with the Foxton Creative logo popping in on scroll (Ema, 20 Oct) */
.svc-partner { padding: clamp(72px, 10vw, 140px) 0; }
.svc-partner-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.svc-partner h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); margin-bottom: .45em; }
.svc-partner-words > p:not(.eyebrow) { max-width: 52ch; font-size: clamp(1.05rem, 1.2vw, 1.25rem); color: var(--on-dark-muted); }
.svc-partner-link { color: #fff; font-family: var(--font-display); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.svc-partner-link:hover { border-bottom-color: #fff; }
.svc-partner-logo { display: block; width: min(100%, 420px); justify-self: end; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.svc-partner-logo img { display: block; width: 100%; height: auto; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.svc-partner-logo:hover img { transform: scale(1.04); }
.logo-pop { opacity: 0; transform: translateY(48px) scale(.82); filter: blur(12px); clip-path: inset(22% 22% 22% 22% round 12px);
  transition: opacity .9s ease, transform 1.3s cubic-bezier(.16,1.25,.3,1), filter 1s ease, clip-path 1.2s cubic-bezier(.16,1,.3,1); }
.logo-pop.in { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0 round 12px); }
html:not(.js-reveal) .logo-pop { opacity: 1; transform: none; filter: none; clip-path: none; }
@media (prefers-reduced-motion: reduce) { .logo-pop { opacity: 1; transform: none; filter: none; clip-path: none; transition: none; } }
@media (max-width: 960px) {
  .svc-partner-grid { grid-template-columns: 1fr; }
  .svc-partner-logo { justify-self: start; width: min(100%, 320px); }
}
/* Home: What I help with as the Services list (Ema, 20 Oct) */
.svc-home-list { display: block; margin-top: clamp(16px, 3vw, 40px); }
.svc-home-all { margin: clamp(24px, 3vw, 40px) 0 0; }
.svc-home-all a { color: #fff; font-family: var(--font-display); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.svc-home-all a:hover { border-bottom-color: #fff; }
/* Service lists (home and Services): the one-line descriptions are longer than client names, so that column gets more
   room and may wrap to two lines instead of being cut off */
@media (min-width: 961px) {
  .services .work-row, .svc-home-list .work-row { grid-template-columns: 1.1fr 5fr 4.6fr 1.3fr 1.1fr; }
  .services .work-row .r-industry, .svc-home-list .work-row .r-industry { white-space: normal; line-height: 1.45; text-overflow: clip; }
}
/* Hero line on one line on a computer, balanced lines on a phone (Ema's option 1, 20 Oct) */
.hero-after .lede { max-width: 70ch; text-wrap: balance; }
/* Home list without the Element column (Ema, 20 Oct) */
@media (min-width: 961px) { .svc-home-list .work-row { grid-template-columns: 1.1fr 5fr 5.6fr 1.3fr; } }

/* Work: on hover the client's light logo (transparent, no panel) fades in, and their hover video fades in behind it
   (Ema, 21 Oct). Grid cards and the list view's pointer preview do the same. */
.work-media { position: relative; }
.work-hover { position: absolute; inset: 0; pointer-events: none; }
.work-hover .wh-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease .15s; }
.work-hover .wh-wash { position: absolute; inset: 0; background: var(--wash, rgba(0,0,0,.42)); opacity: 0; transition: opacity .5s ease; }
.work-hover .wh-logo { position: absolute; left: 50%; top: 50%; width: min(46%, 300px); max-height: 52%; object-fit: contain;
  transform: translate(-50%, -50%) scale(.92); opacity: 0; transition: opacity .6s ease, transform .9s cubic-bezier(.16,1,.3,1);
  filter: drop-shadow(0 2px 16px rgba(0,0,0,.28)); }
.work-card:hover .wh-wash, .work-card:focus-visible .wh-wash { opacity: 1; }
.work-card:hover .wh-video.on, .work-card:focus-visible .wh-video.on { opacity: 1; }
.work-card:hover .wh-logo, .work-card:focus-visible .wh-logo { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.work-card:hover .work-media > .work-hover { transform: none; }
.wp-media { position: relative; }
.wp-media > .wp-wash { position: absolute; inset: 0; transform: none; }
.wp-media > .wp-logo-over { position: absolute; left: 50%; top: 50%; width: 52%; height: 56%; object-fit: contain; transform: translate(-50%, -50%) scale(1.06);
  filter: drop-shadow(0 2px 14px rgba(0,0,0,.3)); }
/* Keep the logo centred while the preview shows: ".work-preview.on .wp-media > *" settles the media with scale(1),
   which also wiped the logo's translate and pushed it to the bottom right (Ema, 21 Oct). */
.work-preview.on .wp-media > .wp-logo-over { transform: translate(-50%, -50%) scale(1); }
.work-preview .wp-media > .wp-wash { transform: none; }
@media (prefers-reduced-motion: reduce) { .work-hover *, .wp-media > * { transition: none !important; } }

/* YouTube clips in case studies (Adept, 21 Oct): a still until scrolled to, then the video muted on a loop,
   trimmed and sped up where the case says so. The player sits under a click-through layer so it reads as a clip. */
.yt-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #111 center / cover no-repeat; overflow: hidden; }
.cs-g-media > .yt-embed, .cs-cover > .yt-embed { height: auto; }
.yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; opacity: 0; transition: opacity .6s ease; }
.yt-embed.playing iframe { opacity: 1; }
.yt-link { position: absolute; right: 12px; bottom: 12px; z-index: 2; font: 600 .78rem/1 var(--font-display); letter-spacing: .04em; color: #fff; text-decoration: none;
  background: rgba(0,0,0,.6); padding: 7px 10px; border-radius: 6px; opacity: .85; }
.yt-link:hover { opacity: 1; }
.cs-link { margin: 1.4em 0 0; }
.cs-link a { color: inherit; font-family: var(--font-display); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* Home page featured work: the same hover as the Work grid (Ema, 21 Oct) */
.feat-media { position: relative; }
.feat .work-hover { transform: none !important; }
.feat:hover .wh-wash, .feat:focus-visible .wh-wash { opacity: 1; }
.feat:hover .wh-video.on, .feat:focus-visible .wh-video.on { opacity: 1; }
.feat:hover .wh-logo, .feat:focus-visible .wh-logo { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.feat-media > .work-hover { width: auto; height: auto; }
/* About: a slow band of Ema's photos drifting sideways, after the story (Ema, 21 Oct). Two copies of the row make the
   loop seamless; it pauses on hover, and stands still for reduced motion. */
.ab-band { padding: clamp(56px, 8vw, 110px) 0; overflow: hidden; }
.ab-band .eyebrow { margin-bottom: 22px; }
.ab-band-track { display: flex; width: max-content; animation: ab-band 110s linear infinite; }
.ab-band:hover .ab-band-track { animation-play-state: paused; }
.ab-band-row { display: flex; gap: 18px; padding-right: 18px; }
.ab-band figure { margin: 0; height: clamp(220px, 30vw, 380px); border-radius: 8px; overflow: hidden; background: var(--card); flex: none; }
.ab-band img { height: 100%; width: auto; display: block; }
@keyframes ab-band { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ab-band-track { animation: none; } .ab-band { overflow-x: auto; } }
/* Nothing scrolls the page sideways (the fanned pillar lists poked 6px past the edge). clip, unlike hidden, keeps the
   pinned (sticky) sections working. */
html, body { overflow-x: clip; }

/* A sliding window with no picture (21 Oct, Ema: no images on the Adept "What I built" windows): the card sizes to
   its text, which sits on the plain card colour instead of over a photo. */
.cs-window.cs-window--text { height: auto; aspect-ratio: auto; min-height: clamp(260px, 40vh, 420px); display: flex; align-items: flex-end; }
.cs-window--text .cs-lockup { position: relative; flex: 1; background: none; padding: clamp(28px, 4vw, 56px); }
.cs-window--text .cs-lockup h2 { max-width: 22ch; }

/* 19 Nov 2026 (Ema): on phones the logo, tagline and "Working with clients" line sit under the page links
   (first hidden, then brought back the same evening in this position). Desktop is unchanged. */
@media (max-width: 720px) {
  .footer-grid > div:nth-child(2) { order: 1; }
  .footer-grid > div:nth-child(1) { order: 2; }
  .footer-grid > div:nth-child(3) { order: 3; }
}

/* 19 Nov 2026 (Ema): on phones the booking page shows "The three questions I will ask." before the Book a call and
   Email me buttons (desktop keeps buttons first). */
@media (max-width: 720px) {
  body.book main { display: flex; flex-direction: column; }
  body.book main > .book-hero { order: 1; }
  body.book main > .pillars { order: 2; position: relative; z-index: 1; }
  body.book main > .book-cal { order: 3; }
}

/* 19 Nov 2026 (Ema): the phone menu's email is black, not white (".drawer-foot a" was winning), and LinkedIn and
   Facebook are gone from the menu as well as the footer. */
.drawer-foot .drawer-mail { color: var(--ink); opacity: 1; }

/* 19 Nov 2026 (Ema): the About page's closing "Let's find out if I can help." plays the shoreline clip (Mixkit 1925, V15)
   behind a dark veil so the heading and button stay readable. */
.cta-clip { position: relative; overflow: hidden; isolation: isolate; }
.cta-clip .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-clip::before { content: ""; position: absolute; inset: 0; background: rgba(10, 11, 10, .55); z-index: -1; }

/* 19 Nov 2026 (Ema): My story on About shows the home page's My vision portrait, in the same black and white. */
.ab-sp.bw img { filter: grayscale(1) contrast(1.05); object-position: 50% 30%; }

/* ===== 19 Nov 2026: booking calendar and thank-you page (src/assets/js/booking.js) =====
   The calendar sits on the dark ground in the site's own type and colours. Everything is scoped to .bk and .booked. */
.bk { background: var(--card); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px; margin: 0 0 28px; }
.bk[hidden], .bk [hidden], .bk-on #bk-google[hidden] { display: none !important; }
.bk-on #bk-google { display: none; }
.bk .eyebrow { margin-bottom: .8em; }
.bk-zone { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 22px; }
.bk-zone p { margin: 0; color: var(--on-dark-muted); }
.bk-select, .bk-field input, .bk-field textarea { font: inherit; font-size: 1rem; color: #fff; background: var(--green-deep); border: 1px solid rgba(255,255,255,.35); border-radius: 10px; padding: 12px 14px; min-height: 48px; max-width: 100%; }
.bk-select { padding-right: 10px; }
.bk-status { margin: 0 0 8px; }
.bk-pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.bk-month-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bk-month { font-size: 1.35rem; margin: 0; text-align: center; flex: 1; }
.bk-nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font: inherit; font-size: 1.2rem; cursor: pointer; }
.bk-nav:hover:not(:disabled) { background: rgba(255,255,255,.1); }
.bk-nav:disabled { opacity: .3; cursor: default; }
.bk-dow, .bk-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.bk-dow span { text-align: center; font-family: var(--font-display); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sea-light); padding: 4px 0 8px; }
.bk-day { min-height: 48px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: rgba(255,255,255,.3); font: inherit; font-size: 1rem; padding: 0; cursor: default; }
.bk-day:not(:disabled) { color: #fff; border-color: rgba(255,255,255,.4); cursor: pointer; font-weight: 650; }
.bk-day:not(:disabled):hover { background: rgba(255,255,255,.12); }
.bk-day.is-today:disabled { text-decoration: underline; text-underline-offset: 4px; }
.bk-day.is-on, .bk-slot.is-on { background: #fff; color: var(--green-deep); border-color: #fff; }
.bk-times h3 { margin-bottom: 14px; }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.bk-slot { min-height: 48px; border-radius: 999px; border: 1px solid rgba(255,255,255,.55); background: transparent; color: #fff; font-family: var(--font-display); font-weight: 650; font-size: 1rem; cursor: pointer; }
.bk-slot:hover { background: rgba(255,255,255,.12); }
.bk button:focus-visible, .bk select:focus-visible, .bk input:focus-visible, .bk textarea:focus-visible, .bk a:focus-visible, .bk-link:focus-visible { outline: 3px solid var(--underline); outline-offset: 2px; }
.bk-form, .bk-pick { scroll-margin-top: 96px; }
.bk-note { margin: 18px 0 0; padding: 12px 16px; border-left: 3px solid var(--underline); background: rgba(255,255,255,.06); max-width: none; }
.bk-form { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line-dark); max-width: 620px; }
.bk-chosen { font-family: var(--font-display); font-weight: 650; font-size: 1.2rem; margin: 0 0 20px; }
.bk-link { background: none; border: 0; color: var(--sea-light); font: inherit; font-size: .95rem; text-decoration: underline; cursor: pointer; padding: 12px 6px; min-height: 44px; }
.bk-field { margin: 0 0 18px; }
.bk-field label { display: block; font-weight: 650; margin-bottom: 6px; }
.bk-field input { width: 100%; }
.bk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.bk-field input[aria-invalid="true"] { border-color: #ffb4a8; }
.bk-err { color: #ffb4a8; margin: 6px 0 0; font-size: .95rem; max-width: none; }
.bk-err a { color: #fff; }
.bk-policy { margin: 26px 0 24px; }
.bk-policy p.small { color: var(--on-dark-muted); max-width: 62ch; }
.bk-policy .eyebrow { margin-bottom: .5em; }
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bk-turnstile { margin: 0 0 14px; }
.bk-form .btn { cursor: pointer; font-size: 1.15rem; }
.bk-form .btn:disabled { opacity: .6; cursor: default; transform: none; }
@media (max-width: 720px) {
  .bk { padding: 20px 16px; }
  .bk-pick { grid-template-columns: 1fr; gap: 24px; }
  .bk-two { grid-template-columns: 1fr; }
  .bk-form .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .bk * { transition: none !important; scroll-behavior: auto !important; } }
.booked .lede { color: #fff; margin-bottom: .6em; }
.booked-qs { margin: 32px 0 34px; max-width: 58ch; }
.booked-qs ul { margin: 0; padding-left: 1.2em; font-family: var(--font-display); font-weight: 650; font-size: 1.2rem; line-height: 1.4; }
.booked-qs li { margin-bottom: .4em; }
