/* brandstoryteller. mockup build: a 1:1 reproduction of Deevo's three Drive mockups (1024px wide).
   From 960px up, 1rem = 10 design pixels at any window width, and blocks sit at the mockup's coordinates,
   so the whole composition scales as one piece. Below that, the same content stacks in reading order. */
:root { --cream: #f7f4ef; --card: #f8f5ef; --navy: #00152a; --navy2: #012137; --gold: #f7d693; --amber: #b67a1c; --red: #f0491c; --ink: #101b27; --line: #dcd6ca;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --head: "Archivo", "Arial Narrow", sans-serif; --sans: "Inter", system-ui, sans-serif; --serif: "Newsreader", Georgia, serif; }
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 10px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 1.6rem; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; padding: 0; font: inherit; }
ul { list-style: none; }
a { color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.d { display: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* type */
.logo { font-family: var(--head); font-weight: 800; font-stretch: 88%; letter-spacing: -.035em; text-decoration: none; color: #fff; font-size: 2.4rem; line-height: 1; }
.logo { display: block; } .logo img { width: auto; height: 3rem; object-fit: contain; }
.sig { width: 21rem; height: auto; margin-top: .4rem; }
.h1 { font-family: var(--head); font-weight: 800; font-stretch: 92%; letter-spacing: -.02em; text-transform: uppercase; color: #fff; font-size: 3.8rem; line-height: .95; }
.h { font-family: var(--head); font-weight: 850; font-stretch: 71%; letter-spacing: -.018em; text-transform: uppercase; word-spacing: .05em; font-size: 3.4rem; line-height: 1; color: var(--navy); }
.on-dark { color: #fff; }
.k { font-family: var(--head); font-weight: 800; font-stretch: 64%; text-transform: uppercase; color: var(--gold); font-size: 1.8rem; line-height: 1.2; }
.tag { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gold); font-size: 1.3rem; line-height: 1.3; }
.tag--ink { color: var(--amber); }
.s { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 2rem; line-height: 1.25; color: var(--amber); }
.s--navy { color: var(--navy); } .s--gold { color: var(--gold); }
.name { font-family: var(--head); font-weight: 850; font-stretch: 71%; letter-spacing: -.012em; text-transform: uppercase; color: var(--navy); font-size: 2rem; line-height: 1.1; }
.t { color: var(--ink); } .t p + p { margin-top: .9em; } .w { color: #fff; }
.lnk { font-weight: 700; color: var(--navy); text-decoration: none; } .lnk--gold { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; } .lnk--gold span { display: inline-block; text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; background: var(--gold); color: var(--navy); font-weight: 700; text-decoration: none; border-radius: 2px; padding: 1.4rem 2.2rem; font-size: 1.5rem; line-height: 1.1; white-space: nowrap; }
.play { display: inline-block; flex: none; width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--navy); position: relative; }
.play::after { content: ""; position: absolute; left: 38%; top: 26%; border-style: solid; border-width: .24em 0 .24em .38em; border-color: transparent transparent transparent var(--gold); }

/* stacked (phones and small tablets) */
.sec { position: relative; padding: 5.6rem 2.4rem; display: flex; flex-direction: column; gap: 2.2rem; }
.navy { background: var(--navy); color: #fff; } .navy2 { background: var(--navy2); color: #fff; }
.nav { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; background: var(--navy); color: #fff; padding: 1.2rem 2.2rem; font-weight: 600; font-size: 1.4rem; }
.nav .logo { width: 100%; } .nav a:not(.logo):not(.btn) { text-decoration: none; }
.nav .btn { padding: .8rem 1.2rem; font-size: 1.3rem; margin-left: auto; }
.rule, .deco, .box-nav { display: none; }
.ph, .pic, .lab-img { overflow: hidden; }
.ph { order: -1; margin: -5.6rem -2.4rem .8rem; height: 62vw; }
.ph img { object-position: var(--pos, 50% 30%); }
.pic { height: 56vw; } .pic img { object-position: var(--pos, 50% 50%); }
.cols { display: flex; flex-direction: column; gap: 4rem; }
.icon { width: 3.4rem; height: 3.4rem; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card { background: var(--card); color: var(--ink); }
.card .pic { height: 40vw; } .card-b { padding: 2.2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.polaroid { background: #fff; padding: 1.2rem 1.2rem 4rem; max-width: 26rem; transform: rotate(-4deg); box-shadow: 0 .6rem 1.8rem rgba(0,0,0,.28); }
.polaroid img { filter: grayscale(1) contrast(1.08); aspect-ratio: 4 / 5; height: auto; }
.lego { position: relative; background: #f8dc9e; border-radius: 1.2rem; padding: 1.6rem 1.8rem 1.6rem 5.4rem; font-style: italic; font-weight: 500; color: var(--navy); }
.lego i { position: absolute; left: 1rem; top: .4rem; font-family: var(--serif); font-style: normal; font-weight: 800; font-size: 7rem; line-height: 1; }
.lab-img { order: -1; margin: -5.6rem -2.4rem .8rem; height: 52vw; position: relative; }
.lab-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,21,42,0) 72%, var(--navy) 100%); }
.socials { display: flex; gap: 1.2rem; } .socials svg { width: 2.6rem; height: 2.6rem; fill: var(--navy); } .socials .o { fill: none; stroke: var(--navy); stroke-width: 2.2; } .socials .g { fill: var(--cream); }
.check { position: relative; padding-left: 3rem; } .check::before { content: ""; position: absolute; left: .3rem; top: .35em; width: 1.4rem; height: .75rem; border-left: .3rem solid #e0962a; border-bottom: .3rem solid #e0962a; transform: rotate(-45deg); }
.thread { display: block; font-size: 1.8rem; }
.foot-gap { display: none; }

/* the mockup, to the pixel */
@media (min-width: 960px) {
  :root { --gx: max(0px, calc((100vw - 102.4rem) / 2)); }
  html { font-size: min(calc(100vw / 102.4), 15.625px); scroll-padding-top: 3.7rem; }
  body { overflow-x: clip; }
  .card .a { --gx: 0px; }
  body { font-size: 1.1rem; line-height: 1.4rem; }
  .d { display: inline; }
  .sec { display: block; padding: 0; height: calc(var(--h) * .1rem); overflow: hidden; }
  .a { position: absolute; left: calc(var(--gx) + var(--x) * .1rem); top: calc(var(--y) * .1rem); width: calc(var(--w, auto) * .1rem); font-size: calc(var(--s, 11) * .1rem); line-height: calc(var(--l, 14) * .1rem); white-space: nowrap; }
  .a.t, .a.w { letter-spacing: -.016em; font-weight: 450; }
  .a.h1, .a.h, .a.k, .a.name, .a.s, .a.tag { line-height: calc(var(--l, 14) * .1rem); }
  .nav { position: fixed; z-index: 20; inset: 0 0 auto 0; transition: background-color 240ms ease, box-shadow 240ms ease; height: calc(var(--h) * .1rem); padding: 0; background: transparent; display: block; font-size: 1.05rem; }
  .nav--solid { background: var(--navy); }
  .nav .logo { width: auto; }
  .nav .logo img { height: calc(var(--lh, 25) * .1rem); }
  .sig.a { height: auto; }
  .nav .btn, .btn.a { padding: 0; display: inline-flex; height: calc(var(--bh, 26) * .1rem); width: calc(var(--w) * .1rem); margin: 0; font-size: calc(var(--s, 10.5) * .1rem); line-height: 1; }
  .box-nav { display: block; position: absolute; transition: opacity 240ms ease; left: calc(var(--gx) + var(--x) * .1rem); top: 0; right: 0; height: calc(var(--bh) * .1rem); background: rgba(0, 16, 32, .92); }
  .ph, .lab-img { position: absolute; order: 0; margin: 0; left: calc(var(--gx) + var(--x) * .1rem); top: calc(var(--y) * .1rem); width: calc(var(--gx) + var(--w) * .1rem); height: calc(var(--ih) * .1rem); }
  .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0, rgba(0,21,42,.7) 9%, rgba(0,21,42,0) 22%); }
  .pic { position: absolute; left: calc(var(--gx) + var(--x) * .1rem); top: calc(var(--y) * .1rem); width: calc(var(--w) * .1rem); height: calc(var(--ih) * .1rem); }
  .rule, .deco { display: block; position: absolute; left: calc(var(--gx) + var(--x) * .1rem); top: calc(var(--y) * .1rem); background: var(--line); }
  .rule--v { width: 1px; height: calc(var(--len) * .1rem); }
  .rule--h { height: 1px; width: calc(var(--len) * .1rem); }
  .rule--full { left: 0; width: 100%; }
  .rule--gold { background: #c4913d; }
  .rule--dk { background: rgba(255,255,255,.3); }
  .rule--bar { width: .2rem; background: #d09a3f; }
  .icon { width: calc(var(--w) * .1rem); height: calc(var(--w) * .1rem); }
  .card { position: absolute; left: calc(var(--gx) + var(--x) * .1rem); top: calc(var(--y) * .1rem); width: calc(var(--w) * .1rem); height: calc(var(--ih) * .1rem); }
  .card .pic { left: 0; top: 0; width: 100%; height: 10rem; }
  .card-b { padding: 0; display: block; }
  .polaroid { position: absolute; left: calc(var(--gx) + 5.15rem); top: 8.8rem; width: 20.9rem; height: 24.8rem; padding: .9rem .9rem 2rem; max-width: none; transform: rotate(-5deg); box-shadow: .1rem .3rem 1.1rem rgba(0,0,0,.3); }
  .polaroid img { height: 100%; aspect-ratio: auto; }
  .lego { position: absolute; left: calc(var(--gx) + 29.5rem); top: 26.8rem; width: 41rem; height: 11.4rem; padding: 0; border-radius: 1.2rem; }
  .lego i { left: .4rem; top: .4rem; font-size: 6.4rem; }
  .lego span { position: absolute; left: 4rem; top: 1.2rem; font-size: 1.08rem; line-height: 1.5rem; letter-spacing: -.012em; white-space: nowrap; font-weight: 500; }
  .socials { gap: 1.2rem; } .socials svg { width: 2.2rem; height: 2.2rem; }
  .check { padding-left: 3.1rem; } .check::before { left: .4rem; top: .1rem; width: 1.3rem; height: .7rem; border-width: 0 0 .3rem .3rem; }
  .thread { font-size: 1.45rem; }
  .foot-gap { display: block; height: calc(var(--h) * .1rem); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.contour { display: none; }
@media (min-width: 960px) { .contour { display: block; position: absolute; right: 0; top: 0; height: 100%; width: 40rem; } }
@media (max-width: 959px) { span.a[aria-hidden="true"] { display: none; } }
@media (min-width: 960px) { .lab-img { left: 0; } }
@media (min-width: 1601px) {
  .lab-img { left: var(--gx); width: calc(var(--w) * .1rem); }
  .lab-img::after { background: linear-gradient(90deg, var(--navy) 0, rgba(0,21,42,0) 18%, rgba(0,21,42,0) 72%, var(--navy) 100%); }
}

/* ---------- motion ----------
   Each thing moves once, on arrival, or because someone is touching it. Nothing loops. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  @view-transition { navigation: auto; }
  ::view-transition-group(root) { animation-duration: 240ms; }
}
.nav a:not(.logo):not(.btn) { position: relative; }
@media (min-width: 960px) { .nav a.a:not(.logo):not(.btn) { position: absolute; } }

/* Arrival: a short rise and fade. Photos settle, rules draw, the polaroid drops into its tilt. */
.js main :is(.a, .pic, .ph, .lab-img, .card, .polaroid, .lego, .rule):where(:not(.card *)):not(.rest) { transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out), clip-path 800ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js main :is(.a, .pic, .ph, .lab-img, .card, .polaroid, .lego, .rule):where(:not(.card *)):not(.seen) { opacity: 0; transform: translateY(1.6rem); }
.js main .ph:not(.seen), .js main .lab-img:not(.seen) { transform: none; }
.js main .rule:not(.seen) { opacity: 0; transform: none; clip-path: inset(0 99% 0 0); }
.js main .rule--v:not(.seen) { clip-path: inset(0 0 99% 0); }
.js main .polaroid:not(.seen) { transform: translateY(2rem) rotate(-11deg); }
.js main :is(.pic, .ph, .lab-img, .card):where(:not(.card *)):not(.rest) img { transition: transform 1200ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js main :is(.pic, .ph, .lab-img, .card):where(:not(.card *)):not(.seen) img { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .js main :is(.a, .pic, .ph, .lab-img, .card, .polaroid, .lego, .rule):where(:not(.card *)):not(.rest) { transition: opacity 240ms ease, clip-path 240ms ease; transition-delay: 0ms; }
  .js main :is(.a, .pic, .ph, .lab-img, .card, .polaroid, .lego):where(:not(.card *)):not(.seen), .js main :is(.pic, .ph, .lab-img, .card):where(:not(.card *)):not(.seen) img { transform: none; }
  .polaroid, .polaroid:hover { transition: none; }
}
@media print { .js main * { opacity: 1 !important; transform: none !important; clip-path: none !important; } }

/* Nav: solid once the hero is gone, with a gold thread tracking progress down the page. */
.nav.is-stuck { background: var(--navy); box-shadow: 0 .1rem 0 rgba(255, 255, 255, .08), 0 .8rem 2.4rem rgba(0, 16, 32, .28); }
.nav.is-stuck .box-nav { opacity: 0; }
@supports (animation-timeline: scroll()) {
  @media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
    .nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: .2rem; background: var(--gold); transform-origin: left; opacity: 0; transition: opacity 240ms ease; animation: thread linear both; animation-timeline: scroll(root); }
    .nav.is-stuck::after { opacity: 1; }
  }
}
@keyframes thread { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Nav links: a gold rule that draws in from the left, and stays on the current page or section. */
.nav a:not(.logo):not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.5rem; height: .2rem; background: var(--gold); clip-path: inset(0 100% 0 0); transition: clip-path 220ms var(--ease-out); }
.nav a.on:not(.logo):not(.btn)::after { clip-path: inset(0); }
.nav a:not(.logo):not(.btn) { transition: color 160ms ease; }

/* Resting transitions for everything that responds to a pointer. */
.btn { transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 140ms var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn span[aria-hidden], .lnk span[aria-hidden], .lnk + span[aria-hidden] { display: inline-block; transition: transform 200ms var(--ease-out); }
.name a { color: inherit; text-decoration: none; }
.lnk, .name a { transition: color 160ms ease; }
.logo img { transition: opacity 160ms ease; }
.socials a { display: block; transition: transform 200ms var(--ease-out); } .socials svg, .socials .o { transition: fill 160ms ease, stroke 160ms ease; }
.card { transition: transform 260ms var(--ease-out), box-shadow 260ms ease; }
.card .pic img { transition: transform 300ms var(--ease-out); }
.card-hit { position: absolute; inset: 0; z-index: 1; }
@media (max-width: 959px) { .card { position: relative; } }
.polaroid { transition: transform 300ms var(--ease-out), box-shadow 300ms ease; }
.play { transition: transform 200ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #fff; box-shadow: 0 .4rem 1.4rem rgba(0, 16, 32, .28); }
  .sec:not(.navy):not(.navy2) .btn:hover { background: var(--navy); color: var(--gold); }
  .btn:hover span[aria-hidden]:not(.play), .lnk:hover span[aria-hidden] { transform: translateX(.3em); }
  .btn:hover .play { transform: scale(1.14); }
  .lnk:hover, .name a:hover { color: var(--amber); }
  .lnk--gold:hover { color: #fff; }
  .lnk--gold:hover + span[aria-hidden] { color: #fff; transform: translateY(.2rem); }
  .nav a:not(.logo):not(.btn):hover { color: var(--gold); }
  .nav a:not(.logo):not(.btn):hover::after { clip-path: inset(0); }
  .logo:hover img { opacity: .8; }
  .socials a:hover { transform: translateY(-.2rem); }
  .socials a:hover svg { fill: var(--amber); } .socials a:hover .o { fill: none; stroke: var(--amber); }
  .card:hover { transform: translateY(-.5rem); box-shadow: 0 1.4rem 2.8rem rgba(0, 0, 0, .35); }
  .card:hover .pic img { transform: scale(1.04); }
  .card:hover .lnk { color: var(--amber); }
  .card:hover .lnk span[aria-hidden] { transform: translateX(.3em); }
  .polaroid:hover { transform: rotate(-1.5deg) scale(1.02); box-shadow: .2rem .6rem 1.8rem rgba(0, 0, 0, .34); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .btn:hover span[aria-hidden]:not(.play), .lnk:hover span[aria-hidden], .card:hover .lnk span[aria-hidden], .btn:hover .play, .socials a:hover, .card:hover, .card:hover .pic img, .polaroid:hover, .lnk--gold:hover + span[aria-hidden] { transform: none; }
}

/* ---------- round 5: Deevo's own photos, the scenic route, and the Get Involved page ---------- */
/* About: his childhood polaroid arrives already framed, captioned and shadowed on our cream, so it carries no frame of its own. */
.polaroid--real { background: none; padding: 0; box-shadow: none; max-width: 30rem; transform: rotate(-2deg); }
.polaroid--real img { filter: none; aspect-ratio: 900 / 997; height: auto; object-fit: contain; }
/* "Pull up a chair": Deevo on his chair, bleeding off the left edge. */
.side-ph { order: -1; overflow: hidden; margin: -5.6rem -2.4rem .8rem; height: 112vw; }
.side-ph img { object-position: var(--pos, 50% 30%); }
/* The scenic route: one gold thread that wanders from the childhood photo to "my grandfather was onto something". */
.route { display: none; }
.route path { fill: none; stroke: #c4913d; stroke-width: 1.5; stroke-linecap: round; }
.route circle { fill: #c4913d; }
/* Get Involved type */
.serif { font-family: var(--serif); font-style: normal; font-weight: 400; }
.serif i { font-style: italic; }
.kw { font-family: var(--head); font-weight: 800; font-stretch: 100%; letter-spacing: 0; text-transform: uppercase; color: var(--gold); font-size: 1.5rem; line-height: 1.2; }
.kw--ink { color: #c08a2c; }
.h1--wide { font-stretch: 97%; }
.dot { color: var(--gold); font-weight: inherit; }
.sec:not(.navy) .dot { color: #e0a43a; }
.note { font-family: var(--serif); font-style: italic; color: var(--ink); }
.note a { color: inherit; text-underline-offset: 2px; }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); }

@media (min-width: 960px) {
  .polaroid--real { left: calc(var(--gx) + 3rem); top: 6rem; width: 23.6rem; height: auto; padding: 0; max-width: none; transform: rotate(-2deg); box-shadow: none; }
  .polaroid--real img { height: auto; }
  .side-ph { position: absolute; margin: 0; left: 0; top: 0; width: calc(var(--gx) + var(--w) * .1rem); height: calc(var(--ih) * .1rem); }
  .route { display: block; position: absolute; left: calc(var(--gx) + var(--x) * .1rem); top: calc(var(--y) * .1rem); width: calc(var(--w) * .1rem); height: calc(var(--ih) * .1rem); overflow: visible; }
  .a.serif { letter-spacing: 0; font-weight: 400; }
  .rule.bar { height: .3rem; background: var(--gold); }
}
@media (min-width: 1601px) { .side-ph { left: var(--gx); width: calc(var(--w) * .1rem); } }

/* Arrival for the new pieces: the photo panel settles like the others, the thread draws itself once. */
.js main .side-ph:not(.rest) { transition: opacity 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js main .side-ph:not(.seen) { opacity: 0; }
.js main .side-ph:not(.rest) img { transition: transform 1200ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js main .side-ph:not(.seen) img { transform: scale(1.06); }
.js main .route path { stroke-dasharray: 1; transition: stroke-dashoffset 1800ms cubic-bezier(.45, 0, .2, 1) 300ms; }
.js main .route:not(.seen) path { stroke-dashoffset: 1; }
.js main .route circle { transition: opacity 300ms ease; }
.js main .route .end { transition-delay: 1900ms; }
.js main .route:not(.seen) circle { opacity: 0; }
.js main .polaroid--real:not(.seen) { transform: translateY(2rem) rotate(-8deg); }
@media (hover: hover) and (pointer: fine) { .polaroid--real:hover { transform: rotate(0deg) scale(1.02); box-shadow: none; } }
@media (prefers-reduced-motion: reduce) {
  .js main .route path { transition: none; stroke-dashoffset: 0 !important; }
  .js main .route circle { transition: none; opacity: 1 !important; }
  .js main .side-ph:not(.seen) img, .js main .polaroid--real:not(.seen) { transform: none; }
  .polaroid--real:hover { transform: rotate(-2deg); }
}
@media print { .js main .route path { stroke-dashoffset: 0 !important; } .js main .route circle { opacity: 1 !important; } }
/* Get Involved photos are cut from the mockup, so their left edge needs a longer fade into the navy. */
@media (min-width: 960px) { .ph--soft::after { background: linear-gradient(90deg, var(--navy) 0, rgba(0,21,42,.82) 12%, rgba(0,21,42,.35) 28%, rgba(0,21,42,0) 42%); } }
/* Smaller buttons sized to their label (Get Involved). The outlined button fills gold on hover so its label stays readable. */
@media (min-width: 960px) { .btn.a.btn--sm { width: auto; padding: 0 1.8rem; gap: .7em; } }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { background: var(--gold); color: var(--navy); box-shadow: inset 0 0 0 1px var(--gold), 0 .4rem 1.4rem rgba(0, 16, 32, .28); } }
.btn--ghost:focus-visible { outline-color: var(--gold); }
@media (min-width: 960px) { .ph--lab::after { background: linear-gradient(90deg, var(--navy) 0, rgba(0,21,42,.92) 7%, rgba(0,21,42,.62) 16%, rgba(0,21,42,.25) 26%, rgba(0,21,42,0) 36%); } }
/* The photo panels start on a fractional pixel, so their left edge could show a 1px seam against the navy; fade the image itself in from transparent. */
@media (min-width: 960px) { .ph img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%); mask-image: linear-gradient(90deg, transparent 0, #000 5%); } }

/* ---------- the Brand Disconnect Audit (from v4): the one gold band on the homepage, straight after the three lenses it scores ---------- */
.gold { background: var(--gold); color: var(--navy); }
.k.on-gold { color: var(--navy); }
.gold .t { color: var(--navy); }
.gold .check::before { border-color: var(--navy); }
.gold .rule { background: rgba(0, 21, 42, .22); }
.gold :focus-visible { outline-color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .sec .btn.btn--navy:hover { background: #fff; color: var(--navy); } }
.audit-card { background: var(--navy); color: #fff; padding: 2.4rem; border-radius: .3rem; box-shadow: 0 1.8rem 4rem rgba(0, 21, 42, .28); max-width: 46rem; }
.audit-card-top { display: flex; justify-content: space-between; align-items: center; gap: 1.6rem; }
.audit-card-label { font-family: var(--sans); font-weight: 800; font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.audit-score { display: grid; place-items: center; flex: none; width: 8.4rem; height: 8.4rem; border: .25rem solid var(--gold); border-radius: 50%; text-align: center; line-height: 1; }
.audit-score strong { display: block; font-family: var(--head); font-weight: 850; font-stretch: 71%; font-size: 3.4rem; color: var(--gold); }
.audit-score span { display: block; margin-top: .3rem; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.audit-card-tier { margin-top: 1.2rem; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.6rem; line-height: 1.25; color: var(--gold); }
.audit-bars { margin-top: 1.8rem; display: grid; gap: 1.3rem; }
.audit-bars li { display: grid; grid-template-columns: 1fr auto; row-gap: .6rem; }
.audit-bars span { font-family: var(--head); font-weight: 850; font-stretch: 71%; text-transform: uppercase; font-size: 1.4rem; line-height: 1; }
.audit-bars b { font-size: 1.2rem; font-weight: 800; line-height: 1; }
.audit-bars i { grid-column: 1 / -1; height: .6rem; background: rgba(255, 255, 255, .16); position: relative; }
.audit-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: #fff; transform-origin: left; transition: transform 900ms var(--ease-out) 350ms; }
.audit-bars .is-weak span, .audit-bars .is-weak b { color: var(--gold); }
.audit-bars .is-weak i::after { background: var(--gold); }
.audit-start { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .2); font-family: var(--head); font-weight: 850; font-stretch: 71%; text-transform: uppercase; font-size: 2rem; line-height: 1; }
.audit-start span { display: block; margin-bottom: .6rem; font-family: var(--sans); font-stretch: 100%; font-size: 1rem; letter-spacing: .12em; color: var(--gold); }
@media (min-width: 960px) {
  .audit-card { position: absolute; left: calc(var(--gx) + var(--x) * .1rem); top: calc(var(--y) * .1rem); width: calc(var(--w) * .1rem); min-height: calc(var(--ih) * .1rem); max-width: none; transform: rotate(1.5deg); }
}
.js main .audit-card:not(.rest) { transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js main .audit-card:not(.seen) { opacity: 0; transform: translateY(2rem) rotate(4deg); }
.js main .audit-card:not(.seen) .audit-bars i::after { transform: scaleX(0); }
@media (max-width: 959px) { .js main .audit-card:not(.seen) { transform: translateY(2rem); } }
@media (prefers-reduced-motion: reduce) { .js main .audit-card:not(.seen) { transform: none; } .audit-bars i::after { transition: none; } }
.gold .check { padding-left: 2.2rem; }
@media (min-width: 960px) {
  .gold .check::before { left: .2rem; top: .35rem; width: 1rem; height: .55rem; border-width: 0 0 .22rem .22rem; }
  .audit-card { padding: 2rem 2.2rem; }
  .audit-card-label { font-size: .9rem; white-space: nowrap; }
  .audit-score { width: 6.8rem; height: 6.8rem; border-width: .2rem; }
  .audit-score strong { font-size: 2.8rem; }
  .audit-score span { font-size: .62rem; }
  .audit-card-tier { font-size: 1.35rem; margin-top: 1rem; }
  .audit-bars { margin-top: 1.5rem; gap: 1.1rem; }
  .audit-bars span { font-size: 1.25rem; } .audit-bars b { font-size: 1.05rem; }
  .audit-bars i { height: .5rem; }
  .audit-start { margin-top: 1.5rem; padding-top: 1.2rem; font-size: 1.75rem; }
  .audit-start span { font-size: .85rem; }
}

/* ---------- round 6 (2026-11-19): one nav bar, the Thread Method, the podcast and writing on their own, type-only case plates ---------- */
/* 1. One clean, full-width navy bar on every page. The half-width box over the hero photo is gone. */
.box-nav { display: none !important; }
.nav--solid { box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
@media (min-width: 960px) { html { scroll-padding-top: 4.4rem; } }

/* Absolutely placed text that is allowed to wrap inside its --w. */
@media (min-width: 960px) { .a.wrap { white-space: normal; } }

/* 2. Case-study plates: each client's name set as type, until their real brand assets arrive. No photos of Deevo here. */
.plate { display: grid; place-items: center; align-content: center; text-align: center; padding: 2rem; background: #efe9dc; color: var(--navy); }
.plate-name { font-family: var(--head); font-weight: 850; font-stretch: 71%; text-transform: uppercase; letter-spacing: .02em; line-height: .95; font-size: 5.2rem; }
.plate-sub { display: block; margin-top: 1.2rem; font: 700 1.05rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.plate--human .plate-name { font-stretch: 100%; letter-spacing: .2em; font-size: 4.4rem; padding-left: .2em; }
.plate--flight { background: var(--navy2); color: var(--gold); box-shadow: inset 0 0 0 .1rem rgba(247, 214, 147, .4), inset 0 0 0 .8rem var(--navy2), inset 0 0 0 .9rem rgba(247, 214, 147, .4); }
.plate--flight .plate-name { font-size: 3.2rem; letter-spacing: .12em; }
.plate--flight .plate-name b { display: block; font-weight: inherit; font-size: 1.9em; letter-spacing: .04em; margin-top: .05em; }
.plate--flight .plate-sub { color: rgba(255, 255, 255, .72); }
.plate--sig { background: #fbf8f1 repeating-linear-gradient(180deg, transparent 0 2.4rem, #e6dfd1 2.4rem calc(2.4rem + 1px)); }
.plate--sig .plate-name { font-family: var(--serif); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 3.8rem; line-height: 1.05; }
.plate--list { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .7rem; text-align: left; background: var(--navy); color: #fff; padding: 2rem 1.8rem; }
.plate--list span { font-family: var(--head); font-weight: 850; font-stretch: 71%; text-transform: uppercase; font-size: 1.5rem; line-height: 1.05; color: var(--gold); }
.plate--list span:nth-child(even) { color: #fff; }
.plate--list .plate-sub { color: rgba(255, 255, 255, .6); margin: 0 0 .4rem; font-size: .9rem; }
.card .plate { padding: 1rem; }
.card .plate-name { font-size: 3.4rem; }
.card .plate--human .plate-name { font-size: 3rem; }
.card .plate--flight .plate-name { font-size: 2rem; }
.card .plate--sig .plate-name { font-size: 2.5rem; }
.card .plate-sub { display: none; }
@media (max-width: 959px) { .card .plate-sub { display: block; } }

/* 3. The Thread Method on the homepage: a gold thread through five stages, on dark navy. */
.navy2 .route path, .navy .route path { stroke: var(--gold); }
.navy2 .route circle, .navy .route circle { fill: var(--gold); }
.stage-n { font-family: var(--sans); font-weight: 800; letter-spacing: .12em; color: var(--gold); }
.route--big path { stroke-width: 1.6; }
.route--big circle { r: 4; }

/* 4. Episodes. Mini rows on the homepage, full rows on the podcast and writing pages. */
.ep { display: block; text-decoration: none; color: #fff; }
.ep-when { display: block; font: 700 1.1rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.ep b { display: block; margin-top: .3rem; font-family: var(--head); font-weight: 850; font-stretch: 71%; text-transform: uppercase; font-size: 1.9rem; line-height: 1.1; letter-spacing: -.01em; }
.ep i { display: block; margin-top: .2rem; font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--gold); opacity: .9; }
@media (min-width: 960px) {
  .ep.a { white-space: normal; line-height: normal; }
  .ep-when { font-size: .95rem; } .ep b { font-size: 1.45rem; } .ep i { font-size: 1.15rem; }
}
@media (hover: hover) and (pointer: fine) { .ep:hover b { color: var(--gold); } .ep b { transition: color 160ms ease; } }
.lab-img--big::after { background: linear-gradient(90deg, rgba(0,21,42,0) 60%, var(--navy) 100%); }
@media (min-width: 1601px) { .lab-img--big::after { background: linear-gradient(90deg, var(--navy) 0, rgba(0,21,42,0) 14%, rgba(0,21,42,0) 60%, var(--navy) 100%); } }

/* Flowing sections: same type, normal document flow, for lists whose length changes. */
.flow-wrap { width: 100%; }
.sec--flow { gap: 0; }
@media (min-width: 960px) {
  .sec.sec--flow { height: auto; overflow: visible; padding: 6.4rem 0; }
  .sec--flow .flow-wrap { width: 102.4rem; max-width: 100%; margin: 0 auto; padding: 0 3.5rem; }
}
.flow-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.flow-head .h { font-size: 3.35rem; line-height: 1; }
.flow-head .tag { font-size: 1.2rem; }
.flow-head p.t { font-size: 1.34rem; line-height: 1.9rem; max-width: 46rem; }
.ep-list { list-style: none; border-top: 1px solid var(--line); }
.ep-row { display: grid; grid-template-columns: 11rem 1fr auto; gap: 2.4rem; align-items: center; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.ep-row .ep-when { color: var(--amber); font-size: 1rem; }
.ep-row .ep-when small { display: block; margin-top: .3rem; font-weight: 500; font-size: 1.05rem; letter-spacing: .02em; text-transform: none; color: #7a7262; }
.ep-row h3 { font-family: var(--head); font-weight: 850; font-stretch: 71%; text-transform: uppercase; letter-spacing: -.012em; font-size: 1.8rem; line-height: 1.1; color: var(--navy); }
.ep-row h3 a { text-decoration: none; transition: color 160ms ease; }
.ep-row .ep-guest { display: block; margin-top: .35rem; font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.3; color: var(--amber); }
.ep-row p { margin-top: .5rem; font-size: 1.2rem; line-height: 1.7rem; color: #4d4a44; max-width: 62rem; }
.ep-links { display: flex; gap: 1.6rem; align-items: center; white-space: nowrap; }
.ep-links a, .ep-links button { font: 700 1.15rem/1 var(--sans); color: var(--navy); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; transition: color 160ms ease; }
.ep-links .ep-play { display: inline-flex; align-items: center; gap: .5em; }
.ep-links .ep-play::before { content: ""; border-style: solid; border-width: .45em 0 .45em .7em; border-color: transparent transparent transparent var(--amber); }
.ep-links .ep-play[aria-pressed="true"]::before { border-width: 0 .25em; border-color: var(--amber); width: .3em; height: .9em; border-style: double; }
.ep-player { grid-column: 1 / -1; }
.ep-player audio { display: block; width: 100%; max-width: 62rem; }
@media (hover: hover) and (pointer: fine) { .ep-row h3 a:hover, .ep-links a:hover, .ep-links button:hover { color: var(--amber); } }
@media (max-width: 700px) { .ep-row { grid-template-columns: 1fr; gap: .9rem; } .ep-row .ep-when small { display: inline; margin-left: .8rem; } }
.ep-more { margin-top: 2.6rem; display: flex; gap: 1.2rem 2.4rem; flex-wrap: wrap; align-items: center; font-size: 1.2rem; }
.ep-more b { font-weight: 700; }
.ep-more a { font-weight: 700; color: var(--navy); }

/* 5. A YouTube embed that only loads the player when someone presses play. */
.yt { position: relative; background: var(--navy); aspect-ratio: 16 / 9; overflow: hidden; }
.yt button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.yt img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; transition: transform 500ms var(--ease-out), opacity 200ms ease; }
.yt .play { position: absolute; left: 50%; top: 50%; width: 6.4rem; height: 6.4rem; margin: -3.2rem 0 0 -3.2rem; background: var(--gold); box-shadow: 0 .6rem 2rem rgba(0, 0, 0, .35); transition: transform 200ms var(--ease-out); }
.yt .play::after { left: 41%; top: 33%; border-width: 1.1rem 0 1.1rem 1.8rem; border-color: transparent transparent transparent var(--navy); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 960px) { .yt.a { height: calc(var(--ih) * .1rem); aspect-ratio: auto; } }
@media (hover: hover) and (pointer: fine) { .yt button:hover img { transform: scale(1.03); opacity: 1; } .yt button:hover .play { transform: scale(1.08); } }
.js main .yt:not(.rest) { transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js main .yt:not(.seen) { opacity: 0; transform: translateY(1.6rem); }
.platforms { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (min-width: 960px) { .platforms.a { white-space: normal; } .platforms .btn { height: calc(var(--bh, 36) * .1rem); font-size: calc(var(--s, 12) * .1rem); padding: 0 1.6rem; } }
.platforms .btn { gap: .6em; }
.platforms svg { width: 1.3em; height: 1.3em; fill: currentColor; flex: none; }

/* 6. Newsletter sign-up. Until Deevo's newsletter platform is connected (data-endpoint), the form opens an email to him. */
.subscribe { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.subscribe .name { width: 100%; font-size: 1.6rem; margin-bottom: .2rem; }
.subscribe input { flex: 1 1 18rem; min-width: 0; height: 3.8rem; padding: 0 1.4rem; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 500 1.3rem/1 var(--sans); border-radius: 2px; }
.subscribe input::placeholder { color: #9a9385; }
.subscribe input:focus-visible { outline: 2px solid var(--amber); outline-offset: 1px; }
.subscribe .btn { height: 3.8rem; padding: 0 1.8rem; font-size: 1.25rem; white-space: nowrap; }
.sub-status { width: 100%; font-size: 1.15rem; line-height: 1.4; color: var(--amber); font-weight: 600; min-height: 1.6rem; }
.sub-note { width: 100%; font-size: 1.05rem; color: #7a7262; }
.gold .subscribe input { border-color: rgba(0, 21, 42, .28); }
.gold .sub-status, .gold .sub-note { color: var(--navy); }
@media (min-width: 960px) { .subscribe.a { white-space: normal; display: flex; } .subscribe.a .btn { height: 3.6rem; font-size: 1.15rem; } .subscribe.a input { height: 3.6rem; font-size: 1.15rem; } }

/* 7. Writing cards on the homepage. */
.art .name a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .art .name a:hover { color: var(--amber); } }

/* Reveal for flow content: rows rise in as they arrive. */
.js main .rv:not(.rest) { transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js main .rv:not(.seen) { opacity: 0; transform: translateY(1.2rem); }
@media (prefers-reduced-motion: reduce) { .js main .rv:not(.seen), .js main .yt:not(.seen) { transform: none; } }
.name.on-dark { color: #fff; }

/* Writing section, second pass: the newsletter box in navy and the three pieces as bordered cards, so the section reads as its own block before "Pull up a chair". */
.subscribe--navy { background: var(--navy); color: #fff; padding: 2rem 2.2rem; border-radius: .3rem; }
.subscribe--navy .name { color: var(--gold); }
.subscribe--navy input { border-color: rgba(255, 255, 255, .25); background: #fff; }
.subscribe--navy .btn { background: var(--gold); color: var(--navy); }
.subscribe--navy .sub-status { color: var(--gold); }
.subscribe--navy .sub-note { color: rgba(255, 255, 255, .62); }
@media (hover: hover) and (pointer: fine) { .sec:not(.navy) .subscribe--navy .btn:hover { background: #fff; color: var(--navy); } }
.acard { display: flex; flex-direction: column; gap: 1rem; background: #fff; border: 1px solid var(--line); padding: 2.2rem 2.2rem 2rem; transition: transform 260ms var(--ease-out), box-shadow 260ms ease, border-color 260ms ease; }
.acard .tag { font-size: 1.1rem; }
.acard .name { font-size: 1.7rem; line-height: 1.12; }
.acard .name a { text-decoration: none; transition: color 160ms ease; }
.acard .t { font-size: 1.3rem; line-height: 1.85rem; color: #4d4a44; }
.acard .lnk { margin-top: auto; font-size: 1.2rem; }
@media (min-width: 960px) {
  .acard { position: absolute; left: calc(var(--gx) + var(--x) * .1rem); top: calc(var(--y) * .1rem); width: calc(var(--w) * .1rem); height: calc(var(--ih) * .1rem); padding: 1.8rem 2rem 1.6rem; gap: .7rem; }
  .acard .tag { font-size: 1rem; }
  .acard .name { font-size: 1.5rem; line-height: 1.7rem; }
  .acard .t { font-size: 1.08rem; line-height: 1.55rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .acard .lnk { font-size: 1.05rem; }
  .subscribe--navy.a { padding: 1.8rem 2rem; }
}
@media (hover: hover) and (pointer: fine) {
  .acard:hover { transform: translateY(-.4rem); box-shadow: 0 1.2rem 2.6rem rgba(0, 21, 42, .12); border-color: #cfc6b4; }
  .acard:hover .name a, .acard:hover .lnk { color: var(--amber); }
  .acard:hover .lnk span[aria-hidden] { transform: translateX(.3em); }
}

/* Round 6, second pass: the Writing section sits on its own deeper paper band so it reads as a block of its own, and "Pull up a chair" stays on cream. */
.paper { background: #ebe5d8; }
.paper .acard { background: #fff; border-color: #d6cdbb; }
.paper .btn--navy { box-shadow: 0 .6rem 1.6rem rgba(0, 21, 42, .14); }
.subscribe--navy .sub-note { margin-top: -.4rem; }
/* "Pull up a chair": the chair photo fades into the cream instead of ending on a hard edge. */
@media (min-width: 960px) {
  .side-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,244,239,0) 72%, var(--cream) 100%); pointer-events: none; }
  .paper .subscribe--navy.a { box-shadow: 0 1rem 2.6rem rgba(0, 21, 42, .18); }
}
