:root {
  --paper: #e4e1d6;
  --paper-2: #d5d8cf;
  --ink: #1a1e1a;
  --ink-soft: #3a403a;
  --muted: #4c534c;
  --signal: #c8372a;
  --charcoal: #141614;
  --silver: #cfcbc0;
  --line: rgba(26, 30, 26, 0.22);
  --measure: 1120px;
  --sans: "Schibsted Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Palatino, serif;
  --black: "UnifrakturMaguntia", "Palatino Linotype", serif;
  --mono: "Fragment Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(to right, rgba(26, 30, 26, 0.045) 1px, transparent 1px);
  background-size: 88px 100%;
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  opacity: 0.16;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--signal); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.crops { position: fixed; inset: 0; pointer-events: none; z-index: 9; }
.crops i {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 0 solid var(--ink);
  opacity: 0.7;
}
.crops i:nth-child(1) { top: 12px; left: 12px; border-top-width: 1px; border-left-width: 1px; }
.crops i:nth-child(2) { top: 12px; right: 12px; border-top-width: 1px; border-right-width: 1px; }
.crops i:nth-child(3) { bottom: 12px; left: 12px; border-bottom-width: 1px; border-left-width: 1px; }
.crops i:nth-child(4) { bottom: 12px; right: 12px; border-bottom-width: 1px; border-right-width: 1px; }

.sheet {
  width: min(var(--measure), calc(100% - 64px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.sheet-head {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: end;
  padding: 36px 0 22px;
  border-bottom: 1px solid var(--ink);
}

.lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.lockup:hover { color: var(--ink); }

.mark {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--ink);
  position: relative;
  flex: none;
}
.mark::before,
.mark::after {
  content: "";
  position: absolute;
  background: var(--signal);
  left: 50%;
  top: 50%;
}
.mark::before { width: 1.5px; height: 12px; transform: translate(-50%, -50%); }
.mark::after { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }

.lockup-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}
.lockup-studio {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 18px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a { text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 0.28em; }

.stamp {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  text-align: right;
}

.hero {
  min-height: calc(100vh - 92px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 0 48px;
  position: relative;
}

.ghost {
  position: absolute;
  left: -4vw;
  top: 4vh;
  margin: 0;
  font-family: var(--black);
  font-size: clamp(7rem, 22vw, 16rem);
  line-height: 0.8;
  color: rgba(26, 30, 26, 0.11);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.7fr);
  gap: 48px;
  align-items: end;
  position: relative;
}

h1 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.7rem, 5.6vw, 5.1rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  max-width: 11ch;
}

.lead {
  max-width: 38ch;
  margin: 22px 0 0;
  font-size: 1.2rem;
  line-height: 1.4;
}

.hero-link {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--sans);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.hero-link:hover { border-bottom-color: var(--signal); }

.anno {
  border: 1px solid var(--signal);
  padding: 18px 18px 16px 46px;
  position: relative;
  background: rgba(228, 225, 214, 0.72);
}

.anno-tab {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 28px;
  background: var(--signal);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.anno h2 {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.anno dl { margin: 0; }
.anno dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 10px;
}
.anno dd {
  margin: 2px 0 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.3;
}

.spread {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  gap: 56px;
  padding: 54px 0 72px;
  border-top: 1px solid var(--ink);
}

h2 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 18ch;
}

.spread p { max-width: 46ch; }

.range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  max-width: 54ch;
}
.range li {
  border-top: 1px solid var(--line);
  padding: 10px 0 12px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.range span {
  display: block;
  margin-top: 3px;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0;
}

.grant {
  background: var(--charcoal);
  color: var(--silver);
  padding: 22px 22px 20px;
}
.grant h2 {
  color: var(--paper);
  font-size: 1.35rem;
  max-width: none;
}
.grant p {
  margin: 12px 0 0;
  font-size: 0.98rem;
  line-height: 1.4;
  max-width: none;
}
.grant a { color: var(--paper); border-bottom-color: var(--signal); }
.grant .ua {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(207, 203, 192, 0.28);
  font-family: var(--serif);
  font-style: italic;
}

.sheet-foot {
  background: var(--charcoal);
  color: var(--silver);
  position: relative;
  z-index: 1;
}
.sheet-foot .sheet {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding: 28px 0 36px;
  width: min(var(--measure), calc(100% - 64px));
}
.sheet-foot a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--signal); }
.sheet-foot p { margin: 0; max-width: 36ch; font-size: 0.98rem; }
.mail {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -0.04em;
  color: var(--paper);
}

.page-title {
  padding: 48px 0 10px;
  position: relative;
}
.page-title h1 { max-width: 14ch; }
.page-title .lead { margin-bottom: 8px; }

.founder {
  margin: 28px 0 18px;
  padding: 28px 8px 32px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.founder-label {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}
.founder-note {
  margin: 0;
  max-width: 22ch;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.founder-wait {
  margin: 18px 0 0;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 1rem;
}

.plates {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  grid-auto-rows: 190px;
  gap: 12px;
  padding-bottom: 72px;
}
.plate {
  margin: 0;
  border: 1px solid var(--line);
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: rgba(228, 225, 214, 0.45);
  min-height: 180px;
}
.plate:nth-child(2) { background: var(--paper-2); }
.plate:nth-child(3) {
  background: var(--charcoal);
  color: var(--paper);
  border-color: var(--charcoal);
}
.plate:nth-child(5) { background: transparent; }
.plate b {
  font-family: var(--sans);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  letter-spacing: -0.04em;
  font-weight: 700;
}
.plate small {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
}
.plate:nth-child(3) small { color: var(--silver); }
.dot {
  width: 10px;
  height: 10px;
  background: var(--signal);
  position: absolute;
  top: 14px;
  right: 14px;
}

.brand-block { padding: 36px 0; border-top: 1px solid var(--ink); }
.brand-block h2 { margin-bottom: 16px; }
.brand-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
}
.brand-grid h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}

.swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.swatch { min-height: 120px; padding: 10px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line); }
.swatch strong { font-family: var(--sans); font-size: 0.92rem; letter-spacing: -0.03em; }
.swatch span { font-family: var(--mono); font-size: 0.68rem; }
.ink { background: var(--ink); color: var(--paper); }
.paper { background: var(--paper); }
.sage { background: var(--paper-2); }
.signal { background: var(--signal); color: var(--paper); }
.coal { background: var(--charcoal); color: var(--paper); }

.proportion {
  display: flex;
  height: 28px;
  margin-top: 14px;
  border: 1px solid var(--ink);
}
.proportion i { display: block; height: 100%; }
.proportion i:nth-child(1) { width: 68%; background: #f6f4ee; }
.proportion i:nth-child(2) { width: 18%; background: var(--ink); }
.proportion i:nth-child(3) { width: 8%; background: var(--signal); }
.proportion i:nth-child(4) { width: 6%; background: var(--charcoal); }

.type-row { display: grid; gap: 18px; }
.type-row p { margin: 0; }
.specimen-black {
  font-family: var(--black);
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  line-height: 0.85;
}
.specimen-sans {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
}
.specimen-serif { font-family: var(--serif); font-size: 1.35rem; max-width: 42ch; }
.specimen-mono { font-family: var(--mono); font-size: 0.85rem; color: var(--muted); }

.lockups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.lock-card {
  min-height: 160px;
  padding: 22px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}
.lock-card.dark { background: var(--charcoal); color: var(--paper); border-color: var(--charcoal); }
.lock-card .mark.on-dark { border-color: var(--paper); }
.lock-card strong {
  font-family: var(--black);
  font-size: 3rem;
  font-weight: 400;
  line-height: 0.8;
}
.lock-card em {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.rules { margin: 0; padding: 0; list-style: none; max-width: 62ch; }
.rules li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.rules li:last-child { border-bottom: 1px solid var(--line); }

.voice {
  font-size: 1.35rem;
  max-width: 28ch;
  margin: 0;
}

@media (max-width: 800px) {
  .sheet, .sheet-foot .sheet { width: min(100% - 36px, var(--measure)); }
  .sheet-head, .hero-grid, .spread, .brand-grid, .lockups, .plates, .swatches {
    grid-template-columns: 1fr;
  }
  .sheet-head { gap: 12px; }
  .stamp { text-align: left; }
  .nav { flex-wrap: wrap; }
  .hero { min-height: auto; padding-top: 48px; }
  .ghost { font-size: 7rem; top: 0; }
  h1 { max-width: none; }
  .plate:nth-child(4) { grid-column: auto; }
  .swatches { grid-template-columns: 1fr 1fr; }
  .sheet-foot .sheet { flex-direction: column; align-items: start; }
  .range { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
