/* MIZUNO — V3 design candidate, October 2026.
   One typeface (Archivo, variable wght + wdth, self-hosted, OFL). No accent colour: the images carry colour. */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-var-latin.woff2") format("woff2-variations"), url("assets/fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* palette */
  --paper: #f4f4f1;      /* neutral paper, deliberately cooler than cream */
  --ink: #1b1c1a;        /* text, wordmark */
  --graphite: #595c58;   /* secondary text, 6.2:1 on paper */
  --rule: #d6d6d0;       /* hairlines */
  --plate: #e4e3de;      /* fallback image tone */

  /* type scale (px) */
  --t-small: 0.875rem;   /* 14 */
  --t-body: 1.0625rem;   /* 17 */
  --t-lead: clamp(1.375rem, 1.1rem + 1vw, 2.125rem);
  --t-title: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  --t-display: clamp(2.5rem, 1.25rem + 4.8vw, 5.5rem);

  /* space */
  --gutter: clamp(16px, 3.4vw, 56px);
  --gap: clamp(10px, 1.1vw, 18px);
  --section: clamp(72px, 9vw, 160px);
  --max: 1600px;

  /* motion */
  --ease-out: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: var(--t-body);
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.frame { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: fixed; z-index: 50; top: -120px; left: 8px; padding: 12px 16px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 8px; }
.top-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }

/* ---------- masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 20; background: var(--paper); box-shadow: 0 1px 0 transparent; transition: box-shadow 240ms var(--ease-out); }
.masthead.is-scrolled { box-shadow: 0 1px 0 var(--rule); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.375rem; font-weight: 620; font-stretch: 125%; letter-spacing: .09em; line-height: 1; }
.wordmark--small { font-size: 1rem; }
.primary-nav { display: flex; gap: clamp(18px, 2.4vw, 40px); font-size: .9375rem; }
.primary-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--graphite); transition: color 200ms var(--ease-out); }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease-out); }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--ink); }
.primary-nav a[aria-current]::after { transform: scaleX(1); }

/* ---------- shared type ---------- */
.display { font-size: var(--t-display); font-weight: 280; font-stretch: 100%; line-height: .98; letter-spacing: -.035em; }
.display .line { display: block; }
.display--page { font-size: clamp(2.5rem, 1.4rem + 4vw, 5rem); }
.section-title { font-size: var(--t-title); font-weight: 300; line-height: 1.1; letter-spacing: -.025em; }
.section-sub { color: var(--graphite); }
.statement { font-size: var(--t-lead); font-weight: 300; line-height: 1.25; letter-spacing: -.015em; max-width: 22ch; text-wrap: balance; }
.prose { max-width: 62ch; color: #3e403d; }
.prose p + p { margin-top: 1.1em; }
.note { color: var(--graphite); font-size: var(--t-small); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; text-decoration-color: var(--rule); transition: text-decoration-color 200ms var(--ease-out); }
.text-link:hover { text-decoration-color: var(--ink); }

/* ---------- arrival ---------- */
.arrival { padding-top: clamp(36px, 4.6vw, 76px); }
.arrival-text { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding-bottom: clamp(28px, 3.4vw, 56px); }
.arrival-text h1 { grid-column: 1 / 10; }
.disciplines { grid-column: 10 / 13; justify-self: end; text-align: right; color: var(--graphite); font-size: .9375rem; line-height: 1.55; padding-bottom: .35em; }
.arrival-plate img { width: 100%; }
@media (min-width: 900px) {
  .arrival-plate img { aspect-ratio: 1.85 / 1; object-fit: cover; object-position: 50% 30%; }
}

/* ---------- plates (all images) ---------- */
.plate { position: relative; min-width: 0; background: var(--tone, var(--plate)); }
.plate img { width: 100%; }

/* ---------- sections ---------- */
.section { padding-top: var(--section); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding-bottom: clamp(24px, 2.6vw, 40px); }
.section-head .section-title { grid-column: 1 / 5; }
.section-head .section-sub { grid-column: 5 / 10; }
.section-head .text-link { grid-column: 10 / 13; justify-self: end; }

.prose-block { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; padding-top: clamp(40px, 4.4vw, 72px); }
.prose-block .statement { grid-column: 1 / 5; }
.prose-block .prose { grid-column: 5 / 12; }

/* rows: justified, equal height, never cropped. flex-grow = aspect ratio. */
.row { display: flex; align-items: flex-end; gap: var(--gap); }
.row + .row { margin-top: var(--gap); }
.row > .plate { flex: var(--r, 1) 1 0; }
.row > .plate--native { flex: 0 0 auto; width: var(--w); max-width: 100%; }
.row--solo-l > .plate, .row--solo-r > .plate { flex: 0 0 auto; width: 70%; }
.row--solo-r { justify-content: flex-end; }
.row--plates { --pg: clamp(20px, 3.6vw, 64px); gap: var(--pg); padding-left: calc(100% / 12); padding-block: clamp(40px, 6vw, 96px); }
.row--plates > .plate--native { flex: 0 1 var(--w); width: auto; }  /* native size, shrinking in proportion only when space runs out */
.row--plates + .row, .row + .row--plates { margin-top: 0; }

/* ---------- evolution ---------- */
.evolution { position: relative; display: grid; grid-template-columns: 247fr 244fr 244fr 279fr; align-items: end; gap: var(--gap); max-width: calc(1014px + 3 * var(--gap)); }
.stage { min-width: 0; }
.stage img { width: 100%; background: var(--plate); }
.stage-name { position: relative; display: block; margin-top: 16px; padding-top: 14px; font-size: .9375rem; line-height: 1.35; }
.stage-name::before { content: ""; position: absolute; top: 0; left: 0; width: calc(100% + var(--gap)); height: 1px; background: var(--ink); transform-origin: left center; }
.stage:nth-child(4) .stage-name::before { width: 100%; }
.stage-no { display: block; color: var(--graphite); font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.evolution-line { display: none; }

/* ---------- future ---------- */
.future-plate { max-width: 1061px; }
/* Story and Future material starts on column 5, the same edge as the subtitles and prose. */
@media (min-width: 1024px) {
  .story .evolution, .future-plate { margin-left: calc((100% + var(--gap)) / 12 * 4); }
}

/* ---------- clients ----------
   Authentic source logos (see docs/baseline-notes/LOGO-SOURCES.md). Files are untouched; CSS only sizes them.
   Sony and Richard Meier ship as white artwork: Albert's requested display treatment is filter: brightness(0)
   with no backing bar. All other marks keep their source colours. Widths follow the baseline's optical tuning. */
.client-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
.client-list li { display: flex; align-items: center; min-width: 0; min-height: 96px; padding-block: 18px; border-top: 1px solid var(--rule); }
.client-list img { display: block; width: var(--logo-w, 150px); max-width: calc(100% - 14px); height: auto; }
.logo--sony { --logo-w: 132px; }
.logo--sony img, .logo--richard-meier img { filter: brightness(0); }
.logo--monos { --logo-w: 144px; }
.logo--monos img { aspect-ratio: 3 / 1; }
.logo--joybird { --logo-w: 150px; }
.logo--dell { --logo-w: 58px; }
.logo--alienware { --logo-w: 168px; }
.logo--strang { --logo-w: 150px; }
.logo--modani { --logo-w: 164px; }
.logo--rove-concepts { --logo-w: 195px; }
.logo--richard-meier { --logo-w: 600px; grid-column: 1 / -1; }

/* ---------- studio / contact ---------- */
.statement--wide { max-width: 28ch; }
.contact-slot { margin-top: clamp(32px, 3.6vw, 56px); padding-top: 18px; border-top: 1px solid var(--rule); max-width: 40ch; }
.contact-label { font-size: var(--t-small); font-weight: 400; color: var(--graphite); margin-bottom: 4px; }

/* Index sections: title on columns 1–4, content from column 5 (the page's single vertical edge). */
@media (min-width: 1024px) {
  .clients, .studio { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .clients .section-head, .studio .section-head { display: block; grid-column: 1 / 5; padding-bottom: 0; }
  .client-list, .studio-body { grid-column: 5 / 13; }
  .client-list li:nth-child(-n+3) { border-top-color: var(--ink); }
  .client-list { margin-top: 0; }
}

/* ---------- work page ---------- */
.work-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 12px; align-items: end; padding-block: clamp(32px, 5vw, 88px) clamp(28px, 3.4vw, 56px); }
.work-head h1 { grid-column: 1 / 5; }
.work-head .section-sub { grid-column: 5 / 10; padding-bottom: .4em; }
.disclosure { grid-column: 10 / 13; color: var(--graphite); font-size: var(--t-small); line-height: 1.5; padding-bottom: .45em; }

/* ---------- colophon ---------- */
.colophon { margin-top: var(--section); padding-block: 28px 0; border-top: 1px solid var(--rule); color: var(--graphite); font-size: var(--t-small); }
.colophon-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 24px; }
.colophon .wordmark { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .arrival-text h1 { grid-column: 1 / -1; }
  .disciplines { grid-column: 1 / -1; justify-self: start; text-align: left; display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 20px; padding-bottom: 0; }
  .section-head .section-title { grid-column: 1 / 7; }
  .section-head .section-sub { grid-column: 7 / 13; }
  .section-head .text-link { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
  .prose-block .statement, .prose-block .prose { grid-column: 1 / -1; }
  .work-head h1 { grid-column: 1 / -1; }
  .work-head .section-sub { grid-column: 1 / 7; }
  .disclosure { grid-column: 7 / 13; }
  .row--solo-l > .plate, .row--solo-r > .plate { width: 84%; }
}

@media (max-width: 759px) {
  .section-head { display: block; }
  .section-head .section-sub { margin-top: 6px; }
  .row { flex-direction: column; align-items: stretch; }
  .row > .plate, .row--solo-l > .plate, .row--solo-r > .plate { flex: none; width: 100%; }
  .row > .plate--native { align-self: flex-start; width: min(var(--w), 100%); }
  .row--plates { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding-left: 0; padding-block: 36px; }
  .row--plates > .plate--native { flex: 0 0 auto; width: min(var(--w), calc(50% - 6px)); }
  .evolution { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .stage:nth-child(2) .stage-name::before { width: 100%; }
  .client-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-list li { min-height: 80px; padding-block: 14px; }
  .work-head { display: block; }
  .work-head .section-sub { margin-top: 10px; }
  .disclosure { margin-top: 14px; max-width: 46ch; }
  .colophon-row { flex-wrap: wrap; }
}

@media (max-width: 559px) {
  .masthead { position: static; }
  .masthead-inner { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 12px; }
  .primary-nav { width: 100%; justify-content: space-between; gap: 8px; }
}

@media print {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .masthead, .skip-link { position: static; }
  .stage-name { display: block !important; color: var(--ink); }
  .plate, .stage { break-inside: avoid; }
  .primary-nav, .colophon .text-link { display: none; }
}

section[id], main[id] { scroll-margin-top: 88px; }
