@font-face {
  font-family: "Bricolage";
  src: url("/fonts/bricolage.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Hanken";
  src: url("/fonts/hanken.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #f4efe6;
  --bg-2: #ebe4d7;
  --surface: #fffdf8;
  --ink: #1d1b17;
  --ink-2: #3b3730;
  --muted: #6d675c;
  --line: #ddd5c6;
  --brand: #1f4d42;
  --mz: #d9694a;
  --band: #1b1a17;
  --band-ink: #f1ece2;
  --band-muted: #a9a294;
  --band-line: #33302a;
  --shadow: 0 30px 60px -25px rgba(60, 40, 20, 0.35), 0 10px 20px -10px rgba(60, 40, 20, 0.15);
  --display: "Bricolage", ui-sans-serif, system-ui, sans-serif;
  --body: "Hanken", ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12110f;
    --bg-2: #1a1916;
    --surface: #1e1c19;
    --ink: #efeae0;
    --ink-2: #d4cec2;
    --muted: #9c968a;
    --line: #2e2b26;
    --brand: #7fbfa9;
    --mz: #ed8a60;
    --band: #0b0a09;
    --band-ink: #efeae0;
    --band-muted: #8f897d;
    --band-line: #26241f;
    --shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.7), 0 10px 20px -10px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo svg { width: 28px; height: 28px; }
.nav nav { display: flex; align-items: center; gap: 28px; }
.nav nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav nav a:hover { color: var(--ink); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--surface); }
.nav .btn { padding: 9px 16px; font-size: 14px; }
.nav nav a.btn, .nav nav a.btn:hover { color: var(--bg); }

/* Hero */
.hero { padding: 72px 0 96px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.hero h1 { font-size: clamp(42px, 6.2vw, 74px); line-height: 1.02; margin: 20px 0 24px; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--mz); }
.hero p.lede { font-size: 20px; line-height: 1.55; color: var(--ink-2); margin: 0 0 32px; max-width: 30em; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: -12% -20% -12% -8%;
  background:
    radial-gradient(45% 50% at 60% 40%, color-mix(in srgb, var(--mz) 28%, transparent), transparent 70%),
    radial-gradient(40% 45% at 30% 75%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%);
  filter: blur(10px);
}
.hero-art figure {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transform: rotate(-1.2deg);
}
.hero-art figcaption {
  position: absolute;
  left: -18px;
  bottom: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.hero-art figcaption img { width: 36px; height: 36px; border-radius: 9px; }
.hero-art figcaption strong { display: block; font-family: var(--display); font-size: 16px; }
.hero-art figcaption span { color: var(--muted); }

/* Facts */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.facts ul { list-style: none; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--max); }
.facts li { padding: 28px 24px 28px 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts b { display: block; font-family: var(--display); font-size: 40px; line-height: 1; letter-spacing: -0.03em; margin-bottom: 8px; }
.facts span { color: var(--muted); font-size: 15px; line-height: 1.45; display: block; }

/* Sections */
section.block { padding: 112px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.06; margin-top: 16px; }
.section-head p { color: var(--muted); font-size: 19px; margin: 18px 0 0; }

/* Product band */
.band { background: var(--band); color: var(--band-ink); }
.band .eyebrow { color: var(--mz); }
.band .section-head p { color: var(--band-muted); }
.product { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.product-title { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.product-title img { width: 52px; height: 52px; border-radius: 13px; }
.product-title h3 { font-size: 34px; }
.pill { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid; }
.pill.live { color: var(--mz); border-color: color-mix(in srgb, var(--mz) 50%, transparent); background: color-mix(in srgb, var(--mz) 12%, transparent); }
.product > div > p { color: var(--band-muted); font-size: 18px; margin: 0 0 32px; }
.features { list-style: none; padding: 0; margin: 0 0 32px; }
.features li { padding: 18px 0; border-top: 1px solid var(--band-line); display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.features li:last-child { border-bottom: 1px solid var(--band-line); }
.features svg { width: 22px; height: 22px; color: var(--mz); margin-top: 3px; }
.features strong { display: block; font-size: 17px; margin-bottom: 2px; }
.features span { color: var(--band-muted); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chips span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--band-line); color: var(--band-ink); }
.band .btn-primary { background: var(--mz); color: #1b0f0a; }
.band .price { color: var(--band-muted); font-size: 15px; margin-left: 16px; }
.product-shot { position: relative; justify-self: center; }
.product-shot::before {
  content: "";
  position: absolute;
  inset: 8% -18%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--mz) 35%, transparent), transparent);
  filter: blur(30px);
}
.product-shot img { position: relative; border-radius: 16px; width: 380px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }

.retired {
  margin-top: 72px;
  padding: 24px 28px;
  border: 1px dashed var(--band-line);
  border-radius: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--band-muted);
  font-size: 15px;
}
.retired strong { color: var(--band-ink); font-size: 16px; }
.retired .pill { color: var(--band-muted); border-color: var(--band-line); }
.retired p { margin: 0; flex-basis: 100%; }
.retired a { color: var(--band-ink); }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principle { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.principle .num { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--brand); }
.principle h3 { font-size: 24px; line-height: 1.15; margin: 40px 0 12px; }
.principle p { margin: 0; color: var(--muted); font-size: 16px; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 150px; top: 8px; bottom: 44px; width: 1px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 40px; padding: 0 0 36px; position: relative; }
.timeline li::after {
  content: "";
  position: absolute;
  left: 145px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--brand);
}
.timeline li.now::after { background: var(--brand); }
.timeline time { font-family: var(--display); font-weight: 600; color: var(--muted); font-size: 15px; padding-top: 1px; }
.timeline strong { display: block; font-size: 19px; font-family: var(--display); letter-spacing: -0.01em; }
.timeline p { margin: 4px 0 0; color: var(--muted); font-size: 16px; max-width: 36em; }

/* People */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.person { display: flex; gap: 22px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.person img { width: 96px; height: 96px; border-radius: 50%; flex: none; }
.person h3 { font-size: 24px; }
.person .role { color: var(--muted); margin: 2px 0 10px; font-size: 15px; }
.person a { font-size: 14px; font-weight: 600; color: var(--brand); text-decoration: none; }
.person a:hover { text-decoration: underline; }
.company-note { margin-top: 28px; color: var(--muted); font-size: 16px; max-width: 46em; }

/* Records */
.records { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.record { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; }
.record .kind { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); }
.record .kind.self { color: var(--muted); }
.record h3 { font-size: 21px; margin: 14px 0 10px; line-height: 1.2; }
.record p { color: var(--muted); font-size: 15px; margin: 0 0 20px; flex: 1; }
.record .meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 14px; color: var(--muted); }
.record .meta a { color: var(--ink); font-weight: 600; text-decoration: none; }
.record .meta a:hover { text-decoration: underline; }
.records-foot { margin-top: 24px; color: var(--muted); font-size: 15px; }
.records-foot a { color: var(--brand); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 56px; }
.contact h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; margin-top: 16px; }
.contact .intro { color: var(--muted); margin: 16px 0 0; }
.contact dl { margin: 0; display: grid; gap: 22px; }
.contact dt { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact dd { margin: 0; font-size: 18px; }
.contact dd a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 4px; }
.contact dd a:hover { text-decoration-color: var(--ink); }
.contact dd small { display: block; color: var(--muted); font-size: 14px; }

/* Footer */
footer { background: var(--band); color: var(--band-muted); margin-top: 112px; padding: 72px 0 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
footer .logo { color: var(--band-ink); margin-bottom: 18px; }
footer address { font-style: normal; line-height: 1.75; }
footer address strong { color: var(--band-ink); }
footer h4 { color: var(--band-ink); font-size: 14px; margin: 4px 0 16px; font-weight: 600; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--band-ink); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--band-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }

/* 404 */
.notfound { padding: 120px 0 40px; }
.notfound h1 { font-size: clamp(40px, 6vw, 64px); margin: 16px 0 20px; }
.notfound p { font-size: 19px; color: var(--muted); max-width: 32em; }
.notfound a { color: var(--brand); }

@media (max-width: 960px) {
  .hero .wrap, .product, .contact { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 72px; }
  .hero-art { max-width: 560px; }
  .hero-art figcaption { left: 12px; bottom: 12px; }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .principles, .records, .people { grid-template-columns: 1fr; }
  .product { gap: 48px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  section.block { padding: 80px 0; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav nav a:not(.btn) { display: none; }
  .hero p.lede { font-size: 18px; }
  .facts ul { padding: 0 16px; }
  .facts li, .facts li + li { padding: 22px 12px 22px 0; }
  .facts li:nth-child(even) { padding-left: 16px; }
  .facts b { font-size: 32px; }
  .timeline::before { left: 5px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 28px; }
  .timeline li::after { left: 0; }
  .contact { padding: 28px; gap: 32px; }
  .person { flex-direction: column; align-items: flex-start; }
  .product-shot img { width: 100%; max-width: 340px; }
  .band .price { display: block; margin: 12px 0 0; }
  .foot-grid { grid-template-columns: 1fr; }
}
