:root {
  --ink: #17211d;
  --green: #1e6b55;
  --coral: #c94b36;
  --paper: #f7f5ef;
  --white: #ffffff;
  --mint: #cfe7dc;
  --gold: #f1c75b;
  --line: #d7ddd9;
  --muted: #5f6d66;
  --max: 1180px;
  color: var(--ink);
  font-family: "Avenir Next", Manrope, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

button, a { font: inherit; }

a { color: inherit; }

.brand-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(247, 245, 239, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand-nav img { width: 176px; height: auto; }

.brand-nav nav { display: flex; gap: 22px; }

.brand-nav nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.brand-nav nav a:hover { color: var(--green); }

.hero-band {
  min-height: 540px;
  display: grid;
  align-items: end;
  background: var(--ink);
  color: var(--paper);
}

.hero-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 80px;
  align-items: end;
}

.hero-logo { width: min(390px, 78vw); margin-bottom: 54px; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.98;
  font-weight: 650;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 0;
  color: #cbd3cf;
  font-size: 20px;
}

.hero-note {
  border-top: 1px solid #44514b;
  padding-top: 22px;
}

.hero-note strong { display: block; margin-bottom: 10px; font-size: 22px; }
.hero-note p { margin: 0; color: #aebbb5; }

.section-band { padding: 88px 24px; }
.section-band.white { background: var(--white); }
.section-band.green { background: var(--green); color: var(--white); }
.section-band.ink { background: var(--ink); color: var(--paper); }

.section-inner { width: min(var(--max), 100%); margin: 0 auto; }

.section-heading {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 52px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  font-weight: 650;
  letter-spacing: 0;
}

.section-heading p { max-width: 650px; color: var(--muted); font-size: 18px; }
.green .section-heading p, .ink .section-heading p { color: #dbe7e1; }

.logo-stage {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 48px;
  border: 1px solid var(--line);
}

.logo-stage.light { background: var(--paper); }
.logo-stage.dark { background: var(--ink); border-color: var(--ink); }
.logo-stage img { width: min(410px, 84%); }

.logo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.asset-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.asset-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.asset-link:hover { background: var(--ink); color: var(--white); }
.ink .asset-link:hover { background: var(--paper); color: var(--ink); }

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.swatch {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.swatch strong { font-size: 18px; }
.swatch code { font-family: "IBM Plex Mono", Consolas, monospace; font-size: 14px; }
.swatch.ink { background: var(--ink); color: var(--white); }
.swatch.green { background: var(--green); color: var(--white); }
.swatch.coral { background: var(--coral); color: var(--white); }
.swatch.paper { background: var(--paper); }
.swatch.white { background: var(--white); }
.swatch.mint { background: var(--mint); }
.swatch.gold { background: var(--gold); }
.swatch.line { background: var(--line); }

.type-specimen {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 68px;
  padding: 44px 0;
  border-top: 1px solid #3c4943;
  border-bottom: 1px solid #3c4943;
}

.alphabet { font-size: clamp(48px, 8vw, 108px); line-height: 1; font-weight: 650; }
.type-details p { color: #bac7c1; }
.metric-sample { margin-top: 34px; font-family: "IBM Plex Mono", Consolas, monospace; }
.metric-sample strong { display: block; color: var(--mint); font-size: 56px; line-height: 1; }

.message-stack { border-top: 1px solid var(--line); }
.message-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.message-row span { color: var(--muted); font-size: 14px; font-weight: 700; }
.message-row strong { max-width: 760px; font-size: clamp(25px, 3vw, 42px); line-height: 1.12; }

.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #4c826f; }
.voice-item { min-height: 250px; padding: 30px; background: var(--green); }
.voice-item h3 { font-size: 24px; }
.voice-item p { color: #dceae4; }
.voice-item small { display: block; margin-top: 28px; color: var(--gold); font-size: 14px; }

.ui-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.ui-demo { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.ui-demo h3 { margin-bottom: 18px; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric-box { padding: 16px; background: var(--paper); border-left: 3px solid var(--green); }
.metric-box span { display: block; color: var(--muted); font-size: 12px; }
.metric-box strong { font-size: 26px; }
.signal-row { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.signal { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #f6ddd7; color: #8d2f20; font-size: 12px; font-weight: 700; }
.primary-action { min-height: 42px; padding: 0 16px; border: 0; border-radius: 4px; background: var(--green); color: var(--white); font-weight: 700; }

.poster {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px;
  background: var(--paper);
  color: var(--ink);
}
.poster img { width: 190px; }
.poster h3 { max-width: 650px; margin-bottom: 14px; font-size: clamp(48px, 7vw, 84px); line-height: 0.98; }
.poster p { max-width: 560px; font-size: 20px; }
.poster-footer { display: flex; align-items: end; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.qr-placeholder { width: 86px; aspect-ratio: 1; display: grid; place-items: center; background: var(--ink); color: var(--white); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 12px; }

.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.rule-list { margin: 0; padding: 0; list-style: none; }
.rule-list li { padding: 15px 0; border-bottom: 1px solid #3c4943; color: #d5ded9; }
.rule-list strong { color: var(--white); }

.brand-footer { padding: 38px 24px; background: #0f1713; color: #aeb9b4; }
.brand-footer-inner { width: min(var(--max), 100%); margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; }

@media (max-width: 900px) {
  .brand-nav nav { display: none; }
  .hero-inner, .section-heading, .type-specimen, .ui-strip { grid-template-columns: 1fr; }
  .hero-inner { gap: 44px; }
  .swatch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voice-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand-nav { padding: 0 18px; }
  .hero-inner { width: calc(100% - 36px); padding: 72px 0 48px; }
  .hero-logo { margin-bottom: 40px; }
  .section-band { padding: 64px 18px; }
  .logo-grid, .rules { grid-template-columns: 1fr; }
  .logo-stage { min-height: 220px; padding: 26px; }
  .swatch-grid { grid-template-columns: 1fr; }
  .swatch { min-height: 150px; }
  .message-row { grid-template-columns: 1fr; gap: 8px; }
  .metric-row { grid-template-columns: 1fr; }
  .poster { min-height: 520px; padding: 28px; }
  .poster-footer, .brand-footer-inner { align-items: flex-start; flex-direction: column; }
}
