/* Real World Akita — key-art landing page
   Ink #0A0A0C · panel #111114 · gold #FFC61A · deep gold #B87A08 · cream #FFF6E2
   Display: Big Shoulders Display 900 · Body: Chivo · Data: Chivo Mono */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #0A0A0C; }
body {
  color: #FFF6E2;
  font-family: "Chivo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; }
a { color: #FFC61A; text-decoration: none; }
a:hover { color: #FFF6E2; }

.title { font-family: "Big Shoulders Display", sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: 0.005em; }
.mono { font-family: "Chivo Mono", monospace; }
.micro { font-size: 10.5px; letter-spacing: 0.2em; }
.gold { color: #FFC61A; }
.dim { color: rgba(255, 246, 226, 0.5); }
.dimmer { color: rgba(255, 246, 226, 0.52); }
.faint { opacity: 0.65; }
.gold-text {
  background: linear-gradient(180deg, #FFF3C2 0%, #FFC61A 46%, #B87A08 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.punch { margin: 0; font-size: clamp(16px, 1.8vw, 24px); font-weight: 900; letter-spacing: -0.01em; }

.halftone { position: absolute; inset: 0; pointer-events: none; }
.halftone.dark { background-image: radial-gradient(circle, rgba(10,10,12,0.55) 1px, transparent 1.2px); background-size: 5px 5px; opacity: 0.5; mix-blend-mode: multiply; }
.halftone.ink { background-image: radial-gradient(circle, rgba(10,10,12,0.22) 1.1px, transparent 1.3px); background-size: 7px 7px; }

/* header */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding: 10px clamp(12px, 2.5vw, 26px);
  background: linear-gradient(180deg, rgba(10,10,12,0.92) 0%, rgba(10,10,12,0) 100%);
}
.brand { display: flex; align-items: center; gap: 10px; color: #FFF6E2; }
.brand img { filter: drop-shadow(0 3px 10px rgba(0,0,0,0.6)); }
.wordmark { font-family: "Big Shoulders Display", sans-serif; font-weight: 900; font-size: 21px; letter-spacing: 0.06em; text-transform: uppercase; }
.bar-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.ca-pill {
  display: flex; align-items: center; gap: 9px;
  height: 38px; padding: 0 12px; max-width: 100%;
  background: rgba(10,10,12,0.6);
  border: 1px solid rgba(255,246,226,0.38);
  border-radius: 2px; cursor: pointer; color: #FFF6E2;
  font-family: "Chivo Mono", monospace; font-size: 11.5px;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s;
}
.ca-pill:hover { border-color: #FFC61A; background: rgba(255,198,26,0.1); }
.ca-pill .micro { font-size: 9.5px; }
.ca-short { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: min(40vw, 210px); }
.state { min-width: 42px; text-align: right; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 15px;
  background: #FFC61A; color: #0A0A0C;
  border: none; border-radius: 2px;
  font-family: "Chivo", sans-serif; font-weight: 900; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn:hover { background: #FFF6E2; color: #0A0A0C; }
.btn.solid { flex: 1 1 200px; height: 50px; padding: 0 20px; gap: 10px; font-size: 13.5px; letter-spacing: 0.08em; }
.btn.ghost {
  flex: 1 1 200px; height: 50px; padding: 0 20px; gap: 9px;
  background: transparent; color: #FFF6E2;
  border: 1px solid rgba(255,246,226,0.38);
  font-size: 13.5px; letter-spacing: 0.08em;
}
.btn.ghost:hover { background: transparent; color: #FFF6E2; border-color: #FFC61A; }

/* hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden;
  background: #0A0A0C url("assets/hero-poster.webp") center / cover no-repeat;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-grade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,0.72) 0%, rgba(10,10,12,0.12) 40%, rgba(10,10,12,0.86) 82%, #0A0A0C 100%); }
.hero-inner {
  position: relative; width: 100%;
  padding: 0 clamp(12px, 2.5vw, 26px) clamp(24px, 4vw, 54px);
  display: flex; flex-direction: column; gap: clamp(14px, 2vw, 24px);
}
.issue { font-size: 11px; letter-spacing: 0.32em; color: #FFC61A; animation: fade 1s ease both; }
.hero-title {
  margin: 0; line-height: 0.78; font-size: clamp(62px, 15.5vw, 270px); color: #FFF6E2;
  filter: drop-shadow(0 10px 34px rgba(0,0,0,0.75));
  animation: up 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-title span { display: block; }
.hero-foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px;
  border-top: 1px solid rgba(255,246,226,0.22); padding-top: clamp(14px, 2vw, 22px);
}
.hero-foot .punch { max-width: 30ch; font-size: clamp(18px, 2vw, 28px); line-height: 1.15; }
.sub { margin: 0; max-width: 44ch; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.5; color: rgba(255,246,226,0.72); text-wrap: pretty; }

/* splash plate */
.splash { position: relative; overflow: hidden; border-top: 3px solid #0A0A0C; }
.splash > img { width: 100%; height: clamp(360px, 68vw, 760px); object-fit: cover; object-position: center 30%; }
.splash-grade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,12,0.92) 0%, rgba(10,10,12,0.25) 58%, rgba(10,10,12,0.7) 100%); }
.splash-copy {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  gap: clamp(12px, 1.6vw, 20px); padding: clamp(16px, 4vw, 64px);
}
.splash-copy h2 {
  margin: 0; max-width: min(100%, 720px);
  font-size: clamp(38px, 8.4vw, 138px); line-height: 0.8;
  filter: drop-shadow(0 8px 26px rgba(0,0,0,0.8));
}
.splash-copy p { margin: 0; max-width: 38ch; font-size: clamp(14px, 1.25vw, 18px); line-height: 1.5; color: rgba(255,246,226,0.82); text-wrap: pretty; }
.plate { font-size: 10.5px; letter-spacing: 0.28em; color: #FFC61A; }

/* section heads */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,246,226,0.18); padding-bottom: 14px;
}
.sec-head h2 { margin: 0; font-size: clamp(34px, 5.6vw, 86px); line-height: 0.85; }

/* mechanism */
.mechanism, .plates {
  padding: clamp(40px, 6vw, 96px) clamp(12px, 2.5vw, 26px);
  display: flex; flex-direction: column; gap: clamp(20px, 3vw, 42px);
}
.panels { display: flex; flex-wrap: wrap; gap: clamp(14px, 1.8vw, 26px); }
.panels article {
  flex: 1 1 280px; display: flex; flex-direction: column;
  background: #111114; border: 1px solid rgba(255,246,226,0.16);
  box-shadow: 0 26px 50px rgba(0,0,0,0.55);
}
.panel-art { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid rgba(255,246,226,0.16); }
.panel-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.panels article:hover .panel-art img { transform: scale(1.05); }
.panel-copy { display: flex; flex-direction: column; gap: 9px; padding: clamp(16px, 1.8vw, 24px); }
.idx { margin: 0; font-size: 10.5px; font-weight: 400; letter-spacing: 0.2em; }
.panel-copy p { margin: 0; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.45; color: rgba(255,246,226,0.82); text-wrap: pretty; }

/* statement */
.statement { position: relative; overflow: hidden; background: #FFC61A; color: #0A0A0C; padding: clamp(44px, 7vw, 110px) clamp(12px, 2.5vw, 26px); }
.statement-inner {
  position: relative; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(24px, 4vw, 60px); align-items: center;
}
.statement p { margin: 0; font-size: clamp(40px, 7.4vw, 124px); line-height: 0.82; text-wrap: pretty; }
.statement-coin { display: flex; justify-content: center; }
.statement-coin img { width: min(100%, 340px); height: auto; filter: drop-shadow(0 24px 40px rgba(10,10,12,0.45)); }

/* plates */
.plate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(12px, 1.5vw, 20px); }
.plate-grid figure { margin: 0; position: relative; overflow: hidden; border: 1px solid rgba(255,246,226,0.16); background: #111114; }
/* height:auto is required - the width/height attributes on these <img> tags land
   as presentational hints, and without it the 1400px height hint wins over aspect-ratio. */
.plate-grid img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.plate-grid figure:hover img { transform: scale(1.05); }
.plate-grid figcaption {
  position: absolute; left: 0; bottom: 0; width: 100%;
  display: flex; align-items: baseline; gap: 10px; padding: 10px 14px;
  background: linear-gradient(180deg, rgba(10,10,12,0) 0%, rgba(10,10,12,0.88) 60%);
  font-family: "Chivo Mono", monospace; font-size: 10.5px; letter-spacing: 0.18em; color: #FFF6E2;
}

/* closing */
.closing { position: relative; overflow: hidden; border-top: 3px solid #0A0A0C; }
.closing-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.closing-veil { position: absolute; inset: 0; background: radial-gradient(80% 100% at 50% 40%, rgba(10,10,12,0.5) 0%, rgba(10,10,12,0.95) 75%); }
.closing-inner {
  position: relative; padding: clamp(48px, 8vw, 120px) clamp(12px, 2.5vw, 26px);
  display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 2.6vw, 30px); text-align: center;
}
.closing-inner h2 { margin: 0; font-size: clamp(42px, 9.5vw, 164px); line-height: 0.78; }
.ca-card {
  width: 100%; max-width: 620px; text-align: left;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid rgba(255,246,226,0.2);
  background: rgba(10,10,12,0.78); backdrop-filter: blur(6px);
}
.ca-field { display: flex; flex-direction: column; gap: 8px; }
.ca-box {
  display: flex; align-items: center; min-height: 48px; padding: 10px 14px;
  border: 1px solid rgba(255,246,226,0.14); background: rgba(255,246,226,0.04);
}
.ca-box span { font-size: clamp(11px, 1.25vw, 14px); line-height: 1.45; word-break: break-all; }
.ca-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* footer */
.foot {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  padding: 18px clamp(12px, 2.5vw, 26px);
  border-top: 1px solid rgba(255,246,226,0.14);
}

@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .hero-title, .issue { animation: none; }
  .plate-grid img, .panel-art img { transition: none; }
}

/* ---------- keyboard focus ----------
   There was no focus styling at all, so keyboard users got the UA default
   ring (or none). :focus-visible keeps mouse clicks visually unchanged. */
:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid #FFC61A;
  outline-offset: 3px;
  border-radius: 2px;
}
.plate-grid figure:focus-within { outline: 2px solid #FFC61A; outline-offset: 2px; }

/* Screen-reader-only live region for the copy button result */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  /* The hero video is paused in JS; the poster frame stays on screen. */
  .hero-video { display: none; }
}
