:root {
  /* Brand palette: nzgq4j/ci-com tokens/colors.css (navy primary, gold accent) */
  --bg: #0a2240;            /* navy-900, canonical brand navy */
  --bg-raised: #0d2d50;     /* navy-800 */
  --bg-deep: #04111e;       /* navy-950 */
  --line: rgba(123, 173, 208, 0.2);   /* navy-300 at 20% */
  --line-strong: rgba(123, 173, 208, 0.4);
  --ink: #f7fafc;           /* gray-100 */
  --ink-muted: #b0cde3;     /* navy-200 */
  --accent: #d4a84b;        /* gold-500, canonical brand gold */
  --accent-soft: #e8cd84;   /* gold-300 */
  --brand-gold: #d4a84b;
  --on-accent: #0a2240;
  --radius: 16px;
  --wrap: 1160px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 34, 64, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.wordmark {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark-accent { color: var(--brand-gold); font-weight: 300; }
.wordmark-sm { font-size: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-sm { gap: 8px; }
.brand-sm .brand-mark { width: 26px; height: 26px; }
.site-header nav { display: flex; gap: 28px; align-items: center; }
.site-header nav a { text-decoration: none; color: var(--ink-muted); font-size: 0.95rem; font-weight: 500; }
.site-header nav a:hover { color: var(--ink); }

/* Shared */
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.1; }
.lede { color: var(--ink-muted); font-size: 1.15rem; max-width: 620px; }
.section-head { margin-bottom: 56px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-soft); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 120px 0 130px; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.04; max-width: 900px; }
.hero h1 em { font-style: italic; color: var(--accent-soft); }
.hero .lede { margin: 28px 0 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-glow {
  position: absolute; z-index: -1;
  right: -200px; bottom: -320px; width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(212,168,75,0.22) 0%, rgba(212,168,75,0.06) 40%, transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

/* Work */
.work { padding: 110px 0; }
.product {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center;
  padding: 40px 0 72px;
}
.product + .product { border-top: 1px solid var(--line); padding-top: 72px; }
.product-flip .product-shot { order: 2; }
.product-shot {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(4,17,30,0.9);
  transition: transform .25s ease, border-color .25s ease;
}
.product-shot:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.product-title { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.product-title img { border-radius: 11px; }
.product-title h3 { font-size: 1.9rem; line-height: 1.1; }
.product-link { color: var(--ink-muted); font-size: 0.92rem; text-decoration: none; }
.product-link:hover { color: var(--accent); }
.product-tagline { font-family: var(--serif); font-style: italic; font-size: 1.3rem; margin: 0 0 10px; }
.product-body > p:not(.product-tagline) { color: var(--ink-muted); margin: 0 0 22px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.tags li {
  font-size: 0.8rem; color: var(--ink-muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
}
.more-note { color: var(--ink-muted); text-align: center; margin: 24px 0 0; }
.more-note a { color: var(--accent); text-decoration: none; }
.more-note a:hover { text-decoration: underline; }

/* Approach */
.approach { padding: 110px 0; background: var(--bg-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar { border-top: 1px solid var(--line); padding-top: 26px; }
.pillar-num { color: var(--accent); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; }
.pillar h3 { font-size: 1.5rem; margin: 12px 0 10px; }
.pillar p { color: var(--ink-muted); margin: 0; }

/* Footer */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding: 32px 0; color: var(--ink-muted); font-size: 0.9rem; }
.footer-inner { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.footer-inner .wordmark { color: var(--ink); }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner nav a { text-decoration: none; }
.footer-inner nav a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; gap: 32px; }
  .product-flip .product-shot { order: 0; }
  .pillars { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .site-header nav { gap: 16px; }
  .hero { padding: 80px 0 90px; }
  .work, .approach { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .product-shot { transition: none; }
}
