/* Enge.Studio – front page only (loaded on is_front_page). Shared parts live in theme.css. */

h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
body { line-height: 1.55; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.display { font-size: var(--fs-display); font-weight: 700; line-height: 0.96; letter-spacing: -0.04em; }
.h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.statement { font-size: var(--fs-statement); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; max-width: 30ch; text-wrap: pretty; }
p { max-width: 62ch; }

.traveler { position: fixed; left: 0; top: 0; width: 100px; height: 100px; background: var(--koralle); transform-origin: 0 0; z-index: 40; pointer-events: none; display: none; }
.has-traveler .traveler { display: block; transition: opacity 250ms linear; }
.has-traveler .stop[data-stop] { opacity: 0; }
.has-traveler .stop[data-stop].is-set { opacity: 1; transition: opacity 0s 250ms; } /* waits until the dot has faded out */

/* ---------- hero: the photo that becomes the E ---------- */
.hero { position: relative; background: var(--weiss); }
.story .hero { height: 250svh; }
.hero-stage {
  position: sticky; top: 0; height: 100svh; min-height: 600px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--gap);
  padding: 110px var(--margin) 48px; max-width: 1680px; margin-inline: auto;
}
.hero-text { container-type: inline-size; min-width: 0; }
.hero-title { margin-bottom: 36px; font-size: min(var(--fs-display), 15.2cqi); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title [data-line] { display: block; white-space: nowrap; }
.hero-sub { font-size: var(--fs-statement); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 18px; }
.hero-note { max-width: 34ch; margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-mark { --sq: min(72svh, 40vw); width: var(--sq); position: relative; }
.sig { width: 100%; height: auto; overflow: visible; }

/* ---------- section wipes on the 14° line ---------- */
.wipe { position: relative; background: var(--ground); isolation: isolate; }
.wipe::before { content: ""; position: absolute; inset: 0; background: var(--prev); clip-path: var(--wipe, inset(0 0 100% 0)); z-index: -1; pointer-events: none; }
[data-ground="navy"] { --ground: var(--navy); color: var(--weiss); }
[data-ground="nebel"] { --ground: var(--nebel); }
[data-ground="weiss"] { --ground: var(--weiss); }
[data-prev="navy"] { --prev: var(--navy); }
[data-prev="nebel"] { --prev: var(--nebel); }
[data-prev="weiss"] { --prev: var(--weiss); }

.cut { overflow: hidden; }
.cut img { position: relative; top: -8%; width: 100%; height: 116%; object-fit: cover; }

/* ---------- intro ---------- */
.intro { padding-block: var(--section); }
.intro-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.intro-text { grid-column: 1 / 9; display: grid; gap: 40px; }
.intro-text .statement { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.28; max-width: 46ch; }
.intro-text .w { transition: opacity 300ms linear; }
.intro-wer { font-size: clamp(22px, 2.2vw, 32px); font-weight: 500; line-height: 1.28; max-width: 46ch; }
.intro-img { --cut: polygon(31.2% 0, 100% 0, 100% 100%, 0 100%); grid-column: 9 / 13; aspect-ratio: 4 / 5; clip-path: var(--cut); margin-right: calc(var(--margin) * -1); }
.intro-img { position: relative; }
.intro-img img { position: absolute; left: 0; opacity: 0; transition: opacity 1100ms var(--ease-in-out); }
.intro-img img.is-on { opacity: 1; }
/* staged by the scroll story: words first, then the photo, then the line below */
.intro.is-staged .intro-img { clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%); transition: clip-path 1100ms var(--ease-in-out); }
.intro.is-staged.show-img .intro-img { clip-path: var(--cut); }
.intro.is-staged .intro-wer { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); }
.intro.is-staged.show-wer .intro-wer { opacity: 1; transform: none; }
@media (min-width: 782px) { .intro { min-height: 100svh; display: grid; align-items: center; } }
.intro-wer a { color: inherit; font-weight: 600; text-decoration: underline 3px transparent; text-underline-offset: 7px; transition: text-decoration-color 500ms ease; }
.intro-wer a.is-on, .intro-wer a:focus-visible { text-decoration-color: var(--koralle); }
/* the arrow squeezes in on hover and pushes the line apart */
.pf { display: inline-block; max-width: 0; overflow: hidden; vertical-align: bottom; opacity: 0; color: var(--koralle); transition: max-width 320ms var(--ease-out), margin 320ms var(--ease-out), opacity 200ms ease; }
:is(.intro-wer a, .blog-all):focus-visible .pf { max-width: 1.2em; margin-left: 0.15em; opacity: 1; }
@media (hover: hover) and (pointer: fine) { .intro-wer a:hover { text-decoration-color: var(--koralle); } :is(.intro-wer a, .blog-all):hover .pf { max-width: 1.2em; margin-left: 0.15em; opacity: 1; } }

/* ---------- leistungen: the wall ---------- */
.leistungen { padding-block: var(--section); overflow: clip; }
.leistungen-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; margin-bottom: clamp(56px, 6vw, 104px); }
.leistungen-head .h2 { grid-column: 1 / 8; }
.leistungen-head .statement { grid-column: 8 / 13; font-size: clamp(19px, 1.5vw, 24px); }

/* justified rows: each sheet grows by its aspect ratio, so every row shares one top and one bottom edge */
.wand { display: grid; gap: clamp(48px, 5vw, 80px); }
.wand-reihe { display: flex; align-items: flex-start; gap: var(--gap); }
.blatt { position: relative; flex: var(--fl, var(--ar)) 1 0; min-width: 0; z-index: 1; }
.blatt[data-act] { cursor: pointer; }
.blatt.is-on { z-index: 5; }
.blatt-in { position: relative; transform-style: preserve-3d; perspective: 1400px; }
.blatt-in svg, .blatt-in img { width: 100%; height: auto; }
.blatt-in::after { /* taste-skill-ignore: shadow only shows while the sheet floats on hover */ content: ""; position: absolute; inset: 0; box-shadow: 0 30px 60px -18px rgba(29, 61, 89, 0.45), 0 10px 20px -10px rgba(29, 61, 89, 0.3); opacity: 0; transition: opacity 300ms var(--ease-out); pointer-events: none; }
.blatt.is-on .blatt-in::after { opacity: 1; }
.blatt:is(.blatt-mag, .blatt-video) .blatt-in::after, .blatt:has(.flip-card, .browser) .blatt-in::after { display: none; }

/* each sheet does its own thing (pointer, tap or keyboard sets .is-on) */
.flip-card { display: grid; transform-style: preserve-3d; transition: transform 850ms cubic-bezier(0.3, 1.2, 0.5, 1); }
.flip-card .face { grid-area: 1 / 1; width: 100%; height: auto; backface-visibility: hidden; outline: 1px solid rgba(29, 61, 89, 0.12); }
.face--back { transform: rotateY(180deg); }
.blatt.is-on .flip-card { transform: rotateY(180deg); }
/* the two-sided flyer folds over its top edge instead of turning */
.flip-card--x .face--back { transform: rotateX(180deg); }
.blatt.is-on .flip-card--x { transform: rotateX(180deg); }
.blatt-in img { display: block; }
.browser { display: flex; flex-direction: column; aspect-ratio: 3 / 2; background: var(--weiss); outline: 1px solid rgba(29, 61, 89, 0.14); }
.browser-view { display: block; flex: 1; min-height: 0; overflow: hidden; }
.browser-page { transition: transform 1100ms var(--ease-out); }
.is-on .browser-page { transform: translateY(-81.5%); transition: transform 9s cubic-bezier(0.45, 0, 0.55, 1) 250ms; }
.plakat { overflow: hidden; }
.blatt-plakat .blatt-in { transform: rotate(2.5deg); }
.plakat-neu { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 0%, 0 -17.7%); transition: clip-path 600ms var(--ease-in-out); }
.is-on .plakat-neu { clip-path: polygon(0 0, 100% 0, 100% 117.7%, 0 100%); transition-duration: 1100ms; }
.ads-video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--navy); }
.vid-btn { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--navy); color: var(--weiss); cursor: pointer; }
.vid-btn[hidden] { display: none; }
.vid-btn::before { content: ""; box-sizing: border-box; width: 12px; height: 14px; border-inline: 4px solid currentColor; }
.vid-btn.is-paused::before { width: 0; height: 0; border-inline: 0; border-left: 13px solid currentColor; border-block: 8px solid transparent; margin-left: 3px; }
.vid-btn:focus-visible { outline: 3px solid var(--koralle); outline-offset: 2px; }
.brand { aspect-ratio: 3 / 5; overflow: hidden; }
.brand img { transform-origin: 30% 6%; }
.is-on .brand img { animation: brand 6s var(--ease-in-out) forwards; }
@keyframes brand { 0% { transform: none; } 28%, 42% { transform: scale(1.6); } 100% { transform: translateY(-20%); } }
.inserat { overflow: hidden; }
.inserat { transition: transform 900ms var(--ease-out); }
.is-on .inserat { transform: scale(1.08); }
.mag { position: relative; width: 200%; margin-left: -100%; aspect-ratio: 200 / 141.9; transform-style: preserve-3d; perspective: 1800px; transform-origin: 0 0; transition: transform 700ms var(--ease-out); }
/* closed, flyer and magazine fill their tile with one page; opened, the spread lies over the neighbour */
.is-on .mag { transform: translateX(50%); }
.mag .pg { position: absolute; top: 0; width: 50%; height: 100%; object-fit: cover; transform: translateZ(-4px); }
.mag .pg-r { left: 50%; }
.leaf { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; transform-style: preserve-3d; transform-origin: 0 50%; transform: rotateY(0deg) translateZ(calc(4px - var(--n) * 1px)); transition: transform 900ms cubic-bezier(0.6, 0, 0.3, 1) calc((3 - var(--n)) * 200ms); }
.leaf .face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; backface-visibility: hidden; }
.is-on .leaf { transform: rotateY(-180deg) translateZ(calc(4px - var(--n) * 1px)); transition-delay: calc((var(--n) - 1) * 1200ms + 200ms); }
.blatt-cap { margin: 14px 0 0; font-size: calc(var(--fs-small) * 1.25); font-weight: 600; line-height: 1.35; }

/* wide screens: the wall is a free collage, positions in px of a 1280 x 1640 board (--x, --y, --w, --r per sheet) */
@media (min-width: 1200px) {
  .wand { display: block; position: relative; aspect-ratio: 1280 / 1640; }
  .wand-reihe { display: contents; }
  .blatt { position: absolute; left: calc(var(--x) / 12.8 * 1%); top: calc(var(--y) / 16.4 * 1%); width: calc(var(--w) / 12.8 * 1%); rotate: var(--r, 0deg); }
  .blatt-plakat .blatt-in { transform: none; }
  .brand { aspect-ratio: var(--crop, 3 / 5); }
  .is-on .brand img { animation-name: brand-whole; }
}
@keyframes brand-whole { 0%, 100% { transform: none; } 30%, 60% { transform: scale(1.6); } }

.index { margin-top: clamp(64px, 6vw, 110px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gap); }
.index h3 { font-size: var(--fs-body); font-weight: 700; line-height: 1.55; letter-spacing: normal; margin-bottom: 1em; }
.index li { line-height: 1.5; }

/* ---------- arbeiten ---------- */
.arbeiten { padding-block: var(--section); }
.arbeiten-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; margin-bottom: 56px; }
.arbeiten-head .h2 { grid-column: 1 / 7; }
.arbeiten-head .statement { grid-column: 8 / 13; font-size: clamp(19px, 1.5vw, 24px); }
.rows { display: grid; }
.row { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 20px 0; isolation: isolate; }
.row::before { content: ""; position: absolute; inset: 0 calc(var(--margin) * -1); background: var(--nebel); z-index: -1; transform: scaleY(0); transform-origin: 50% 100%; transition: transform 380ms var(--ease-out); }
.row h3 { font-size: calc(var(--fs-row) * 0.8); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; transition: transform 380ms var(--ease-out); }
.row p { margin-top: 6px; font-size: calc(var(--fs-small) * 1.25); font-weight: 600; transition: transform 380ms var(--ease-out); }
.row-thumb { display: none; object-fit: contain; }
.row-text { display: block; min-width: 0; }
@media (hover: hover) and (pointer: fine) {
  .row:hover::before { transform: scaleY(1); }
  .row:hover :is(h3, p) { transform: translateX(14px); }
}
.pv { position: fixed; left: 0; top: 0; z-index: 40; overflow: hidden; pointer-events: none; opacity: 0; visibility: hidden; transform: scale(0.9) rotate(-4deg); /* taste-skill-ignore: floating preview */ box-shadow: 0 30px 60px -20px rgba(29, 61, 89, 0.5); }
/* the work at its own proportions; screens show their first view */
.pv-img { display: block; width: auto; height: auto; max-width: 320px; max-height: 400px; }
.pv-img.is-screen { width: 320px; max-height: none; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 0; }
.pv.on { opacity: 1; visibility: visible; transform: rotate(-3deg); }
.logos { margin-top: clamp(72px, 8vw, 140px); display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 32px var(--gap); align-items: center; }
.logos img { width: 100%; max-width: 150px; height: 72px; object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply; transition: filter var(--t-hover) ease, transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .logos li:hover img { filter: none; transform: scale(1.06); } }

/* ---------- haltung: five points as a staircase, each revealed as it scrolls in ---------- */
.haltung { padding-block: clamp(80px, 8vw, 140px); }
.haltung-text .h2 { margin-bottom: 56px; }
.punkte { display: grid; gap: clamp(36px, 4.5vw, 72px); }
.punkte li { position: relative; padding-left: 1.4em; margin-left: calc(var(--i, 0) * var(--step, 13%)); }
.punkte li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 0.42em; height: 1.66em; background: var(--koralle); clip-path: polygon(0 0, 100% 0, 0 100%); }
.punkte h3 { font-size: clamp(22px, 1.9vw, 30px); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.punkte p { margin-top: 4px; max-width: 46ch; }

/* ---------- über mich ---------- */
.ueber { padding-block: var(--section); }
.ueber-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.portrait { grid-column: 1 / 5; aspect-ratio: 4 / 5; background: var(--navy); position: relative; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait-keil { position: absolute; left: 0; top: 0; width: 24.9%; height: 100%; background: var(--koralle); clip-path: polygon(0 0, 100% 0, 0 100%); }
.ueber-text { grid-column: 6 / 13; display: grid; gap: 28px; }

/* ---------- blog ---------- */
.blog { padding-block: var(--section); }
.blog-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; margin-bottom: 56px; }
.link.blog-all, .link.blog-all:is(:hover, :focus-visible) { font-weight: 600; text-decoration: underline 3px var(--koralle); text-underline-offset: 7px; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--gap); }
.post { display: grid; gap: 14px; text-decoration: none; }
.post-title { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
.post-title, .post p { transition: transform 380ms var(--ease-out); }
.post:focus-visible { outline-offset: 6px; }
@media (hover: hover) and (pointer: fine) { .post:hover .post-title { text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.18em; } }

/* ---------- kontakt: one action ---------- */
.kontakt { padding-block: var(--section); }
.kontakt-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.kontakt-text { grid-column: 1 / 7; display: grid; gap: 28px; justify-items: start; }
.btn-big { min-height: 68px; padding: 0 32px; font-size: 22px; text-wrap: balance; }
.btn-big::before { width: calc(68px * var(--tan)); }
.kontakt-direkt { font-size: var(--fs-small); font-weight: 500; }
.vk { grid-column: 7 / 11; perspective: 1600px; cursor: pointer; }
.vk .flip-card { transform: rotate(-3deg); }
.vk.is-on .flip-card { transform: rotate(-3deg) rotateY(180deg) scale(1.03); }

/* ---------- entrances (only with script, only with motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise 800ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }
  .js .hero-title [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 110ms + 120ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--d-i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .cut[data-reveal], .js .portrait[data-reveal] { opacity: 1; transform: none; clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%); transition: clip-path 1100ms var(--ease-in-out); }
  .js .cut[data-reveal].is-in { clip-path: var(--cut); }
  .js .portrait[data-reveal].is-in { clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%); }
  .pv { transition: opacity 240ms var(--ease-out), transform 300ms var(--ease-out), visibility 0s 300ms; }
  .pv.on { transition-delay: 0s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes line-up { to { transform: none; } }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .hero-mark { --sq: min(52svh, 40vw); }
  .logos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .kontakt-text { grid-column: 1 / 8; }
  .vk { grid-column: 8 / 12; }
}

/* ---------- below 900: the wall becomes a column ---------- */
@media (max-width: 899px) {
  .leistungen-head, .arbeiten-head { grid-template-columns: 1fr; gap: 20px; }
  .leistungen-head .h2, .leistungen-head .statement, .arbeiten-head .h2, .arbeiten-head .statement { grid-column: 1; }
  .index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--gap); }
  .row { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; align-items: center; padding: 16px 0; }
  .row-thumb { display: block; width: 96px; height: 72px; object-fit: contain; object-position: 0 50%; }
  .row-thumb--screen { object-fit: cover; object-position: 50% 0; outline: 1px solid rgba(29, 61, 89, 0.12); }
  .row h3 { font-size: clamp(18px, 4.5vw, 27px); }
  .row p { margin-top: 4px; font-size: var(--fs-small); }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos img { height: 56px; }
  .intro-text { grid-column: 1 / -1; }
  .intro-text .statement { max-width: none; }
  .intro-img { grid-column: 3 / -1; margin-top: 24px; aspect-ratio: 4 / 3; --cut: polygon(18.7% 0, 100% 0, 100% 100%, 0 100%); }
  .portrait { grid-column: 1 / 8; }
  .ueber-text { grid-column: 1 / -1; margin-top: 32px; }
}

/* ---------- below 700: the wall is one column; with motion the scroll plays each sheet (front.js) ---------- */
.plakat-neu + .plakat-neu { display: none; }
@media (max-width: 699px) {
  .wand, .wand-reihe { gap: 44px; }
  .wand-reihe { flex-direction: column; align-items: stretch; }
  /* a pinned sheet must fit the screen: height capped at 62svh, phones still get full width */
  .blatt { flex: none; width: 100%; max-width: calc(62svh * var(--ar)); }
  .is-on .mag { transform: translateX(50%) scale(0.5); }
  .is-story .plakat-neu { display: block; clip-path: none; }
  .is-story :is(.browser-page, .plakat-neu, .flip-card, .leaf, .brand img, .inserat) { transition: none; animation: none; }
  .is-story .blatt-in::after { display: none; }
  /* the pin hands its offset over as a transform; the reveal's transition would animate that hand-over */
  .js .is-story .blatt[data-reveal] { transition: none; }
}

/* ---------- phone: its own composition ---------- */
@media (max-width: 720px) {
  :root { --section: 72px; }
  .story .hero { height: 170svh; }
  /* the stage may grow past a short screen: it then scrolls to its buttons first and holds there (--stage-h comes from front.js) */
  .hero-stage { grid-template-columns: 1fr; align-content: start; gap: 0; padding-top: clamp(calc(var(--bar-h) + 12px), 15svh, 128px); padding-bottom: 24px; height: auto; min-height: 100svh; top: min(0px, calc(100svh - var(--stage-h, 100svh))); }
  .hero-mark { --sq: min(56vw, 30svh); order: -1; justify-self: start; margin-bottom: 22px; }
  .hero-title { margin-bottom: 18px; }
  .hero-sub { margin-bottom: 12px; }
  .hero-note { margin-bottom: 22px; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }

  .leistungen-head { margin-bottom: 40px; }
  .index { margin-top: 56px; }
  .arbeiten-head { margin-bottom: 32px; }
  .logos { margin-top: 56px; }

  .intro-text { gap: 28px; }
  .intro-text .statement { font-size: 22px; }
  .punkte { gap: 32px; --step: 6%; }
  .haltung-text .h2 { margin-bottom: 32px; }
  .portrait { grid-column: 1 / 10; }

  .posts { grid-template-columns: 1fr; gap: 56px; }
  .kontakt-text { grid-column: 1 / -1; }
  .vk { grid-column: 1 / 11; margin-top: 40px; }
  .btn-big { width: 100%; justify-content: center; text-align: center; padding: 14px 20px; font-size: 19px; }
}

/* a phone held sideways: the sticky stage has to fit a low screen, buttons included */
@media (max-height: 520px) and (orientation: landscape) {
  .story .hero { height: 220svh; }
  .hero-stage { grid-template-columns: 1fr auto; align-content: center; align-items: center; gap: var(--gap); min-height: 100svh; padding-top: calc(var(--bar-h) + 4px); padding-bottom: 8px; }
  .hero-mark { --sq: min(58svh, 30vw); order: 0; justify-self: end; margin-bottom: 0; }
  .hero-title { font-size: min(34px, 15.2cqi); margin-bottom: 8px; }
  .hero-sub { font-size: 18px; margin-bottom: 6px; }
  .hero-note { max-width: none; margin-bottom: 10px; font-size: 14px; }
  .actions { flex-wrap: nowrap; }
  .actions .btn { flex: 0 1 auto; min-height: 44px; padding: 0 18px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .is-on .brand img { animation: none; transform: translateY(-20%); }
  .hero-stage { position: relative; }
}
