/* Kiroshi Studios: black and yellow, one typeface (Archivo, the logo's), crisp lines, a lot of room. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo.woff?v=69dbca9c97") format("woff");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050505;
  --surface: #0c0c0d;
  --line: #222225;
  --line-2: #36363c;
  --text: #f5f5f3;
  --muted: #a8a8a3;
  --yellow: #ffd600;
  --yellow-2: #ffe247;
  --on-yellow: #050505;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
/* never a visible scroll bar (the page still scrolls: wheel, trackpad, keys, touch), so a tall page and a short one
   lay out at the same width and nothing shifts between pages: scrollbar-width for Firefox, Chrome and Safari 18.2+,
   ::-webkit-scrollbar for older Safari and Chromium */
html { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, canvas { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; max-width: 62ch; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 10vw, 8rem); line-height: 0.95; text-transform: uppercase; letter-spacing: -0.025em; }
h2 { font-size: clamp(2.1rem, 5vw, 4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.15; }
h4 { font-size: 1.15rem; line-height: 1.2; }

.lead { font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.45; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  transform: translateY(-200%);
  background: var(--yellow); color: var(--on-yellow);
  padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip:focus { transform: none; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(5 5 5 / 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
/* three columns: the logo (the link home) on the left, the nav in the middle of the window, an empty column as wide
   as the logo's on the right; on a phone the nav sits at the right instead (below) */
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 16px; height: 72px; }
.brand { justify-self: start; display: block; padding: 6px 0; line-height: 0; }
/* never squeezed by the grid (an SVG squeezed sideways shrinks its art to fit) */
.brand img { width: auto; max-width: none; height: 24px; }
.site-header nav { grid-column: 2; }
nav ul { display: flex; gap: clamp(18px, 3vw, 44px); }
nav a { display: inline-block; padding: 8px 0; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
nav a:hover { color: var(--yellow); }
nav a[aria-current] { border-bottom-color: var(--yellow); }
/* a phone: the logo at the left, the nav at the right (right-aligned, not centred; fits down to a 360 px window) */
@media (max-width: 480px) {
  .header-row { grid-template-columns: auto 1fr; column-gap: 12px; }
  .site-header nav { justify-self: end; }
  .brand img { height: 16px; }
  .site-header nav ul { gap: 14px; }
  .site-header nav a { font-size: 0.9rem; }
}

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--yellow); color: var(--on-yellow); }
.btn-primary:hover { background: var(--yellow-2); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }

/* sections */
.section { padding-block: clamp(72px, 10vw, 136px); border-bottom: 1px solid var(--line); }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.shot img { width: 100%; }

/* landing: the hero fills the screen: the flowing surface (poster, then the live canvas over it) and the logo */
.hero {
  position: relative; display: grid; place-items: center;
  height: 100vh; height: 100svh; min-height: 360px;
  overflow: hidden; background: var(--bg); border-bottom: 0;
}
.hero-bg, .hero-poster, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster { object-fit: cover; }
.hero-canvas { opacity: 0; transition: opacity 0.9s ease; }
.hero[data-hero="webgpu"] .hero-canvas,
.hero[data-hero="webgl"] .hero-canvas,
.hero[data-hero="paused"] .hero-canvas { opacity: 1; }
.hero-center { position: relative; z-index: 1; display: grid; place-items: center; width: 100%; padding: 72px 24px; }
.hero-logo { margin: 0; line-height: 0; }
/* as wide as the screen allows: 24 px clear each side on a phone, about two thirds of a desktop, never taller than
   the screen leaves room for (the logo is 2.742 times as wide as it is tall) */
.hero-logo img {
  width: min(calc(100vw - 48px), calc(62vw + 140px), 1240px, calc((100svh - 220px) * 2.742));
  filter: drop-shadow(0 8px 48px rgb(0 0 0 / 0.6));
}
.hero-cue {
  position: absolute; z-index: 1; left: 50%; bottom: max(18px, env(safe-area-inset-bottom));
  width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center;
  border-radius: 999px; color: var(--text); opacity: 0.55; transition: opacity 0.2s;
  animation: cue-bob 2.6s ease-in-out infinite;
}
.hero-cue:hover, .hero-cue:focus-visible { opacity: 1; }
@keyframes cue-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 6px; } }
.hero-pause {
  position: absolute; z-index: 1; right: var(--gutter); bottom: max(18px, env(safe-area-inset-bottom));
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 999px; border: 1px solid rgb(245 245 243 / 0.22);
  background: rgb(5 5 5 / 0.45); color: var(--text); cursor: pointer;
  opacity: 0.55; transition: opacity 0.2s, border-color 0.2s;
}
.hero-pause:hover, .hero-pause:focus-visible { opacity: 1; border-color: var(--text); }
.hero-pause[hidden] { display: none; }
.hero-pause .icon-play, .hero-pause[aria-pressed="true"] .icon-pause { display: none; }
.hero-pause[aria-pressed="true"] .icon-play { display: block; }

/* the landing's header lies clear over the hero (nav only) at the very top of the page and fades in with the scroll:
   header.js sets --fade = clamp(scrollY / (logoTop / 2), 0, 1), logoTop being the big logo's top edge in the page, so
   it is fully in halfway down to the big logo. Linear, no transition: the look follows the scroll. At --fade 1 it is
   the solid header of the other pages (the same background, line and blur), with the small logo. */
.page-home .site-header {
  --fade: 0;
  position: fixed; inset: 0 0 auto;
  background: rgb(5 5 5 / calc(0.88 * var(--fade)));
  border-bottom-color: rgb(34 34 37 / var(--fade)); /* --line */
  -webkit-backdrop-filter: blur(calc(14px * var(--fade))); backdrop-filter: blur(calc(14px * var(--fade)));
}
.page-home .site-header.is-clear { -webkit-backdrop-filter: none; backdrop-filter: none; }
.page-home .site-header .brand { opacity: var(--fade); }
.page-home .site-header.is-clear .brand { visibility: hidden; }

/* landing: the intro text under the hero (content/home.json), centred */
.intro-text { display: grid; gap: 24px; justify-items: center; text-align: center; }
.statement { font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 600; line-height: 1.25; max-width: 34ch; text-wrap: balance; }

/* landing: the featured games, a carousel: one slide in view, the track scrolls sideways and snaps (it swipes and
   scrolls without a script); carousel.js adds the buttons and the dots when there is more than one slide */
.featured-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav[hidden], .carousel-dots[hidden] { display: none; }
.carousel-btn {
  width: 52px; height: 52px; display: grid; place-items: center; padding: 0;
  border-radius: 999px; border: 1.5px solid var(--line-2); background: transparent; color: var(--text);
  cursor: pointer; transition: border-color 0.2s, opacity 0.2s;
}
.carousel-btn:hover:not(:disabled) { border-color: var(--text); }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }
.carousel-track {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 24px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide {
  scroll-snap-align: start; display: grid; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.slide-shot { display: block; overflow: hidden; }
.slide-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.slide-shot:hover img { transform: scale(1.02); }
.slide-copy { display: grid; gap: 18px; justify-items: start; align-content: center; padding: clamp(24px, 4vw, 56px); }
.slide-copy h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.slide-copy p { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; }
.slide-copy .btn { margin-top: 8px; }
.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 20px; }
.carousel-dot { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.carousel-dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--line-2); transition: width 0.2s, background-color 0.2s; }
.carousel-dot[aria-current]::before { width: 24px; background: var(--yellow); }
@media (min-width: 960px) {
  .slide { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
}

/* landing: the yellow band for operators, centred: its heading, a line, and a button to the contact page. The button
   is the site's pill (as the contact page's "Email us") in ink on the yellow: a yellow pill would not show on it. */
.band { background: var(--yellow); color: var(--on-yellow); border-bottom: 0; padding-block: clamp(64px, 8vw, 112px); text-align: center; }
.band :focus-visible { outline-color: var(--on-yellow); }
.band-text { display: grid; justify-items: center; }
.band-text p { margin-top: clamp(12px, 1.6vw, 18px); font-size: clamp(1.05rem, 1.7vw, 1.3rem); font-weight: 600; max-width: 40ch; text-wrap: balance; }
.band-text .btn { margin-top: clamp(24px, 3vw, 36px); }
.btn-ink { background: var(--on-yellow); color: var(--yellow); }
.btn-ink:hover { background: #26262a; }

/* page heads (games, about, 404) */
.page-head { padding-block: clamp(56px, 9vw, 128px) clamp(44px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-head .lead { margin-top: clamp(18px, 2.5vw, 28px); color: var(--muted); }
/* a game's own page: the title and its line centred */
.game-head h1, .game-head .lead { text-align: center; }
.game-head .lead { margin-inline: auto; }

/* games: one card per game, the whole card a link to the game's page */
.games-list { padding-top: clamp(40px, 6vw, 80px); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: clamp(20px, 3vw, 32px); }
.card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--yellow); }
.card:has(a:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 3px; }
.card a:focus-visible { outline: none; }
.card-shot { overflow: hidden; }
.card-shot img { width: 100%; aspect-ratio: 1920 / 1080; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-shot img { transform: scale(1.03); }
.card-name { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px 24px; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.card-name a { text-decoration: none; }
.card-name a::after { content: ""; position: absolute; inset: 0; }
.card-name .arrow { flex: none; width: 22px; height: 22px; color: var(--yellow); transition: transform 0.2s; }
.card:hover .card-name .arrow { transform: translateX(3px); }

/* a game's own page */
.game { padding-block: clamp(40px, 6vw, 80px) clamp(72px, 10vw, 136px); }
/* the symbols: each of the five pays in the game's wooden cell frame (the cedar border laid over the picture, as the board draws a
   cell); the Wild and the Scatter bare, as on the board. One size, seven in a row on a desk, four on a phone (the last row centred). */
.symbols { --gap: clamp(8px, 1.2vw, 16px); --cols: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); margin-top: clamp(10px, 1.2vw, 16px); }
@media (min-width: 720px) { .symbols { --cols: 7; } }
.symbols li { position: relative; flex: none; width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); aspect-ratio: 1; }
.symbols .sym { width: 100%; height: 100%; border-radius: clamp(6px, 1vw, 12px); }
.symbols .framed .sym { border-radius: 0; }
.symbols .cell-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* one about section: the technical list (a row each: its name, its value) */
.game-about { display: grid; gap: clamp(24px, 3vw, 36px); margin-top: clamp(44px, 6vw, 80px); }
.game-about p { max-width: 60ch; color: var(--text); font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.spec { display: grid; border-top: 1px solid var(--line-2); }
.spec > div { display: grid; gap: 4px 32px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; }
@media (min-width: 640px) { .spec > div { grid-template-columns: minmax(150px, 0.3fr) minmax(0, 1fr); align-items: baseline; } }
.features-title { margin-top: clamp(56px, 7vw, 96px); }
.features { display: grid; margin-top: 24px; border-top: 1px solid var(--line-2); }
.features li { padding: 26px 0; border-bottom: 1px solid var(--line-2); }
.features h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 1.15rem; line-height: 1.2; }
.features h3::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--yellow); }
.features p { color: var(--muted); }
.game-actions { margin-top: clamp(44px, 6vw, 72px); }
@media (min-width: 800px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features li { padding-right: 32px; }
  .features li:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line-2); }
}

/* contact: the dark side with the heading and the addresses, and a yellow panel with one big line and the studio's ring mark (below) */
.contact { display: grid; width: 100%; min-height: calc(100svh - 73px); }
.contact-main { display: grid; align-items: center; background: var(--bg); padding: clamp(56px, 8vw, 104px) var(--gutter); }
.contact-box { display: grid; gap: 28px; width: min(100%, 520px); margin-inline: auto; container-type: inline-size; }
/* the heading: larger, left, a short yellow bar under it; on ONE line: sized to the box ("Contact us" is 6.5 em wide) */
.contact h1 { font-size: clamp(2.2rem, 4.5vw, 4.2rem); font-size: clamp(2.2rem, 14.5cqi, 4.2rem); white-space: nowrap; line-height: 1; text-transform: none; letter-spacing: -0.03em; }
.contact h1::after { content: ""; display: block; width: 64px; height: 6px; margin-top: 22px; border-radius: 999px; background: var(--yellow); }
.contact-list { display: grid; gap: 22px; }
.contact-list li { display: grid; gap: 10px; }
.contact-label { color: var(--muted); font-size: 0.95rem; }
.contact-field {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 10px 18px;
  border: 1px solid var(--line-2); border-radius: 12px; background: #0f0f11;
  font-weight: 600; text-decoration: none; overflow-wrap: anywhere; transition: border-color 0.2s;
}
.contact-field svg { flex: none; color: var(--muted); transition: color 0.2s; }
.contact-field:hover { border-color: var(--yellow); }
.contact-field:hover svg { color: var(--yellow); }
.contact-btn { width: 100%; margin-top: 6px; }
/* the yellow panel: the line at its top, the studio's ring mark below it, large, cropped by the panel's bottom edge */
.contact-panel {
  position: relative; overflow: hidden; min-height: clamp(260px, 52vw, 380px); container-type: inline-size;
  background: var(--yellow); color: var(--on-yellow);
  padding: clamp(32px, 5vw, 64px) var(--gutter);
}
/* the line on ONE line, sized to the panel ("Let's talk." is 5.7 em wide) */
.contact-line {
  position: relative; z-index: 1; white-space: nowrap;
  font-stretch: 125%; font-weight: 800; font-size: clamp(2.2rem, 4vw, 4.6rem); font-size: clamp(2.2rem, 16cqi, 4.6rem); line-height: 0.95; letter-spacing: -0.03em;
}
.contact-mark { position: absolute; z-index: 0; right: -14%; bottom: 0; width: min(78vw, 440px); max-width: none; height: auto; transform: translateY(40%); }
@media (min-width: 900px) {
  /* the panel on the left, 5 parts to the content's 7: not the sign-in page's even halves */
  .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .contact-panel { order: -1; min-height: 0; padding-inline: clamp(32px, 4vw, 64px); }
  .contact-mark { right: auto; left: 50%; width: 138%; transform: translate(-50%, 30%); }
  .contact-box { margin-inline: 0 auto; padding-inline: clamp(0px, 3vw, 48px); }
}

/* a centred column of a few short lines (the 404 page, and the close of the about page with the logo) */
.about-copy { display: grid; justify-items: center; gap: clamp(22px, 2.6vw, 32px); text-align: center; }
.about-copy .lead { margin-top: clamp(4px, 1vw, 12px); color: var(--text); max-width: 30ch; text-wrap: balance; }
.about-copy p:not(.lead) { max-width: 44ch; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.25rem); text-wrap: balance; }
.about-copy .btn { margin-top: clamp(6px, 1vw, 14px); }
.about-logo { width: min(100%, 360px); }

/* about (a letter to read). The hero: the landing's satin surface behind the headline, fading into the page */
.about-hero { position: relative; display: grid; align-items: end; min-height: clamp(440px, 72svh, 780px); overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
.about-hero-bg, .about-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-hero-bg img { object-fit: cover; object-position: 50% 0; }
.about-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, rgb(5 5 5 / 0.82) 34%, rgb(5 5 5 / 0.18) 78%, rgb(5 5 5 / 0) 100%); }
.about-hero-copy { position: relative; z-index: 1; padding-block: clamp(120px, 20vw, 220px) clamp(40px, 6vw, 80px); }
.about-hero h1 { font-size: clamp(2.7rem, 8.4vw, 7rem); max-width: 11em; }
.about-hero .lead { margin-top: clamp(18px, 2.5vw, 28px); max-width: 44ch; color: var(--text); }
/* the letter: the key facts (they stay in view beside the letter on a desk, and come first on a phone) and the
   chapters, a line between them. The facts: a small title, then one plain line each, a hairline between them */
.letter { display: grid; gap: clamp(40px, 6vw, 72px); }
.letter .facts-title { font-size: 1.15rem; line-height: 1.2; margin-bottom: 14px; }
.facts { display: grid; border-top: 1px solid var(--line-2); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line-2); font-weight: 600; }
.letter-body { display: grid; gap: clamp(44px, 6vw, 80px); }
.chapter { display: grid; gap: 1.15em; }
.chapter + .chapter { padding-top: clamp(44px, 6vw, 80px); border-top: 1px solid var(--line); }
.chapter h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin-bottom: 0.2em; }
.chapter p { font-size: clamp(1.1rem, 1.35vw, 1.3rem); line-height: 1.65; max-width: 60ch; }
.chapter .pull { margin-block: 0.5em 0.35em; max-width: 22em; padding-left: clamp(18px, 2.2vw, 28px); border-left: 6px solid var(--yellow); font-stretch: 125%; font-weight: 800; font-size: clamp(1.55rem, 2.9vw, 2.5rem); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
.chapter .signoff { margin-top: clamp(14px, 2vw, 28px); color: var(--muted); font-weight: 600; }
.signoff::before { content: ""; display: block; width: 64px; height: 6px; margin-bottom: 18px; border-radius: 999px; background: var(--yellow); }
@media (min-width: 980px) {
  .letter { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(48px, 7vw, 112px); align-items: start; }
  .letter-facts { position: sticky; top: 112px; }
}
/* our games: the game's picture at full width, its name and line under it beside the button; the heading and "All
   games" may wrap on a phone */
.about-work .featured-head { flex-wrap: wrap; align-items: center; margin-bottom: 0; }
.about-work .lead { margin-top: clamp(14px, 2vw, 22px); color: var(--muted); }
.about-work .shot { margin-top: clamp(28px, 4vw, 48px); }
.about-work .shot a { display: block; }
.work-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(20px, 3vw, 32px); }
.work-name { display: grid; gap: 10px; }
.work-name p { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 48ch; }
.about-close { padding-block: clamp(72px, 10vw, 136px); }

/* footer */
.site-footer { padding-block: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.footer-logo { line-height: 0; }
.footer-logo img { width: auto; max-width: none; height: 22px; }
.footer-note { color: var(--muted); font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
main { flex: 1 0 auto; }
main > :last-child { border-bottom: 0; }

/* 3052: keep "in-house" whole at a line end on phones */
.nobr { white-space: nowrap; }
