/* Direction C. Loaded after rebrand.css, reuses its tokens and components.
   Reading order: what we do, proof and the call button sit top left; the sheep closes the Z bottom right. */

.dir-c {
    --page: var(--paper);
    --text: var(--ink);
    --muted: var(--ink-soft);
    --heading: var(--deep);
    --line: rgba(91, 71, 23, .3);
    --link: #0a5a78;
    --press: var(--ink);
    --plain-line: var(--ink);
    --plain-text: var(--ink);
    --tile-a: var(--sign);
    --tile-a-ink: var(--ink);
    --tile-b: var(--sea);
    --tile-b-ink: #fff;
    --tile-c: var(--note);
    --tile-c-ink: var(--ink);
    --focus: var(--deep);
}

/* The call to action: deep sea on cream, the strongest contrast the brand palette has */
.btn--deep { background: var(--deep); color: #fff; border-color: var(--deep); box-shadow: 0 3px 0 #011820; }
.btn--deep:hover { background: #0a5a78; box-shadow: 0 4px 0 #011820; }
.btn--deep:active { box-shadow: 0 0 0 #011820; }
.btn--big { min-height: 54px; padding: 13px 24px; font-size: 17.5px; }
.btn--sm { min-height: 40px; padding: 7px 14px; font-size: 15px; box-shadow: 0 2px 0 var(--press); }
.btn--plain.btn--sm { box-shadow: 0 2px 0 var(--plain-line); }
.btn[data-nudge].is-nudged { animation: nudge 1.1s ease-out 2; }
@keyframes nudge {
    0% { box-shadow: 0 3px 0 #011820, 0 0 0 0 rgba(255, 167, 108, .9); }
    70% { box-shadow: 0 3px 0 #011820, 0 0 0 16px rgba(255, 167, 108, 0); }
    100% { box-shadow: 0 3px 0 #011820, 0 0 0 0 rgba(255, 167, 108, 0); }
}

.c-head { background: var(--sky); }
.top__cta { flex: none; }

/* ================= Hero ================= */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column;
    min-height: max(600px, calc(100vh - 94px));
    min-height: max(600px, calc(100svh - 94px));
    background: var(--sky);
}
.hero .cloud--1 { left: auto; right: 4%; top: 2%; width: 220px; opacity: .55; }
.hero .cloud--2 { right: -120px; top: 30%; width: 300px; opacity: .6; }
.hero__body {
    position: relative; z-index: 3; flex: 1;
    width: min(1240px, 100%); margin-inline: auto;
    padding: clamp(16px, 3.2vh, 40px) var(--gutter) 24px;
}
.hero h1 {
    max-width: 15em;
    font-size: clamp(36px, 5.4vw, 74px); font-weight: 800; line-height: 1.02; letter-spacing: -.032em;
    color: var(--deep);
}
.hero__sub { max-width: 58ch; margin-top: clamp(14px, 2vh, 22px); font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.5; }
.hero .actions { margin-top: clamp(18px, 3vh, 28px); }

.nums { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px clamp(24px, 3.4vw, 46px); margin-top: clamp(22px, 4vh, 40px); }
.nums li { display: flex; flex-direction: column; }
.nums b { font-size: clamp(32px, 3.6vw, 52px); font-weight: 800; line-height: 1; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.nums li > span { margin-top: 5px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.nums__pic b { font-size: clamp(20px, 1.9vw, 27px); letter-spacing: 0; padding-bottom: 3px; }

.sheep--hero { right: max(16px, 5vw); bottom: 52px; width: clamp(150px, 19vw, 290px); z-index: 7; }
.sheep--hero .sheep__say { right: 4%; bottom: 96%; max-width: 270px; }
.sheep--hero .sheep__say::after { right: 30px; }

/* ================= The film ================= */
.film {
    position: relative; color: #fff;
    --text: #fff; --muted: #d6eef6; --heading: #fff; --link: #bff0fb; --focus: #fff;
    --tile-b: var(--surf); --tile-b-ink: var(--ink);
}
.film__stage { position: relative; overflow: hidden; background: linear-gradient(180deg, #0f7396 0, #0b6080 45%, #074560 100%); }

/* Static reading order: beats 1 and 2, the schedules, beats 3 and 4, the seabed */
.film__stage { display: flex; flex-direction: column; padding-top: clamp(40px, 6vw, 72px); }
.film .beat { width: min(1120px, 100%); margin: 0 auto 40px; padding-inline: var(--gutter); }
.beat--1 { order: 1; } .beat--2 { order: 2; } .film__tiles { order: 3; } .beat--3 { order: 4; } .beat--4 { order: 5; } .film__bed { order: 6; }
.film__depth, .film__veil, .film__rope, .sheep--film, .film__bubbles, .film__cue { display: none; }
.beat__big { font-size: clamp(36px, 4.9vw, 66px); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; margin-bottom: 14px; font-variant-numeric: tabular-nums; text-wrap: balance; }
.beat__text { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.42; max-width: 36em; }

.film__tiles { width: min(1120px, 100%); margin: 0 auto 48px; padding-inline: var(--gutter); }
.film__q { font-size: clamp(22px, 2.4vw, 32px); font-weight: 400; line-height: 1.2; color: #fff; max-width: 30em; margin-bottom: 14px; }
.ftrow { margin-top: 10px; }
.ftrow__name { font-size: 14.5px; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.film .tile { font-size: clamp(12px, 1.7vw, 24px); box-shadow: inset 0 0 0 1.5px rgba(3, 34, 47, .35); }
.film__legend { margin-top: 12px; font-size: 14.5px; }
.film__caption { margin-top: 10px; max-width: 70em; font-size: 14px; line-height: 1.45; color: var(--muted); }

.film__bed { height: clamp(150px, 19vw, 260px); background: url("../images/rebrand/seabed.svg") center bottom / max(100%, 1100px) auto no-repeat; }

/* Live: a sticky stage and a scroll-driven story, the same machinery as the reHUB film */
.film.is-live { height: 560vh; }
.is-live .film__stage { position: sticky; top: 0; display: block; height: 100vh; height: 100svh; padding: 0; }
.is-live [data-layer] { position: absolute; left: 0; top: 0; display: block; will-change: transform, opacity; }
.is-live .film__depth { inset: 0; width: 100%; height: 100%; background: #021820; opacity: 0; }
.is-live .film__veil {
    display: block; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(0deg, rgba(2, 30, 42, .78) 0, rgba(2, 30, 42, 0) 48%), linear-gradient(90deg, rgba(2, 30, 42, .45) 0, rgba(2, 30, 42, 0) 58%);
}
.is-live .film__bed { top: auto; bottom: 0; width: 100%; height: 30vh; transform: translateY(100%); }
.is-live .film__rope {
    width: 6px; height: 0; border-radius: 3px; pointer-events: none;
    background: repeating-linear-gradient(-55deg, #e6c79f 0 6px, #8e7665 6px 9px);
}
.is-live .sheep--film { width: clamp(200px, 21vw, 320px); z-index: 5; right: auto; bottom: auto; }
.sheep--film .sheep__say { opacity: 0; transition: opacity .2s; right: 10%; bottom: 92%; font-size: 18px; }
.sheep--film.is-saying .sheep__say { opacity: 1; }
.sheep--film .sheep__float { animation-duration: 3.2s; }
.is-live .film__bubbles { width: 1px; height: 1px; pointer-events: none; z-index: 6; }
.film__bubbles span {
    position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .25); opacity: 0;
}
.film.is-sinking .film__bubbles span { animation: bubble-up var(--d) ease-in var(--t) infinite; }
@keyframes bubble-up {
    0% { transform: translate(0, 0) scale(.5); opacity: 0; }
    12% { opacity: 1; }
    50% { transform: translate(9px, -18vh) scale(.9); }
    100% { transform: translate(-7px, -40vh) scale(1.1); opacity: 0; }
}
    100% { transform: translate(14px, -38vh); opacity: 0; }
}

.is-live .film__tiles { top: 0; width: min(900px, 60vw); margin: 0; padding: 0; opacity: 0; z-index: 3; }
.is-live .ftrow[data-row="2"] { display: none; }
.is-live .film__caption { font-size: 13.5px; }

.is-live .beat {
    position: absolute; top: auto; left: max(22px, 5vw); bottom: 11vh; z-index: 7;
    width: auto; max-width: 600px; margin: 0; padding: 0;
    text-shadow: 0 1px 14px rgba(2, 30, 42, .55);
    opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .3s ease;
}
.is-live .beat.on { opacity: 1; transform: none; }
.is-live .film__cue { top: auto; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 14px; color: #d6eef6; white-space: nowrap; transition: opacity .3s; }

/* ================= Reviews ================= */
.rev { background: var(--sand); padding-block: clamp(56px, 7vw, 92px); scroll-margin-top: 16px; }
.rev__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.rev__side { position: sticky; top: 24px; }
.rev__score { display: flex; flex-direction: column; font-weight: 400; color: var(--ink); }
.rev__score b { white-space: nowrap; font-size: clamp(60px, 6vw, 88px); font-weight: 800; line-height: .9; letter-spacing: -.05em; color: var(--deep); font-variant-numeric: tabular-nums; }
.rev__score span { margin-top: 10px; font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.stars { margin-top: 10px; font-size: 30px; letter-spacing: 4px; color: #e8761f; }
.plat { margin-top: 22px; border-top: 1.5px solid rgba(91, 71, 23, .35); }
.plat li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1.5px solid rgba(91, 71, 23, .35); }
.plat__name { font-weight: 700; }
.plat__nums { font-size: 15px; color: var(--ink-soft); }
.plat__nums b { color: var(--ink); margin-right: 4px; }
.rev__note { margin-top: 12px; }
.rev__sheep { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.rev__sheep img { flex: none; transform: rotate(-8deg); }
.rev__say {
    position: relative; padding: 9px 14px;
    font: 400 17px/1.35 var(--voice); color: var(--ink);
    background: #fff9e9; border: 2.5px solid #c0af86; border-radius: 16px 18px 16px 6px;
}
.is-gr .rev__say { font-size: 19px; line-height: 1.25; }
.quotes { columns: 2 270px; column-gap: 22px; }
.quote {
    position: relative; break-inside: avoid; margin-bottom: 24px;
    padding: 26px 24px 20px;
    background: url("../images/rebrand/note.svg") center / 100% 100% no-repeat;
}
.quote::before {
    content: ""; position: absolute; top: -8px; left: 50%; width: 84px; height: 20px; margin-left: -42px;
    background: var(--tape); border: 1px solid rgba(91, 71, 23, .45); transform: rotate(-2deg);
}
.quote:nth-child(even)::before { transform: rotate(2.5deg); }
.quote blockquote p { font-size: 17.5px; line-height: 1.45; color: var(--ink); }
.quote__src { margin-top: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.quote__stars { color: #e8761f; letter-spacing: 1px; }
.rev__proof { margin-top: clamp(28px, 4vw, 48px); }
.rev__proof img { width: 100%; height: auto; }
.rev__proof figcaption { display: flex; justify-content: center; margin-top: 10px; }

/* ================= Two ways ================= */
.cways {
    background: var(--deep); color: #eef8fb; padding-block: clamp(56px, 7vw, 90px); scroll-margin-top: 16px;
    --text: #eef8fb; --muted: #c5e2ec; --heading: #fff; --line: rgba(190, 230, 245, .35); --link: #bff0fb; --focus: #fff; --press: #01161f;
}
.cways__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.cway {
    display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
    padding: clamp(24px, 3vw, 36px); border: 1.5px solid var(--line); border-radius: 12px 15px 11px 14px;
    background: rgba(255, 255, 255, .05);
}
.cway h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; color: #fff; margin: 0; }
.cway > p { font-size: 17px; line-height: 1.5; }
.cway .btn { margin-top: auto; }
.cway .fine { color: var(--muted); }
.countdown { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.countdown b { font-size: clamp(54px, 6vw, 80px); font-weight: 800; line-height: .95; letter-spacing: -.04em; color: var(--sign); font-variant-numeric: tabular-nums; }
.countdown span { font-size: 16px; font-weight: 600; max-width: 16em; }
.cway__joke { font: 400 18px/1.35 var(--voice); color: var(--tape); }
.is-gr .cway__joke { font-size: 21px; line-height: 1.25; }

/* ================= What we bring, how it works ================= */
.cbring { background: var(--paper); }
.cbring__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.cb { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 4px solid var(--sign); }
.cb h3 { font-size: 19px; margin: 0; }
.cb > p { font-size: 16px; line-height: 1.5; }
.more { margin-top: auto; }
.more summary {
    display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; cursor: pointer;
    font-weight: 600; font-size: 15px; list-style: none;
    border: 1.5px solid var(--ink); border-radius: 8px 10px 7px 9px; box-shadow: 0 2px 0 var(--ink);
    transition: transform .12s, box-shadow .12s, background .12s;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; margin-left: 8px; font-size: 18px; line-height: 1; }
.more[open] summary::after { content: "−"; }
.more summary:hover { background: var(--tape); transform: translateY(-1px); }
.more summary:active { transform: translateY(2px); box-shadow: none; }
.more p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

.chow { background: var(--paper); padding-top: 0; }
.chow__flow { margin-top: 26px; }
.chow .flow__box { border-color: rgba(91, 71, 23, .3); }
.trlnum { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.trlnum b { font-size: clamp(38px, 4vw, 54px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--deep); }
.trlnum span { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.chow .flow__box--wide { flex-wrap: nowrap; justify-content: flex-start; }
.chow .flow__box--wide .trlnum { margin: 0; flex: none; }

/* ================= Founder, talk, footer ================= */
.cfounder { background: var(--paper); padding-top: 0; }
.cfounder__grid { display: flex; align-items: center; gap: clamp(20px, 4vw, 44px); padding-top: clamp(40px, 5vw, 60px); border-top: 1.5px solid rgba(91, 71, 23, .25); }

.cfounder__name { margin-block: 10px 6px; }
.cfounder .actions { margin-top: 16px; }

.ctalk { position: relative; overflow: hidden; isolation: isolate; background: var(--sky); }
.ctalk__body { padding-block: clamp(56px, 7vw, 84px) 18px; scroll-margin-top: 16px; }
.ctalk h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -.03em; color: var(--deep); }
.ctalk__text { margin-top: 8px; font-size: 19px; }
.ctalk__mail { margin-top: 18px; font-weight: 600; font-size: 18px; }
.dir-c .foot { background: #fbe0a0; color: var(--ink); --link: #5b3b00; --focus: var(--deep); }
.dir-c .foot a { color: var(--ink); }
.foot__joke { display: block; margin-top: 4px; font: 400 16px/1.4 var(--voice); }
.is-gr .foot__joke { font-size: 18px; }

/* 404 */
.hero--lost { min-height: auto; }
.hero--lost .hero__body { padding-bottom: clamp(120px, 14vw, 180px); }
.lost-water { background: linear-gradient(180deg, #0f7396 0, #074560 100%); }
.lost-water .film__bed { display: block; }

/* ================= Small screens ================= */
@media (max-width: 960px) {
    .top__cta { order: 2; margin-left: auto; }
    .lang { order: 3; }
    .js .menu-btn { order: 4; }
    .cbring__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rev__grid { grid-template-columns: minmax(0, 1fr); }
    .rev__side { position: static; }
    .is-live .film__tiles { width: 90vw; }
}

@media (max-width: 620px) {
    .top__cta { display: none; }
    .hero { min-height: 0; }
    .hero__body { padding-bottom: 210px; }
    .nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
    .sheep--hero { width: 140px; right: 10px; bottom: 26px; }
    .sheep--hero .sheep__say { max-width: 210px; right: 0; bottom: 92%; font-size: 15px; }
    .cways__pair, .cbring__grid { grid-template-columns: minmax(0, 1fr); }
    .cway .btn, .ctalk .btn, .hero .btn { width: 100%; }
    .chow .flow__box--wide { flex-direction: column; align-items: flex-start; }
    .cfounder__grid { flex-direction: column; align-items: flex-start; }
    .is-live .beat { left: 20px; right: 20px; bottom: 7vh; }
    .beat__big { font-size: 34px; }
    .beat__text { font-size: 17px; }
    .film__q { font-size: 20px; }
    .is-live .film__caption { font-size: 12.5px; }
    .film.is-live { height: 520vh; }
}

/* ================= Round 3 ================= */
@media (max-width: 1240px) { .hero .cloud--1 { display: none; } }

/* Beats share one box at the bottom left, so the tallest one reserves its space and nothing sits on the tiles */
.beats-c { display: contents; }
.is-live .beats-c { position: absolute; left: max(22px, 5vw); right: max(22px, 5vw); bottom: 9vh; display: grid; z-index: 7; pointer-events: none; }
.is-live .beats-c .beat { position: relative; grid-area: 1 / 1; top: auto; left: auto; bottom: auto; max-width: 640px; }
.is-live .beat__big { font-size: min(clamp(32px, 4.9vw, 66px), 7.2vh); }
.is-live .beat__text { font-size: min(clamp(16px, 1.7vw, 21px), 2.8vh); }
.is-live .film__tiles { transform-origin: 0 0; }
@media (max-width: 760px) {
    .is-live .sheep--film { width: clamp(150px, 44vw, 210px); }
    .is-live .beats-c { left: 20px; right: 20px; bottom: 6vh; }
}

/* What we are working on */
.cnow { background: var(--paper); }
.cnow__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.cnow__card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
    padding: 20px 20px 18px; background: #fff;
    border: 1.5px solid rgba(91, 71, 23, .3); border-radius: 12px 15px 11px 14px;
}
.cnow__tag { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--deep); }
.cnow__card h3 { font-size: 18px; margin: 0; }
.cnow__card > p:not(.cnow__tag) { flex: 1; font-size: 15.5px; line-height: 1.5; }

/* Beyond European projects */
.cbeyond { background: var(--deep); color: #eef8fb; padding-block: clamp(48px, 6vw, 76px); --focus: #fff; --press: #01161f; }
.cbeyond h2 { color: #fff; }
.cbeyond__text { margin-top: 8px; max-width: 60ch; font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 26px; }
.chip {
    display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
    font-weight: 600; font-size: 16px; color: var(--ink); text-decoration: none;
    background: var(--note); border: 1.5px solid var(--ink); border-radius: 999px; box-shadow: 0 3px 0 #01161f;
    transition: transform .12s, box-shadow .12s, background .12s;
}
.chip:hover { background: var(--tape); transform: translateY(-1px); box-shadow: 0 4px 0 #01161f; }
.chip:active { transform: translateY(3px); box-shadow: 0 0 0 #01161f; }
.chips__more { font: 400 18px/1.3 var(--voice); color: var(--tape); }
.cbeyond .btn--deep { background: var(--sign); color: var(--ink); border-color: var(--ink); box-shadow: 0 3px 0 #01161f; }
.cbeyond .btn--deep:hover { background: var(--sign-hover); }

/* Founder: the tilted photo, and the Head of Morale on a polaroid */
.cfounder__photos { position: relative; flex: none; width: clamp(210px, 22vw, 270px); aspect-ratio: 1.12; }
.cfounder__photo {
    position: absolute; left: 0; top: 0; z-index: 1;
    width: 78%; height: auto; aspect-ratio: 1; object-fit: cover;
    border-radius: 50%; border: 4px solid var(--sign);
}
.polaroid {
    position: absolute; right: 0; bottom: 0; z-index: 2; width: 52%; margin: 0;
    padding: 7px 7px 28px; background: #fff; box-shadow: 0 6px 18px rgba(51, 40, 15, .2); transform: rotate(6deg);
}
.polaroid img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 5px; text-align: center; font: 400 14px/1.2 var(--voice); color: var(--ink); }
.is-gr .polaroid figcaption { font-size: 15px; }

/* MOU partners and the sponsor box that swings on hover */
.backers { background: #fbe0a0; padding-block: 22px 0; }
.backers__grid { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.backers__h { font-size: 18px; font-weight: 700; letter-spacing: 0; color: var(--ink); margin-bottom: 10px; }
.mou { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.mou img { height: 48px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.mou a:hover img, .mou a:focus-visible img { filter: none; opacity: 1; }
.airdrop { display: block; width: clamp(170px, 18vw, 230px); margin-left: auto; transform-origin: 50% 0; }
.airdrop img { width: 100%; height: auto; }
.airdrop:hover, .airdrop:focus-visible { animation: sway 1.8s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }

@media (max-width: 960px) { .cnow__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
    .cnow__grid { grid-template-columns: minmax(0, 1fr); }
    .airdrop { margin-inline: auto; }
}

/* ================= Round 4 ================= */
/* heeelp! in the logo's own lettering */
.hero h1 .wordmark { display: inline-block; height: 1.1em; width: auto; vertical-align: -0.28em; margin-left: .05em; }

/* The floating sheep sits in the water, the front wave covers its belly */
.sheep--hero { bottom: 4px; }

/* In ours: both consortia */
.cway { gap: 10px; }
.ours { width: 100%; padding-top: 12px; border-top: 1.5px solid var(--line); }
.ours__tag { font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--sign); }
.ours__title { margin-top: 4px; font-size: 18px; font-weight: 700; color: #fff; }
.ours p + p { margin-top: 6px; }

/* Founder photos take turns in front, with a small bounce */
.cfounder__photos { cursor: pointer; width: clamp(240px, 25vw, 300px); }
.cfounder__photo, .polaroid { transition: transform .55s cubic-bezier(.3, 1.5, .5, 1), filter .4s, z-index 0s .22s; }
.cfounder__photo { z-index: 2; width: 70%; transform: rotate(-3deg); }
.polaroid { z-index: 1; width: 50%; transform: rotate(7deg) scale(.95); filter: brightness(.93); }
.cfounder__photos.swap-b .cfounder__photo { z-index: 1; transform: rotate(-8deg) scale(.92) translate(-6px, 8px); filter: brightness(.93); }
.cfounder__photos.swap-b .polaroid { z-index: 3; transform: rotate(-4deg) scale(1.07) translate(-10px, -8px); filter: none; }

@media (max-width: 620px) {
    .sheep--hero { bottom: 0; }
}

/* ================= Round 5: a little of the logo's orange, where it means something ================= */
.dir-c { --orange: #f28b3c; }

/* ================= Round 6 ================= */
/* A bigger logo; its subtitle is real text now, so it can be read */
.dir-c .top__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.dir-c .top__logo img { height: 84px; width: auto; }
/* Everything on one line: smaller gaps, the subtitle goes first when space runs out, then the header button */
.dir-c .top { gap: 16px; }
.dir-c .top__nav { flex-wrap: nowrap; gap: 4px 18px; }
.dir-c .top__nav a { font-size: 15px; white-space: nowrap; }

/* The orange, where the eye lands first */
.hero h1 { line-height: 1.06; }

/* Countdown text sits in the middle of the big number */
.countdown { align-items: center; }

/* The compact menu once the header has gone */
.mini {
    position: fixed; top: 12px; right: max(12px, 2vw); z-index: 40;
    display: flex; align-items: center; gap: 8px; padding: 6px;
    background: rgba(255, 242, 229, .94); border: 1.5px solid rgba(51, 40, 15, .22); border-radius: 14px;
    box-shadow: 0 6px 20px rgba(3, 34, 47, .2);
    transform: translateY(-150%); visibility: hidden;
    transition: transform .35s cubic-bezier(.3, 1.3, .5, 1), visibility 0s .35s;
}
.mini.is-on { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.3, 1.3, .5, 1), visibility 0s; }
.mini__btn {
    display: grid; place-content: center; gap: 5px; width: 44px; height: 40px;
    background: none; border: 1.5px solid var(--ink); border-radius: 9px; cursor: pointer;
}
.mini__btn:hover { background: var(--tape); }
.mini__btn span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.mini__btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mini__btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mini__btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mini__nav {
    position: absolute; top: calc(100% + 8px); right: 0; min-width: 220px;
    display: flex; flex-direction: column; padding: 8px;
    background: var(--paper); border: 1.5px solid rgba(51, 40, 15, .22); border-radius: 12px;
    box-shadow: 0 10px 28px rgba(3, 34, 47, .22);
}
.mini__nav a { padding: 10px 12px; font-weight: 600; color: var(--ink); text-decoration: none; border-radius: 8px; }
.mini__nav a:hover, .mini__nav a:focus-visible { background: var(--tape); }

/* Partners and sponsors */
.backers .backers__h { font-size: clamp(24px, 2.6vw, 32px); font-weight: 300; color: var(--deep); margin-bottom: 4px; }
.backers { padding-top: 34px; scroll-margin-top: 16px; }
.cbeyond { scroll-margin-top: 16px; }

@media (max-width: 620px) {
    .dir-c .top__logo img { height: 62px; }
}


/* ================= Round 7: phones ================= */
/* Film lines keep their margin; an old right offset was pushing them off the left edge */
.is-live .beats-c .beat { right: auto; }

/* TRL 4 card: no reserved height once the box stacks */
@media (max-width: 620px) {
    .chow .flow__box--wide > div { flex: none; }
}

/* Phones and tablets: one sandwich menu, top right, on every screen of the page.
   The header keeps the logo and the language switch and leaves the corner free. */
.mini__lang { align-self: flex-start; margin: 8px 12px 4px; }
.mini__lang a { padding: 7px 9px; border-radius: 0; }

/* Phones: the hero fits the sheep on the first screen, and the numbers sit in one tidy block */
@media (max-width: 620px) {
    .hero__body { padding-top: 14px; padding-bottom: 196px; }
    .hero h1 { font-size: clamp(30px, 8.9vw, 38px); }
    .hero__sub { font-size: 16px; }
    .hero .actions { gap: 10px; margin-top: 18px; }
    .hero .btn--big { min-height: 50px; padding: 11px 18px; font-size: 16.5px; }
    .nums { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px 10px; margin-top: 22px; }
    .nums b { font-size: clamp(27px, 8vw, 32px); }
    .nums li > span { margin-top: 3px; font-size: 13.5px; }
    .nums__pic { grid-column: 1 / -1; flex-direction: row !important; align-items: baseline; gap: 8px; }
    .nums__pic b { font-size: 16px; padding: 0; }
    .nums__pic span { margin: 0; }
    .sheep--hero { width: 132px; right: 12px; }
    .sheep--hero .sheep__say { max-width: 205px; font-size: 14.5px; }
}

/* ================= Round 8 ================= */
/* One sandwich menu on every screen. The header keeps the logo, the call button and the language. */
.js .dir-c .top__nav, .js .dir-c .menu-btn { display: none; }
.js .dir-c .top { padding-right: calc(var(--gutter) + 70px); }
.js .mini {
    top: 28px; right: max(12px, calc((100% - 1240px) / 2 + var(--gutter)));
    transform: none; visibility: visible; transition: none;
}
.js .mini:not(.is-on) > .btn { display: none; }
.js .mini:not(.is-on) { box-shadow: none; }
@media (max-width: 620px) { .js .mini { top: 15px; } }

/* heeelp! in the headline: a touch bigger than the letters around it, without pushing the lines apart */
.hero h1 { line-height: 1.1; }
.hero h1 .wordmark { height: 1.26em; vertical-align: -0.275em; margin: -0.22em 0 -0.08em .06em; }

/* In ours: one tab per consortium */
.ours-tabs { width: 100%; }
.ours-tabs__list { display: none; }
.js .ours-tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 6px; }
.ours-tab {
    min-height: 44px; padding: 8px 18px; border-radius: 999px; cursor: pointer;
    font: 700 16px var(--font); color: var(--sign); background: transparent; border: 1.5px solid var(--sign);
    transition: background .15s, color .15s;
}
.ours-tab:hover { background: rgba(255, 167, 108, .14); }
.ours-tab[aria-selected="true"] { background: var(--sign); color: var(--ink); }
.ours-tab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.js .ours-tabs__panels { display: grid; }
.js .ours-tabs__panels > .ours { grid-area: 1 / 1; border-top: 0; padding-top: 6px; }
.js .ours.is-off { visibility: hidden; }
.js .ours-tabs .ours__tag { display: none; }
.ours:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 6px; }

/* The review collage is a cork board, right under the sticky notes; the cork and the pins are in the image */
.rev__proof { position: relative; }
.rev__frame {
    position: relative; overflow: hidden; border: 13px solid #a06a35; border-radius: 6px;
    box-shadow: 0 0 0 2px #5b4717, inset 0 0 0 2px #5b4717, 0 6px 0 rgba(51, 40, 15, .16);
}
.rev__frame img { display: block; width: 100%; height: auto; }
@media (max-width: 620px) { .rev__frame { border-width: 8px; } }

/* Sections that sit together get a wave of their own colour, the sea line of the theme */
.cbring { position: relative; background: var(--sky); }
.chow { position: relative; background: var(--paper); padding-top: clamp(52px, 7vw, 84px); }
.cbring::before, .chow::before {
    content: ""; position: absolute; left: 0; right: 0; top: -33px; height: 34px; pointer-events: none;
    background-repeat: repeat-x; background-size: 360px 120px; background-position: left -8px;
}
.cbring::before { background-image: url("../images/rebrand/edge-sky.svg"); }
.chow::before { background-image: url("../images/rebrand/edge-paper.svg"); }

/* The temporal fairness example: where it comes from and what the squares mean, in a panel of its own */
.film__kicker { margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--surf); }
.is-live .film__tiles {
    padding: 16px 20px 14px; border-radius: 14px;
    background: rgba(1, 22, 31, .45); border: 1px solid rgba(191, 240, 251, .18);
}

/* What we do */
.cwhat { background: var(--paper); }
.cwhat__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 44px; margin-top: 26px; }
.cwhat__item { padding-top: 14px; border-top: 1.5px solid rgba(91, 71, 23, .3); }
.cwhat__item h3 { margin: 0 0 6px; font-size: 20px; color: var(--deep); }
.cwhat__item p { max-width: 60ch; font-size: 16.5px; line-height: 1.55; }
.cwhat__roles { margin-top: 30px; max-width: 62ch; font-size: 18px; line-height: 1.5; font-weight: 600; color: var(--deep); }
@media (max-width: 760px) { .cwhat__grid { grid-template-columns: minmax(0, 1fr); } }

/* The baroque film, when there is one */
.cbaroque { background: #1b1206; }
.cbaroque__video { display: block; width: 100%; max-height: 92vh; object-fit: cover; }

/* In your consortium: what we can take on, with little life rings for bullets */
.ways-list { display: grid; gap: 12px; margin: 8px 0 20px; padding: 0; list-style: none; }
.ways-list li { position: relative; padding-left: 34px; font-size: 17px; font-weight: 600; line-height: 1.4; color: #fff; }
.ways-list li::before {
    content: ""; position: absolute; left: 0; top: .05em; width: 22px; height: 22px;
    background: url("../images/rebrand/ring.svg") center / contain no-repeat;
}

/* Phones: the longer hero text still leaves the sheep on the first screen; the film's long caption gives way to the tiles */
@media (max-width: 620px) {
    .hero__sub { font-size: 15.5px; line-height: 1.45; }
    .hero__body { padding-bottom: 182px; }
    .is-live .film__caption { display: none; }
}

/* The tape sits inside each note's own box, so a note that starts a new column never leaves its tape behind */
.quote { margin-bottom: 14px; padding-top: 36px; background: url("../images/rebrand/note.svg") center bottom / 100% calc(100% - 10px) no-repeat; }
.quote::before { top: 2px; }

/* Talk to us: the sea reaches 16px further down behind the sand, so the deepest dips of the sand (73px) show water; the sand itself stays where it was */
.ctalk .sea--low { height: 146px; }
.ctalk .sand--low { margin-top: -76px; }
@media (max-width: 620px) { .ctalk .sea--low { height: 186px; } }

/* The ring is the float of the sheep's own drawing: scroll lowers it, so no easing of its own */
.sheep--film .sheep__tube { transition: none; opacity: 0; }

/* The example as a real roster, with one line above it and the numbers under it */
.is-live .film__q { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }
.is-live .film__caption { display: none; }
.film__tiles .ftrow { margin-top: 2px; }
.ftrow__name { margin-bottom: 4px; }
.roster { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: clamp(2px, .32vw, 4px); }
.roster thead td { width: 3em; }
.roster th { font-size: 12.5px; font-weight: 600; color: #d9f1f8; text-align: left; white-space: nowrap; }
.roster thead th { font-size: 11px; font-weight: 400; text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; }
.roster td.c { height: clamp(17px, 2.3vw, 30px); }
.roster__ai::before { content: ""; display: table-row; height: 7px; }
.c { border-radius: 4px; transition: background-color .4s ease, box-shadow .4s ease; transition-delay: calc(var(--i, 0) * 26ms); }
.c--h { background-color: var(--sign); }
.c--r { background-color: #2f86a8; }
.c--l { background-color: var(--note); }
.c--o { background-color: transparent; box-shadow: inset 0 0 0 1px rgba(191, 240, 251, .3); }
.swatch { display: inline-block; flex: none; width: 15px; height: 15px; }
.film__legend { margin-top: 8px; font-size: 13.5px; }
.rstats { display: flex; flex-wrap: wrap; gap: 4px clamp(16px, 2.6vw, 34px); margin-top: 10px; }
.rstats > div { display: flex; align-items: baseline; gap: 7px; }
.rstats dd { margin: 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 800; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.rstats dt { font-size: 13.5px; color: #d9f1f8; }
.rstats__run dd { color: var(--sign); }
@media (max-width: 620px) {
    .roster th { font-size: 11.5px; }
    .roster thead th { font-size: 9.5px; }
    .rstats dt, .film__legend { font-size: 12.5px; }
}

/* The schedule's name shares the line with the example note, one line less above the roster */
@media (min-width: 1000px) {
    .is-live .film__tiles .ftrow__name { position: absolute; top: 15px; right: 20px; margin: 0; }
}

/* Phones: the film sheep's bubble goes under it, clear of the fixed menu and of the top of the screen */
@media (max-width: 760px) {
    .sheep--film .sheep__say { top: 100%; bottom: auto; right: 8%; border-radius: 18px 6px 18px 18px; }
    .sheep--film .sheep__say::after { top: -8px; bottom: auto; right: 34px; border-width: 2.5px 0 0 2.5px; }
}

/* Short windows (a second browser bar, a two-row taskbar, a small laptop): sizes follow the height too, so the first
   screen still ends on the water with the whole sheep in view. Phones keep their own rules above. */
@media (min-width: 621px) {
    .dir-c { --head: 112px; }
    .hero { min-height: max(400px, calc(100vh - var(--head))); min-height: max(400px, calc(100svh - var(--head))); }
    .hero h1 { font-size: clamp(32px, min(5.4vw, 8.2vh), 74px); }
    .hero__sub { max-width: 46em; font-size: clamp(15px, min(1.35vw, 2.4vh), 19px); }
    .nums { margin-top: clamp(16px, 4vh, 40px); }
    .nums b { font-size: clamp(24px, min(3.6vw, 5.8vh), 52px); }
    .nums__pic b { font-size: clamp(17px, min(1.9vw, 3.1vh), 27px); }
    .sheep--hero { width: clamp(120px, min(19vw, 30vh), 290px); }
}
@media (min-width: 621px) and (max-height: 760px) {
    .dir-c { --head: 92px; }
    .dir-c .top__logo img { height: 64px; }
    .js .mini { top: 18px; }
    .hero__body { padding-bottom: 12px; }
    .hero .actions { margin-top: clamp(12px, 2.4vh, 28px); }
    .hero .btn--big { min-height: 46px; padding: 9px 20px; font-size: 16px; }
    .surface { height: 100px; }
}

/* Menu targets land just under the top edge */
.cnow, .cfounder, .cwhat { scroll-margin-top: 16px; }

/* The sample offer: a quiet line under the hero buttons, and a highlighted line in the services */
.hero__sample { align-self: center; max-width: 21em; margin: 0 0 0 6px; font-size: 15px; line-height: 1.35; font-weight: 500; color: var(--ink-soft); }
.hero__sample a { font-weight: 700; color: var(--deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.hero__sample a:hover { text-decoration-color: var(--orange); }
.cbeyond__sample { margin-top: 12px; max-width: 62ch; padding-left: 14px; border-left: 3px solid var(--note); font-size: 16.5px; font-weight: 600; color: var(--note); }
@media (min-width: 621px) and (max-height: 760px) { .hero__sample { font-size: 14px; } }
@media (max-width: 620px) {
    .hero__sample { flex-basis: 100%; max-width: none; margin: 2px 0 0; font-size: 14.5px; text-align: center; }
    .nums__pic { display: none !important; }
    .nums li > span { font-size: 12.5px; line-height: 1.25; }
}

/* Tablets and small laptops: a narrower bubble right over the sheep, clear of the numbers and the sample line */
@media (min-width: 621px) and (max-width: 1180px) { .sheep--hero .sheep__say { max-width: 200px; right: -3%; } }
/* Phones: a little less room under the numbers, so the whole sheep fits with the longer labels */
@media (max-width: 620px) { .hero__body { padding-bottom: 166px; } }
.hero__sample a { white-space: nowrap; }
@media (min-width: 1181px) { .hero__sample { max-width: 32em; } }

/* HEEELP! in the same jumpy hand in both languages */
.sheep__say.is-shout { font-family: "Gloria Hallelujah", "Segoe Print", cursive; }

/* The sample offer closes the hero paragraph, in its own words, with just the link stressed */
.hero__sub .hero__sample { display: inline; flex-basis: auto; max-width: none; margin: 0; font: inherit; color: inherit; text-align: inherit; align-self: auto; }

/* Who is in the roster: people, an AI agent, a robot */
.roster th[scope="row"] { white-space: nowrap; }
.roster thead td { width: 6.6em; }
.who { display: inline-block; width: 13px; height: 13px; margin-right: 5px; vertical-align: -2px; fill: currentColor; }
.roster__ai .who { color: var(--surf); }
.who__eye { fill: var(--deep); }
@media (max-width: 620px) { .roster thead td { width: 5.6em; } .who { width: 11px; height: 11px; margin-right: 3px; } }

/* The sample line in the services: plain, like the text above it */
.cbeyond__sample { margin-top: 4px; padding-left: 0; border-left: 0; font-size: 17px; font-weight: 400; color: inherit; }

/* Very short windows: the longer hero text still leaves the water and the whole sheep in view */
@media (min-width: 621px) and (max-height: 620px) { .hero__sub { font-size: 14px; line-height: 1.42; max-width: 52em; } }

/* Links inside the hero paragraph read as plain text: no colour, weight, underline or hover of their own.
   Keyboard users still get the focus ring. */
.hero__sub a, .hero__sub a:hover, .hero__sub a:active { color: inherit; font-weight: inherit; text-decoration: none; }
@media (max-width: 620px) { .is-gr .hero__sub { font-size: 14.8px; line-height: 1.42; } }
