@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=DM+Sans:wght@400;500;600;700&family=Kalam:wght@400;700&display=swap');

:root {
  --ink: #0b0d12;
  --ink-2: #151924;
  --paper: #f2ead7;
  --cream: #fff9e9;
  --coral: #f04e30;
  --gold: #f5b842;
  --blue: #2c63d8;
  --mint: #4bc0a0;
  --muted: #68645c;
  --line: rgba(11, 13, 18, .18);
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background-color: #d8cfbc;
  background-image: linear-gradient(rgba(11,13,18,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(11,13,18,.055) 1px, transparent 1px);
  background-size: 24px 24px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.brand-hero {
  min-height: 88vh;
  padding: 22px clamp(18px, 4vw, 54px) 36px;
  color: var(--paper);
  background-color: var(--ink);
  background-image: radial-gradient(rgba(242,234,215,.08) .7px, transparent .8px);
  background-size: 5px 5px;
  border-bottom: 8px solid var(--coral);
}

.brand-nav {
  height: 44px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  font: 800 11px "Barlow Condensed", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.brand-nav a {
  padding: 10px 12px;
  color: #aeb3bd;
  border: 1px solid #343b48;
}

.brand-nav a:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); }

.hero-grid {
  min-height: calc(88vh - 110px);
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
}

.kicker {
  margin: 0 0 10px;
  color: var(--coral);
  font: 800 12px/1 "Barlow Condensed", sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  font: 800 clamp(76px, 12vw, 164px)/.82 "Barlow Condensed", sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 16px;
  font: 800 clamp(36px, 5vw, 72px)/.9 "Barlow Condensed", sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 8px;
  font: 800 26px/.94 "Barlow Condensed", sans-serif;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.lede {
  max-width: 590px;
  color: #c7c4bb;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.48;
}

.logo-proof {
  margin: 0;
  padding: clamp(16px, 3vw, 34px);
  border: 1px solid #3b4350;
  background: #090b10;
  box-shadow: 0 24px 80px rgba(0,0,0,.34);
}

main { padding: clamp(28px, 5vw, 72px) clamp(18px, 4vw, 54px) 80px; }

.principles, .section-grid, .usage {
  width: min(1180px, 100%);
  margin: 0 auto clamp(46px, 7vw, 92px);
}

.principles > h2 { max-width: 760px; }

.principle-grid, .usage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.principle-grid article, .usage-grid article, .voice-grid article {
  padding: 18px;
  background: rgba(255,249,233,.62);
  border: 1px solid var(--line);
  box-shadow: 4px 4px 0 rgba(11,13,18,.08);
}

.principle-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font: 800 14px "Barlow Condensed", sans-serif;
}

.principle-grid p, .section-grid p, .usage-grid p, .voice-grid p {
  color: var(--muted);
  line-height: 1.58;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: start;
}

.asset-grid {
  display: grid;
  gap: 12px;
}

.asset-card {
  margin: 0;
  padding: 18px;
  background: var(--cream);
  border: 1px solid #8a806e;
}

.asset-card--dark { background: var(--ink); }
.asset-card figcaption {
  margin-top: 12px;
  color: #746d62;
  font: 800 11px "Barlow Condensed", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.asset-card--dark figcaption { color: #aeb3bd; }

.swatches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.swatches div {
  min-height: 154px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--ink);
  background: var(--swatch);
  border: 1px solid rgba(11,13,18,.22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}

.swatches div:first-child { color: var(--paper); }
.swatches b { font: 800 20px "Barlow Condensed", sans-serif; text-transform: uppercase; }
.swatches code { font: 700 12px "DM Sans", sans-serif; }

.type-specimen {
  padding: 24px;
  background: var(--cream);
  border: 1px solid #8a806e;
  box-shadow: 0 2px 0 #756d5f, 0 6px 0 #eee5d2, 0 9px 0 #756d5f;
}

.type-specimen h3 { font-size: clamp(44px, 7vw, 86px); }
.type-specimen blockquote {
  margin: 24px 0 0;
  padding: 18px;
  color: var(--ink);
  background: white;
  border: 3px solid var(--ink);
  border-radius: 48% 52% 50% 46% / 54% 48% 52% 46%;
  font: 700 28px/1.1 "Kalam", cursive;
  text-align: center;
}

.voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.usage-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.usage-grid b {
  display: block;
  margin-bottom: 7px;
  font: 800 18px "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .hero-grid, .section-grid { grid-template-columns: 1fr; }
  .brand-hero { min-height: auto; }
  .hero-grid { min-height: 0; padding: 70px 0 20px; }
  .principle-grid, .usage-grid, .swatches { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .brand-nav { justify-content: flex-start; overflow-x: auto; }
  .principle-grid, .usage-grid, .swatches, .voice-grid { grid-template-columns: 1fr; }
  h1 { font-size: 72px; }
}
