:root {
  --accent: #d9673a;
  --accent-ink: #a84d2a;
  --bg: #fbfaf8;
  --white: #ffffff;
  --ink: #1d1b19;
  --border: #e8e3dc;
  --muted: #6a645d;
  --muted-2: #5a554f;
  --muted-3: #8a847c;
  --muted-4: #4a453f;
  --muted-5: #3e3a35;
  --surface-tint: #f6f3ee;
  --chip-bg: #f4f1ec;
  --r: 14px;
  --display: 'Geist', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-ink); }
em { font-style: normal; color: var(--accent); }

.bg-glow {
  position: fixed;
  z-index: 0;
  top: -220px; right: -180px;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #d9673a38, transparent);
  pointer-events: none;
}
.bg-dots {
  position: fixed;
  z-index: 0;
  top: 0; left: 0; right: 0; height: 900px;
  background-image: radial-gradient(#1d1b1914 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(#000, transparent);
  mask-image: linear-gradient(#000, transparent);
  pointer-events: none;
}

/* NAV */
#navbar {
  position: sticky; top: 0; z-index: 100;
  background: #fbfaf8ee;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px clamp(20px, 6vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.mark {
  width: 28px; height: 28px;
  border-radius: var(--r, 8px);
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  font: 600 13px/1 'Geist Mono', monospace;
}
.logo-text { font: 500 14px/1 'Geist Mono', monospace; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  color: var(--bg) !important;
  background: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
}
.nav-cta:hover { opacity: 0.85; }
.nav-menu-btn {
  all: unset;
  display: none;
  cursor: pointer;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #e0dad2;
  border-radius: 999px;
  font: 500 14px/44px 'Geist', sans-serif;
  box-sizing: border-box;
}

/* HERO */
.hero { position: relative; z-index: 1; }
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 9vw, 120px) clamp(20px, 6vw, 80px) clamp(56px, 8vw, 104px);
}
.hero-text { display: flex; flex-direction: column; gap: 28px; }
.status-badge {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font: 500 12.5px/1.2 'Geist Mono', monospace;
  color: var(--muted-4);
  box-shadow: 0 1px 0 #00000008;
}
.status-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px #d9673a38;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: clamp(42px, 6.4vw, 92px);
  line-height: 0.98;
}
.pitch { max-width: 520px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--muted-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px;
  font-weight: 500; font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-ghost { border: 1px solid #d9d3ca; background: var(--white); color: var(--ink); }
.btn-light { background: var(--bg); color: var(--ink); min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn-outline-light { border: 1px solid #ffffff40; color: var(--bg); min-height: 52px; padding: 0 24px; font-size: 16px; }

.hero-visual { position: relative; }
.monogram-box {
  aspect-ratio: 4/5;
  border-radius: calc(var(--r) + 6px);
  background: linear-gradient(145deg, #f3ede4, #fbfaf8 60%, #f6ded0);
  border: 1px solid #e3ddd5;
  display: grid; place-items: center;
  overflow: hidden;
  position: relative;
}
.monogram-box::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(#1d1b190f 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}
.monogram {
  position: relative;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.06em;
  font-size: clamp(90px, 14vw, 160px);
  color: var(--ink);
  opacity: 0.92;
}
.status-card {
  position: absolute; left: -20px; bottom: 28px; right: 28px; max-width: 320px;
  background: #ffffffee;
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 8px;
  font: 400 12.5px/1.5 'Geist Mono', monospace;
  color: var(--muted-4);
  box-shadow: 0 18px 40px -18px #1d1b1940;
}
.status-row { display: flex; justify-content: space-between; }
.status-row .label { color: var(--muted-3); }

/* SECTIONS */
.section { position: relative; z-index: 1; padding: clamp(48px, 7vw, 104px) 0; border-top: 1px solid var(--border); }
.section-white { background: var(--white); }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 6vw, 80px); }
.eyebrow-block { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font: 500 12px/1 'Geist Mono', monospace;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.eyebrow-block h2, .writing-head h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
}
.lede { font-size: 15px; color: var(--muted); }

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.stat-card { background: var(--white); padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 12px; min-height: 150px; }
.stat-n { font-family: var(--display); font-weight: 600; letter-spacing: -0.04em; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; }
.stat-l { font-size: 15px; line-height: 1.45; color: var(--muted-2); }

/* PRODUCTS */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.product-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px #1d1b1955; }
.product-shot {
  aspect-ratio: 16/10;
  background: repeating-linear-gradient(135deg, #f1ede7 0 10px, #f8f5f1 10px 20px);
  border-bottom: 1px solid #ece7e0;
  display: grid; place-items: center;
  font: 500 12px/1 'Geist Mono', monospace;
  color: var(--muted-3);
}
.product-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-meta { display: flex; justify-content: space-between; gap: 12px; font: 500 12px/1.3 'Geist Mono', monospace; color: var(--muted); }
.product-meta .co { color: var(--accent-ink); }
.product-body h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.04em; font-size: 26px; line-height: 1.1; }
.product-body p { font-size: 15px; line-height: 1.55; color: var(--muted-2); flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 6px; }
.tags span { font: 500 11.5px/1 'Geist Mono', monospace; padding: 6px 9px; border-radius: 999px; background: var(--chip-bg); color: var(--muted-4); }

/* TIMELINE */
.tl-wrap { display: flex; flex-direction: column; gap: 4px; }
.tl-ticks-row { display: grid; grid-template-columns: minmax(100px, 24%) 1fr; gap: 16px; padding-bottom: 10px; }
.tl-ticks { position: relative; height: 14px; font: 500 11px/1 'Geist Mono', monospace; color: var(--muted-3); }
.tl-ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.tl-rows { display: flex; flex-direction: column; gap: 4px; }
.tl-row {
  all: unset; cursor: pointer;
  display: grid; grid-template-columns: minmax(100px, 24%) 1fr; gap: 16px; align-items: center;
  min-height: 52px; padding: 0 10px; margin: 0 -10px;
  border-radius: 10px;
  transition: background 0.2s;
}
.tl-row:hover { background: var(--surface-tint); }
.tl-row.active { background: var(--surface-tint); }
.tl-row-label { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tl-row-co { font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-row-short { font: 400 11.5px/1.2 'Geist Mono', monospace; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-bar-track {
  position: relative; height: 12px; border-radius: 999px;
  background: repeating-linear-gradient(90deg, #eeeae4 0 1px, transparent 1px 20.8333%);
}
.tl-bar-fill {
  position: absolute; top: 0; bottom: 0; left: 0; width: 0%;
  border-radius: 999px;
  background: #d9d2c8;
  transition: width 0.9s cubic-bezier(.2,.7,.2,1), background 0.25s, box-shadow 0.25s;
}
.tl-row.active .tl-bar-fill { background: var(--accent); box-shadow: 0 0 0 4px #d9673a2e, 0 4px 14px -2px #d9673a99; }

.tl-detail {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg);
}
.tl-detail-head { display: flex; flex-direction: column; gap: 8px; }
.tl-detail-dates { font: 500 12px/1.3 'Geist Mono', monospace; color: var(--accent-ink); }
.tl-detail-role { font-family: var(--display); font-weight: 600; letter-spacing: -0.04em; font-size: 28px; line-height: 1.1; }
.tl-detail-co { font-size: 15px; color: var(--muted-2); }
.tl-detail-pts { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tl-detail-pts li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--muted-5); }
.tl-detail-pts li::before { content: ''; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--accent); }

/* PRINCIPLES */
.principles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px); }
.principle { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding-top: 22px; border-top: 1.5px solid var(--ink); }
.pr-n { font: 500 13px/1.6 'Geist Mono', monospace; color: var(--accent-ink); }
.principle h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.04em; font-size: 24px; line-height: 1.15; margin-bottom: 8px; }
.principle p { font-size: 15.5px; line-height: 1.6; color: var(--muted-2); }

/* WRITING */
.writing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(20px, 3vw, 32px); }
.writing-list { display: flex; flex-direction: column; }
.writing-item {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 8px 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--border);
  transition: padding 0.25s ease;
}
.writing-item:hover { padding-left: 12px; }
.w-meta { font: 500 12px/1.4 'Geist Mono', monospace; color: var(--muted); }
.w-title { grid-column: span 2; font-family: var(--display); font-weight: 600; letter-spacing: -0.04em; font-size: clamp(19px, 2vw, 25px); line-height: 1.2; }

/* CONTACT */
.contact-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 28px;
  padding: clamp(28px, 6vw, 80px);
  border-radius: calc(var(--r) + 8px);
  background: var(--ink);
  color: var(--bg);
}
.contact-glow {
  position: absolute; right: -160px; bottom: -200px; width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #d9673a8c, transparent);
  pointer-events: none;
}
.eyebrow-dark { color: #e9a27f; position: relative; }
.contact-h {
  position: relative; max-width: 820px;
  font-family: var(--display); font-weight: 600; letter-spacing: -0.04em;
  font-size: clamp(34px, 5.6vw, 76px); line-height: 1;
}
.contact-h em { color: #f0a07a; }
.contact-p { position: relative; max-width: 540px; font-size: 17px; line-height: 1.55; color: #cfc8bf; }
.contact-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }

footer {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 24px clamp(20px, 6vw, 80px) 32px;
  font: 400 12.5px/1.4 'Geist Mono', monospace;
  color: var(--muted);
}

/* REVEAL */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in-view { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: inline-flex !important; align-items: center; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 20px clamp(20px, 6vw, 80px);
  }
  .hero-visual { order: -1; }
  .tl-row-short { display: none; }
}
