:root {
    --bg: #0F0805;
    --bg-deep: #170E09;
    --surface: #1E1510;
    --line: #2A1E17;
    --border: #3A2C24;
    --border-strong: #5A4636;
    --text: #F7F1E8;
    --body: #D7C9B8;
    --muted: #B8A898;
    --faint: #9C8A7A;
    --amber: #F2B35E;
    --amber-hover: #FFD08A;
    --eyebrow: #D9964F;
    --teal: #5FB3B0;
    --ink: #1A0F08;
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --gutter: clamp(20px, 6vw, 120px);
    color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--body); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-hover); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 0.9375rem; letter-spacing: 0.33em; text-transform: uppercase; color: var(--eyebrow); }
.serif { font-family: var(--serif); font-weight: 400; color: var(--text); }
.accent-italic { font-style: italic; color: var(--amber); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 16px; color: var(--text); }
.brand:hover { color: var(--text); }
.monogram { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--amber); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--amber); letter-spacing: -0.5px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 16px; }
.nav a { color: var(--body); }
.nav a:hover { color: var(--amber); }
.nav .divider { width: 1px; height: 20px; background: var(--border); }
.icon-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; }
.icon-link svg { width: 18px; height: 18px; fill: currentColor; }
.nav .icons { display: flex; gap: 4px; margin-left: -12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font-size: 16px; font-weight: 500; border: 1px solid var(--border-strong); color: var(--text); }
.btn:hover { border-color: var(--amber); color: var(--text); }
.btn-primary { background: var(--amber); border-color: var(--amber); color: var(--ink); font-weight: 600; }
.btn-primary:hover { background: var(--amber-hover); border-color: var(--amber-hover); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 15px; }

/* Hero */
.hero { background-color: var(--bg); background-image: linear-gradient(rgba(242,179,94,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(242,179,94,0.05) 1px, transparent 1px); background-size: 64px 64px; }
.hero .wrap { padding-top: 112px; padding-bottom: 120px; display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 80px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 32px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.04; letter-spacing: -0.02em; color: var(--text); }
.hero .lede { max-width: 620px; font-size: 1.25rem; color: var(--body); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.id-card { padding: 28px 32px; background: var(--bg-deep); border: 1px solid var(--border); border-radius: 16px; font-family: var(--mono); font-size: 14px; line-height: 1.75; color: var(--muted); white-space: pre; overflow-x: auto; }
.id-card .k { color: var(--teal); }
.id-card .s { color: var(--amber); }

/* Sections */
.section { border-top: 1px solid var(--line); }
.section > .wrap { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 40px; }

.now-head { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 80px; align-items: end; }
.now-head > div { display: flex; flex-direction: column; gap: 20px; }
.now-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.875rem, 3.6vw, 3.25rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--text); }
.now-head p { font-size: 1.125rem; line-height: 1.65; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 16px; }
.pillar { padding: 36px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; display: flex; flex-direction: column; gap: 16px; }
.pillar .num { font-family: var(--mono); font-size: 14px; color: var(--teal); }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: 1.875rem; color: var(--text); line-height: 1.15; }
.pillar p { font-size: 1.0625rem; }

.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; color: var(--body); transition: border-color 0.2s; }
.feature:hover { border-color: var(--border-strong); color: var(--body); }
.feature img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: left top; }
.feature-body { padding: 56px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.kicker { font-size: 0.875rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--teal); }
.feature h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; color: var(--text); }
.tagline { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--amber); line-height: 1.3; }
.more { font-weight: 600; color: var(--amber); margin-top: 8px; }

.talk { display: grid; grid-template-columns: 560px minmax(0, 1fr); gap: 56px; align-items: center; }
.talk > a { display: block; }
.talk img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; border: 1px solid var(--border); }
.talk-body { display: flex; flex-direction: column; gap: 18px; }
.talk-meta { font-size: 0.9375rem; color: var(--muted); }
.talk h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.875rem, 3vw, 2.75rem); line-height: 1.1; color: var(--text); }
.talk .sub { font-family: var(--serif); font-style: italic; font-size: 1.375rem; color: var(--amber); }
.talk .actions { gap: 12px; margin-top: 6px; }

.shipped-head { display: flex; flex-direction: column; gap: 14px; }
.shipped-head p { font-size: 1.125rem; color: var(--muted); }
.shipped { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.shipped article { padding: 32px; display: flex; flex-direction: column; gap: 12px; border-left: 1px solid var(--border); }
.shipped article:first-child { padding-left: 0; border-left: 0; }
.shipped .date { font-size: 0.875rem; color: var(--faint); }
.shipped h3 { font-family: var(--serif); font-weight: 400; font-size: 1.625rem; color: var(--text); line-height: 1.2; }
.shipped .press { font-size: 0.875rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 48px; padding-bottom: 64px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 0.9375rem; }
.site-footer p { color: var(--faint); }
.site-footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.site-footer nav a { color: var(--muted); }
.site-footer nav a:hover { color: var(--amber); }

/* Protocol notes page */
.page-head .wrap { padding-top: 96px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 20px; }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 4.5vw, 3.5rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--text); }
.page-head p { max-width: 680px; font-size: 1.125rem; }
.section-header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.section-header h2, .section h2.eyebrow { font-size: 0.9375rem; font-weight: 400; letter-spacing: 0.33em; text-transform: uppercase; color: var(--eyebrow); }
.view-all { font-size: 0.9375rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; color: var(--body); transition: border-color 0.2s; }
a.card:hover { border-color: var(--border-strong); color: var(--body); }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.375rem; line-height: 1.2; color: var(--text); }
.card p { font-size: 0.975rem; }
.tag { align-self: flex-start; margin-top: 6px; font-size: 0.8125rem; color: var(--muted); padding: 3px 10px; border: 1px solid var(--border); border-radius: 999px; }
.pulse-item { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--border); }
.pulse-item:first-child { border-top: 0; padding-top: 0; }
.pulse-item:last-child { padding-bottom: 0; }
.pulse-indicator { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-top: 9px; flex: none; }
.pulse-content > a { color: var(--text); font-weight: 500; }
.pulse-content > a:hover { color: var(--amber); }
.pulse-meta { font-size: 0.875rem; color: var(--muted); }

/* Responsive */
@media (max-width: 1100px) {
    .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 56px; }
    .id-card { max-width: 480px; }
    .now-head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .feature { grid-template-columns: minmax(0, 1fr); }
    .feature img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
    .talk { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 860px) {
    .nav .section-link, .nav .divider { display: none; }
    .nav .icons { margin-left: 0; }
    .pillars, .shipped { grid-template-columns: minmax(0, 1fr); }
    .shipped article { padding: 24px 0; border-left: 0; border-top: 1px solid var(--border); }
    .shipped article:first-child { border-top: 0; }
}
@media (max-width: 640px) {
    .site-header .wrap { min-height: 72px; }
    .monogram { width: 40px; height: 40px; font-size: 17px; }
    .brand-name { font-size: 18px; }
    .hero { background-size: 40px 40px; }
    .hero .wrap { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
    .hero-copy { gap: 24px; }
    .hero .lede { font-size: 1.0625rem; }
    .actions .btn { flex: 1 1 100%; }
    .talk .actions .btn { flex: 0 0 auto; }
    .id-card { font-size: 12px; padding: 20px; }
    .section > .wrap { padding-top: 64px; padding-bottom: 64px; gap: 24px; }
    .eyebrow, .section-header h2, .section h2.eyebrow { font-size: 0.75rem; letter-spacing: 0.3em; }
    .pillar { padding: 24px; gap: 10px; }
    .pillar h3 { font-size: 1.5rem; }
    .pillar p, .feature-body p { font-size: 0.9375rem; }
    .feature { border-radius: 20px; }
    .feature-body { padding: 24px; gap: 12px; }
    .tagline { font-size: 1.1875rem; }
    .talk .sub { font-size: 1.125rem; }
    .page-head .wrap { padding-top: 56px; padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
