@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..500;1,9..144,300..500&family=Geist:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --bg: #fafaf7;
  --surface: rgba(250, 250, 247, .86);
  --ink: #0a0a0a;
  --soft: #6b6b6b;
  --line: rgba(10, 10, 10, .14);
  --accent: #b8935a;
  --accent-soft: #9a7d49;
  --serif: Fraunces, ui-serif, Georgia, serif;
  --sans: Geist, ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --header-h: 64px;
  --bar-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  padding-bottom: var(--bar-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 901px) { body { padding-bottom: 0; } }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
ol { list-style: none; }
.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
::selection { background: var(--ink); color: var(--bg); }

.label, .nav, .status, .meta, .num, .btn, .row-act, .footer, .ticker, .plate figcaption, .mobile-bar, .toast {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
}
.label { display: block; color: var(--soft); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--bg); font-size: 13px;
  padding: 10px 18px; transition: top .2s ease;
}
.skip:focus { top: 12px; }

.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* Header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.header.scrolled { border-bottom-color: var(--line); }
.header-in { height: 100%; display: flex; align-items: center; gap: 32px; }
.wordmark { font-family: var(--serif); font-size: 19px; font-weight: 400; letter-spacing: -.02em; white-space: nowrap; }
.wordmark span { color: var(--accent-soft); font-style: italic; }
.nav { display: flex; gap: 28px; margin-right: auto; }
.nav a { transition: color .2s ease; }
.nav a i { font-style: normal; color: var(--soft); margin-right: 6px; }
.nav a:hover { color: var(--accent-soft); }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--line);
  transition: border-color .2s ease;
}
.status:hover { border-color: var(--ink); }

/* Hero */
.hero { padding-top: calc(var(--header-h) + 36px); border-bottom: 1px solid var(--line); }
.meta {
  display: flex; flex-wrap: wrap; gap: 10px 36px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.meta span { display: inline-flex; align-items: center; gap: 10px; }
.meta em { font-style: normal; color: var(--soft); opacity: .7; }
.meta strong { font-weight: 500; }
.hero-grid {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: end;
  padding: 56px 0 64px;
}
.display {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(48px, 9vw, 132px); line-height: .92; letter-spacing: -.045em;
  margin-bottom: 40px;
}
.d-line { display: block; white-space: nowrap; }
.d-line.it { font-style: italic; padding-left: .55em; }
.tld { font-style: normal; color: var(--accent); font-size: .42em; letter-spacing: -.02em; margin-left: .15em; }
.lede {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; letter-spacing: -.01em;
  max-width: 560px; margin-bottom: 18px;
}
.lede .label { margin-bottom: 14px; }
.lede strong { font-weight: 400; font-style: italic; }
.lede strong:first-of-type { font-style: normal; border-bottom: 1px solid var(--accent); }
.body-copy { color: var(--soft); font-size: 15.5px; max-width: 520px; margin-bottom: 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px; border: 1px solid var(--ink);
  transition: background .2s ease, color .2s ease;
}
.btn.solid { background: var(--ink); color: var(--bg); }
.btn.solid:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.btn.line:hover { background: var(--ink); color: var(--bg); }

.spec {
  border: 1px solid var(--ink); background: #fff;
  box-shadow: 10px 10px 0 rgba(10, 10, 10, .04);
}
.spec-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; border-bottom: 1px solid var(--line);
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  padding: 6px 10px; border: 1px solid var(--accent); color: var(--accent-soft);
}
.spec dl { padding: 4px 22px; }
.spec dl div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.spec dl div:last-child { border-bottom: 0; }
.spec dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.spec dd { font-family: var(--serif); font-size: 19px; letter-spacing: -.01em; text-align: right; overflow-wrap: anywhere; }
.spec-cta {
  display: flex; justify-content: space-between;
  padding: 18px 22px; background: var(--ink); color: var(--bg);
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s ease;
}
.spec-cta:hover { background: var(--accent-soft); }

.ticker { overflow: hidden; border-top: 1px solid var(--line); padding: 18px 0; white-space: nowrap; }
.ticker-in { display: inline-flex; animation: ticker 36s linear infinite; }
.ticker span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 26px; letter-spacing: -.01em; text-transform: none; color: var(--soft); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 96px 0; border-bottom: 1px solid var(--line); }
.sec-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.sec-head .label { margin-bottom: 22px; }
.sec-head h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 5.4vw, 72px); line-height: 1; letter-spacing: -.035em;
}
.sec-head h2 em { font-style: italic; }
.sec-sub { color: var(--soft); font-size: 15.5px; max-width: 380px; margin-top: 24px; }

.index { border-top: 1px solid var(--ink); }
.index li {
  display: grid; grid-template-columns: 64px 1fr; gap: 16px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.num { color: var(--accent-soft); padding-top: 8px; }
.index h3, .steps h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 6px; }
.index p, .steps p { color: var(--soft); font-size: 15px; max-width: 520px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.steps li { padding: 28px 24px 8px 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps .num { display: block; padding: 0 0 18px; }

/* Contact */
.contact { background: var(--ink); color: var(--bg); border-bottom: 0; }
.contact .label, .contact .sec-sub { color: rgba(250, 250, 247, .55); }
.rows { border-top: 1px solid rgba(250, 250, 247, .5); }
.row {
  display: grid; grid-template-columns: 200px 1fr auto; align-items: center; gap: 20px;
  padding: 30px 0; border-bottom: 1px solid rgba(250, 250, 247, .16);
}
.row strong { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3.4vw, 42px); letter-spacing: -.02em; line-height: 1.1; overflow-wrap: anywhere; }
.row-act {
  display: inline-flex; gap: 8px; padding: 12px 18px;
  border: 1px solid rgba(250, 250, 247, .35); white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.row-act:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* Footer */
.footer { background: var(--ink); color: rgba(250, 250, 247, .55); border-top: 1px solid rgba(250, 250, 247, .16); }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 0 calc(26px + env(safe-area-inset-bottom)); }
.footer a:hover { color: var(--bg); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--bar-h) + 28px); z-index: 150;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bg);
  padding: 13px 20px; border: 1px solid var(--accent);
  transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 901px) { .toast { bottom: 32px; } }

/* Mobile bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 98;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px;
}
@media (min-width: 901px) { .mobile-bar { display: none; } }
.mobile-bar a, .mobile-bar button {
  display: flex; align-items: center; justify-content: center;
  min-height: 46px; border: 1px solid var(--ink);
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.mb-mail { background: var(--ink); color: var(--bg); }

@media (max-width: 900px) {
  .nav { display: none; }
  .header-in { justify-content: space-between; }
  .hero-grid, .sec-grid { grid-template-columns: 1fr; gap: 40px; }
  .spec { max-width: 520px; }
  .section { padding: 72px 0; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .meta { gap: 8px 20px; }
  .meta span:nth-child(n+3) { display: none; }
  .hero-grid { padding: 40px 0 48px; }
  .display { font-size: clamp(40px, 13.4vw, 72px); margin-bottom: 28px; }
  .d-line.it { padding-left: .3em; }
  .cta { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .index li { grid-template-columns: 44px 1fr; }
  .index h3, .steps h3 { font-size: 24px; }
  .row { grid-template-columns: 1fr; gap: 10px; }
  .row-act { justify-self: start; }
  .foot-in { flex-direction: column; gap: 6px; }
  .ticker span { font-size: 20px; }
  .wordmark { font-size: 17px; }
  .spec { box-shadow: none; }
  .spec-head, .spec dl, .spec-cta { padding-left: 16px; padding-right: 16px; }
  .spec dd { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
