/* Voltr brand homepage, portfolio, and original case-study films. */
:root {
  --ink: #20231f;
  --muted: #777b75;
  --green: #54d74d;
  --accent: var(--green);
  --line: #e9ebe6;
  --paper: #fff;
  --action-gap: 12px;
  --logo-grey: #999999;
  --font: 'Instrument Sans', Arial, sans-serif;
  --mono: 'Geist Mono', monospace;
}
* { box-sizing: border-box; }
/* Keep the shared frame visible while the page content changes. */
@view-transition { navigation: auto; }
::view-transition-group(root) { animation-duration: .16s; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .16s; animation-timing-function: ease-out; }
::view-transition-group(site-header), ::view-transition-new(site-header) { animation: none; }
::view-transition-old(site-header) { display: none; }
html { scrollbar-gutter: stable; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { position: relative; isolation: isolate; margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; min-height: 100svh; }
body.modal-open { overflow: hidden; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, video { display: block; max-width: 100%; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--green); box-shadow: 0 0 0 1px var(--ink); }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
::selection { background: #54d74d55; }
.wrap { width: min(1200px, calc(100% - 88px)); margin-inline: auto; }
.icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.eyebrow { font: 10px/1.5 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.anchor-target { position: absolute; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

/* A quiet frame, with the main decision kept in the middle of the page. */
.site-header { view-transition-name: site-header; position: sticky; top: 0; z-index: 30; background: #ffffffed; backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.site-header.is-scrolled { border-color: var(--line); }
.header-inner { width: min(1280px,calc(100% - 88px)); margin: auto; min-height: 86px; display: flex; align-items: center; gap: var(--action-gap); }
.wordmark { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.wordmark img { object-fit: contain; width: 27px; height: 31px; }
.wordmark > span { font-size: 27px; font-weight: 600; letter-spacing: -.055em; }
.header-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: 13px; }
.header-nav a { display: flex; align-items: center; gap: 5px; min-height: 44px; white-space: nowrap; }
.header-nav .icon { width: 13px; height: 13px; color: inherit; }
.header-nav a:is(:hover,:focus-visible) { color: var(--green); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 46px; padding: 12px 19px; border: 1px solid transparent; border-radius: 4px; font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; transition: background .2s, border-color .2s, box-shadow .2s; }
.button .icon { width: 15px; height: 15px; }
.header-nav .header-signin:is(:hover,:focus-visible) { color: var(--ink); }
.button-green { background: var(--green); color: #152011; gap: 12px; }
.button-green:hover { background: #63e35c; box-shadow: 0 3px 14px #54d74d26; }
.header-cta, .header-nav .header-signin { width: 130px; min-height: 44px; flex-shrink: 0; padding: 10px 14px; font-size: 13px; gap: 10px; }
.button-light, .back-link { position: relative; isolation: isolate; overflow: hidden; background: #f3f4f1; color: var(--ink); }
.button-light::before, .back-link::before { content: ''; position: absolute; z-index: -1; inset: 0; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.22,1,.36,1); }
.button-light:is(:hover,:focus-visible)::before, .back-link:is(:hover,:focus-visible)::before { transform: scaleX(1); }
.hero { width: 100%; position: relative; isolation: isolate; overflow: hidden; padding: 78px 24px 76px; text-align: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(45px,5.1vw,69px); letter-spacing: -.06em; line-height: 1.045; font-weight: 500; }
.hero h1 span { color: var(--accent); }
.hero-description { font-size: 17px; line-height: 1.5; letter-spacing: -.015em; color: var(--muted); margin: 23px auto 0; max-width: 610px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: var(--action-gap); margin-top: 27px; }

/* The brand homepage fits the viewport with a compact partner block. */
.home-page { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; }
.home-page main { min-height: 0; display: flex; }
.home-page .hero { display: flex; flex-direction: column; justify-content: center; gap: clamp(24px,5svh,46px); padding: 24px; overflow: visible; }
.home-page .partner-brands { margin: 0 auto; }
.home-page .site-footer { padding-block: 14px; }

/* The quiet vertical frame runs through every marketing page. */
.brand-portfolio::before { content: ''; position: fixed; z-index: -1; top: 0; bottom: 0; left: 50%; width: min(1280px,calc(100% - 40px)); transform: translateX(-50%); border-inline: 1px solid #e9ebe6; pointer-events: none; }

.partner-brands { position: relative; z-index: 2; width: min(660px,100%); margin: 72px auto 0; }
.partner-brands > p { font-size: 11px; color: var(--muted); margin-bottom: 16px; }
/* Render directly at the final size; no fractional transform or hard thresholds. */
.brand-logo-filters { position: absolute; pointer-events: none; }
.brand-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); align-items: center; gap: 9px 18px; }
.brand-logo { display: flex; align-items: center; justify-content: center; min-width: 0; height: 32px; color: var(--logo-grey); }
.brand-logo img { width: 72px; height: auto; max-width: 100%; object-fit: contain; filter: brightness(0) opacity(.4); flex-shrink: 0; }
.brand-logo.chunky img { width: 82px; }
.brand-logo.cadence img { width: 72px; }
/* Transparent padding stays intact; all image proportions match the source artwork. */
.brand-logo.ycz img { width: 84px; max-width: none; }
.brand-logo.kraken img { width: 84px; max-width: none; filter: url(#partner-ink-dark); }
.brand-logo.weld img { width: 82px; filter: url(#partner-ink-weld); }
.brand-logo.celo img { width: 48px; filter: url(#partner-ink-celo); }
.brand-logo.geko img { width: 72px; }
.brand-logo.hacku img { width: 72px; }
.brand-logo.electrodose img { width: 80px; }
.brand-logo.ample img { width: 64px; }
.brand-logo.capecod img { width: 42px; filter: url(#partner-ink-dark); }
.brand-logo.code img { width: 72px; }
.brand-logo.nusauce img { width: 86px; }
.brand-logo.soar img { width: 60px; }
.brand-logo.taply img { width: 64px; }
.site-footer { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 30px; padding: 26px 0; border-top: 1px solid var(--line); }
.footer-socials { display: flex; justify-self: start; align-items: center; gap: 8px; }
.footer-socials a { display: grid; place-items: center; width: 36px; height: 36px; color: #91968e; border-radius: 4px; transition: color .2s,background .2s; }
.footer-socials svg { width: 17px; height: 17px; }
.footer-socials a:is(:hover,:focus-visible) { color: var(--green); }
.footer-legal { display: flex; justify-self: end; align-items: center; gap: 24px; font-size: 11px; color: var(--muted); }
.footer-legal a { padding-block: 10px; white-space: nowrap; transition: color .2s; }
.footer-legal a:is(:hover,:focus-visible) { color: var(--green); }


/* A separate portfolio, reached through the homepage's case-study button. */
.page-back { padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.back-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; padding: 9px 12px; border: 1px solid transparent; border-radius: 4px; transition: background .2s,color .2s; }
.back-link .icon { width: 15px; height: 15px; }
.portfolio { position: relative; padding-top: 75px; }
.portfolio-intro { text-align: center; margin: 0 auto 68px; }
.portfolio h1 { font-size: clamp(36px,4.1vw,55px); line-height: 1.07; letter-spacing: -.055em; }
.accent { color: var(--accent); }
.metric-line { display: inline-flex; align-items: baseline; justify-content: center; gap: .22em; max-width: 100%; flex-wrap: wrap; }
.metric-number { display: inline-grid; white-space: nowrap; font-variant-numeric: tabular-nums; line-height: 1.07; }
.metric-width, .metric-value { grid-area: 1 / 1; text-align: right; }
.metric-width { visibility: hidden; pointer-events: none; }
.metric-unit { white-space: nowrap; }
.metric-accessible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.project-grid { border-top: 1px solid var(--line); padding-top: 30px; display: grid; grid-template-columns: 1fr; gap: 76px; }
.project { min-width: 0; }

.project-media { display: block; position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 2.52; border-radius: 5px; background: #eef0e9; }
.project-frames { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.project-featured .project-frames { grid-template-columns: repeat(3,minmax(0,1fr)); }
.project-frame { position: relative; overflow: hidden; background: #eef0e9; }
.project-frame video { width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }
.project-open { position: absolute; z-index: 3; right: 18px; bottom: 18px; display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #fff7; border-radius: 50%; color: white; backdrop-filter: blur(9px); background: #0001; transition: opacity .2s; }
.project-open .icon { width: 16px; height: 16px; }
.case-hover { position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; justify-content: center; gap: 11px; color: white; background: #333a3330; backdrop-filter: blur(5px); font-size: 25px; letter-spacing: -.025em; opacity: 0; transition: opacity .23s; }
.case-hover .icon { width: 24px; height: 24px; }
.project-media:hover .case-hover, .project-media:focus-visible .case-hover { opacity: 1; }
.project-media:hover .project-frames { transform: scale(1.02); }
.project-media:hover .project-open { opacity: 0; }
.project-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 1px 20px; }
.project-name { display: flex; align-items: center; line-height: 1; }
.project-caption .case-brand { display: flex; height: auto; }
.project-result { display: flex; align-items: center; gap: 15px; }
.project-result strong { font-size: 48px; line-height: 1.1; font-weight: 500; letter-spacing: -.055em; }
.project-result > span { font-size: 12px; color: var(--muted); max-width: 155px; line-height: 1.5; }
.case-brand { display: inline-flex; align-items: center; gap: 9px; height: 38px; font-size: 25px; line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.case-brand img { width: 33px; height: 33px; object-fit: contain; flex-shrink: 0; }
.case-brand.weld { font-size: 28px; font-weight: 700; letter-spacing: -.035em; }
.case-brand.weld img { width: 126px; height: 63px; }
.case-brand.chunkyfit img { width: 125px; height: 32px; }
.case-brand.celo img { width: 94px; height: 60px; }
.project-caption a.case-brand:is(:hover,:focus-visible) { color: var(--green); }
/* Each story leads with its result and keeps its original creator films. */
.case-intro { padding-top: 40px; text-align: center; }
.case-intro > .case-brand { margin-bottom: 24px; }
.case-stat { font-size: clamp(75px,8.5vw,115px); line-height: 1; letter-spacing: -.075em; color: var(--ink); }
.case-stat-label { font-size: 19px; letter-spacing: -.025em; margin-top: 8px; }
.case-work { padding-top: 44px; padding-bottom: 50px; }
.case-films { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px; }
.case-film > a { display: block; position: relative; border-radius: 5px; overflow: hidden; background: #eee; }
.case-film .project-frame { aspect-ratio: 9/14; }
.case-film .project-frame video { position: absolute; inset: 0; }



.case-film h2 { font-size: 17px; margin-top: 13px; }
.case-film > p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.case-films:has(> .case-film:nth-child(2):last-child) { max-width: 850px; margin: auto; grid-template-columns: repeat(2,minmax(0,1fr)); }
.case-quote { max-width: 760px; margin: 70px auto 25px; text-align: center; font-size: 32px; line-height: 1.3; letter-spacing: -.04em; }
.case-quote footer { display: flex; justify-content: center; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 0; line-height: 1.6; margin-top: 25px; text-align: left; }
.case-quote img { width: 40px; height: 40px; object-fit: cover; border-radius: 50%; }
.case-quote small { display: block; font-size: 11px; color: var(--muted); }
/* Portrait from Celo's About page, framed around Adam's face. */
.case-quote-avatar { display: block; position: relative; width: 40px; height: 40px; flex-shrink: 0; overflow: hidden; border-radius: 50%; }
.case-quote-avatar img { position: absolute; width: 120px; height: auto; max-width: none; left: -66px; top: -26px; border-radius: 0; }
.case-comparison { display: flex; justify-content: center; align-items: center; gap: 62px; margin: 35px 0; }
.case-comparison > div { display: flex; flex-direction: column; text-align: center; }
.case-comparison strong { font-size: 55px; font-weight: 500; letter-spacing: -.06em; }
.case-comparison span, .case-comparison small { color: var(--muted); font-size: 12px; }
.case-comparison > span { font-size: 26px; }

/* A single next step after the work. */
.booking { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 50px; margin-top: 88px; padding: 66px 0 72px; border-top: 1px solid var(--line); }
.booking h2 { max-width: 620px; font-size: 40px; line-height: 1.1; letter-spacing: -.05em; }
.booking p { margin-top: 14px; font-size: 14px; color: var(--muted); }
.booking > .button { flex-shrink: 0; min-width: 164px; }
.case-page .booking { margin-top: 28px; }

/* One screen, one application destination. */
.creator-page { height: 100svh; min-height: 0; display: grid; grid-template-rows: auto minmax(0,1fr) auto; overflow: hidden; }
.creator-page main { min-height: 0; display: flex; }
.creator-hero { display: flex; align-items: center; justify-content: center; padding: 24px; }
.creator-hero .hero-copy { width: 100%; }
.creator-hero h1 { letter-spacing: -.055em; text-wrap: balance; }
.creator-hero .hero-description { max-width: 535px; margin-top: 27px; line-height: 1.65; }
.creator-hero .hero-description > span { display: block; }
.creator-hero .hero-description strong { color: var(--ink); font-weight: 500; }
.creator-hero .hero-actions { margin-top: 30px; }
.app-store-link { display: inline-flex; border-radius: 7px; }
.app-store-link img { width: auto; height: 56px; }

/* A white film viewer, sized around the portrait rather than a sidebar. */
.film-dialog { position: fixed; inset: 0; margin: auto; padding: 12px; border: 1px solid var(--line); border-radius: 14px; width: clamp(300px,calc((100svh - 240px) * .5625 + 24px),460px); max-width: calc(100vw - 24px); height: min(940px,calc(100svh - 32px)); max-height: calc(100svh - 32px); background: white; color: var(--ink); overflow: hidden; box-shadow: 0 24px 100px #20231f20; }
.film-dialog[open] { display: grid; grid-template-rows: 44px minmax(0,1fr) 76px; }
.film-dialog::backdrop { background: #f5f6f2c9; backdrop-filter: blur(12px); }
.player-header { display: flex; align-items: center; gap: 12px; padding-bottom: 8px; }
.player-brand-logo { width: 86px; height: 32px; object-fit: contain; object-position: left center; }
.player-count { margin-left: auto; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.player-control { display: inline-grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--ink); transition: background .18s; }
.player-control:hover { background: #f0f2ed; }
.player-control svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dialog-close { width: 36px; height: 36px; margin-right: -4px; border-radius: 50%; }
.player-stage { display: grid; grid-template-rows: minmax(0,1fr) 64px; min-width: 0; min-height: 0; }
.player-media { position: relative; min-height: 0; overflow: hidden; border-radius: 7px; background: white; }
.player-media video { width: 100%; height: 100%; object-fit: contain; background: white; cursor: pointer; }
.player-controls { min-width: 0; }
.player-seek { display: block; appearance: none; width: 100%; height: 20px; margin: 0; cursor: pointer; background: transparent; --progress: 0%; }
.player-seek:disabled { cursor: default; opacity: .45; }
.player-seek::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to right,var(--green) var(--progress),#e9ebe6 var(--progress)); }
.player-seek::-moz-range-track { height: 3px; border-radius: 3px; background: #e9ebe6; }
.player-seek::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--green); }
.player-seek::-webkit-slider-thumb { appearance: none; width: 9px; height: 9px; margin-top: -3px; border: 0; border-radius: 50%; background: var(--green); }
.player-seek::-moz-range-thumb { width: 9px; height: 9px; border: 0; border-radius: 50%; background: var(--green); }
.player-toolbar { display: flex; align-items: center; gap: 3px; height: 44px; }
.player-toggle { background: #f3f4f1; }
.player-toggle:hover { background: var(--green); }
.player-toggle [data-play-icon], .player-overlay svg { fill: currentColor; stroke: none; }
.player-toggle [data-pause-icon] { stroke-width: 3; }
.player-time { flex: 1; padding-left: 7px; font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.player-time-divider, [data-player-duration] { color: var(--muted); }
.player-overlay { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 58px; height: 58px; padding: 0; border: 1px solid #ffffff8c; border-radius: 50%; background: #ffffffe8; color: var(--ink); box-shadow: 0 4px 25px #0002; backdrop-filter: blur(8px); }
.player-overlay:hover { background: white; }
.player-overlay svg { width: 24px; height: 24px; }
.player-loading { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.player-loading > span:first-child { width: 26px; height: 26px; border: 2px solid #ffffff80; border-top-color: var(--green); border-radius: 50%; animation: player-spin .7s linear infinite; }
.player-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.player-details { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding-top: 9px; border-top: 1px solid var(--line); }
.player-caption { min-width: 0; }
.player-details h2 { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 17px; letter-spacing: -.035em; line-height: 1.15; }
.player-details [data-player-creator] { margin-top: 5px; font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-nav { display: flex; gap: 6px; flex-shrink: 0; }
.player-step { display: grid; place-items: center; width: 38px; height: 40px; border: 0; border-radius: 6px; color: var(--ink); padding: 0; }
.player-step .icon { width: 17px; height: 17px; }
.video-error { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 24px; text-align: center; background: #fffffff2; font-size: 13px; }
.video-error a { text-decoration: underline; text-underline-offset: 4px; }
.video-error a:hover { color: var(--green); }
.player-stage:fullscreen { width: 100vw; height: 100dvh; padding: 16px; background: white; }
.player-stage:fullscreen .player-controls { width: min(780px,100%); margin-inline: auto; }
@keyframes player-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) {
  .film-dialog[open] { animation: player-enter .18s ease-out; }
  @keyframes player-enter { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
}

.noscript-note { padding: 20px; text-align: center; font-size: 13px; }

@media (prefers-reduced-motion: no-preference) {
  .reveal-ready { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
  .reveal-ready.is-visible { opacity: 1; transform: none; }
}
@media (min-width: 1550px) {
  .hero { padding-top: 98px; padding-bottom: 90px; }
  .partner-brands { margin-top: 82px; }
}
@media (max-width: 1100px) {
  .wrap, .header-inner, .site-footer { width: calc(100% - 56px); }
}
@media (max-width: 700px) {
  :root { --action-gap: 9px; }
  .wrap, .header-inner, .site-footer { width: calc(100% - 40px); }
  .header-inner { min-height: 73px; }
  .wordmark img { width: 22px; height: 26px; }
  .wordmark > span { font-size: 23px; }
  .header-inner > .wordmark { gap: 5px; }
  .header-inner > .wordmark > span { font-size: 21px; }
  .header-nav { gap: 8px; font-size: 11px; }
  .header-nav a { font-size: 11px; }
  .header-nav .icon { display: none; }
  .header-cta, .header-nav .header-signin { width: 82px; min-height: 40px; padding: 9px 6px; font-size: 11px; gap: 8px; }
  .header-cta .icon { display: none; }
  .header-nav .icon { width: 12px; height: 12px; }
  .hero { padding: 61px 20px 57px; }
  .hero h1 { font-size: clamp(35px,7.4vw,49px); letter-spacing: -.055em; line-height: 1.08; }
  .hero-description { font-size: 14px; line-height: 1.6; max-width: 350px; margin-top: 20px; }
  .desktop-break { display: none; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .button { font-size: 12px; padding: 11px 14px; gap: 15px; min-height: 44px; }
  .hero-actions .icon { width: 13px; height: 13px; }
  .hero-actions .button-green { gap: 10px; }
  .partner-brands { margin-top: 57px; }
  .partner-brands > p { font-size: 10px; margin-bottom: 10px; }
  .brand-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px 14px; max-width: 330px; margin: auto; }
  .brand-logo { height: 27px; }
  .brand-logo img { max-width: 100%; }
  .brand-logo.ycz img, .brand-logo.kraken img { width: 70px; max-width: none; }
  .brand-logo.celo img { width: 40px; }
  .brand-logo.capecod img { width: 34px; }
  .site-footer { padding: 22px 0 16px; gap: 12px; }
  .footer-socials { gap: 3px; }
  .footer-socials a { width: 34px; height: 34px; }
  .footer-legal { gap: 12px; font-size: 10px; }

  .home-page .hero { gap: 26px; padding: 16px 20px; }
  .home-page .hero h1 { font-size: clamp(28px,7.4vw,44px); }
  .home-page .hero-description { margin-top: 16px; }
  .home-page .hero-actions { margin-top: 18px; }
  .home-page .site-footer { padding-block: 10px; row-gap: 4px; }

  .page-back { padding-top: 15px; }
  .back-link { font-size: 11px; }
  .portfolio { padding-top: 48px; }
  .portfolio-intro { margin-bottom: 37px; }
  .portfolio h1 { font-size: clamp(30px,6.7vw,43px); letter-spacing: -.05em; line-height: 1.11; }
  .project-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 24px; }
  .project-featured { grid-column: auto; }
  .project-media, .project-featured .project-media { aspect-ratio: 1.2; }
  .project-caption { padding: 0 0 15px; gap: 14px; }
  .project-result strong, .project-featured .project-result strong { font-size: 28px; }
  .project-result > span { max-width: 153px; font-size: 10px; }
  .project-result { flex-direction: column; gap: 3px; align-items: flex-end; text-align: right; }
  .project-result > span { text-align: right; max-width: 150px; }
  .project-open { right: 13px; bottom: 13px; width: 30px; height: 30px; }
  .case-hover { font-size: 20px; }
  .case-brand, .case-brand.weld { font-size: 22px; gap: 7px; }
  .case-brand img { width: 28px; height: 28px; }
  .case-brand.weld img { width: 106px; height: 53px; }
  .case-brand.chunkyfit img { width: 105px; height: 28px; }
  .case-brand.celo img { width: 78px; height: 51px; }
  .case-intro { padding-top: 35px; }
  .case-intro > .case-brand { margin-bottom: 22px; }
  .booking { display: block; margin-top: 55px; padding: 42px 0 46px; }
  .booking h2 { font-size: 32px; }
  .booking p { font-size: 13px; max-width: 330px; }
  .booking > .button { margin-top: 23px; }
  .creator-page .hero { padding: 20px 24px; }
  .creator-hero .hero-description { margin-top: 23px; font-size: 13px; }
  .creator-hero .hero-actions { margin-top: 27px; }
  .app-store-link img { height: 50px; }
  .brand-portfolio::before { width: calc(100% - 24px); }
  .case-stat { font-size: 80px; }
  .case-stat-label { font-size: 16px; max-width: 290px; margin-inline: auto; }
  .case-work { padding-top: 36px; padding-bottom: 35px; }
  .case-films, .case-films:has(> .case-film:nth-child(2):last-child) { grid-template-columns: 1fr; gap: 29px; max-width: 420px; margin: auto; }
  .case-film .project-frame { aspect-ratio: 9/12; }
  .case-film h2 { font-size: 16px; margin-top: 12px; }
  .case-film > p { font-size: 11px; }
  .case-quote { margin: 45px auto 20px; font-size: 25px; }
  .case-quote footer { font-size: 12px; }
  .case-quote small { font-size: 10px; }
  .case-comparison { gap: 42px; margin: 30px 0; }
  .case-comparison strong { font-size: 45px; }
  .film-dialog { max-width: calc(100vw - 20px); height: min(940px,calc(100svh - 20px)); max-height: calc(100svh - 20px); padding: 10px; }
  .film-dialog[open] { grid-template-rows: 44px minmax(0,1fr) 76px; }
  .player-control, .player-step { width: 42px; height: 42px; }
  .dialog-close { width: 36px; height: 36px; }
  .player-details { gap: 8px; }
  .player-details h2 { font-size: 16px; }

}
@media (max-width: 359px) {
  .hero h1 { font-size: 33px; }
  .header-nav { gap: 4px; }
  .header-nav a { font-size: 10px; }
  .header-inner { width: calc(100% - 28px); gap: 6px; }
  .header-cta, .header-nav .header-signin { width: 68px; padding-inline: 4px; font-size: 10px; }
  .wordmark > span { font-size: 21px; }
  .wordmark { gap: 5px; }
  .hero-actions .button { padding-inline: 12px; gap: 10px; font-size: 11px; }
  .brand-grid { column-gap: 10px; }
  .brand-logo.kraken img { width: 64px; }
  .brand-logo.ycz img { width: 66px; }
  .project-result > span { max-width: 126px; }
}
@media (min-width: 701px) and (max-height: 650px) {
  .home-page .hero { gap: 26px; padding-block: 16px; }
  .home-page .hero h1 { font-size: clamp(36px,4.5vw,48px); }
  .home-page .hero-description { font-size: 15px; margin-top: 18px; }
  .home-page .hero-actions { margin-top: 20px; }
}
@media (max-width: 700px) and (max-height: 680px) {
  .home-page .hero { gap: 18px; padding-block: 10px; }
  .home-page .hero-description { font-size: 12.5px; line-height: 1.5; margin-top: 12px; }
  .home-page .hero-actions { margin-top: 14px; }
  .home-page .partner-brands > p { margin-bottom: 8px; }
  .home-page .brand-grid { row-gap: 4px; }
  .home-page .brand-logo { height: 24px; }
  .home-page .site-footer { padding-block: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready { opacity: 1; transform: none; }
}

@media (max-height: 520px) {
  .creator-page .header-inner { min-height: 55px; }
  .creator-page .hero { padding: 12px 24px; }
  .creator-page .hero h1 { font-size: clamp(28px,7svh,36px); }
  .creator-page .hero-description { margin-top: 12px; font-size: 12px; line-height: 1.4; }
  .creator-page .hero-actions { margin-top: 14px; }
  .creator-page .app-store-link img { height: 40px; }
  .creator-page .site-footer { grid-template-columns: auto 1fr; gap: 15px; padding: 10px 0; }
  .creator-page .footer-legal { grid-column: auto; justify-self: end; gap: 15px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .button-light::before, .back-link::before { transition: none; }
}
