/* AKG Creative House, round 3. Tokens, reset, type, grid, links and buttons, header.
   Paper white, deep ink text, brand blue with discipline. Bodoni Moda for display, Instrument Sans for the rest. */
:root {
  --paper: #ffffff;
  --ink: #0a1a3f;
  --blue: #3366cc;
  --blue-deep: #102a5c;
  --mute: rgba(10, 26, 63, 0.62);
  --faint: rgba(10, 26, 63, 0.42);
  --hair: rgba(51, 102, 204, 0.24);
  --hair-strong: rgba(51, 102, 204, 0.6);
  --hair-w: rgba(255, 255, 255, 0.22);
  --wash: rgba(51, 102, 204, 0.045);

  --serif: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;

  --m: clamp(20px, 5.5vw, 80px);
  --gap: 24px;
  --maxw: 1440px;
  --sec: clamp(104px, 13vh, 184px);
  --head-h: 76px;
  --r: 2px;

  --t-hero: clamp(3.25rem, 8.4vw, 8.5rem);
  --t-title: clamp(2.75rem, 5.4vw, 5.5rem);
  --t-statement: clamp(1.75rem, 3.1vw, 3.125rem);
  --t-name: clamp(1.875rem, 3.2vw, 3.25rem);
  --t-work: clamp(1.375rem, 1.8vw, 1.875rem);
  --t-num: clamp(3.75rem, 8.6vw, 8.5rem);
  --t-close: clamp(2.75rem, 7.2vw, 7.375rem);

  --focus: var(--blue);
}
@media (max-width: 767px) {
  :root { --gap: 16px; --head-h: 64px; --sec: clamp(80px, 12vh, 112px); }
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  background: var(--paper);
}
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--blue); color: var(--paper); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 400;
  padding: 12px 18px;
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid var(--hair-strong);
}
.skip:focus-visible { top: 16px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- type ---------- */
.serif { font-family: var(--serif); font-weight: 400; font-variation-settings: "opsz" 96; }
.t-hero { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: var(--t-hero); line-height: 0.95; letter-spacing: -0.012em; }
.t-title { font-family: var(--serif); font-weight: 400; font-size: var(--t-title); line-height: 0.98; letter-spacing: -0.01em; color: var(--blue); text-wrap: balance; }
.t-statement { font-family: var(--serif); font-weight: 400; font-size: var(--t-statement); line-height: 1.15; letter-spacing: -0.005em; color: var(--blue); text-wrap: pretty; }
.t-name { font-family: var(--serif); font-weight: 400; font-size: var(--t-name); line-height: 1.05; letter-spacing: -0.008em; }
.t-work { font-family: var(--serif); font-weight: 400; font-size: var(--t-work); line-height: 1.2; }
.t-num { font-family: var(--serif); font-weight: 400; font-size: var(--t-num); line-height: 0.92; letter-spacing: -0.015em; font-variant-numeric: lining-nums tabular-nums; }
.t-close { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: var(--t-close); line-height: 0.98; letter-spacing: -0.012em; text-wrap: balance; }
.t-body { font-size: 1.0625rem; line-height: 1.6; max-width: 58ch; text-wrap: pretty; }
.t-lead { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.5; max-width: 52ch; text-wrap: pretty; }
.t-meta { font-size: 0.875rem; line-height: 1.45; font-weight: 500; }
.t-small { font-size: 0.8125rem; line-height: 1.5; font-weight: 500; }
.mute { color: var(--mute); }
.count { font-family: var(--sans); font-weight: 500; font-size: 0.5em; letter-spacing: 0; vertical-align: 0.9em; margin-left: 0.25em; color: var(--blue); }

/* ---------- the grid: every scene is .scene > .wrap > .grid ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--m);
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  min-width: 0;
}
@media (max-width: 767px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.scene { position: relative; padding-block: var(--sec); }

/* ---------- links and buttons ---------- */
.tlink {
  display: inline-block;
  color: inherit;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.3;
  text-decoration: none;
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  transition: background-size 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.25s ease;
}
.tlink:hover, .tlink:focus-visible { background-size: 0 1px; background-position: 100% 100%; }
.tlink--quiet { background-image: linear-gradient(var(--hair-strong), var(--hair-strong)); }
.tlink--quiet:hover { color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--r);
  background: transparent;
  color: inherit;
  font: 500 0.9375rem/1.2 var(--sans);
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn--white { background: var(--paper); color: var(--ink); }
.btn--white:hover { background: #eef3fb; }
.btn--blue { background: var(--blue); color: var(--paper); }
.btn--blue:hover { background: var(--blue-deep); }
.btn--line { border-color: currentColor; }
.btn--line:hover { background: rgba(255, 255, 255, 0.1); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.875rem; }
.btn__k { flex: none; width: 14px; height: 14px; }
@media (max-width: 400px) {
  .btn { white-space: normal; text-align: center; padding-block: 12px; }
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: var(--paper);
  --focus: currentColor;
}
.site-header__bg {
  position: absolute;
  inset: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
  opacity: 0;
  pointer-events: none;
}
.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--head-h);
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--m);
}
.brand { position: relative; display: block; flex: none; width: 86px; height: 30px; }
.brand img { position: absolute; left: 0; top: 0; height: 30px; width: auto; max-width: none; }
.brand__b { opacity: 0; }
.nav { display: none; align-items: center; gap: 40px; }
.nav__list { display: flex; gap: 32px; }
.nav__list a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav__list a:hover::after,
.nav__list a:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
.nav__wa { font-size: 0.875rem; }
.menu-btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 2px;
  border: 0;
  background: none;
  font: 500 0.875rem/1 var(--sans);
  cursor: pointer;
}
.menu-btn::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  position: absolute;
  left: 0;
  bottom: 6px;
}
.menu-btn { position: relative; }
@media (min-width: 1100px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav__list a::after, .tlink, .btn { transition: none; }
}
