/* Canary Ads · design system (see DESIGN.md, direction "Teide") */
@font-face { font-family: Archivo; src: url(/assets/fonts/archivo.woff2) format("woff2"); font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(/assets/fonts/instrument-serif.woff2) format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/assets/fonts/jetbrains-mono.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --basalt: #121110; --ash: #2A2724; --pumice: #ECE6DA; --paper: #F4EFE6; --lava: #FF5A1F; --canary: #FFD23F;
  --rock: #6A4636; --muted-dark: #A39B90; --muted-light: #5E5750; --line-dark: rgba(236,230,218,.14); --line-light: rgba(18,17,16,.12);
  --gutter: clamp(16px, 4vw, 48px); --max: 1240px;
  --ease: cubic-bezier(.2,.7,.1,1);
  --display: Archivo, "Arial Narrow", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { background: var(--basalt); color: var(--pumice); font: 400 17px/1.6 var(--display); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--canary); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--canary); color: var(--basalt); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none; font-stretch: 100%; }

/* ---------- type ---------- */
.display { font: 900 clamp(44px, 7.2vw, 104px)/.88 var(--display); font-stretch: 72%; text-transform: uppercase; letter-spacing: -.005em; }
.h2 { font: 900 clamp(34px, 5vw, 68px)/.92 var(--display); font-stretch: 74%; text-transform: uppercase; }
.h3 { font: 800 22px/1.2 var(--display); font-stretch: 90%; }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; max-width: 40ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--canary); }
.prose p + p { margin-top: 1em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font: 700 15px/1 var(--display); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-canary { background: var(--canary); color: var(--basalt); }
.btn-lava { background: var(--lava); color: var(--basalt); }
.btn-ink { background: var(--basalt); color: var(--pumice); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.textlink { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--canary); padding-bottom: 2px; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 50; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px var(--gutter); color: var(--pumice); transition: background .3s, color .3s, padding .3s; }
.nav.solid { background: rgba(18,17,16,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-block: 12px; }
.nav.on-light:not(.solid) { color: var(--basalt); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 900 24px/1 var(--display); letter-spacing: -.03em; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); font-weight: 600; font-size: 15px; }
.nav-links > a:not(.btn) { text-decoration: none; }
.nav-links > a:not(.btn):hover, .nav-menu summary:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--canary); text-decoration-thickness: 2px; }
.btn-nav { min-height: 42px; padding: 0 18px; background: var(--canary); color: var(--basalt); font-size: 14px; }
.nav.on-light:not(.solid) .btn-nav { background: var(--basalt); color: var(--pumice); }
.nav-menu { position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.nav-menu ul { position: absolute; top: calc(100% + 12px); left: -14px; min-width: 200px; background: var(--basalt); color: var(--pumice); border: 1px solid var(--line-dark); border-radius: 14px; padding: 8px; box-shadow: 0 20px 40px -20px #000; }
.nav-menu li a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; }
.nav-menu li a:hover { background: var(--ash); }
@media (max-width: 620px) { .nav-links > a:not(.btn) { display: none; } .logo span { display: none; } .nav-links { gap: 12px; } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.light { background: var(--paper); color: var(--basalt); }
.light .muted { color: var(--muted-light); }
.dark .muted, .muted { color: var(--muted-dark); }
.light .mono.label { color: var(--rock); }
.dark .mono.label, .label { color: var(--canary); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.contours { position: absolute; inset: 0; pointer-events: none; opacity: .5; overflow: hidden; }
.contours svg { width: 100%; height: 100%; }

/* ---------- inner-page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(140px, 20vh, 200px) 0 clamp(90px, 12vw, 140px); background: radial-gradient(900px 400px at 85% 110%, #3a2318 0%, transparent 70%), var(--basalt); }
.page-hero .wrap { position: relative; z-index: 1; display: grid; gap: 22px; }
.page-hero .lede { color: #CFC7BA; }
.page-hero .ridge { position: absolute; right: -40px; bottom: -2px; width: min(760px, 70vw); z-index: 0; opacity: .9; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line-dark); color: #CFC7BA; }
.crumbs { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--canary); }

/* ---------- lists of work ---------- */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.work li { padding: 30px 30px 34px 0; border-bottom: 1px solid var(--line-light); display: grid; gap: 10px; align-content: start; }
.work li:nth-child(odd) { border-right: 1px solid var(--line-light); }
.work li:nth-child(even) { padding-left: 30px; }
.work .num { font: 500 12px/1 var(--mono); color: var(--rock); }
.work p { color: var(--muted-light); }
@media (max-width: 760px) { .work { grid-template-columns: 1fr; } .work li, .work li:nth-child(even) { padding: 26px 0; border-right: 0; } }

.goal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.goal { border-radius: 18px; padding: 30px; background: var(--ash); display: grid; gap: 10px; align-content: start; }
.goal p { color: #CFC7BA; }
.experience { margin-top: 20px; padding: 24px 28px; border-left: 4px solid var(--canary); background: rgba(255,210,63,.06); border-radius: 0 14px 14px 0; font-size: 18px; }
@media (max-width: 760px) { .goal-grid { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font: 800 clamp(18px, 2vw, 22px)/1.25 var(--display); font-stretch: 90%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 28px/1 var(--display); color: var(--rock); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; max-width: 64ch; color: var(--muted-light); }

.other { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.other a { text-decoration: none; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-light); font-weight: 600; transition: background .2s; }
.other a:hover { background: var(--canary); border-color: var(--canary); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: radial-gradient(1000px 420px at 70% 120%, #2a1a14 0%, #0B0D14 65%); padding: clamp(90px, 12vw, 150px) 0; }
.cta-band .wrap { position: relative; display: grid; gap: 26px; justify-items: start; }
.stars { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 12% 20%, #fff 99%, transparent), radial-gradient(1px 1px at 33% 12%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 58% 30%, #fff 99%, transparent), radial-gradient(1px 1px at 72% 8%, #fff 99%, transparent), radial-gradient(1px 1px at 88% 24%, #fff 99%, transparent), radial-gradient(1px 1px at 22% 44%, #fff 99%, transparent), radial-gradient(1px 1px at 46% 62%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 92% 58%, #fff 99%, transparent), radial-gradient(1px 1px at 6% 76%, #fff 99%, transparent), radial-gradient(1px 1px at 66% 82%, #fff 99%, transparent); opacity: .6; }

/* ---------- form ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; position: relative; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
.enquiry { display: grid; gap: 18px; background: rgba(236,230,218,.05); border: 1px solid var(--line-dark); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.field { display: grid; gap: 8px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field label, .field legend { font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--muted-dark); font-size: 13px; margin-left: 4px; }
.enquiry input[type=text], .enquiry input[type=email], .enquiry select, .enquiry textarea {
  width: 100%; font: 400 16px/1.4 var(--display); color: var(--pumice); background: rgba(18,17,16,.6); border: 1px solid rgba(236,230,218,.22); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.enquiry select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--pumice) 50%), linear-gradient(135deg, var(--pumice) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.enquiry select option { color: var(--basalt); }
.enquiry textarea { resize: vertical; min-height: 120px; }
.enquiry ::placeholder { color: #8E877D; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-color: var(--canary); box-shadow: 0 0 0 3px rgba(255,210,63,.25); }
.enquiry [aria-invalid=true] { border-color: var(--lava); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(236,230,218,.25); font-size: 14px; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.chips input:checked + span { background: var(--canary); color: var(--basalt); border-color: var(--canary); }
.chips input:focus-visible + span { outline: 3px solid var(--canary); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry .btn { justify-self: start; }
.form-note { font-size: 14px; color: var(--muted-dark); }
.form-status { font-weight: 600; min-height: 1.4em; }
.form-status.error { color: #FF8A5C; }
.helpful { display: grid; gap: 10px; margin-top: 8px; }
.helpful li { padding-left: 22px; position: relative; color: #CFC7BA; }
.helpful li::before { content: ""; position: absolute; left: 0; top: .65em; width: 10px; height: 2px; background: var(--canary); }

/* ---------- footer ---------- */
.footer { background: var(--basalt); border-top: 1px solid var(--line-dark); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid .mono { color: var(--muted-dark); margin-bottom: 14px; }
.footer-grid li + li { margin-top: 8px; }
.footer-grid a { text-decoration: none; } .footer-grid a:hover { color: var(--canary); }
.footer-tag { margin-top: 14px; color: var(--muted-dark); }
.footer-small { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--muted-dark); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- HOME: surf-to-summit scene ---------- */
.journey { height: 420vh; position: relative; background: var(--basalt); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: var(--basalt); }
.sky { position: absolute; inset: 0; background: linear-gradient(180deg, #F7E7C6 0%, #F6C98A 45%, #F09A5E 80%, #C8613A 100%); }
.night { position: absolute; inset: 0; background: linear-gradient(180deg, #0B0D14 0%, #1d1a2a 60%, #3a2a2a 100%); opacity: 0; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-copy { position: absolute; z-index: 4; left: var(--gutter); top: clamp(92px, 14vh, 150px); max-width: min(780px, 58vw); }
.hero-copy .display { font-size: clamp(42px, min(6.6vw, 10.5vh), 96px); margin-top: 16px; }
.hero-copy .lede { margin-top: 18px; max-width: 46ch; color: #4a2f22; font-size: clamp(16px, min(1.4vw, 2.3vh), 20px); }
.hero-copy .eyebrow { color: #4a2f22; }
.hero-copy .btn { margin-top: 24px; }
.alt { position: absolute; z-index: 4; right: var(--gutter); top: clamp(100px, 15vh, 150px); text-align: right; color: #4a2f22; transition: color .3s; }
.alt strong { display: block; margin-top: 6px; font: 900 clamp(30px, 4vw, 48px)/1 var(--display); font-stretch: 75%; color: var(--basalt); font-variant-numeric: tabular-nums; transition: color .3s; }
.stage.dark .alt { color: rgba(236,230,218,.6); } .stage.dark .alt strong { color: var(--canary); }
.hint { position: absolute; z-index: 4; left: 50%; bottom: 20px; transform: translateX(-50%); color: var(--pumice); }
.tag { font: 600 9px/1.1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
@keyframes swell { from { transform: translateX(0); } to { transform: translateX(-200px); } }
.swell { animation: swell 6s linear infinite; }
@media (max-width: 620px) { .hero-copy { right: var(--gutter); } .alt { top: 92px; } .alt strong { font-size: 26px; } }

/* statement (word-by-word reveal) */
.statement-section { padding: clamp(110px, 16vw, 200px) 0 clamp(80px, 10vw, 120px); }
.statement { font: 700 clamp(28px, 4.2vw, 56px)/1.12 var(--display); max-width: 22ch; margin-top: 26px; }
.statement .w { color: rgba(236,230,218,.2); transition: color .35s; }
.statement .w.on { color: var(--pumice); }
.statement em.w.on, .statement .w.on em { color: var(--lava); }
.statement em.w { color: rgba(255,90,31,.25); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); margin-top: clamp(56px, 8vw, 96px); }
.stats div { padding: 26px 20px 0 0; display: grid; gap: 8px; }
.stats strong { font: 900 clamp(38px, 5vw, 64px)/1 var(--display); font-stretch: 75%; color: var(--canary); }
.stats span { color: var(--muted-dark); font-size: 15px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 26px; } }

/* marquee + channel cards */
.marquee { overflow: hidden; white-space: nowrap; margin: 0 calc(var(--gutter) * -1) clamp(40px, 6vw, 64px); }
.marquee-track { display: inline-flex; gap: .4em; font: 900 clamp(70px, 13vw, 190px)/1 var(--display); font-stretch: 62%; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(18,17,16,.28); will-change: transform; }
.marquee-track b { color: var(--basalt); -webkit-text-stroke: 0; font-weight: 900; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.card { display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line-light); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; min-height: 220px; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(18,17,16,.4); }
.card p { color: var(--muted-light); }
.card .go { margin-top: auto; font-weight: 700; display: inline-flex; gap: 8px; }
.card .go::after { content: "→"; transition: transform .25s var(--ease); }
.card:hover .go::after { transform: translateX(4px); }

/* route */
.route { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 70px; }
.route-line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 60px; overflow: visible; }
.route-line path { stroke: var(--canary); stroke-width: 4; fill: none; stroke-linecap: round; }
.stop { display: grid; gap: 10px; }
.stop .mono { color: var(--canary); }
.stop p { color: #CFC7BA; }
@media (max-width: 760px) { .route { grid-template-columns: 1fr; padding-top: 0; } .route-line { display: none; } .stop { border-left: 3px solid var(--canary); padding-left: 18px; } }

/* why me + proof */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.ticks li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line-light); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 22px; width: 16px; height: 9px; border: solid var(--rock); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.proof { display: grid; gap: 14px; }
.proof article { background: var(--basalt); color: var(--pumice); border-radius: 18px; padding: 26px; display: grid; gap: 10px; }
.proof .big { font: 900 clamp(34px, 4vw, 48px)/1 var(--display); font-stretch: 75%; color: var(--canary); }
.proof p { color: #CFC7BA; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }

/* consulting strip */
.strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 34px; border-radius: 20px; background: var(--canary); color: var(--basalt); }
.strip p { font: 800 clamp(20px, 2.4vw, 28px)/1.2 var(--display); font-stretch: 90%; max-width: 34ch; }

/* thanks / 404 */
.center-page { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; }
.center-page .wrap { display: grid; gap: 22px; justify-items: center; }

/* reveal on scroll (JS adds .in) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .statement .w { color: var(--pumice); } .statement em.w { color: var(--lava); }
}

/* fixes after first QA */
.proof .mono.label { color: var(--canary); }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(5, 1fr); } }

/* meet lee */
.meet { padding-top: clamp(90px, 12vw, 150px); }
.meet-grid { position: relative; display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.portrait { display: grid; gap: 14px; }
.portrait-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; overflow: hidden; background: linear-gradient(180deg, #F7E7C6 0%, #F6C98A 50%, #F09A5E 100%); box-shadow: 0 0 0 6px var(--basalt), 0 0 0 8px var(--canary), 0 40px 60px -30px rgba(0,0,0,.7); }
.portrait-ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34%; }
.portrait-frame img, .portrait-bust { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 92%; height: auto; }
.portrait-soon { position: absolute; left: 50%; top: 14%; transform: translateX(-50%); white-space: nowrap; color: #4a2f22; background: rgba(247,231,198,.85); padding: 7px 10px; border-radius: 999px; font-size: 10px; }
.portrait figcaption { color: var(--muted-dark); text-align: center; }
.meet-copy { display: grid; gap: 20px; justify-items: start; }
.meet-copy p:not(.label) { color: #CFC7BA; max-width: 54ch; }
.meet-copy .lede { color: var(--pumice); }
.meet-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
@media (max-width: 820px) { .meet-grid { grid-template-columns: 1fr; } .portrait { max-width: 320px; justify-self: center; width: 100%; } }

/* real portrait: gently "alive" (slow breathing + tilt towards the pointer) */
.portrait-frame .portrait-img { width: 104%; bottom: -2%; transform-origin: 50% 100%; transform: translateX(-50%) translate3d(var(--px, 0px), var(--py, 0px), 0) rotate(var(--pr, 0deg)); transition: transform .6s var(--ease); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { scale: 1; } 50% { scale: 1.012 1.018; } }
.portrait-frame { transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); transition: transform .6s var(--ease); }
@media (prefers-reduced-motion: reduce) { .portrait-frame .portrait-img { animation: none; } .portrait-frame { transform: none; } }

.portrait-frame .portrait-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.portrait-frame svg.portrait-img { position: absolute; left: 50%; bottom: -2%; width: 104%; height: auto; overflow: visible; }
@media (max-width: 620px) { .hero-copy .lede { font-size: 15px; line-height: 1.5; } .hero-copy .eyebrow { font-size: 11px; } }

/* cartoon poses in page sections */
.pose { display: block; height: auto; pointer-events: none; user-select: none; }
.channels-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: clamp(24px, 4vw, 40px); }
.channels-head .section-head { margin-bottom: 0; }
.pose-point { width: clamp(170px, 22vw, 300px); margin-top: -40px; margin-bottom: -6px; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.pose-point.reveal { transform: translateX(40px); } .pose-point.reveal.in { transform: none; }
.pose-wave { width: clamp(150px, 15vw, 220px); margin-top: 34px; filter: drop-shadow(0 30px 30px rgba(0,0,0,.45)); }
@media (max-width: 760px) {
  .channels-head { grid-template-columns: 1fr 132px; gap: 8px; }
  .pose-point { width: 132px; margin-top: 0; }
  .pose-wave { width: 130px; margin: 24px auto 0; }
}

/* wordmark: bold "canary", lighter "ads" (Canary Islands, not the bird) */
.logo .ads { font-weight: 500; opacity: .72; letter-spacing: -.01em; }

/* 4:5 portrait fills the frame exactly */
.portrait-frame svg.portrait-eyes { width: 100%; bottom: 0; }
.proof > .label { margin-bottom: 4px; color: var(--rock) !important; }
.proof p em { color: var(--canary); }

/* still 4:5 cartoon portrait fills the frame (no eye layers) */
.portrait-frame img.portrait-img { width: 100%; bottom: 0; }

/* phones: a short "what I do" intro is always visible above the fold */
.hero-copy .lede-short { display: none; }
@media (max-width: 620px) {
  .hero-copy .lede:not(.lede-short) { display: none; }
  .hero-copy .lede-short { display: block; margin-top: 14px; font-size: 16px; line-height: 1.45; color: #3d2419; font-weight: 500; }
  .hero-copy .btn { margin-top: 18px; }
}
@media (max-width: 620px) and (max-height: 760px) {
  .hero-copy { top: 84px; }
  .hero-copy .display { font-size: 38px; margin-top: 10px; }
  .hero-copy .lede-short { font-size: 15px; margin-top: 10px; }
  .hero-copy .btn { margin-top: 14px; min-height: 44px; }
  .alt { top: 84px; }
  .hint { display: none; }
}
