/* BaseMen Games: the studio page. Loaded on /studio/ only, after base, components and site.
   The studio's own world: cream paper, black ink and the logo's red, drawn like its doodle banner
   (thick outlines, a solid black "extrusion" under every object). The game shows up as an arcade
   screen: inside it, the game page's own dark water and components. */

.st-page {
  --st-cream: #fbf6ea;      /* page: the banner's paper, a touch deeper */
  --st-paper: #fffcf3;      /* raised paper: tiles, buttons */
  --st-ink: #151413;        /* the banner's black (#131312) and the wordmark (#191918) */
  --st-ink-2: #4a453d;      /* secondary text, 9:1 on cream */
  --st-red: #ea413e;        /* the logo's red; ink on it 4.7:1, it on ink 4.7:1 */
  --st-red-ink: #c81e1e;    /* red for small text on cream, 5.3:1 */
  --st-line: 3px;           /* doodle outline */
  background: var(--st-cream);
  color: var(--st-ink);
}
.st-page ::selection { background: var(--st-red); color: var(--st-ink); }
:root:has(> body.st-page) { color-scheme: light; } /* light scrollbars and controls on the paper page */
.st-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Focus on cream is ink; inside the dark screen it stays the game's cream. */
.st-page main :focus-visible { outline: 3px solid var(--st-ink); outline-offset: 4px; }
.st-page main .cab :focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }

/* ---------------------------------------------------------------- header: the shared one, as a black bar */
.st-page .pk-head, .js .st-page .pk-head.is-menu .pk-head__nav { background: var(--st-ink); border-bottom-color: var(--st-ink); }

/* ---------------------------------------------------------------- buttons on paper */
.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  background: var(--st-paper);
  color: var(--st-ink);
  border: var(--st-line) solid var(--st-ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--st-ink);
  font: 800 15px/1.1 var(--font-body);
  font-stretch: 110%;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s var(--ease-water), box-shadow 0.12s var(--ease-water), background-color 0.12s var(--ease-water);
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) { .st-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--st-ink); } }
.st-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--st-ink); }
.st-btn--red { background: var(--st-red); }

/* ---------------------------------------------------------------- hero: the banner, opened up
   The banner (logo taken out) is cut into its eight outer cells along the doodles' own edges. Each cell keeps
   its place relative to the logo: --u is the size of one banner pixel, the top row hangs above the words, the
   bottom row below them, the side columns step out to make room. Pieces cut by the banner's edge stay on
   the screen's edge. --x/--y/--w are a cell's left, top and width in the 2560 px banner. */
.st-hero {
  --u: min(100vw / 1120, 0.5px);                  /* phones: the middle column fills the width */
  --core: calc(100vw - 2 * var(--gutter));
  --mx: 0px;
  --my: 10px;
  --pt: calc(424 * var(--u) + var(--my));         /* the top row shows from banner y 136 */
  --pb: calc(560 * var(--u) + var(--my));         /* the bottom row runs to the banner's own bottom edge */
  --hw: max(calc(var(--core) / 2), calc(560 * var(--u)));
  position: relative;
  overflow: clip;
  padding-block: var(--pt) var(--pb);
  background: var(--st-cream);
  border-bottom: 4px solid var(--st-ink);         /* the ground the banner's platforms stand on */
}
.st-hero__core { position: relative; z-index: 2; width: var(--core); margin-inline: auto; text-align: center; }
.st-hero__title { line-height: 0; }
.st-hero__title img { width: min(100%, 1110 * var(--u)); height: auto; margin-inline: auto; }
.st-hero__line { max-width: 31em; margin: 22px auto 0; font-size: 17px; font-weight: 500; line-height: 1.5; color: var(--st-ink); text-wrap: balance; }
.st-hero__actions { display: grid; gap: 14px; margin-top: 26px; }

.dd { position: absolute; z-index: 0; width: calc(var(--w) * var(--u)); max-width: none; line-height: 0; pointer-events: none; user-select: none; -webkit-user-select: none; }
.dd img { width: 100%; max-width: none; height: auto; }
.dd--t { top: calc(var(--pt) - var(--my) - (560 - var(--y)) * var(--u)); }
.dd--m { top: calc(50% + (var(--pt) - var(--pb)) / 2 + (var(--y) - 720) * var(--u)); }
.dd--b { top: calc(100% - var(--pb) + var(--my) + (var(--y) - 880) * var(--u)); }
.dd--c { left: calc(50% + (var(--x) - 1280) * var(--u)); }
.dd--l { left: calc(50% - var(--hw) - var(--mx) - (720 - var(--x)) * var(--u)); }
.dd--r { left: calc(50% + var(--hw) + var(--mx) + (var(--x) - 1840) * var(--u)); }
.dd--edge-l { left: min(0px, calc(50% - var(--hw) - var(--mx) - (720 - var(--x)) * var(--u))); }
.dd--edge-r { left: max(calc(100% - var(--w) * var(--u)), calc(50% + var(--hw) + var(--mx) + (var(--x) - 1840) * var(--u))); }
.dd-tl { --x: 0; --y: 0; --w: 744; }
.dd-tc { --x: 677; --y: 0; --w: 1255; }
.dd-tr { --x: 1827; --y: 0; --w: 733; }
.dd-ml { --x: 349; --y: 491; --w: 305; }
.dd-mr { --x: 1888; --y: 402; --w: 672; }
.dd-bl { --x: 0; --y: 681; --w: 1389; }
.dd-bc { --x: 692; --y: 907; --w: 1182; }
.dd-br { --x: 1372; --y: 814; --w: 1188; }
/* Phones only see the middle column (the side cells would sit off screen, so they are not even loaded). */
@media (max-width: 559px) { .dd-tl, .dd-tr, .dd-ml, .dd-mr { display: none; } }
@media (min-width: 560px) {
  .st-hero__line { font-size: 18px; }
  .st-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
}

/* Upright tablets: the middle column, larger. Wide screens: the whole banner, opened up around the words. */
@media (min-width: 700px) {
  .st-hero { --u: min(100vw / 1500, 0.68px); --core: min(640px, 100vw - 2 * var(--gutter)); --my: 16px; --pt: calc(440 * var(--u) + var(--my)); --pb: calc(560 * var(--u) + var(--my)); }
  .st-hero__title img { width: calc(1110 * var(--u)); }
  .st-hero__line { font-size: 19px; }
}
@media (min-width: 700px) and (orientation: landscape) {
  /* It scales with the height too, so on short laptop windows both buttons stay on the first screen. */
  .st-hero { --u: clamp(0.36px, min(100vw / 2650, 100svh / 1560), 0.68px); --mx: 24px; --my: 18px; --pt: calc(470 * var(--u) + var(--my)); }
  .st-hero__title img { width: max(400px, 1110 * var(--u)); }
}
@media (min-width: 1100px) {
  .st-hero { --core: 680px; }
  .st-hero__line { font-size: clamp(19px, 1.45vw, 22px); }
}

/* ---------------------------------------------------------------- sections */
.st-sec { position: relative; padding-block: clamp(30px, 3.75vw, 56px); } /* one gap of 60-112 px between sections, not two */
.st-h2 {
  font-family: var(--font-body);
  font-weight: 900;
  font-stretch: 112%;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--st-ink);
  text-wrap: balance;
}
@media (max-width: 379px) { .st-h2 { font-size: max(28px, 10vw); } } /* "development" fits on a 280 px screen */
.st-h2__px { display: inline-block; width: 0.56em; height: 0.56em; margin-right: 0.28em; vertical-align: 0.04em; fill: var(--st-red); }
.st-body { margin-top: 18px; max-width: 36em; font-size: 17px; line-height: 1.6; color: var(--st-ink-2); }
@media (min-width: 700px) { .st-body { font-size: 18px; } }

/* ---------------------------------------------------------------- who we are */
.st-who__grid { display: grid; gap: 44px 72px; }
.st-big { margin-top: 26px; max-width: 19em; font-weight: 800; font-stretch: 106%; font-size: clamp(25px, 2.8vw, 40px); line-height: 1.18; letter-spacing: -0.018em; text-wrap: balance; }
.st-big + .st-body { margin-top: 24px; }
.st-hl { text-decoration: underline wavy var(--st-red); text-decoration-thickness: 0.09em; text-underline-offset: 0.2em; text-decoration-skip-ink: none; }
/* Pixel crosses, as scattered over the banner. */
.st-spark { position: absolute; z-index: 1; display: block; width: 20px; height: 20px; fill: var(--st-ink); pointer-events: none; }
.st-facts-wrap { position: relative; }
.st-spark--a { top: -42px; right: 2px; width: 22px; height: 22px; }
.st-spark--b { top: -58px; right: 38px; width: 13px; height: 13px; fill: var(--st-red); }
.st-spark--c { top: -40px; right: 70px; width: 16px; height: 16px; }
.st-spark--d { top: -50px; right: 30px; width: 26px; height: 26px; fill: var(--st-red); }
.st-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.st-fact {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 136px;
  padding: 18px 18px 20px;
  background: var(--st-paper);
  border: var(--st-line) solid var(--st-ink);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--st-ink);
}
.st-fact dt { padding-right: 28px; font: 800 12px/1.2 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--st-red-ink); }
.st-fact dd { margin: 0; font-weight: 850; font-stretch: 106%; font-size: clamp(19px, 1.75vw, 24px); line-height: 1.08; letter-spacing: -0.012em; text-wrap: balance; }
.st-fact__px { position: absolute; top: 15px; right: 15px; width: 18px; height: 18px; fill: var(--st-red); }
.st-fact--red { background: var(--st-red); }
.st-fact--red dt { color: var(--st-ink); }
.st-fact--red .st-fact__px { fill: var(--st-ink); }
.st-fact--ink { background: var(--st-ink); color: var(--st-cream); box-shadow: 5px 5px 0 var(--st-red); } /* an ink card casts red, as the cabinet and the press card do */
.st-fact--ink dt { color: var(--st-red); }
.st-fact--ink .st-fact__px { fill: var(--st-cream); }
@media (min-width: 1000px) { .st-who__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
@media (min-width: 1280px) { .st-who__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
/* Narrow phones: the two longer facts take a full row each, so no word is broken. */
@media (max-width: 559px) { .st-fact:nth-child(n + 3) { grid-column: 1 / -1; min-height: 0; } }
/* The narrowest phones: every fact takes a full row, so no label breaks. */
@media (max-width: 359px) { .st-fact { grid-column: 1 / -1; min-height: 0; } }
@media (max-width: 999px) { .st-spark--a, .st-spark--b { display: none; } }

/* ---------------------------------------------------------------- our game: the arcade screen */
.st-game { padding-top: clamp(24px, 3vw, 40px); }
.cab {
  position: relative;
  margin-top: clamp(64px, 7vw, 92px);
  padding: 14px 14px 0;
  background: var(--st-ink);
  border-radius: 30px;
  box-shadow: 8px 8px 0 var(--st-red);
}
/* One of the banner's monsters runs along the top of the cabinet. */
.cab__runner { position: absolute; z-index: 3; right: clamp(20px, 7%, 110px); bottom: calc(100% - 14px); width: 172px; line-height: 0; pointer-events: none; }
.cab__runner img { width: 100%; height: auto; }
.cab__screen {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(460px, 40vw, 560px);
  overflow: hidden;
  border-radius: 18px;
  background: var(--abyss);
  color: var(--text);
}
.cab__art { position: absolute; inset: 0; z-index: -2; }
.cab__art img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; }
.cab__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(1 4 7 / 0.92) 0%, rgb(1 4 7 / 0.8) 30%, rgb(1 4 7 / 0.3) 52%, rgb(1 4 7 / 0) 66%); }
.cab__content { position: relative; max-width: 620px; padding: clamp(32px, 4vw, 56px); }
.cab__title { line-height: 0; }
.cab__title img { width: 380px; max-width: 100%; height: auto; }
.cab__pitch { margin-top: 18px; max-width: 25em; font-size: 18px; line-height: 1.5; color: var(--cream); }
.cab__facts { margin-top: 22px; }
.cab__actions { display: grid; grid-template-columns: minmax(0, 340px); gap: 12px; margin-top: 28px; }
.cab__actions .cta, .cab__actions .ghost { justify-content: center; }
.cab__deck { display: flex; align-items: center; gap: 22px; height: 78px; padding: 6px 22px 0; }
.cab__stick { width: 68px; height: 51px; }
.cab__btns { width: 154px; height: 56px; }
.cab__deck .k { fill: #3d3833; }
.cab__deck .r { fill: var(--st-red); }
.cab__deck .d { fill: #7d1f1c; }
.cab__deck .h { fill: rgb(255 252 243 / 0.7); }

/* Stacked: the art on top with the logo over it, then the words on the dark screen. */
@media (max-width: 1365px) {
  .cab__screen { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "art" "pitch" "facts" "actions"; align-items: start; min-height: 0; }
  .cab__art { position: relative; inset: auto; grid-area: art; aspect-ratio: 2 / 1; }
  .cab__art img { object-position: 30% 50%; }
  .cab__shade { position: relative; inset: auto; grid-area: art; background: linear-gradient(90deg, rgb(1 4 7 / 0.78) 0%, rgb(1 4 7 / 0.5) 34%, rgb(1 4 7 / 0) 56%), linear-gradient(180deg, rgb(1 4 7 / 0) 62%, var(--abyss) 100%); }
  .cab__content { display: contents; }
  .cab__title { grid-area: art; z-index: 1; align-self: center; padding: 24px 28px; }
  .cab__title img { width: min(340px, 42vw); }
  .cab__pitch { grid-area: pitch; margin: 4px 28px 0; }
  .cab__facts { grid-area: facts; margin: 20px 28px 0; }
  .cab__actions { grid-area: actions; margin: 26px 28px 30px; }
}
@media (max-width: 699px) {
  .cab { padding: 8px 8px 0; border-radius: 22px; box-shadow: 6px 6px 0 var(--st-red); margin-top: 72px; }
  .cab__runner { width: 116px; right: 18px; bottom: calc(100% - 10px); }
  .cab__screen { border-radius: 14px; }
  .cab__pitch { margin: 6px 16px 0; font-size: 17px; }
  .cab__facts { margin: 18px 16px 0; gap: 12px 26px; }
  .cab__actions { grid-template-columns: minmax(0, 1fr); margin: 24px 16px 18px; }
  .cab__actions .cta, .cab__actions .ghost { width: 100%; justify-content: center; }
  .cab__actions .ghost { padding-inline: 16px; font-size: 14px; }
  .cab__deck { height: 60px; gap: 14px; padding-inline: 14px; }
  .cab__stick { width: 52px; height: 39px; }
  .cab__btns { width: 110px; height: 40px; }
}
/* Phones held upright: the square crop with the logo at its top. (Held sideways they keep the wide art with
   the logo beside the sub, so the screen doesn't turn into a square taller than the phone.) */
@media (max-width: 699px) and (orientation: portrait) {
  .cab__art { aspect-ratio: 1 / 1; }
  .cab__art img { object-position: 50% 50%; }
  .cab__shade { background: linear-gradient(180deg, rgb(1 4 7 / 0.7) 0%, rgb(1 4 7 / 0) 34%, rgb(1 4 7 / 0) 74%, var(--abyss) 100%); }
  .cab__title { align-self: start; justify-self: center; padding: 20px 16px 0; }
  .cab__title img { width: min(270px, 66vw); }
}
@media (max-width: 359px) { .cab__actions .ghost__meta { display: none; } } /* 'Watch the trailer' stays on one line */

/* ---------------------------------------------------------------- follow development */
.st-follow__head { position: relative; padding-right: 200px; }
.st-follow__ghost { position: absolute; bottom: -8px; right: 2%; width: 150px; line-height: 0; pointer-events: none; }
.st-follow__ghost img { width: 100%; height: auto; }
.chan { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin: 44px 0 0; padding: 0; list-style: none; }
.chan__a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  height: 100%;
  min-height: 140px;
  padding: 18px 18px 20px;
  background: var(--st-paper);
  color: var(--st-ink);
  border: var(--st-line) solid var(--st-ink);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--st-ink);
  text-decoration: none;
  transition: transform 0.12s var(--ease-water), box-shadow 0.12s var(--ease-water), background-color 0.12s var(--ease-water);
  -webkit-tap-highlight-color: transparent;
}
.chan__name { padding-right: 26px; font-weight: 900; font-stretch: 110%; font-size: clamp(24px, 2.1vw, 30px); line-height: 1; letter-spacing: -0.015em; }
.chan__handle { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--st-ink-2); overflow-wrap: anywhere; }
.chan__go { position: absolute; top: 19px; right: 18px; width: 15px; height: 15px; fill: currentColor; }
@media (hover: hover) {
  .chan__a:hover { background: var(--st-red); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--st-ink); }
  .chan__a:hover .chan__handle { color: var(--st-ink); }
}
.chan__a:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--st-ink); }
@media (max-width: 1099px) {
  .chan { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .chan > li { grid-column: span 2; }
  .chan > li:nth-child(n + 4) { grid-column: span 3; }
}
@media (max-width: 799px) {
  .st-follow__head { padding-right: 0; }
  .st-follow__head .st-body { max-width: calc(100% - 112px); }
  .st-follow__ghost { top: auto; bottom: -10px; right: -4px; width: 104px; }
}
@media (max-width: 699px) {
  .chan { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 32px; }
  .chan > li, .chan > li:nth-child(n + 4) { grid-column: auto; }
  .chan__a { min-height: 0; gap: 6px; padding: 15px 48px 16px 18px; box-shadow: 4px 4px 0 var(--st-ink); }
  .chan__name { padding-right: 0; font-size: 24px; }
  .chan__go { top: 50%; right: 20px; margin-top: -7px; }
}

/* ---------------------------------------------------------------- get in touch */
.st-contact { padding-bottom: clamp(88px, 10vw, 144px); border-bottom: 4px solid var(--st-ink); } /* the paper world ends on the same ground line it starts on */
.st-contact__grid { display: grid; gap: 48px 72px; }
/* Sized so the address stays on one line: it is about 13.6 em long. */
.st-mail { margin-top: 20px; font-weight: 900; font-stretch: 106%; font-size: min(54px, calc((100vw - 2 * var(--gutter)) / 14.2)); line-height: 1.1; letter-spacing: -0.02em; overflow-wrap: anywhere; }
@media (min-width: 1000px) { .st-mail { font-size: min(54px, calc((min(1360px, 100vw - 2 * var(--gutter)) - 72px) * 7 / 12 / 14.2)); } }
.st-mail a { color: var(--st-ink); text-decoration: underline wavy var(--st-red); text-decoration-thickness: 0.07em; text-underline-offset: 0.18em; text-decoration-skip-ink: none; }
@media (hover: hover) { .st-mail a:hover { color: var(--st-red-ink); } }
.st-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
/* The site's copy button (same markup, same script), dressed for paper. */
.st-copy { min-width: 180px; justify-content: center; min-height: 50px; padding: 0 20px; background: var(--st-paper); color: var(--st-ink); border: var(--st-line) solid var(--st-ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--st-ink); font-weight: 800; font-size: 14px; transition: transform 0.12s var(--ease-water), box-shadow 0.12s var(--ease-water); }
.st-copy::before, .st-copy::after { display: none; }
@media (hover: hover) { .st-copy:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--st-ink); } }
.st-copy:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--st-ink); }
.st-copy.is-mining .copy__label { color: var(--st-red-ink); }
.st-copy.is-done .copy__label { color: var(--st-ink); }

.st-press {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 26px 26px 24px;
  background: var(--st-ink);
  color: var(--st-cream);
  border-radius: 22px;
  box-shadow: 6px 6px 0 var(--st-red);
  text-decoration: none;
  transition: transform 0.12s var(--ease-water), box-shadow 0.12s var(--ease-water);
}
.st-press__k { font: 800 12px/1.2 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--st-red); }
.st-press__t { font-weight: 900; font-stretch: 110%; font-size: clamp(32px, 3vw, 42px); line-height: 1; letter-spacing: -0.02em; }
.st-press__d { max-width: 30em; font-size: 16px; line-height: 1.5; color: #d8d2c3; }
.st-press__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font: 800 14px/1 var(--font-body); font-stretch: 110%; letter-spacing: 0.04em; text-transform: uppercase; color: var(--st-cream); }
.st-press__go svg { width: 14px; height: 14px; fill: var(--st-red); transition: transform 0.12s var(--ease-water); }
@media (hover: hover) {
  .st-press:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--st-red); }
  .st-press:hover .st-press__go svg { transform: translateX(3px); }
}
.st-press:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--st-red); }
@media (min-width: 1000px) { .st-contact__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }

/* ---------------------------------------------------------------- the shared footer, on this page */
.st-page .foot { color: var(--text); }
.st-page .studio__more { display: none; } /* the footer's way to this page */

/* ---------------------------------------------------------------- touch, forced colours */
@media (forced-colors: active) {
  .st-btn, .chan__a, .st-fact, .st-copy, .st-press, .cab { border: 2px solid CanvasText; }
  /* The lockup is drawn for the studio's cream (its name is ink): it keeps a cream plate of its own. */
  .st-hero__title img { forced-color-adjust: none; background: #fbf6ea; }
}

/* Phones held sideways: the hero fits the short screen (the lower part of the top doodle row, the lockup,
   the line and both buttons), as the rest of the site does. */
@media (orientation: landscape) and (max-height: 540px) {
  .st-hero { --u: 0.36px; --my: 6px; --pt: calc(190 * var(--u) + var(--my)); --pb: calc(200 * var(--u) + var(--my)); }
  .st-hero__title img { width: 300px; }
  .st-hero__line { max-width: 46em; margin-top: 12px; font-size: 16px; }
  .st-hero__actions { margin-top: 16px; }
}
/* The shortest (a phone sideways, and with the browser's bars showing): smaller still, so both buttons fit. */
@media (orientation: landscape) and (max-height: 400px) {
  .st-hero { --pt: calc(120 * var(--u) + var(--my)); }
  .st-hero__title img { width: 220px; }
  .st-hero__line { margin-top: 8px; font-size: 15px; }
  .st-hero__actions { margin-top: 12px; }
}
/* A small phone sideways with the browser's bars showing: the top doodle row all but goes. */
@media (orientation: landscape) and (max-height: 300px) {
  .st-hero { --pt: calc(60 * var(--u) + var(--my)); }
  .st-hero__title img { width: 190px; }
}

