/* =====================================================================
   Carson Powell — design system
   1. Tokens   2. Base   3. Grid   4. Components   5. Sections   6. Responsive   7. Booking pages
   Every colour, size, space, radius and shadow comes from the tokens.
   See design-system.html for the visual reference.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------------------- */
:root {
    /* Colour: the Carson T. Powell Studio palette (brand/studio/, brand guide p.2): Ink, Ivory, Clay (marks on ivory),
       Apricot (marks on ink) and Ash (secondary text on ink) */
    --color-white: #ffffff;          /* booking pages and contact */
    --color-paper: #eeeae4;          /* page background */
    --color-surface: #f6f3ee;        /* raised light surface */
    --color-surface-2: #e7e1d8;      /* quiet tinted band */
    --color-ink: #0c0c0c;            /* text and dark sections */
    --color-text: #0c0c0c;
    --color-text-2: rgba(12, 12, 12, 0.84);
    --color-text-3: rgba(12, 12, 12, 0.74);
    --color-line: rgba(12, 12, 12, 0.22);
    --color-line-strong: #0c0c0c;
    --color-accent: #b64729;         /* Clay: the one accent on light pages */
    --color-accent-strong: #9c3b21;
    --color-apricot: #ea8967;        /* Apricot: the accent on ink */
    --color-ash: #c3b9af;            /* Ash: secondary text on ink */
    --color-accent-tint: #fbefea;    /* selected time on the booking page */
    --color-sand: #d8cbb8;
    --color-stone: #6f6a64;
    --color-on-dark: #eeeae4;
    --color-on-dark-2: rgba(238, 234, 228, 0.86);
    --color-on-dark-3: #c3b9af;      /* Ash */
    --color-line-dark: rgba(238, 234, 228, 0.18);
    --color-error: #b3261e;
    --color-holly: #2f5a36;          /* holiday clay: holly leaf (pricing deal card only) */
    --color-holly-berry: #c23a2b;    /* holiday clay: berry, a warmer red than Clay */

    /* Type (brand guide p.2): Times New Roman for headlines, set regular with tight spacing; Arial for body and interface.
       Both are system fonts, so nothing is downloaded. --font-serif (lead text and quotes) follows the body face. */
    --font-display: 'Times New Roman', 'Liberation Serif', Times, serif;
    --font-serif: Arial, 'Liberation Sans', Helvetica, sans-serif;
    --font-sans: Arial, 'Liberation Sans', Helvetica, sans-serif;

    /* type scale: every size sits on a 4px grid. Text steps up 4px at a time (12, 16, 20, 24, 28); headlines take bigger
       steps on the same grid (40, 64, 80). Fixed sizes, no in-between fluid values; on phones the headlines step down (display 48, h1 32, h2 24, h3 20). */
    --text-display: 80px;   /* hero headline */
    --text-stat: 64px;      /* big numbers: the 3x stat, prices */
    --text-h1: 40px;        /* section titles */
    --text-h2: 28px;        /* project, service, card and call-to-action titles */
    --text-h3: 24px;        /* steps, FAQ questions, lines in the rocket card */
    --text-lead: 20px;      /* lead text, names, tab text */
    --text-body: 16px;
    --text-small: 16px;     /* same as body: smaller text is told apart by colour, not size */
    --text-label: 12px;     /* captions, kickers, tags, fine print */
    --text-micro: 12px;

    --leading-tight: 1.02;
    --leading-snug: 1.2;
    --leading-body: 1.55;
    --tracking-display: -0.035em;

    /* Space: 4px grid */
    --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
    --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
    --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px; --space-32: 128px;

    /* GRID: every section sits on these columns. Change a value here and the whole site follows. */
    --grid-columns: 12;
    --grid-gap: 32px;                /* space between columns (24 on tablets, 16 on phones) */
    --container: 1200px;             /* widest the content gets */
    --gutter: max(32px, calc((100vw - var(--container)) / 2));   /* page margin (24 on phones) */

    /* RHYTHM: the only vertical gaps between big blocks */
    --section-y: clamp(72px, 8.5vw, 124px);    /* above and below every section */
    --head-gap: clamp(40px, 4.4vw, 68px);    /* section title to its content */
    --card-pad: clamp(24px, 2.7vw, 40px);    /* inside every card */

    /* Nav pill: its inner padding is pulled back so the logo and button land on the page margins */
    --nav-pad-l: var(--space-4);
    --nav-pad-r: var(--space-4);     /* equal both sides, so the pill sits dead centre and the logo and button still land on the page margins */

    /* Shape */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 999px;
    --border: 1px;
    --border-strong: 1.5px;

    /* Depth: soft and neutral */
    --shadow-sm: 0 10px 30px -14px rgba(12, 12, 12, 0.28);
    --shadow-lg: 0 30px 60px -30px rgba(12, 12, 12, 0.55);

    /* Motion: colour changes only, one curve */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --duration: 0.2s;
}

/* ---------------------------------------------------------------------
   2. BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
    position: relative; overflow-x: hidden;
    background: var(--color-paper); color: var(--color-text);
    font: 400 var(--text-body)/var(--leading-body) var(--font-sans);
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 400; }
i, em { font-style: normal; }
b, strong { font-weight: 600; }
::selection { background: var(--color-sand); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; border-radius: 2px; }
.on-dark :focus-visible, .edge-big :focus-visible, .work-showcase :focus-visible, .cta-card :focus-visible, .contact :focus-visible, .site-footer :focus-visible, .menu :focus-visible { outline-color: var(--color-sand); }

.svg-sprite { position: absolute; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link {
    position: fixed; top: -120px; left: var(--space-3); z-index: 10001;
    padding: var(--space-3) var(--space-4); background: var(--color-ink); color: var(--color-on-dark);
    font: 500 var(--text-micro)/1 var(--font-sans); text-decoration: none;
}
.skip-link:focus { top: var(--space-3); }


section { position: relative; padding: var(--section-y) var(--gutter); }

/* neighbours on the same background share one gap instead of adding two together */
.edge, .process { padding-top: 0; }

/* ---------------------------------------------------------------------
   3. GRID
   Add class="grid" to a wrapper; each child then says how many of the
   12 columns it uses with --span, and where it starts with --start.
   Add ?grid to any page's address to see the columns drawn on top.
   --------------------------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr)); gap: var(--grid-gap); }
.grid > * { grid-column: var(--start, auto) / span var(--span, 12); min-width: 0; }

/* LAYOUT MAP: change a number here to move a block. Columns in each row should add up to 12. */
.hero-laptop            { --start: 2; --span: 10; }
.edge-big               { --span: 12; }
.edge-stat              { --span: 4; }
.process-intro          { --span: 6; }
.steps                  { --span: 6; }
.service-title          { --span: 5; }
.service-desc           { --span: 5; }
.service-icon           { --span: 2; }
.faq-list               { --start: 3; --span: 8; }

/* the ?grid overlay */
.show-grid body::after {
    --col: calc((100% - (var(--grid-columns) - 1) * var(--grid-gap)) / var(--grid-columns));
    content: ''; position: fixed; inset: 0 var(--gutter); z-index: 9999; pointer-events: none;
    background: repeating-linear-gradient(to right, rgba(194, 73, 43, 0.14) 0, rgba(194, 73, 43, 0.14) var(--col), transparent var(--col), transparent calc(var(--col) + var(--grid-gap)));
}

/* ---------------------------------------------------------------------
   4. COMPONENTS
   --------------------------------------------------------------------- */

/* Eyebrow: the small label above a title (brand guide: 12px, uppercase, 0.14em tracking); Clay on light, Apricot on ink */
.kicker, .eyebrow {
    display: block; width: fit-content;
    font: 600 12px/1.4 var(--font-sans); text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-text-3);   /* no orange text on the site: labels are grey */
}
.night .kicker, .night .eyebrow { color: var(--color-on-dark-3); }
.night :focus-visible { outline-color: var(--color-apricot); }   /* brand guide: Apricot focus ring on ink */
/* accent words and hover colours on ink use Apricot: Clay text on Ink is only 3.4:1 */
/* no orange text anywhere: the emphasised words in titles keep the title's colour, and hovers dim a little instead */
.night .ask-text i, .night .cta-title i, .night .section-title i, .night .contact-title i { color: inherit; }
.night .hero-laptop-cap a:hover, .night .faq-item summary:hover { color: var(--color-on-dark-2); }

/* Section header */
.section-head { margin: 0 auto var(--head-gap); text-align: center; }
.section-head .kicker { margin: 0 auto var(--space-4); }
.section-title { font: 400 var(--text-h1)/var(--leading-tight) var(--font-display); letter-spacing: var(--tracking-display); }

/* Buttons: one shape, three looks, colour-only hover */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3);
    height: 48px; padding: 0 var(--space-6); border-radius: var(--radius-pill);
    border: var(--border-strong) solid var(--color-ink); background: transparent; color: var(--color-ink);
    font: 500 16px/1 var(--font-sans); text-decoration: none; white-space: nowrap;
    transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.btn svg, .mobile-cta-icon { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover, .btn:focus-visible { background: var(--color-ink); color: var(--color-on-dark); }
.btn--primary { background: var(--color-ink); color: var(--color-on-dark); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.btn--light { background: var(--color-on-dark); border-color: var(--color-on-dark); color: var(--color-ink); }
.btn--light:hover, .btn--light:focus-visible { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.btn--accent { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.btn--accent:hover, .btn--accent:focus-visible { background: var(--color-accent-strong); border-color: var(--color-accent-strong); color: #fff; }
.btn--sm { height: 40px; padding: 0 var(--space-5); font-size: var(--text-body); }
.btn--lg { height: 50px; padding: 0 var(--space-6); font-size: var(--text-body); }

/* Tag */
.tag { font: 500 var(--text-micro)/1 var(--font-sans); padding: 6px var(--space-3); border: var(--border) solid currentColor; border-radius: var(--radius-pill); }

/* Form field + chip */
.field { display: grid; gap: var(--space-2); min-width: 0; border: 0; }
.field > span, .field legend { padding: 0; font: 600 16px/1.2 var(--font-sans); color: var(--color-text); }
.field input {
    width: 100%; height: 52px; padding: 0 var(--space-4); border-radius: var(--radius-sm);
    border: var(--border-strong) solid rgba(12, 12, 12, 0.32); background: var(--color-white);
    color: var(--color-text); font: 400 var(--text-body)/1.4 var(--font-sans);
    transition: border-color var(--duration) var(--ease);
}
.field input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent); }
.field input.is-bad { border-color: var(--color-error); }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.chip { display: block; position: relative; }
.chip input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip span {
    display: flex; align-items: center; justify-content: center; height: 48px; padding: 0 var(--space-3);
    border-radius: var(--radius-sm); border: var(--border) solid rgba(12, 12, 12, 0.22);
    font: 500 16px/1.15 var(--font-sans); text-align: center; cursor: pointer;
    transition: background-color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.chip span:hover { border-color: var(--color-ink); }
.chip input:checked + span { background: var(--color-accent-tint); border-color: var(--color-accent); box-shadow: inset 0 0 0 1px var(--color-accent); }
.chip input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* ---------------------------------------------------------------------
   5. SECTIONS
   --------------------------------------------------------------------- */

/* ----- Navigation ----- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: var(--space-3) var(--gutter); pointer-events: none; }
.nav-bar {
    pointer-events: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-6);   /* equal outer columns keep the links on the true centre */
    padding: var(--space-2) var(--nav-pad-r) var(--space-2) var(--nav-pad-l);
    margin-inline: calc(-1 * var(--nav-pad-l) - var(--border)) calc(-1 * var(--nav-pad-r) - var(--border));
    border-radius: var(--radius-pill); border: var(--border) solid transparent;
    transition: background-color var(--duration) var(--ease), border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.nav.scrolled .nav-bar { background: #f6f3ee; border-color: var(--color-line); box-shadow: var(--shadow-sm); }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--color-ink); font: 500 var(--text-lead)/1 var(--font-serif); letter-spacing: -0.01em; white-space: nowrap; pointer-events: auto; }
.logo-mark { display: block; height: 36px; width: auto; view-transition-name: site-logo; }   /* stays perfectly still while pages fade */
.nav-links { display: flex; gap: var(--space-1); font: 500 var(--text-body)/1 var(--font-sans); }
.nav-links a { padding: var(--space-3) var(--space-4); border-radius: var(--radius-pill); text-decoration: none; transition: background-color var(--duration), color var(--duration); }
.nav-links a:hover, .nav-links a.active { background: var(--color-ink); color: var(--color-on-dark); }
.nav-end { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-2); }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: var(--border-strong) solid var(--color-ink); background: var(--color-surface); pointer-events: auto; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--duration) var(--ease), top var(--duration) var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.menu-open { overflow: hidden; }
.menu-open .nav-toggle { background: var(--color-on-dark); border-color: var(--color-on-dark); color: var(--color-ink); }
.menu-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.menu-open .nav.scrolled .nav-bar { background: transparent; border-color: transparent; box-shadow: none; }

.menu {
    position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: center;
    padding: 100px var(--gutter) var(--space-10); background: var(--color-ink); color: var(--color-on-dark);
    opacity: 0; visibility: hidden; transition: opacity var(--duration) var(--ease), visibility 0s var(--duration);
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity var(--duration) var(--ease), visibility 0s; }
.menu-link { display: block; padding: var(--space-1) 0; font: 400 48px/1.05 var(--font-display); letter-spacing: var(--tracking-display); text-decoration: none; }
.menu-link:hover { color: var(--color-sand); }
.menu-foot { margin-top: var(--space-8); font: 400 var(--text-body)/1.6 var(--font-sans); color: var(--color-on-dark-2); }

/* ----- Hero: one centered statement ----- */
.hero { padding: 0 var(--gutter) var(--section-y); }
/* the statement and the clients own the first screen; the laptop appears as you scroll */
.hero-main { display: flex; align-items: center; justify-content: center; padding: 104px 0 var(--space-10); }   /* no full-screen min-height: the laptop below peeks above the fold */
.hero-left-col { display: flex; flex-direction: column; align-items: center; gap: var(--space-6); max-width: 1360px; text-align: center; }
.hero-title { text-wrap: balance; font: 400 var(--text-display)/1.02 var(--font-display); letter-spacing: -0.035em; }
.hero-title .line { display: block; }
/* a small label above the headline, inside the H1: says what I am and where, in plain sans */
.hero-kicker { display: block; margin-bottom: var(--space-4); font: 600 var(--text-label)/1.2 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-on-dark-3); }
.hero-intro { text-wrap: balance; max-width: 30em; font-size: var(--text-lead); line-height: var(--leading-body); color: var(--color-text-2); }
.hero-intro b { color: var(--color-text); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
.hero-trust { font: 400 var(--text-body)/1.4 var(--font-sans); color: var(--color-text); }
.hero-trust span { white-space: nowrap; }
.hero-review { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); max-width: 40em; margin: var(--space-2) 0 0; }
.hero-review-quote { text-wrap: balance; font: 400 var(--text-body)/1.45 var(--font-serif); letter-spacing: -0.01em; color: var(--color-text); }
.hero-review-by { font: 500 var(--text-label)/1.4 var(--font-sans); color: var(--color-text-3); }

/* Marketing page */
.proof-link { margin-top: var(--space-8); }
.about-face { display: block; width: min(100%, 320px); height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius-md); }

/* "Recent work for" line: introduces the laptop below it; each name jumps to its project */
.hero-clients { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-3) var(--space-8); margin-top: var(--space-2); padding-bottom: var(--space-6); border-bottom: var(--border) solid var(--color-line); width: 100%; }
.hero-clients-label { font: 500 var(--text-label)/1.4 var(--font-sans); color: var(--color-text-3); }
.hero-clients-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: var(--space-6) var(--space-12); }   /* logos share one bottom line */
.hero-clients-list a { display: block; opacity: 0.85; transition: opacity var(--duration) var(--ease); }
.hero-clients-list a:hover { opacity: 1; }
.hero-clients-list li { min-width: 0; }
/* sized by width with height auto, so when the row runs short they all shrink together and never stretch */
.client-logo { display: block; height: auto; max-width: 100%; }
.client-logo--clad { width: 188px; }
.client-logo--sebas { width: 276px; }
.client-logo--jr { width: 228px; }

/* ----- Hero laptop: MacBook on clay cushions (photo, recoloured); screen shows the Sebas.G site ----- */
.hero-laptop { position: relative; margin: 0; }
.hero-laptop-cap { margin-top: var(--space-4); text-align: center; font: 400 var(--text-label)/1.5 var(--font-sans); color: var(--color-text-3); }
.hero-laptop-cap a { margin-left: var(--space-1); color: var(--color-text); text-underline-offset: 3px; }
.hero-laptop-cap a:hover { color: var(--color-text-2); }
.laptop-scene { display: block; width: 100%; height: auto; }

/* ----- Hero, work first (index only): the statement on the left, the laptop on the right, proof underneath ----- */
.hero--split .hero-main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: var(--space-8) var(--space-12); padding: 112px 0 var(--space-6); }
.hero--split .hero-left-col { align-items: flex-start; gap: var(--space-6); max-width: none; text-align: left; }
.hero--split .hero-title { font-size: var(--text-display); line-height: 1.06; }
.hero--split .hero-title .line { display: inline; }
.hero--split .hero-intro { max-width: 24em; text-wrap: pretty; }
.hero--split .hero-actions { justify-content: flex-start; }
.hero--split .hero-laptop-cap { margin-top: var(--space-2); }
.hero-proof { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6) var(--space-12); padding-top: var(--space-6); border-top: var(--border) solid var(--color-line); }
.hero-proof .hero-review { align-items: flex-start; max-width: 34em; margin: 0; text-align: left; }
.hero-proof .hero-review-quote { text-wrap: pretty; }
.hero-proof .hero-clients { flex-wrap: nowrap; justify-content: flex-end; width: auto; margin: 0; padding: 0; border: 0; }
.hero-proof .hero-clients-list { flex-wrap: nowrap; gap: var(--space-10); }
.hero-proof .hero-clients-label { white-space: nowrap; }

/* ----- Hero (index only): a full-screen dark stage with a dithered print behind it (script: "Hero dither" in index.html) ----- */
.hero--film .hero-track { margin-inline: calc(-1 * var(--gutter)); }   /* out of the page margins: the stage runs edge to edge */
.hero--film .hero-pin { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(104px, 1fr) auto 1fr; min-height: 100svh; overflow: hidden; background: var(--color-ink); color: var(--color-on-dark); }
/* everything in the hero, the client logos included, fits on one screen: the cards and headline scale with the screen's height too.
   three rows of a full-screen stage: equal space above and below keeps the headline and Book a free call in the vertical middle;
   the quote row sits at the foot of the bottom space (the top space never shrinks under the nav) */
.hero--film .hero-main { position: relative; z-index: 1; grid-row: 2; display: block; padding: var(--space-4) var(--gutter); }
.hero--film .hero-left-col { max-width: 780px; margin-inline: auto; align-items: center; gap: var(--space-5); text-align: center; }
.hero--film .hero-title { font-size: var(--text-display); line-height: 1.02; text-shadow: 0 2px 24px rgba(12, 12, 12, 0.7); }
/* "websites" in the headline, in white liquid metal: horizontal white, silver and pewter reflection bands melted into slow
   molten swirls (brand/liquid-chrome.svg), flowing upward through the letters, with a hot white glint that sweeps across now and then.
   It moves on its own and ignores the pointer. */
.hero-title .foil {
    background-image:
        linear-gradient(105deg, transparent 44%, rgba(255, 255, 255, 0.8) 50%, transparent 56%),
        url("brand/liquid-chrome.svg");
    background-size: 260% 100%, 140% 420%;
    background-position: 160% 0, 50% 0%;
    /* impeccable-disable-next-line gradient-text -- user asked for liquid-metal lettering on this one word */
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
    text-shadow: none;   /* a shadow would show through the clear letters and dull the metal; the drop-shadow below keeps it off the background instead */
    filter: drop-shadow(0 2px 14px rgba(12, 12, 12, 0.55));
    animation: foil 14s ease-in-out infinite alternate;
}
/* the metal flows up through the word the whole time; the glint crosses once each way, near the end of each pass */
@keyframes foil {
    0%   { background-position: 160% 0, 50% 0%; }
    70%  { background-position: 160% 0, 44% 70%; }
    100% { background-position: -60% 0, 40% 100%; }
}
@media (prefers-reduced-motion: reduce) { .hero-title .foil { animation: none; } }
.hero--film .hero-intro { max-width: 30em; text-wrap: balance; }
.hero--film .hero-actions { flex-direction: column; align-items: center; justify-content: center; }
.hero--film .hero-actions .btn { width: 232px; }   /* both buttons the same size */
.hero--film .hero-intro, .hero--film .hero-trust { color: var(--color-on-dark-2); }
.hero--film .hero-actions .btn:not(.btn--light) { border-color: var(--color-on-dark); color: var(--color-on-dark); }
.hero--film .hero-actions .btn:not(.btn--light):hover, .hero--film .hero-actions .btn:not(.btn--light):focus-visible { background: var(--color-on-dark); color: var(--color-ink); }
.hero--film .hero-pin :focus-visible { outline-color: var(--color-sand); }
/* dark risograph-style dither across the whole stage (drawn by "Hero dither" in index.html); its dots stay crisp when enlarged,
   and it fades into the plain ink at the bottom, where the next section starts */
.hero-dither { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; image-rendering: pixelated;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%); }
.hero-dither.is-on { opacity: 1; }
/* three recent sites above the headline, fanned like a hand of cards: the middle one in front, the outer two tilted out behind it.
   They are printed into the background: the pictures are warmed and dimmed toward the clay inks, each card has a plain dark shadow,
   and its lower part dissolves into the dark through the same 3px dot screen the dither uses. The outer two sit further back, darker.
   Hovering or tabbing to one straightens it, brings it forward and shows its true colours. */
.hero-cards { display: flex; justify-content: center; align-items: center; align-self: center; width: min(880px, 94vw, 66svh); margin: 0 0 var(--space-2); padding: 0; list-style: none; }   /* wider than the text column: centred on it, spilling out evenly both sides (auto margins would push it all to the right) */
.hero-card { position: relative; flex: 0 0 38%; margin-inline: -4%; border-radius: 10px; overflow: hidden; background: var(--color-ink);
    box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.9);
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.5s ease; }
.hero-card a { display: block; border-radius: inherit; }
.hero-card a:focus-visible { outline-offset: -3px; }   /* inside the card, so the rounded clip doesn't cut it off */
.hero-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; filter: saturate(0.62) sepia(0.22) brightness(0.8) contrast(1.06); transition: filter 0.5s ease; }
/* warm wash over the picture, deepening to ink at the bottom */
.hero-card::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(203, 94, 59, 0.10) 0%, rgba(120, 52, 30, 0.12) 50%, rgba(12, 12, 12, 0.55) 100%); transition: opacity 0.5s ease; }
/* the dot screen: ink dots on a 3px grid, solid at the bottom edge and thinning out halfway up */
.hero-card::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(circle, var(--color-ink) 1.15px, transparent 1.25px) 0 0 / 3px 3px;
    -webkit-mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.7) 16%, transparent 55%);
            mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.7) 16%, transparent 55%); transition: opacity 0.5s ease; }
.hero-card--l { transform: translateY(16px) rotate(-7deg); }
.hero-card--r { transform: translateY(16px) rotate(7deg); }
.hero-card--l img, .hero-card--r img { filter: saturate(0.5) sepia(0.3) brightness(0.6) contrast(1.05); }   /* further back: darker and warmer */
.hero-card--c { z-index: 1; flex-basis: 44%; }
.hero-card:hover, .hero-card:focus-within { z-index: 2; transform: translateY(-6px) rotate(0deg); }
.hero-card:hover img, .hero-card:focus-within img { filter: none; }
.hero-card:hover::before, .hero-card:focus-within::before, .hero-card:hover::after, .hero-card:focus-within::after { opacity: 0.35; }
@media (prefers-reduced-motion: reduce) { .hero-card, .hero-card img, .hero-card::before, .hero-card::after { transition: none; } }
/* along the bottom of the stage: the quote and the client logos, in the light colours */
.hero-foot { position: relative; z-index: 1; grid-row: 3; align-self: end; padding: var(--space-6) var(--gutter); }
/* short desktop screens (laptops 720-820px tall): a little tighter still, so the logo row stays on screen */
@media (min-width: 901px) and (max-height: 820px) {
    .hero--film .hero-pin { grid-template-rows: minmax(84px, 1fr) auto 1fr; }
    .hero--film .hero-left-col { gap: var(--space-4); }
    .hero-cards { width: min(880px, 94vw, 58svh); }
    .hero--film .hero-actions { gap: var(--space-2); }
    .hero-foot { padding-block: var(--space-4); }
}
.hero--film .hero-proof { justify-content: center; padding-top: var(--space-5); border-top: var(--border) solid var(--color-line-dark); }   /* just the client logos now, centred */

/* the full studio signature in the footer (brand guide: the full name on its first appearance, the C alone in the nav) */
.footer-lockup { display: block; width: auto; height: 48px; }
.hero.hero--film { padding-bottom: 0; }   /* the logo strip ends the hero */


.hero--film .hero-review-quote { color: var(--color-on-dark); }
.hero--film .hero-review-by, .hero--film .hero-clients-label { color: var(--color-on-dark-3); }
.hero--film .client-logo { filter: brightness(0) invert(1); }   /* the grey logo files, shown light on the dark stage */

/* ----- Hero stage (index only): the headline near the top, then Book a free call and a plain
   "See my work" link side by side; a row of four tilted cards along the bottom that runs off the stage's lower edge (four client
   sites with their logo on top); then the client logos in white, spread evenly in their own strip.
   Selectors start with .hero.hero--stage so they win over the older .hero--film rules, including the ones in the media queries. ----- */
.hero.hero--stage .hero-pin { grid-template-rows: auto 1fr; }
.hero.hero--stage .hero-main { grid-row: 1; padding: clamp(112px, 15svh, 168px) var(--gutter) 0; }
.hero.hero--stage .hero-left-col { max-width: 900px; gap: var(--space-6); }
.hero.hero--stage .hero-title { font-size: var(--text-display); line-height: 1.04; }
.hero.hero--stage .hero-title .line { display: block; }
.hero.hero--stage .hero-kicker { margin-bottom: var(--space-5); }
.hero.hero--stage .hero-intro { max-width: 32em; }
.hero.hero--stage .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-4) var(--space-8); width: auto; }
.hero.hero--stage .hero-actions .btn { width: auto; flex: none; }
.hero-link { display: inline-flex; align-items: center; gap: 6px; font: 500 16px/1 var(--font-sans); color: var(--color-on-dark); text-decoration: none; transition: color var(--duration) var(--ease); }
.hero-link svg { width: 14px; height: 14px; transition: transform var(--duration) var(--ease); }
.hero-link:hover, .hero-link:focus-visible { color: var(--color-on-dark-2); }
.hero-link:hover svg, .hero-link:focus-visible svg { transform: translateX(3px); }

/* the cards: four website screenshots, as big as the row allows. Wider than the screen and centred, so the outer two are cut off
   by the sides and every card by the bottom edge. Just the pictures, nothing written on them. */
.hero-reel { position: relative; z-index: 1; grid-row: 2; align-self: end; display: flex; justify-content: center; align-items: flex-start;
    gap: clamp(10px, 1.2vw, 22px); margin: clamp(32px, 5svh, 64px) 0 calc(-1 * clamp(10px, 1.2vw, 24px)); padding: 0; list-style: none; }
.reel-card { position: relative; flex: 0 0 29vw; border: clamp(3px, 0.3vw, 6px) solid rgba(238, 234, 228, 0.92); border-radius: clamp(14px, 1.4vw, 24px);
    overflow: hidden; background: var(--color-ink);
    box-shadow: 0 -18px 60px -20px rgba(234, 137, 103, 0.28), 0 50px 90px -30px rgba(0, 0, 0, 1);   /* a faint warm glow above, a deep shadow below: lifts them off the dark */
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reel-card--2, .reel-card--3 { z-index: 1; }
.reel-card--1 { transform: translateY(6%) rotate(-5deg); }
.reel-card--2 { transform: translateY(0) rotate(2.5deg); }
.reel-card--3 { transform: translateY(3%) rotate(-2deg); }
.reel-card--4 { transform: translateY(7%) rotate(4deg); }
.reel-card a { display: block; border-radius: inherit; color: inherit; text-decoration: none; }
.reel-card a:focus-visible { outline-offset: -4px; }
.reel-shot { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.reel-card:hover, .reel-card:focus-within { z-index: 2; transform: translateY(-2%) rotate(0deg); }
@media (prefers-reduced-motion: reduce) { .reel-card, .reel-shot { transition: none; } }

/* recent work: white logos spread evenly across a plain strip under the stage */
.hero.hero--stage .hero-foot { grid-row: auto; padding: clamp(56px, 7vw, 104px) var(--gutter); background: var(--color-ink); }
.logo-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; justify-items: center; gap: var(--space-8) var(--space-6);
    max-width: var(--container); margin: 0 auto; padding: 0; list-style: none; }
.logo-strip a { display: block; opacity: 0.88; color: #fff; text-decoration: none; transition: opacity var(--duration) var(--ease); }
.logo-strip a:hover, .logo-strip a:focus-visible { opacity: 1; }
.logo-strip .client-logo { height: auto; }
.logo-strip .client-logo--jr { width: 168px; }
.logo-strip .client-logo--clad { width: 124px; }
.logo-strip .client-logo--sebas { width: 210px; }

@media (max-width: 900px) {
    .hero.hero--stage .hero-pin { grid-template-rows: auto auto; min-height: 0; }   /* phones: the cards follow the buttons instead of waiting at the foot of a full screen */
    .hero.hero--stage .hero-main { padding-top: 112px; }
    .hero-reel { align-self: start; margin-top: var(--space-12); }
    .hero.hero--stage .hero-title { font-size: var(--text-display); }
    .reel-card--1, .reel-card--4 { display: none; }   /* phones: the middle two only */
    .reel-card { flex-basis: 46vw; }
    .hero-reel { margin-bottom: -3vw; }
    .logo-strip { grid-template-columns: minmax(0, 1fr); }
    .logo-strip .client-logo--jr { width: 140px; }
    .logo-strip .client-logo--clad { width: 104px; }
    .logo-strip .client-logo--sebas { width: 160px; }
}
@media (max-width: 600px) {
    .hero.hero--stage .hero-actions { flex-direction: column; gap: var(--space-4); }
}

/* ----- Why it works ----- */
.edge-big { padding: clamp(28px, 3.6vw, 60px); border-radius: var(--radius-xl); background: var(--color-ink); color: var(--color-on-dark); }
.edge-big-inner { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-10); }
/* the pitch card: a big promise, one plain line under it, then three short promises between hairlines */
.edge-pitch { display: flex; flex-direction: column; gap: var(--space-4); }
.edge-title { margin: 0; max-width: 16em; font: 400 var(--text-h1)/1.08 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-on-dark); text-wrap: balance; }
.edge-sub { margin: 0; max-width: 32em; font: 400 var(--text-lead)/1.5 var(--font-sans); color: var(--color-on-dark-2); text-wrap: pretty; }
.edge-wins { align-self: stretch; margin: 0; padding: 0; list-style: none; border-top: var(--border) solid var(--color-line-dark); }
.edge-wins li { padding: var(--space-4) 0; border-bottom: var(--border) solid var(--color-line-dark); font: 400 var(--text-h3)/1.25 var(--font-display); letter-spacing: -0.01em; color: var(--color-on-dark); }
.strike { white-space: nowrap; text-decoration: line-through; text-decoration-color: var(--color-accent); text-decoration-thickness: 3px; }
/* Proof: one stat and its source, white on ink (real data: Portent). */

/* the three stat cards: flat sand, rust, and ink, with no outline, the same as every other card */
.edge-stat {
    position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-8);
    min-height: 272px; padding: var(--card-pad); border-radius: var(--radius-xl);
}
.edge-stat-1 { background-color: var(--color-sand); color: var(--color-ink); }
.edge-stat-2 { background-color: var(--color-accent); color: #fff; }
.edge-stat-3 { background-color: var(--color-ink); color: var(--color-on-dark); }
.edge-stat-num { font: 400 var(--text-stat)/0.95 var(--font-display); letter-spacing: -0.02em; }
.edge-stat-body { padding-top: var(--space-4); border-top: var(--border) solid rgba(255, 255, 255, 0.35); }
.edge-stat-1 .edge-stat-body { border-top-color: rgba(12, 12, 12, 0.22); }
.edge-stat-descriptor { margin-bottom: var(--space-1); font: 500 var(--text-body)/1.3 var(--font-sans); }
.edge-stat-sub { font: 400 var(--text-small)/1.35 var(--font-sans); opacity: 0.75; }
.edge-stat-2 .edge-stat-sub { opacity: 0.95; }   /* white on rust needs more than 0.75 to reach 4.5:1 */

/* ----- Work ----- */
.work-showcase { background: var(--color-ink); color: var(--color-on-dark); }
/* a gentle question with the thinking picture, on the page, between the stats and the work */
.ask { padding-top: 0; }
/* the two illustration rows ("Wondering if your website…" and "Not sure what you need?") share one layout:
   illustration | text | list or button, on the same three columns, so they line up down the page */
.ask-inner, .cta-card.cta-card--clean { display: grid; grid-template-columns: clamp(210px, 22vw, 320px) minmax(0, 30rem) 18rem; justify-content: center; align-items: center; gap: var(--space-8) var(--space-12); }
.ask-inner img { width: 100%; height: auto; }
.ask-text { max-width: 12em; font: 400 var(--text-h2)/1.2 var(--font-serif); letter-spacing: -0.01em; }
.ask-text i, .cta-title i { color: inherit; }
.cta-copy .ask-list { margin: var(--space-5) 0 var(--space-6); }
/* the questions: each bullet is an Iconoir icon in ink */
.ask-list { list-style: none; display: grid; gap: var(--space-4); margin: 0; padding: 0; }
.ask-list li { display: flex; align-items: flex-start; gap: var(--space-3); font: 400 var(--text-body)/1.4 var(--font-sans); color: var(--color-text-2); }
.ask-icon { flex: none; width: 22px; height: 22px; margin-top: 0.05em; color: var(--color-ink); stroke-width: 1.5; }

/* the projects: a grid of equal cards, two across from tablets up and one on phones (see 6. Responsive).
   Each card reads top to bottom: screenshot, kind of project, name, what I did, then tags and the link.
   The tags and link are pushed to the foot of the card, so they line up across a row whatever the text length. */
.work-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(56px, 6vw, 88px) clamp(24px, 3.4vw, 48px); }
.proj { display: flex; flex-direction: column; min-width: 0; }
.proj .print { margin-bottom: var(--space-6); }
.print { position: relative; margin: 0; }
.print-img { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: #151515; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.print-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.print-link { position: absolute; inset: 0; display: block; cursor: pointer; }   /* the screenshot opens the live site, same as its Visit Site button */
.print-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
/* Concept card: a full-page screenshot that scrolls through the frame on hover, and drifts by itself on touch screens */
.print--scroll .print-img { background: #12382a; }
.print--scroll .print-img img { inset: auto; top: 0; left: 0; height: auto; object-fit: fill; transform: translateY(0); transition: top 1.2s var(--ease), transform 1.2s var(--ease); }
.print--scroll:not(.print--full-ready):hover .print-img img { top: 100%; transform: translateY(-100%); transition-duration: 9s; transition-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
@keyframes print-drift { 0%, 8% { top: 0; transform: translateY(0); } 50%, 58% { top: 100%; transform: translateY(-100%); } 100% { top: 0; transform: translateY(0); } }
@media (hover: none) and (prefers-reduced-motion: no-preference) {
    .print--scroll .print-img img { animation: print-drift 26s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
}
@media (prefers-reduced-motion: reduce) {
    .print--scroll .print-img img, .print--scroll:hover .print-img img { top: 0; transform: none; transition: none; }
}
/* the grown, full-screen copy (built by the script on hover) */
.print-full-shade { position: fixed; inset: 0; z-index: 200; background: rgba(12, 12, 12, 0.8); opacity: 0; transition: opacity 0.5s var(--ease); }
.print-full-shade.is-on { opacity: 1; }
.print-full { position: fixed; z-index: 201; display: block; overflow: hidden; border-radius: var(--radius-lg); background: #12382a; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.85); cursor: pointer; }
.print-full.is-open, .print-full.is-closing { transition: top 0.6s var(--ease), left 0.6s var(--ease), width 0.6s var(--ease), height 0.6s var(--ease); }
.print-full img { display: block; width: 100%; height: auto; will-change: transform; }
.print-full.is-closing img { transition: transform 0.6s var(--ease); }
.print-full-close { position: absolute; top: var(--space-4); right: var(--space-4); min-height: 40px; padding: 0 var(--space-5); border: 0; border-radius: var(--radius-pill); background: rgba(12, 12, 12, 0.78); color: var(--color-on-dark); font: 500 var(--text-body)/1 var(--font-sans); cursor: pointer; backdrop-filter: blur(8px); }
.print-full-close:hover { background: var(--color-ink); }
/* "Like what you see?" prompt, bottom-left of the open preview: hidden while it grows, fades in just after it settles, gone as soon as it closes */
.print-full-ask { position: absolute; left: var(--space-4); bottom: var(--space-4); max-width: calc(100% - var(--space-4) * 2); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); padding: var(--space-2) var(--space-2) var(--space-2) var(--space-5); border-radius: var(--radius-xl); background: rgba(12, 12, 12, 0.78); color: var(--color-on-dark); cursor: default; backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity 0.18s var(--ease), visibility 0s 0.18s; }
.print-full.is-open .print-full-ask { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease) 0.8s, visibility 0s 0.8s; }
.print-full-ask-text { font: 400 var(--text-small)/1.2 var(--font-display); white-space: nowrap; }
/* hover delay ring: sits on the cursor and fills while the preview gets ready to open */
.print-ring { position: absolute; top: -26px; left: -26px; z-index: 2; width: 52px; height: 52px; padding: 4px; border-radius: 50%; background: rgba(12, 12, 12, 0.55); backdrop-filter: blur(6px); pointer-events: none; opacity: 0; scale: 0.6; transition: opacity 0.18s var(--ease), scale 0.18s var(--ease); }
.print-ring svg { display: block; width: 100%; height: 100%; rotate: -90deg; }
.print-ring circle { fill: none; stroke-width: 3; }
.print-ring-track { stroke: rgba(238, 234, 228, 0.25); }
.print-ring-fill { stroke: var(--color-on-dark); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 0.2s var(--ease); }
.print-ring.is-loading { opacity: 1; scale: 1; }
.print-ring.is-loading .print-ring-fill { stroke-dashoffset: 0; transition: stroke-dashoffset var(--hold, 1500ms) linear; }
.proj-info { flex: 1; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.proj-kicker { margin-bottom: var(--space-3); font: 600 var(--text-label)/1.2 var(--font-sans); letter-spacing: 0.02em; color: var(--color-sand); }
.proj-title { font: 400 var(--text-h2)/1.08 var(--font-display); letter-spacing: -0.015em; text-wrap: balance; }
.proj-did { max-width: 34em; margin-top: var(--space-3); }
.proj-did p { text-wrap: pretty; font: 400 var(--text-body)/1.5 var(--font-sans); color: var(--color-on-dark-2); }
.proj-foot { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-6); width: 100%; margin-top: auto; padding-top: var(--space-6); }
.proj-tags { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; }
.proj-tags li { padding: 7px var(--space-3); border: var(--border) solid var(--color-line-dark); border-radius: var(--radius-pill); font: 400 var(--text-label)/1 var(--font-sans); color: var(--color-on-dark-3); white-space: nowrap; }

/* ----- Services ----- */
/* the whole list sits in one ink card, like the card in "Websites that bring in clients" */
.services-list { padding: var(--space-4) var(--card-pad); border-radius: var(--radius-xl); background: var(--color-ink); color: var(--color-on-dark); }
.service-row { align-items: center; padding: var(--space-12) 0; border-bottom: var(--border) solid var(--color-line-dark); }
.service-row:last-child { border-bottom: 0; }
.service-title { font: 400 var(--text-h2)/1.1 var(--font-display); letter-spacing: -0.015em; }
.service-desc { text-wrap: pretty; font: 400 var(--text-lead)/1.5 var(--font-sans); color: var(--color-on-dark-2); }
.service-icon { justify-self: end; width: clamp(76px, 7.5vw, 112px); height: auto; aspect-ratio: 1; object-fit: contain; }   /* a clay object per service; no shadow or glow around it */

/* ----- Call band ----- */
.cta-band { padding-top: 0; padding-bottom: var(--section-y); }   /* same page background as the sections around it; Services above supplies the top space */
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8) var(--space-12); padding: var(--card-pad); border-radius: var(--radius-xl); background: var(--color-ink); color: var(--color-on-dark); }
.cta-art { flex: 0 0 auto; width: clamp(180px, 19vw, 260px); height: auto; }
/* clean version: no dark card, just the picture, the words and a black button on the page */
/* no card: laid out like the "Wondering if your website…" section (same art size, gaps, centred group) */
.cta-card--clean { padding: 0; background: none; color: var(--color-text); border-radius: 0; }
.cta-card--clean .cta-art { width: 100%; }
.cta-card--clean .btn { justify-self: end; }   /* ends where the "Wondering" list ends, so both rows share the same outer edges */
.cta-card--clean .cta-text { color: var(--color-text-2); }
.cta-card--clean :focus-visible { outline-color: var(--color-accent); }
.cta-copy { flex: 1 1 auto; }

/* question band: picture on the left, words and button together on the right */
@media (min-width: 901px) {
    .cta-card.cta-card--clean.cta-card--ask { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); justify-content: stretch; gap: var(--space-8) var(--space-20); max-width: 1040px; margin-inline: auto; }
}
.cta-card--ask .cta-title { max-width: 16em; text-wrap: balance; }
.cta-card--ask .cta-text { max-width: 31em; }
.cta-card--ask .cta-copy .btn { margin-top: var(--space-8); }
.cta-title { margin-bottom: var(--space-2); font: 400 var(--text-h2)/1.1 var(--font-display); letter-spacing: -0.015em; }
.cta-text { max-width: 36em; font: 400 var(--text-body)/var(--leading-body) var(--font-sans); color: var(--color-on-dark-2); }

/* ----- About: plain black. The usual section title, then the
   photo beside my story. ----- */
.about { position: relative; isolation: isolate; overflow: hidden; padding: var(--section-y) var(--gutter); background: var(--color-ink); color: var(--color-on-dark); }
/* the photo and the words side by side, vertically centred, centred as one block. The photo leans a little, like the hero cards,
   and straightens on hover. */
.about .section-head { position: relative; }
.about .section-title { color: var(--color-on-dark); }
.about-row { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 560px); justify-content: center; align-items: center; gap: var(--space-10) clamp(48px, 7vw, 112px); max-width: var(--container); margin: 0 auto; }
.about-photo { position: relative; margin: 0; }
.about-pic { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg);
    border: clamp(3px, 0.3vw, 5px) solid rgba(238, 234, 228, 0.92); transform: rotate(-3deg); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 1);
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.about-photo:hover .about-pic { transform: rotate(0deg); }
@media (prefers-reduced-motion: reduce) { .about-pic { transition: none; } }
.about-body { min-width: 0; }
.about-panel { max-width: 40em; }
.about-panel p { margin: 0; font: 400 var(--text-lead)/1.55 var(--font-sans); color: var(--color-on-dark-2); text-wrap: pretty; }
.about-panel p + p { margin-top: var(--space-6); }

/* ----- Process: title on the left, four plain rows on the right ----- */
.process-layout { align-items: start; }
.process-intro .section-title { max-width: none; }
.steps { list-style: none; }
/* each step: title, then one plain line under it; a single hairline between steps */
.step { display: grid; gap: var(--space-2); padding: var(--space-6) 0; }
.step + .step { border-top: var(--border) solid var(--color-line); }
/* the hiker and cairns stand where the page tint deepens into the next band */
.process--scene { z-index: 1; padding-bottom: 0; background: linear-gradient(to bottom, var(--color-paper) 50%, var(--color-surface-2)); } /* fades into the next band, no hard edge */
.process-stage { max-width: 1020px; margin-inline: auto; }   /* the drawing and its captions share one box, so they scale together */
.process-path { display: block; width: 100%; height: auto; }   /* trimmed artwork: the hiker starts on the left margin, the mountain ends on the right */
/* step captions: laid over the drawing, each beside its own milestone.
   --x is where the milestone falls across the drawing, as a % of its width */
.process-steps b { font: 400 var(--text-lead)/1.25 var(--font-display); letter-spacing: -0.01em; color: var(--color-text); }
.process-steps span { display: none; font: 400 16px/1.4 var(--font-sans); color: var(--color-text-2); }   /* sub-lines hidden for now: delete "display: none" to bring them back */
@media (min-width: 1200px) {
    .process--scene { padding-bottom: 110px; }   /* room for the captions that hang below the drawing */
    .process-steps { position: relative; list-style: none; aspect-ratio: 1811 / 587; margin-top: -32.41%; pointer-events: none; }   /* same box as the drawing, laid on top of it */
    .process-steps li { position: absolute; left: var(--x); display: grid; justify-items: center; gap: var(--space-1); width: 200px; transform: translateX(-50%); text-align: center; }
    /* 1: below the first rocks */
    .process-steps li:nth-child(1) { --x: 24.2%; top: calc(100% + var(--space-5)); }
    /* 2: above the second rocks */
    .process-steps li:nth-child(2) { --x: 44.7%; bottom: calc(46% + var(--space-3)); }
    /* 3: below the third rocks, tucked in close */
    .process-steps li:nth-child(3) { --x: 61.7%; top: calc(78.4% + var(--space-3)); }
    /* 4: beside the flag, to its left */
    .process-steps li:nth-child(4) { --x: 85%; top: 1%; transform: translateX(-100%); grid-template-columns: auto; justify-content: end; justify-items: center; width: 300px; text-align: center; }
}
@media (max-width: 1199px) {
    /* too tight to sit under each milestone: an even row instead */
    .process--scene { padding-bottom: var(--section-y); }
    .process-steps { height: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); margin: var(--space-8) 0 0; padding: 0; list-style: none; }
    .process-steps li { position: static; width: auto; transform: none; }
}
@media (max-width: 700px) {
    /* phones: the photo on top, centred, then the words */
    .about-row { grid-template-columns: minmax(0, 1fr); }
    .about-photo { width: min(260px, 72%); margin-inline: auto; }
    /* phones: one column, a hairline between steps (like the FAQ), each with its one-line description */
    .process-steps { grid-template-columns: 1fr; gap: 0; }
    .process-steps li { display: grid; gap: var(--space-1); padding: var(--space-4) 0; border-top: var(--border) solid var(--color-line); }
    .process-steps li:last-child { border-bottom: var(--border) solid var(--color-line); }
    .process-steps span { display: block; }
    /* ...then the drawing runs edge to edge and the steps become a trail of cairns down the page */
    .process-path { width: calc(100% + var(--gutter)); max-width: none; margin-inline: calc(-0.5 * var(--gutter)); }
    .process-steps li { position: relative; padding-left: var(--space-10); border-top: 0; }
    .process-steps li:last-child { border-bottom: 0; }
    .process-steps li::before { content: ''; position: absolute; left: 0; top: calc(var(--space-4) + 7px); width: 12px; height: 12px; border-radius: 50%; background: var(--color-accent); }
    .process-steps li:not(:last-child)::after { content: ''; position: absolute; left: 5.5px; top: calc(var(--space-4) + 19px); bottom: calc(-1 * (var(--space-4) + 7px)); width: 1px; background: var(--color-line); }
}
.step:first-child { padding-top: 0; }
.step:last-child { padding-bottom: 0; }
.step h3 { font: 400 var(--text-h3)/1.2 var(--font-serif); letter-spacing: -0.01em; color: var(--color-text); }
.step p { max-width: 34em; font: 400 var(--text-body)/1.55 var(--font-sans); color: var(--color-text-2); }

/* ----- After launch ----- */
/* full-width ink band, like Recent work; the phone gets a faint rim so its edge shows on black */
.support { overflow: hidden; background: var(--color-ink); color: var(--color-on-dark); }
.support .section-title { color: var(--color-on-dark); }
/* text and phone sit as one centred pair under the heading, with equal space either side */
.support-layout { display: flex; align-items: center; justify-content: center; gap: clamp(48px, 8vw, 128px); }
.support-list { flex: 0 1 23em; }
.support-list { list-style: none; display: grid; gap: var(--space-12); }
/* three plain paragraphs in the same serif as the about text: no hairlines, no heavy headings */
.support-item p { max-width: 24em; font: 400 var(--text-body)/1.6 var(--font-sans); color: var(--color-on-dark-3); }
.support-item-title { display: block; margin-bottom: var(--space-2); font: 400 var(--text-h3)/1.15 var(--font-display); letter-spacing: -0.02em; color: var(--color-on-dark); }   /* its own line, in the headline face */
.chat-wrap { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; gap: var(--space-5); }
.im-pause { min-height: 44px; padding: 0 var(--space-5); border: var(--border-strong) solid var(--color-on-dark-3); border-radius: var(--radius-pill); background: transparent; color: var(--color-on-dark-2); font: 500 var(--text-label)/1 var(--font-sans); cursor: pointer; transition: background-color var(--duration), color var(--duration); }
.im-pause:hover { background: var(--color-on-dark); color: var(--color-ink); }
.chat-wrap.is-paused .msg--typing i { animation-play-state: paused; }

/* iPhone showing Messages: you (blue, right) and Carson (grey, left). Apple's own colours, on purpose */
/* iPhone Pro look: brushed dark-titanium frame (gradient border), thin black bezel, buttons on both sides */
.phone { --im-font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif; --ti: linear-gradient(135deg, #8e8e93 0%, #3a3a3c 18%, #1c1c1e 45%, #2c2c2e 70%, #8e8e93 100%); position: relative; width: 392px; max-width: 100%; margin: 0; padding: 9px; border: 3px solid transparent; border-radius: 58px; background: linear-gradient(#000, #000) padding-box, var(--ti) border-box; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 50px 90px -30px rgba(0, 0, 0, 0.75), 0 20px 40px -20px rgba(0, 0, 0, 0.6); }
.phone::before, .phone::after, .phone-power { content: ''; position: absolute; left: -6px; width: 3px; border-radius: 2px 0 0 2px; background: linear-gradient(90deg, #6e6e73, #2c2c2e); }
.phone-power { left: auto; right: -6px; top: 196px; height: 92px; border-radius: 0 2px 2px 0; background: linear-gradient(270deg, #6e6e73, #2c2c2e); }
.phone::before { top: 132px; height: 34px; }
.phone::after { top: 182px; height: 58px; box-shadow: 0 74px 0 #3a3a3c; }
.phone-screen { position: relative; display: flex; flex-direction: column; aspect-ratio: 393 / 852; overflow: hidden; border-radius: 46px; background: #fff; color: #000; font-family: var(--im-font); -webkit-font-smoothing: antialiased; }
.im-status { position: relative; display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 6px 30px 0 34px; font: 600 16px/1 var(--im-font); letter-spacing: -0.01em; }
.im-island { position: absolute; left: 50%; top: 11px; width: 116px; height: 34px; margin-left: -58px; border-radius: 20px; background: #000; }
.im-icons { display: flex; align-items: center; gap: 6px; }
.im-icons svg { display: block; height: 12px; width: auto; fill: #000; }
.im-head { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 2px 16px 8px; background: rgba(247, 247, 247, 0.96); border-bottom: 0.5px solid #c7c7cc; }
.im-back { position: absolute; left: 10px; top: 16px; width: 13px; height: 22px; fill: none; stroke: #007aff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.im-video { position: absolute; right: 16px; top: 18px; width: 30px; height: 20px; fill: #007aff; }
.im-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(180deg, #a6abb6, #868b97); color: #fff; font: 500 20px/1 var(--im-font); }
.im-name { display: inline-flex; align-items: center; gap: 2px; font: 400 12px/1 var(--im-font); color: #000; }
.im-name svg { width: 6px; height: 10px; fill: none; stroke: #8e8e93; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.im-body { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px 16px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26px); mask-image: linear-gradient(to bottom, transparent 0, #000 26px); }
.im-thread { display: flex; flex-direction: column; gap: 2px; transition: transform 0.55s var(--ease), opacity 0.45s ease; }
.im-stamp { align-self: center; margin-bottom: 6px; text-align: center; font: 400 12px/1.3 var(--im-font); color: #737378; }
.im-stamp b { font-weight: 600; }
.msg { position: relative; max-width: 78%; margin: 0; padding: 7px 12px 8px; border-radius: 18px; font: 400 16px/1.3 var(--im-font); letter-spacing: -0.012em; }
.msg + .msg { margin-top: 8px; }
.msg--cont + .msg { margin-top: 3px; }
.msg::before, .msg::after { content: ''; position: absolute; bottom: 0; height: 20px; }
.msg--cont::before, .msg--cont::after { display: none; }
.msg--you { align-self: flex-end; background: #0974e0; color: #fff; transform-origin: 100% 100%; }
.msg--you::before { right: -7px; width: 20px; background: #0974e0; border-bottom-left-radius: 16px 14px; }
.msg--you::after { right: -26px; width: 26px; background: #fff; border-bottom-left-radius: 10px; }
.msg--carson { align-self: flex-start; background: #e9e9eb; color: #000; transform-origin: 0 100%; }
.msg--carson::before { left: -7px; width: 20px; background: #e9e9eb; border-bottom-right-radius: 16px 14px; }
.msg--carson::after { left: -26px; width: 26px; background: #fff; border-bottom-right-radius: 10px; }
.im-read { align-self: flex-end; margin: 3px 4px 0 0; font: 400 12px/1 var(--im-font); color: #737378; }
.msg--typing { align-self: flex-start; display: flex; gap: 4px; padding: 13px 14px; background: #e9e9eb; transform-origin: 0 100%; }
.msg--typing::before { left: -3px; bottom: -3px; width: 13px; height: 13px; border-radius: 50%; background: #e9e9eb; }
.msg--typing::after { left: -9px; bottom: -9px; width: 6px; height: 6px; border-radius: 50%; background: #e9e9eb; }
.msg--typing i { width: 8px; height: 8px; border-radius: 50%; background: #8e8e93; animation: im-dot 1.3s ease-in-out infinite; }
.msg--typing i:nth-child(2) { animation-delay: 0.18s; }
.msg--typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes im-dot { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
.im-thread > .is-wait { display: none; }
.im-thread > .is-pop { animation: msg-pop 0.45s var(--ease) both; }
@keyframes msg-pop { from { opacity: 0; transform: translateY(8px) scale(0.94); } }
.im-input { display: flex; align-items: center; gap: 8px; padding: 8px 12px 30px; }
.im-plus { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: #e9e9eb; }
.im-plus svg { width: 14px; height: 14px; stroke: #8e8e93; stroke-width: 2.4; stroke-linecap: round; }
.im-field { flex: 1; display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 12px 0 14px; border: 1px solid #d1d1d6; border-radius: 18px; font: 400 16px/1 var(--im-font); color: #737378; }
.im-field svg { width: 12px; height: 17px; fill: none; stroke: #8e8e93; stroke-width: 1.8; stroke-linecap: round; }
.im-home { position: absolute; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: #000; }
/* the chat pauses while it is off screen */
.is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }

/* ----- Pricing (index): one section. A switch picks "Pay once" or "Pay monthly"; each panel is one row of three cards.
   Every card has the same six rows (name, description, price, buttons, includes, list), and grid-template-rows: subgrid
   lines those rows up across the three cards. The third card is inverted (ivory) as the step up. ----- */
/* luminance dot background (drawn by "Pricing dots" in index.html): fades in, and dissolves into the page at the top and bottom */
.pricing { isolation: isolate; overflow: hidden; }
.pricing-dots { position: absolute; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.2s ease;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 82%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 82%, transparent 100%); }
.pricing-dots.is-on { opacity: 1; }
.pricing .section-head { max-width: 40em; }
.pricing-lead { margin-top: var(--space-5); font: 400 var(--text-lead)/1.5 var(--font-sans); color: var(--color-text-2); }

/* Holiday deal: one card above the switch, so it shows on both tabs, over a holly photo. */
.promo {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: var(--space-8) clamp(32px, 5vw, 72px); align-items: center;
    max-width: var(--container); margin: 0 auto var(--head-gap); padding: var(--card-pad) calc(var(--card-pad) * 1.2);
    border-radius: var(--radius-xl); color: #fff;
    /* holly photo (brand/holiday/holly.webp) under a dark fade from the left, so the copy reads and the berries show on the right */
    background:
        linear-gradient(90deg, rgba(14, 14, 13, 0.94) 0%, rgba(14, 14, 13, 0.82) 42%, rgba(14, 14, 13, 0.35) 78%, rgba(14, 14, 13, 0.2) 100%),
        url("brand/holiday/holly.webp") 70% 42% / cover no-repeat,
        var(--color-ink);
    box-shadow: inset 0 0 0 1px rgba(238, 234, 228, 0.16), var(--shadow-lg);
}
.promo-holly { position: absolute; z-index: 1; top: -66px; left: -70px; width: 172px; height: auto; rotate: -14deg; pointer-events: none; }
.holly-leaf path { fill: var(--color-holly); }
.holly-berry { fill: var(--color-holly-berry); }
.promo-badge {
    display: inline-block; margin-bottom: var(--space-4); padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill);
    background: rgba(238, 234, 228, 0.14); color: var(--color-on-dark); box-shadow: inset 0 0 0 1px rgba(238, 234, 228, 0.28);
    font: 600 12px/1.6 var(--font-sans); text-transform: uppercase; letter-spacing: 0.14em;
}
.promo-title { font: 400 var(--text-h1)/1.05 var(--font-display); letter-spacing: var(--tracking-display); color: #fff; }
.promo-title i { color: inherit; }
.promo-text { margin-top: var(--space-4); max-width: 34em; font: 400 var(--text-body)/1.6 var(--font-sans); color: rgba(255, 255, 255, 0.92); }
.promo-human { margin-top: var(--space-3); max-width: 34em; font: 600 var(--text-body)/1.5 var(--font-sans); color: var(--color-on-dark); }
.promo-buy { position: relative; display: grid; justify-items: stretch; gap: var(--space-4); padding: var(--space-6); border-radius: var(--radius-lg); background: rgba(14, 14, 13, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(238, 234, 228, 0.14); }
.promo-price { display: flex; align-items: baseline; gap: var(--space-2); }
.promo-price .plan-per { color: rgba(255, 255, 255, 0.85); }
.promo-cta { width: 100%; }
.night .promo .promo-cta:hover, .night .promo .promo-cta:focus-visible { background: #fff; border-color: #fff; color: var(--color-ink); }
.promo :focus-visible { outline-color: #fff; }
.promo-fine { text-align: center; font: 400 var(--text-micro)/1.4 var(--font-sans); color: rgba(255, 255, 255, 0.85); }
@media (max-width: 1000px) {
    .promo-holly { top: -40px; left: auto; right: -18px; width: 104px; rotate: 10deg; }
    .promo { grid-template-columns: minmax(0, 1fr); max-width: 34rem; background: linear-gradient(180deg, rgba(14, 14, 13, 0.9) 0%, rgba(14, 14, 13, 0.78) 60%, rgba(14, 14, 13, 0.55) 100%), url("brand/holiday/holly-800.webp") 50% 40% / cover no-repeat, var(--color-ink); }
        }

/* the switch: a pill like the nav, the chosen side filled */
.price-tabs { display: flex; width: fit-content; margin: 0 auto var(--head-gap); padding: var(--space-1); gap: var(--space-1); border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--color-line); }
.price-tab {
    display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 11rem; padding: var(--space-3) var(--space-6);
    border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-text); cursor: pointer;
    font: 600 var(--text-body)/1.2 var(--font-sans); transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
}
.price-tab span { font: 400 var(--text-micro)/1.2 var(--font-sans); color: var(--color-text-3); }
.price-tab:hover { background: rgba(238, 234, 228, 0.08); }
.price-tab[aria-selected="true"] { background: var(--color-on-dark); color: var(--color-ink); }
.price-tab[aria-selected="true"] span { color: var(--color-stone); }
html:not(.js) .price-tabs { display: none; }
html:not(.js) .price-panel + .price-panel { margin-top: var(--section-y); }

/* one row of three cards, rows shared through subgrid */
.plans { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; column-gap: var(--grid-gap); row-gap: 0; }
.plan {
    position: relative; display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; align-content: start;
    padding: var(--card-pad); border-radius: var(--radius-xl);
    background: var(--color-surface); color: var(--color-text); box-shadow: inset 0 0 0 1px var(--color-line);
}

.plan-name { font: 400 var(--text-h2)/1.1 var(--font-display); letter-spacing: -0.02em; }
.plan-for { margin-top: var(--space-3); font: 400 var(--text-body)/1.55 var(--font-sans); color: var(--color-text-3); }
.plan-price { display: flex; align-items: baseline; gap: var(--space-2); margin-top: var(--space-6); }
.plan-amount { font: 400 var(--text-stat)/1 var(--font-display); letter-spacing: var(--tracking-display); font-variant-numeric: lining-nums; }
.plan-per { font: 500 var(--text-small)/1 var(--font-sans); color: var(--color-text-3); }
.plan-actions { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-6); }
.plan-cta { width: 100%; }
.plan-cta svg { transition: translate var(--duration) var(--ease); }
.plan-cta:hover svg, .plan-cta:focus-visible svg { translate: 3px 0; }
.plan-note { text-align: center; font: 400 var(--text-micro)/1.4 var(--font-sans); color: var(--color-text-3); }
.plan-includes { align-self: end; margin-top: var(--space-8); padding-top: var(--space-6); border-top: var(--border) solid var(--color-line); font: 600 var(--text-label)/1.4 var(--font-sans); }
.plan-list { list-style: none; display: grid; gap: var(--space-3); align-content: start; margin-top: var(--space-4); }
.plan-list li { position: relative; padding-left: 26px; font: 400 var(--text-small)/1.5 var(--font-sans); color: var(--color-text-2); }
.plan-list li::before {   /* a drawn tick */
    content: ''; position: absolute; left: 3px; top: 0.32em; width: 6px; height: 11px;
    border: solid var(--color-apricot); border-width: 0 2px 2px 0; rotate: 40deg;
}
.plan-list b { font-weight: 600; color: var(--color-text); }
.plan-list .plan-addon { color: inherit; }
.plan-list .plan-addon::before { border: 0; rotate: none; top: 0.15em; left: 1px; width: auto; height: auto; content: '+'; font: 600 16px/1 var(--font-sans); color: inherit; }
.plan-badge {   /* pinned on the card's top edge, so it never runs into the plan name and the names stay level */
    position: absolute; top: 0; left: var(--card-pad); translate: 0 -50%; padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill); white-space: nowrap;
    font: 600 12px/1.6 var(--font-sans); text-transform: uppercase; letter-spacing: 0.14em; background: var(--color-accent); color: #fff;
}

/* the step up: ivory card, ink text, Clay ticks (Apricot is too faint on ivory) */
.plans .plan--featured { background: var(--color-on-dark); color: var(--color-ink); box-shadow: var(--shadow-lg); }
.plan--featured .plan-for, .plan--featured .plan-per, .plan--featured .plan-note { color: var(--color-stone); }
.plan--featured .plan-list li { color: rgba(12, 12, 12, 0.84); }
.plan--featured .plan-includes { border-top-color: rgba(12, 12, 12, 0.22); }
.plan--featured .plan-list li::before { border-color: var(--color-accent-strong); }
.plan--featured :focus-visible { outline-color: var(--color-ink); }
.night .plan--featured .btn.plan-cta.plan-cta--quiet:not(.btn--primary):not(.btn--light) { border-color: var(--color-ink); color: var(--color-ink); }
.night .plan--featured .btn.plan-cta.plan-cta--quiet:not(.btn--primary):not(.btn--light):hover,
.night .plan--featured .btn.plan-cta.plan-cta--quiet:not(.btn--primary):not(.btn--light):focus-visible { background: var(--color-ink); color: var(--color-on-dark); }

/* one line under the row: the $200 website plan, or the client dashboard */
.plans-foot { max-width: 46em; margin: var(--space-10) auto 0; text-align: center; font: 400 var(--text-body)/1.6 var(--font-sans); color: var(--color-text-2); }
.plans-foot b { font-weight: 600; color: var(--color-text); }
.plans-foot a { display: inline-flex; align-items: center; gap: var(--space-2); margin-left: var(--space-2); font-weight: 600; color: var(--color-text); text-decoration: underline; text-underline-offset: 3px; }
.plans-foot a svg { width: 16px; height: 16px; }
.pricing-note { margin-top: var(--space-6); text-align: center; font: 400 var(--text-small)/1.5 var(--font-sans); color: var(--color-text-3); }

@media (max-width: 1000px) {
    .plans { grid-template-columns: minmax(0, 34rem); justify-content: center; }
    .plan + .plan { margin-top: var(--space-10); }
    .price-tab { min-width: 0; padding-inline: var(--space-5); }
}

/* ----- FAQ ----- */
.faq-list { border-top: var(--border-strong) solid var(--color-line-strong); }
.faq-item { border-bottom: var(--border) solid var(--color-line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding: var(--space-8) 0; list-style: none; cursor: pointer; font: 600 var(--text-h3)/1.25 var(--font-serif); letter-spacing: -0.01em; transition: color var(--duration) var(--ease); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--color-text-2); }
.faq-icon { position: relative; width: 32px; height: 32px; flex-shrink: 0; border: var(--border-strong) solid currentColor; border-radius: 50%; transition: rotate var(--duration) var(--ease); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: currentColor; }
.faq-icon::after { rotate: 90deg; }
.faq-item[open] .faq-icon { rotate: 45deg; }
.faq-item p { max-width: 42em; padding-bottom: var(--space-8); font: 400 var(--text-body)/1.6 var(--font-sans); color: var(--color-text-2); }

/* ----- Contact: black on the homepage; the button goes to the white booking page ----- */
.contact { padding-top: var(--space-16); padding-bottom: var(--space-12); background: var(--color-ink); color: var(--color-on-dark); text-align: center; }   /* "Got a project?" sits higher (less top padding), the details row keeps its place at the bottom, evenly between the divider and the footer line */
.contact-cta { display: flex; flex-direction: column; align-items: center; gap: var(--space-6); }
.contact-title { font: 400 var(--text-h1)/1.16 var(--font-display); letter-spacing: var(--tracking-display); }
.contact-lead { max-width: 30em; font-size: var(--text-lead); line-height: var(--leading-body); color: var(--color-on-dark-2); text-wrap: balance; }
.contact-cta .btn { margin-top: var(--space-2); }
.contact-grid { display: grid; justify-items: center; margin-top: var(--head-gap); }
.contact-email { font: 400 var(--text-h1)/1.1 var(--font-serif); letter-spacing: -0.02em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; word-break: break-word; transition: color var(--duration) var(--ease); }
.contact-email:hover { color: var(--color-sand); }

/* the two items sit on the left and right page margins */
/* the footer: a rounded panel like the header bar when it's scrolled (black, a thin light border, the same soft shadow),
   with its sides lined up with the header bar's and the same gap to the bottom of the screen as the bar has to the top */
.site-footer {
    display: flex; flex-direction: column; gap: var(--space-24);   /* a tall footer: lots of room between the top row and the bottom line */
    margin: var(--space-6) calc(var(--gutter) - var(--nav-pad-l) - var(--border)) var(--space-3);
    padding: var(--space-24) var(--space-12) var(--space-10);
    border: var(--border) solid rgba(238, 234, 228, 0.18); border-radius: var(--radius-xl);
    background: #0c0c0c; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.7);   /* solid, so it's the same black on the light pages too */
    color: var(--color-on-dark-3); font: 400 var(--text-body)/1.4 var(--font-sans);
}
/* the hero's dithered print behind the footer (home page only): it fills the panel with no fade at the bottom, and the words sit above it */
.site-footer { position: relative; isolation: isolate; overflow: hidden; }
.footer-dither { z-index: -1; -webkit-mask-image: none; mask-image: none; }
.footer-dither.is-on { opacity: 0.45; }   /* dimmer than in the hero, so the small footer text stays easy to read */
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--space-8); }
.footer-cols { display: flex; flex-wrap: wrap; gap: var(--space-6) clamp(40px, 6vw, 96px); }
.footer-label { margin: 0 0 var(--space-2); font: 500 var(--text-label)/1.2 var(--font-sans); color: var(--color-on-dark-3); }
.footer-col a, .footer-col > p:not(.footer-label) { margin: 0; font: 400 var(--text-body)/1.5 var(--font-sans); color: var(--color-on-dark); text-decoration: none; }
.footer-col a:hover { color: var(--color-on-dark-2); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-6); padding-top: var(--space-6);
    border-top: var(--border) solid rgba(238, 234, 228, 0.12); font-size: var(--text-label); }

.mobile-cta { display: none; }

/* ---------------------------------------------------------------------
   NIGHT (index only: <body class="night">)
   The whole home page is dark, with no light areas: the ground is black, cards are black with a hairline border,
   and nothing glows behind the sections. The other pages (booking, privacy, terms, accessibility) don't carry the class and stay light.
   --------------------------------------------------------------------- */
.night {
    --color-paper: #0c0c0c;
    --color-surface: #1d1b19;        /* cards */
    --color-surface-2: #0c0c0c;
    --color-text: #eeeae4;
    --color-text-2: rgba(238, 234, 228, 0.86);
    --color-text-3: #c3b9af;         /* Ash: secondary text on ink */
    --color-line: rgba(238, 234, 228, 0.18);
    --color-line-strong: rgba(238, 234, 228, 0.6);
}
.night :focus-visible { outline-color: var(--color-sand); }
.night .top-bar { background: var(--color-on-dark); }

/* buttons: the outline button is light, and the main button is the light one */
.night .btn:not(.btn--primary):not(.btn--light):not(.btn--accent) { border-color: var(--color-on-dark); color: var(--color-on-dark); }
.night .btn:not(.btn--primary):not(.btn--light):not(.btn--accent):hover, .night .btn:not(.btn--primary):not(.btn--light):not(.btn--accent):focus-visible { background: var(--color-on-dark); color: var(--color-ink); }
.night .btn--primary { background: var(--color-on-dark); border-color: var(--color-on-dark); color: var(--color-ink); }
.night .btn--primary:hover, .night .btn--primary:focus-visible { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.night .mobile-cta { background: var(--color-on-dark); color: var(--color-ink); box-shadow: var(--shadow-sm); }

/* nav: light links; once the page scrolls the bar is dark glass instead of the light pill */
.night .nav-links a { color: var(--color-on-dark); }
.night .nav-links a:hover, .night .nav-links a.active { background: rgba(238, 234, 228, 0.14); color: var(--color-on-dark); }   /* a soft highlight, not a light pill */
.night .nav.scrolled .nav-bar { background: rgba(12, 12, 12, 0.84); border-color: var(--color-line); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
html:not(.menu-open) .night .nav-toggle { border-color: var(--color-on-dark-3); background: var(--color-surface); color: var(--color-on-dark); }

/* the big cards (the rocket card, the services list, the pricing plans): plain black with a hairline border, no warm tint */
.night .edge-big, .night .services-list, .night .plan { background: var(--color-ink); box-shadow: inset 0 0 0 1px rgba(238, 234, 228, 0.16); }
.night .ask-icon { color: var(--color-on-dark); }
.night .faq-item summary:hover { color: var(--color-sand); }
.night .process--scene { background: none; }

/* no glows: nothing glows behind the sections; only the header (the hero) and the footer carry any light effects */
.night main > section { overflow-x: clip; }

/* the phone shows Messages in its dark look, so its screen isn't a white block on the page */
.night .phone-screen { background: #000; color: #fff; }
.night .im-icons svg { fill: #fff; }
.night .im-icons svg rect[fill="none"] { stroke: #fff; }
.night .im-head { background: #000; border-bottom-color: #262629; }   /* black like the screen, so the top bar never reads as a grey box */
.night .im-name { color: #fff; }
.night .im-stamp, .night .im-read { color: #98989f; }
.night .msg--carson, .night .msg--carson::before, .night .msg--typing, .night .msg--typing::before, .night .msg--typing::after, .night .im-plus { background: #262629; }
.night .msg--carson { color: #fff; }
.night .msg--you::after, .night .msg--carson::after { background: #000; }
.night .im-field { border-color: #38383a; color: #98989f; }
.night .im-home { background: #fff; }

/* ---------------------------------------------------------------------
   CLAY SET (index only): the 3D clay objects and scenes in brand/clay/set/
   Icons have see-through backgrounds. Scenes are painted on near-black, so their edges are faded into the page with a mask.
   --------------------------------------------------------------------- */
/* five clay stars above the review in the hero */
.review-stars { display: flex; gap: 3px; margin-block: var(--space-1) var(--space-1); }   /* under the quote, above the name */
.review-stars img { width: 18px; height: 18px; }

/* a clay browser with a rising chart and a map pin in the middle of the empty right side of the pitch card, with no shadow or glow around it.
   The words keep the left 58%; the rocket is sized from its box (cqw/cqh), so it scales with the card. Phones hide it. */
.edge-big { position: relative; isolation: isolate; }
.edge-art { display: none; }
@media (min-width: 760px) {
    .edge-big-inner { width: 58%; }
    .edge-art { display: block; position: absolute; z-index: -1; top: 6%; bottom: 6%; right: 2%; width: 40%; container-type: size; pointer-events: none; }
    .float { position: absolute; height: auto; translate: -50% -50%; }
    .float--rank { left: 50%; top: 50%; width: min(68cqw, 88cqh); }
}

/* From first call to launch: four clay objects in a row, joined by a fine dotted line; no shadow or glow around them */
.night .process-stage::before { right: auto; left: 50%; top: -10%; width: 90%; height: 120%; transform: translateX(-50%); }
.steps-clay { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); margin: 0; padding: 0; }
.steps-clay li { position: relative; display: grid; justify-items: center; align-content: start; gap: var(--space-2); text-align: center; }
.step-art { width: clamp(120px, 13vw, 176px); height: auto; margin-bottom: var(--space-3); }
.steps-clay b { font: 400 var(--text-lead)/1.25 var(--font-display); letter-spacing: -0.01em; color: var(--color-text); }
.steps-clay span { max-width: 14em; font: 400 16px/1.4 var(--font-sans); color: var(--color-text-2); }
@media (min-width: 901px) {
    .steps-clay li:not(:last-child)::after { content: ''; position: absolute; z-index: -1; top: calc(clamp(120px, 13vw, 176px) / 2); left: calc(50% + clamp(120px, 13vw, 176px) / 2); right: calc(-50% - var(--grid-gap) + clamp(120px, 13vw, 176px) / 2); height: 10px; margin-top: -5px; background: radial-gradient(circle, rgba(238, 234, 228, 0.4) 0 1.5px, transparent 2px) center / 12px 10px repeat-x; }
}
@media (max-width: 900px) {
    .steps-clay { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-10); }
    .step-art { width: clamp(112px, 34vw, 150px); }
}

/* Got a project?: one centred column, the clay calendar above the words and Book a free call in the dead centre */
.contact-copy { display: flex; flex-direction: column; align-items: center; gap: var(--space-6); }
.contact-art { order: -1; display: block; width: clamp(120px, 12vw, 160px); height: auto; margin: 0 auto var(--space-2); }


/* ---------------------------------------------------------------------
   6. RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1100px) {
    :root { --grid-gap: 24px; }
    .process-layout > * { grid-column: 1 / -1; grid-row: auto; }
    .process-layout { row-gap: var(--space-10); }
}

/* phones: one project per row, and the link becomes a full-width button that is easy to tap */
@media (max-width: 720px) {
    .work-stack { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-16); }
    .proj .print { margin-bottom: var(--space-5); }
    .proj-foot { gap: var(--space-5); padding-top: var(--space-5); }
    .proj-foot .btn { width: 100%; }
}

@media (max-width: 900px) {
    :root { --gutter: 24px; --grid-gap: 16px; --nav-pad-l: var(--space-4); --nav-pad-r: var(--space-4); }
    :root { --text-display: 48px; --text-stat: 48px; --text-h1: 32px; --text-h2: 24px; --text-h3: 20px; }   /* phones: the headlines step down, still on the 4px grid */
    /* one column: every block takes the full width */
    .grid > * { grid-column: 1 / -1; grid-row: auto; }
    .service-title { grid-column: 1 / span 10; }
    .service-icon { grid-column: 11 / span 2; grid-row: 1; }

    /* phones and small tablets: just the headshot */
    .nav { padding-block: var(--space-2); }
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: block; }
    .nav-bar { display: flex; justify-content: space-between; padding-block: var(--space-1); }   /* no links in the middle: logo left, menu button right */
    .hero-main { min-height: 0; padding-top: 112px; }
    .hero-left-col { gap: var(--space-6); }
    .hero--split .hero-main { grid-template-columns: minmax(0, 1fr); padding-top: 112px; }
    .hero--split .hero-left-col { align-items: center; text-align: center; }
    .hero--split .hero-title { font-size: var(--text-display); }
    .hero--split .hero-title .line { display: block; }
    .hero--split .hero-actions { flex-direction: column; align-items: center; }   /* Book a free call on its own line, in the dead centre, with See my work under it */
    .hero--split .hero-laptop-cap { text-align: center; }
    /* hero on phones and tablets */
    .hero--film .hero-pin { grid-template-rows: auto auto auto; }   /* the quote stacks tall here, so the words simply start under the nav instead of being balanced against it */
    .hero--film .hero-main { padding-top: 104px; }
    .hero-foot { padding-top: var(--space-4); padding-bottom: var(--space-10); }
    .hero--film .hero-left-col { max-width: none; }
    .hero--film .hero-title { font-size: var(--text-display); line-height: 1; }
    .hero-proof { flex-direction: column; text-align: center; }
    .hero-proof .hero-review { align-items: center; text-align: center; }
    .hero-proof .hero-clients { flex-wrap: wrap; justify-content: center; }
    .hero-proof .hero-clients-list { flex-wrap: wrap; gap: var(--space-6) var(--space-12); }
    .edge-big-inner { gap: var(--space-8); }
    .ask-inner, .cta-card.cta-card--clean { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
    .ask-inner img, .cta-card--clean .cta-art { width: 210px; }
    .ask-list { justify-items: start; text-align: left; }
    .cta-card--clean .btn { justify-self: center; }
    .edge-stat { min-height: 220px; }
    .service-row { padding: var(--space-6) 0; row-gap: var(--space-3); }
    .service-icon { justify-self: end; width: 64px; }
    .cta-card { flex-direction: column; align-items: flex-start; }
    .cta-art { width: 100%; max-width: 320px; }
    /* phones and tablets: text block as wide as the phone, both centred, phone underneath */
    .support-layout { flex-direction: column; gap: var(--space-12); }
    .support-list { flex: none; width: min(100%, 360px); gap: var(--space-8); }
    /* keep the phone's real proportions; scale the whole thing evenly on small screens */
    .phone { width: 360px; max-width: none; }
    .site-footer { gap: var(--space-16); padding: var(--space-16) var(--space-6) var(--space-8); }
    .footer-top { flex-direction: column; align-items: flex-start; }
    .footer-cols { flex-direction: column; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    html { scroll-padding-bottom: 80px; }   /* a field or link reached with Tab never hides under the sticky button */
    .mobile-cta {
        /* a small pill in the bottom-right corner, not a bar across the screen, so it never sits over what you are reading */
        position: fixed; z-index: 95; right: var(--space-4); bottom: calc(var(--space-4) + env(safe-area-inset-bottom));
        display: flex; align-items: center; justify-content: center; gap: var(--space-2); height: 48px; padding: 0 var(--space-5);
        border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-on-dark); text-decoration: none;
        box-shadow: 0 0 0 1.5px rgba(238, 234, 228, 0.85), var(--shadow-sm); font: 500 16px/1 var(--font-sans);
        /* slides up from the bottom edge as it fades in */
        transition: opacity 0.3s var(--ease), transform 0.5s cubic-bezier(0.2, 0.9, 0.25, 1.15), visibility 0s;
    }
    /* hidden: tucked below the screen edge; it slides back down and fades before it disappears */
    .mobile-cta.hidden, .menu-open .mobile-cta {
        opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(calc(100% + var(--space-6))) scale(0.96);
        transition: opacity 0.2s ease, transform 0.3s ease-in, visibility 0s 0.3s;
    }
}

@media (max-width: 480px) {
    .hero-actions .btn { flex: 1 1 100%; }
    .hero--film .hero-actions { align-items: stretch; width: 100%; }   /* phones: both buttons full width, stacked, Book a free call on top */
    .hero--film .hero-actions .btn { flex: none; width: auto; }
    .client-logo--clad { width: 145px; }
    .phone { zoom: 0.9; }
    .client-logo--sebas { width: 203px; }
    .client-logo--jr { width: 168px; }
}

@media (max-width: 379px) {
    .phone { zoom: 0.84; }
}

@media (max-width: 339px) {
    .phone { zoom: 0.75; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* thin loading bar across the very top of the page */
.top-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 10002; height: 3px; background: var(--color-ink); transform: scaleX(0); transform-origin: left; opacity: 0; pointer-events: none; }
.book-page .top-bar { background: var(--color-on-dark); }

/* soft fade between pages (homepage to booking, booking to confirmation) */
@media (prefers-reduced-motion: no-preference) {
    @view-transition { navigation: auto; }
    ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.55s; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    .vt-quick::view-transition-old(root), .vt-quick::view-transition-new(root) { animation-duration: 0.24s; }
    @supports not (view-transition-name: none) { .book-page { animation: book-fade 0.45s ease both; } }
}

/* ---------------------------------------------------------------------
   7. BOOKING PAGES (book.html, booked.html): white, larger text, big targets
   --------------------------------------------------------------------- */
/* the page is exactly one screen tall; one bordered card stays centred through every state */
.book-page {
    --book-gap: var(--space-10);
    --book-pad: var(--space-10);
    --book-col: clamp(320px, calc((100vw - 2 * var(--gutter) - 2 * var(--book-pad) - var(--book-gap) - 4px) / 2), 432px);
    --shift-x: calc((var(--book-col) + var(--book-gap)) / 2);   /* how far the calendar sits from its open position */
    display: flex; flex-direction: column; height: 100vh; height: 100svh; background: var(--color-ink); font-size: 20px; text-align: center;
}
/* the booking pages never scroll: stop iPhone's rubber-band bounce when a tap on the calendar drags a little,
   and the double-tap zoom when dates are tapped quickly */
html:has(> body.book-page), .book-page { overscroll-behavior: none; }
.book-page { touch-action: manipulation; }
.book-head :focus-visible { outline-color: var(--color-on-dark); }
/* the logo sits exactly where it does in the homepage nav */
.book-head { position: relative; z-index: 1; display: flex; justify-content: flex-start; margin-inline: var(--gutter); padding: calc(var(--space-3) + var(--border) + var(--space-2) + 4px) 0 var(--space-3); }
/* one very faint oversized C behind the card (the studio mark, brand/studio/c-ivory.svg): the only decoration, and it curves around the centre */
.book-page::before { content: ''; position: fixed; left: 50%; top: 50%; z-index: 0; width: 150vh; height: 150vh; transform: translate(-50%, -50%); pointer-events: none; background: url("brand/studio/c-ivory.svg") center / contain no-repeat; opacity: 0.07; }
.book { position: relative; z-index: 1; flex: 1; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-2) var(--gutter) var(--space-4); }
[data-step][hidden] { display: none; }

/* the white card is one fixed size in every step. Only the calendar slides and the times fade in */
.book-card {
    position: relative; flex: 0 1 auto; min-height: 0; display: flex; flex-direction: column; gap: var(--space-6);
    width: calc(2 * var(--book-col) + var(--book-gap) + 2 * var(--book-pad)); max-width: 100%;
    height: min(700px, calc(100vh - 104px)); height: min(700px, calc(100svh - 104px));
    padding: var(--book-pad); border-radius: var(--radius-lg); background: var(--color-white);
    box-shadow: 0 0 0 1px rgba(238, 234, 228, 0.22);
}
.book-card[data-state="details"], .book-card[data-state="goal"], .book-card[data-state="other"] { justify-content: center; }
.book-cal, .book-intro { will-change: transform; }
.book-card.is-ready .book-cal, .book-card.is-ready .book-intro { transition: transform 0.46s cubic-bezier(0.45, 0, 0.15, 1); }
.book-card.is-fading > :not(.book-back) { opacity: 0; transition: opacity 0.14s ease !important; animation: none; }
.book-card.is-showing > :not(.book-back) { animation: book-fade 0.2s ease both; }
.book-words { transition: opacity 0.17s ease; }
.book-words.is-swapping { opacity: 0; }

.book-back { position: absolute; left: var(--space-6); top: var(--space-6); z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: var(--border) solid rgba(12, 12, 12, 0.22); background: var(--color-white); color: var(--color-ink); transition: border-color var(--duration) var(--ease); }
.book-back:hover { border-color: var(--color-ink); }
.book-back { animation: book-fade 0.3s ease both; }
.book-back[hidden] { display: none; }
.book-back svg, .cal-nav svg, .cal-pager svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.book-intro { flex: none; display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.book-photo { flex: none; width: clamp(60px, 9vh, 80px); height: clamp(60px, 9vh, 80px); border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--color-line); }
.book-card[data-state="details"] .book-photo, .book-card[data-state="goal"] .book-photo, .book-card[data-state="other"] .book-photo { display: none; }
.book-title { font: 400 var(--text-h1)/1.2 var(--font-display); letter-spacing: -0.015em; text-wrap: balance; }
.book-sub { margin-top: var(--space-1); font: 400 var(--text-lead)/1.35 var(--font-sans); color: var(--color-ink); }
.book-sub:empty { display: none; }

/* calendar on the left, times open up on the right. Widths stay fixed so the calendar does not squash while the card opens */
.book-layout { flex: 0 1 391px; min-height: 0; display: flex; gap: var(--book-gap); }
.book-cal { flex: 0 0 var(--book-col); display: flex; flex-direction: column; min-height: 0; }
.book-times { flex: 0 0 var(--book-col); position: relative; display: flex; flex-direction: column; min-height: 0; opacity: 0; visibility: hidden; transition: opacity 0.15s ease, visibility 0s 0.15s; }
.book-card[data-state="times"] .book-times { opacity: 1; visibility: visible; transition: opacity 0.32s ease 0.18s, visibility 0s; }
.book-card[data-state="day"] .book-cal { transform: translateX(var(--shift-x)); }
.book-times::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(var(--book-gap) / -2); width: var(--border); background: var(--color-line); }
@keyframes book-fade { from { opacity: 0; } }
.cal-days.is-arriving .cal-day.is-open::before { animation: book-fade 0.3s ease both; }

.cal-bar { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; min-height: 44px; margin-bottom: var(--space-3); }
.cal-range, .cal-side-title { font: 600 var(--text-h3)/1.2 var(--font-sans); color: var(--color-text); }
/* "Availability for" on its own line, the date centred under it: the label never shifts when the date's length changes, and the fixed height keeps the times below still */
.cal-side-title { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; min-height: 2.4em; margin-bottom: var(--space-3); text-align: center; }
.cal-side-day { display: block; white-space: nowrap; }
.cal-nav { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: var(--border) solid rgba(12, 12, 12, 0.22); color: var(--color-ink); transition: border-color var(--duration) var(--ease); }
.cal-nav:hover:not(:disabled) { border-color: var(--color-ink); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-wd, .cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-wd span { padding-bottom: var(--space-2); font: 600 var(--text-body)/1 var(--font-sans); color: var(--color-ink); }
.cal-days { flex: 0 1 360px; min-height: 0; grid-template-rows: repeat(var(--weeks, 6), minmax(0, 1fr)); }
.cal-day { display: grid; place-items: center; font: 400 var(--text-lead)/1 var(--font-sans); color: rgba(12, 12, 12, 0.6); }   /* days with no times: lighter than the open days, still 4.5:1 on white */
.cal-day.is-open { position: relative; isolation: isolate; color: var(--color-ink); font-weight: 600; cursor: pointer; }
.cal-day.is-open::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 50%; height: min(52px, 92%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--color-paper); transition: background-color var(--duration) var(--ease); }
.cal-day.is-open:hover::before { background: var(--color-sand); }
.cal-day.is-open[aria-pressed="true"] { color: #fff; }
.cal-day.is-open[aria-pressed="true"]::before { background: var(--color-ink); }
.cal-day.is-today:not(.is-open) { color: var(--color-ink); font-weight: 600; }

.cal-scroll { position: relative; flex: 1; min-height: 0; }
.cal-times { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 56px; align-content: start; gap: var(--space-2); overflow: hidden; }
/* fewer times than fit in one row: centre them as a group, each button keeping its usual width */
.cal-times:not(:has(> :nth-child(4))) { display: flex; justify-content: center; align-items: flex-start; }
.cal-times:not(:has(> :nth-child(4))) > .cal-time { flex: 0 0 calc((100% - 3 * var(--space-2)) / 4); height: 56px; }
.cal-time { border-radius: var(--radius-sm); border: var(--border) solid rgba(12, 12, 12, 0.45); background: var(--color-white); color: var(--color-ink); font: 600 var(--text-lead)/1 var(--font-sans); white-space: nowrap; transition: background-color var(--duration) var(--ease), border-color var(--duration) var(--ease); }
.cal-time:hover { border-color: var(--color-ink); background: var(--color-paper); }
.cal-pager { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.cal-pager button { display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--color-paper); color: var(--color-ink); }
.cal-pager button:disabled { opacity: 0.4; cursor: default; }
.book-msg { flex: none; font: 400 var(--text-lead)/1.5 var(--font-sans); color: var(--color-text-2); }
.book-msg:empty { display: none; }
.book-msg a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.book-form-msg { color: var(--color-error); }

/* first screen: what they need help with */
.book-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); width: min(100%, 640px); margin-inline: auto; }
.book-choice { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3); height: 140px; padding: var(--space-3); border-radius: var(--radius-md); border: var(--border) solid rgba(12, 12, 12, 0.45); background: var(--color-white); color: var(--color-ink); font: 600 var(--text-h3)/1.2 var(--font-sans); transition: background-color var(--duration) var(--ease), border-color var(--duration) var(--ease); }
.book-choice:hover { border-color: var(--color-ink); background: var(--color-paper); }
.book-choice svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.book-choice[aria-pressed="true"] { border-color: var(--color-ink); background: var(--color-paper); box-shadow: inset 0 0 0 1px var(--color-ink); }

/* name, email, submit */
.book-form { display: grid; gap: var(--space-4); width: var(--book-col); margin-inline: auto; }
.book-form:focus { outline: none; }
.book-form input { width: 100%; height: 68px; padding: 0 var(--space-4); border-radius: var(--radius-sm); border: var(--border-strong) solid rgba(12, 12, 12, 0.32); background: var(--color-white); color: var(--color-text); font: 400 var(--text-h3)/1.4 var(--font-sans); text-align: center; transition: border-color var(--duration) var(--ease); }
.book-form input::placeholder { color: rgba(12, 12, 12, 0.72); opacity: 1; }
.book-form input:focus { outline: none; border-color: var(--color-ink); box-shadow: 0 0 0 1px var(--color-ink); }
.book-form input.is-bad { border-color: var(--color-error); }
.book-form .btn { width: 100%; height: 68px; font-size: var(--text-h3); }
.book-form .btn:hover, .book-form .btn:focus-visible { background: #3a3a3a; border-color: #3a3a3a; color: var(--color-on-dark); }
.book-form .btn:disabled { opacity: 0.6; cursor: default; }
.book-page :focus-visible { outline-color: var(--color-ink); }
/* the step heading takes focus when the button that was pressed disappears; it is not a control, so no ring */
.book-title:focus { outline: none; }
/* Booking page opening: the C draws itself on the ink, fills in, then the screen lifts to show the card.
   CSS only, so it can never get stuck; it ends about 1.3 seconds after the page opens. */
.book-splash { position: fixed; inset: 0; z-index: 10001; display: grid; place-items: center; background: var(--color-ink); animation: book-splash-out 0.35s ease 1.1s both; }
.book-splash svg { width: 88px; height: 88px; overflow: visible; }
.book-splash path { fill: var(--color-apricot); fill-opacity: 0; stroke: var(--color-apricot); stroke-width: 1.4; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: book-splash-draw 0.7s cubic-bezier(0.6, 0, 0.2, 1) 0.1s forwards, book-splash-fill 0.3s ease 0.7s forwards; }
.book-splash ~ .book .book-card { animation: book-card-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 1.15s both; }
@keyframes book-splash-draw { to { stroke-dashoffset: 0; } }
@keyframes book-splash-fill { to { fill-opacity: 1; } }
@keyframes book-splash-out { to { opacity: 0; visibility: hidden; } }
@keyframes book-card-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
    .book-splash { display: none; }
    .book-splash ~ .book .book-card { animation: none; }
}

/* under the four choices on the first step: the small print */
.book-assure { width: min(100%, 640px); margin-inline: auto; }
.book-legal { max-width: 46em; margin-inline: auto; font: 400 var(--text-label)/1.5 var(--font-sans); color: var(--color-text-3); text-wrap: pretty; }
.book-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-height: 640px) { .book-legal { display: none; } }   /* very short screens: the same small print is still under Submit on the last step */

/* the note under Submit: who gets the details */
.book-note { font: 400 var(--text-body)/1.45 var(--font-sans); color: var(--color-text-3); text-wrap: pretty; }
.book-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) { .cal-times { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@media (max-height: 720px) { .book-card { gap: var(--space-4); padding-block: var(--space-6); } }
@media (max-height: 620px) { .book-photo { display: none; } }

/* phones and small tablets: the same idea going downward, times right under the calendar, still one screen */
@media (max-width: 900px) {
    .book-page::before { display: none; }
    .book-page { --gutter: 12px; --book-pad: var(--space-3); --book-gap: var(--space-2); --shift-x: 0px; }
    .book-head { margin-inline: 24px; padding: calc(var(--space-2) + var(--border) + var(--space-1) + 4px) 0 var(--space-4); }   /* 24px is the homepage margin on phones */
    .book { padding-block: 0 var(--space-3); }
    .book-card { flex: 1 1 auto; height: auto; width: min(100%, 480px); gap: var(--space-2); }
    .book-card[data-state="details"], .book-card[data-state="other"] { padding: var(--space-8) var(--space-4) var(--space-4); }
    .book-card[data-state="details"] .book-intro, .book-card[data-state="other"] .book-intro { padding-inline: var(--space-8); }
    /* phones: the heading and calendar stay put at the top; the times just fade in underneath (no slide down, then up) */
    .book-back { left: var(--space-2); top: var(--space-2); }
    .book-intro { flex-direction: column; align-items: center; gap: var(--space-2); min-height: 56px; }
    .book-photo { width: 48px; height: 48px; }
    /* phones: the photo sits centred above the question, clear of the back arrow in the corner, on both calendar steps so nothing shifts between them */
    .book-title { font-size: var(--text-h3); }
    .book-sub { margin-top: 2px; font-size: var(--text-body); min-height: calc(2 * 1.35em); }   /* always room for two lines, so a longer line after picking a day can't push the calendar mid-slide */
    .book-layout { flex: 1 1 auto; flex-direction: column; }
    .book-cal { flex: none; }
    .cal-bar { margin-bottom: var(--space-1); }
    .cal-days { --row: 42px; flex: none; height: calc(var(--weeks, 6) * var(--row)); }
    .book-times { flex: 1 1 auto; min-height: 104px; }
    .book-times::before, .cal-side-title { display: none; }
    .cal-times { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 44px; }
    .cal-times:not(:has(> :nth-child(4))) > .cal-time { height: 44px; }
    .cal-time { font-size: var(--text-body); }
    .cal-day { font-size: var(--text-lead); }
    .cal-wd span { font-size: 16px; }
    .cal-range { font-size: var(--text-lead); }
    .book-form { width: 100%; }
    .book-choices { gap: var(--space-3); }
    .book-choice { height: 120px; font-size: var(--text-lead); gap: var(--space-2); }
    .book-choice svg { width: 28px; height: 28px; }
    .book-card[data-state="goal"] { padding: var(--space-4); gap: var(--space-5); }
}
@media (max-width: 900px) and (max-height: 720px) { .cal-days { --row: 36px; } }
@media (max-width: 900px) and (max-height: 600px) { .cal-days { --row: 32px; } }

/* the narrowest phones (and 400% zoom): keep the question clear of the back arrow in the corner */
@media (max-width: 360px) { .book-intro { padding-inline: 36px; } }

/* very short windows (a phone on its side, or the page zoomed to 200-400%): the card grows with its content and the page scrolls,
   so nothing is cut off above or below the card */
@media (max-height: 520px) {
    .book-page { height: auto; min-height: 100vh; min-height: 100svh; }
    .book-card { height: auto; }
    .book-card[data-state="details"], .book-card[data-state="goal"], .book-card[data-state="other"] { justify-content: flex-start; }
    .book-layout { flex: none; }
    .book-times { min-height: 120px; }
}

/* the confirmation page */
.booked-page { min-height: 100svh; background: var(--color-white); color: var(--color-text); }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 10; }
.booked { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-6); min-height: 100svh; padding: var(--space-24) var(--gutter); text-align: center; }
.booked-logo img { display: block; height: 44px; width: auto; }
.booked-title { margin-top: var(--space-4); font: 400 var(--text-display)/1.05 var(--font-display); letter-spacing: -0.02em; }
.booked-when { font: 400 var(--text-h2)/1.3 var(--font-serif); }
.booked-text { max-width: 32em; font: 400 var(--text-lead)/1.5 var(--font-sans); color: var(--color-text-2); text-wrap: balance; }
.booked-email { color: var(--color-text); font-weight: 600; }
.booked-fine { font: 400 var(--text-body)/1.5 var(--font-sans); color: var(--color-text-3); }
.booked .btn { margin-top: var(--space-4); }

/* footer legal links */
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.footer-legal a { color: inherit; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--color-on-dark); }

/* ---------------------------------------------------------------------
   VERSUS: a generic AI site next to a designed one
   The .ai-mock styles are deliberately the clichés the section calls out.
   --------------------------------------------------------------------- */
.versus { background: var(--color-paper); }
.versus .section-title { max-width: 20ch; margin-inline: auto; text-wrap: balance; }
.versus .section-title i { color: inherit; }
.versus-lead { max-width: 56ch; margin: var(--space-6) auto 0; font: 400 var(--text-lead)/var(--leading-body) var(--font-serif); color: var(--color-text-2); text-wrap: pretty; }
.versus-grid { row-gap: var(--space-12); align-items: start; }
.vs { margin: 0; --span: 6; }

.vs-frame { overflow: hidden; border: var(--border) solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-lg); }
.vs-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: var(--border) solid var(--color-line); background: var(--color-surface); }
.vs-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--color-sand); }
.vs-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-ink); }
.vs-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.vs-cap { padding: var(--space-8) var(--space-2) 0; }
.vs-title { font: 400 var(--text-h3)/var(--leading-snug) var(--font-display); letter-spacing: var(--tracking-display); }
.vs--ai .vs-title { color: var(--color-stone); }
.vs-list { list-style: none; display: grid; gap: var(--space-3); margin-top: var(--space-5); font-size: var(--text-body); color: var(--color-text-2); }
.vs-list li { display: flex; gap: var(--space-3); align-items: baseline; }
.vs-mark { flex: none; width: 15px; height: 15px; translate: 0 2px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.vs-list--no .vs-mark { stroke: var(--color-stone); }
.vs-list--yes .vs-mark { stroke: var(--color-accent-strong); }
.vs-note { margin-top: var(--space-5); font-size: var(--text-small); color: var(--color-text-3); }
.versus-foot { max-width: 60ch; margin: var(--space-16) auto 0; text-align: center; font-size: var(--text-small); color: var(--color-text-3); }

@media (max-width: 900px) {
    .vs { --span: 12; }
}

/* ---------------------------------------------------------------------
   LEGAL: an example demand letter next to what every build includes
   --------------------------------------------------------------------- */
.legal { background: var(--color-surface-2); }
.legal .section-title { max-width: 18ch; margin-inline: auto; text-wrap: balance; }
.legal .section-title i { color: inherit; }
.legal-lead { max-width: 56ch; margin: var(--space-6) auto 0; font: 400 var(--text-lead)/var(--leading-body) var(--font-serif); color: var(--color-text-2); text-wrap: pretty; }
.legal-grid { align-items: center; row-gap: var(--space-16); }
.letter { --span: 6; position: relative; padding: var(--card-pad) calc(var(--card-pad) * 1.15); background: var(--color-white); border: var(--border) solid var(--color-line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); rotate: -1.2deg; font-family: var(--font-serif); }
.letter-stamp { position: absolute; top: var(--space-6); right: var(--space-6); padding: var(--space-1) var(--space-3); border: var(--border-strong) solid currentColor; border-radius: var(--radius-sm); color: var(--color-text); font: 700 var(--text-micro)/1.3 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; rotate: 6deg; }
.letter-from, .letter-sign { display: grid; gap: var(--space-2); }
.letter-sign { margin-top: var(--space-8); }
.redact { display: block; height: 10px; border-radius: 2px; background: var(--color-ink); opacity: 0.85; }
.letter-title { margin-top: var(--space-8); font: 400 var(--text-h3)/var(--leading-snug) var(--font-display); letter-spacing: var(--tracking-display); }
.letter-body { margin-top: var(--space-4); font-size: var(--text-small); line-height: 1.6; color: var(--color-text-2); }
.letter-counts { margin: var(--space-6) 0 0; padding: 0; list-style: none; counter-reset: count; display: grid; gap: var(--space-5); }
.letter-counts li { counter-increment: count; display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-3); padding-top: var(--space-4); border-top: var(--border) solid var(--color-line); }
.letter-counts li::before { content: counter(count) "."; grid-row: span 3; font: 700 var(--text-small)/1.4 var(--font-sans); color: var(--color-text-3); }
.count-law { font: 600 var(--text-body)/1.35 var(--font-sans); color: var(--color-ink); }
.count-what { margin-top: var(--space-1); font: 400 var(--text-small)/1.45 var(--font-sans); color: var(--color-text-2); }
.count-cost { margin-top: var(--space-2); font: 700 var(--text-small)/1.3 var(--font-sans); color: var(--color-text); font-variant-numeric: tabular-nums; }

.legal-fix { --start: 8; --span: 5; }
.legal-fix-title { font: 400 var(--text-h2)/var(--leading-snug) var(--font-display); letter-spacing: var(--tracking-display); text-wrap: balance; }
.legal-list { list-style: none; display: grid; gap: var(--space-5); margin-top: var(--space-8); color: var(--color-text-2); }
.legal-list li { display: flex; gap: var(--space-3); align-items: baseline; }
.legal-list b { color: var(--color-ink); }
.legal-list a { color: var(--color-ink); text-underline-offset: 3px; }
.lg-mark { flex: none; width: 16px; height: 16px; translate: 0 3px; fill: none; stroke: var(--color-accent-strong); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.legal-ai { margin-top: var(--space-8); padding-top: var(--space-6); border-top: var(--border) solid var(--color-line); font-size: var(--text-small); color: var(--color-text-2); }
.legal-honest { margin-top: var(--space-5); font: 400 var(--text-lead)/1.45 var(--font-serif); color: var(--color-ink); text-wrap: pretty; }
.legal-fine { max-width: 72ch; margin: var(--space-16) auto 0; text-align: center; font-size: var(--text-micro); line-height: 1.6; color: var(--color-text-3); }

@media (max-width: 900px) {
    .letter, .legal-fix { --start: 1; --span: 12; }
    .letter { rotate: 0deg; }
}

/* ---------------------------------------------------------------------
   Cookie banner (analytics.js): one bar along the bottom of the screen.
   Shown until the visitor answers, and again from the footer's "Privacy choices".
   Both buttons are the same outline button on purpose: neither choice is pushed.
   --------------------------------------------------------------------- */
.consent {
    position: fixed; z-index: 200; left: 0; right: 0; bottom: 0;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-3) var(--space-8);
    padding: var(--space-4) var(--gutter) calc(var(--space-4) + env(safe-area-inset-bottom));
    background: #1d1c1b; color: var(--color-on-dark); box-shadow: 0 -1px 0 var(--color-line-dark), 0 -24px 48px -28px rgba(0, 0, 0, 0.8);
}
.consent-text { flex: 0 1 auto; max-width: 62em; font: 400 var(--text-small)/1.5 var(--font-sans); color: var(--color-on-dark-2); }
.consent-text b { color: var(--color-on-dark); font-weight: 600; }
.consent-text a { color: var(--color-on-dark); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { flex: none; display: flex; justify-content: flex-end; gap: var(--space-2); }
.consent .btn:not(.btn--primary) { border-color: var(--color-on-dark-3); color: var(--color-on-dark); }
.consent .btn:not(.btn--primary):hover, .consent .btn:not(.btn--primary):focus-visible { background: var(--color-on-dark); color: var(--color-ink); }
.consent :focus-visible { outline-color: var(--color-apricot); }
.footer-legal button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: inherit; }

/* ----- Reviews (index only): below the work, one dark panel (after a testimonial block on Dribbble). The heading on top, the reviews
   side by side with a hairline under each. ----- */
.testimonials { padding: var(--section-y) var(--gutter); background: var(--color-ink); color: var(--color-on-dark); }
.tm-panel { display: flex; flex-direction: column; gap: var(--space-10); max-width: var(--container); margin: 0 auto; padding: clamp(28px, 3.6vw, 56px);
    border: var(--border) solid rgba(238, 234, 228, 0.1); border-radius: var(--radius-xl); background: #0c0c0c; }
.tm-title { margin: 0; font: 400 var(--text-h1)/1.05 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-on-dark); }
.tm-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: var(--space-8) clamp(32px, 5vw, 80px); margin: 0; padding: 0; list-style: none; }
.tm-item { padding-bottom: var(--space-6); border-bottom: var(--border) solid rgba(238, 234, 228, 0.14); }
.tm-name { margin: 0 0 var(--space-2); font: 600 var(--text-lead)/1.3 var(--font-sans); color: var(--color-on-dark); }
.tm-rating { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-2); font: 400 var(--text-label)/1 var(--font-sans); color: var(--color-on-dark-2); }
.tm-stars { display: inline-flex; gap: 2px; color: var(--color-on-dark); }
.tm-stars svg { width: 13px; height: 13px; }
.tm-meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 var(--space-4); font: 400 var(--text-label)/1.4 var(--font-sans); color: var(--color-on-dark-3); }
.tm-meta span + span::before { content: ''; display: inline-block; width: 1px; height: 0.9em; margin: 0 var(--space-3); vertical-align: -0.1em; background: rgba(238, 234, 228, 0.25); }
.tm-meta a { color: var(--color-on-dark); text-underline-offset: 3px; }
.tm-meta a:hover, .tm-meta a:focus-visible { color: var(--color-on-dark-2); }
.tm-quote { margin: 0; font: 400 var(--text-body)/1.55 var(--font-sans); color: var(--color-on-dark); text-wrap: pretty; }
.tm-quote p { margin: 0; }
@media (max-width: 600px) {
    .tm-meta { flex-direction: column; }   /* phones: role and project on their own lines, no divider */
    .tm-meta span + span::before { display: none; }
}
