/* Built by SR Visual LLC
   Neighborhood brand system for the Klingler / Smith development beside Harvest Heights.
   One light, quiet, typographic look shared by the packet, the site mockup, the signage
   and the collateral. Gold is the wheat; it appears as a signal, never as wallpaper. */

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");

:root {
  /* Core */
  --ink: #1A1A18;        /* warm black: type, metal letters */
  --ink-2: #3D3B37;
  --soil: #4A3F35;       /* dark earth brown: secondary dark */
  --stone: #8F8A82;      /* warm grey: captions, hairlines on dark */
  --hair: #E6E2DA;       /* hairline on paper */
  --chaff: #F3EEE3;      /* pale wheat wash */
  --paper: #FCFBF8;      /* page */
  --white: #FFFFFF;

  /* The wheat */
  --straw: #B8923E;      /* ripe wheat, the brand gold */
  --straw-ink: #8C6C25;  /* straw on white at text sizes */
  --straw-light: #D9BE7E;

  /* Rare secondary: the green of winter wheat in May. Use once per piece at most. */
  --field: #6F7A5C;

  --measure: 880px;
  --wide: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--hair); }
p { margin: 0 0 16px; max-width: 42em; }

.page { max-width: calc(var(--measure) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.page.wide { max-width: calc(var(--wide) + var(--gutter) * 2); }

/* Masthead (the packet pages) */
.masthead {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 28px 0 22px; border-bottom: 1px solid var(--hair);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
}
.wordmark b { font-weight: 700; color: var(--ink); }
.wordmark span { font-weight: 400; color: var(--stone); margin-left: 8px; }
.masthead .edition { color: var(--stone); }

.cover { padding: clamp(64px, 12vw, 128px) 0 56px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2); margin: 0; }
.rule-gold { width: 44px; height: 2px; background: var(--straw); margin: 22px 0 28px; border: 0; }
.cover h1 { font-size: clamp(38px, 6.4vw, 64px); line-height: 1.06; letter-spacing: -0.025em; font-weight: 300; margin: 0; max-width: 16ch; }
.cover h1 strong { font-weight: 600; }
.cover .deck { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--ink-2); font-weight: 300; max-width: 40em; margin: 28px 0 0; }
.meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--ink); }
.meta dt { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); font-weight: 600; margin: 0 0 6px; }
.meta dd { margin: 0; font-size: 15px; line-height: 1.45; }

section.block { padding: 72px 0; border-top: 1px solid var(--hair); }
.num { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: var(--stone); margin: 0 0 14px; }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -0.015em; font-weight: 600; margin: 0 0 18px; max-width: 24ch; }
h3 { font-size: 17px; font-weight: 600; margin: 40px 0 10px; letter-spacing: -0.005em; }
h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); margin: 28px 0 8px; }
.lede { font-size: 18px; font-weight: 300; color: var(--ink-2); line-height: 1.65; }
.small { font-size: 13px; color: var(--stone); }
.source { font-size: 12.5px; color: var(--stone); margin-top: 10px; }

/* Tables */
.table-wrap { margin: 32px 0 8px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th { text-align: left; font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); padding: 0 14px 12px 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
tbody td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
tbody tr:last-child td { border-bottom: 1px solid var(--ink); }
th.r, td.r { text-align: right; }
tr.focus td { background: var(--chaff); }

/* Figures, open, no boxes */
.figures { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); margin: 40px 0 8px; border-top: 1px solid var(--hair); }
.figure { padding: 22px 24px 4px 0; }
.figure + .figure { padding-left: 24px; border-left: 1px solid var(--hair); }
.figure .value { font-size: clamp(30px, 4vw, 44px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; }
.figure .label { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 12px; }
.figure .note { font-size: 13px; color: var(--stone); line-height: 1.5; margin-top: 4px; }
.figure.signal .value { color: var(--straw-ink); }

/* Lists */
ul.plain { list-style: none; padding: 0; margin: 0 0 16px; max-width: 42em; }
ul.plain li { padding: 10px 0; border-bottom: 1px solid var(--hair); }
ul.plain li:first-child { border-top: 1px solid var(--hair); }
ol.steps { padding-left: 0; counter-reset: s; list-style: none; max-width: 44em; margin: 24px 0; }
ol.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
ol.steps li::before { content: counter(s, decimal-leading-zero); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--straw-ink); padding-top: 3px; }
ol.steps li:first-child { border-top: 1px solid var(--hair); }

/* Swatches */
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; margin: 28px 0 8px; }
.swatch .chip { height: 88px; border: 1px solid var(--hair); }
.swatch .name { font-size: 13px; font-weight: 600; margin-top: 10px; }
.swatch .hex { font-size: 12px; color: var(--stone); letter-spacing: 0.04em; }
.swatch .use { font-size: 12.5px; color: var(--ink-2); line-height: 1.45; margin-top: 4px; }

/* Logo plates */
.plates { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 16px; margin: 28px 0 8px; }
.plate { border: 1px solid var(--hair); background: var(--white); display: flex; align-items: center; justify-content: center; min-height: 240px; padding: 36px; }
.plate.dark { background: var(--ink); color: var(--paper); }
.plate.soil { background: var(--soil); color: var(--paper); }
.plate.chaff { background: var(--chaff); }
.plate.straw { background: var(--straw); color: var(--ink); }
.plate-cap { font-size: 12.5px; color: var(--stone); margin-top: 8px; }

/* Wordmarks */
.wm { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: inherit; }
.wm .mark { width: 44px; height: auto; }
.wm .name { font-weight: 300; font-size: 30px; letter-spacing: 0.26em; text-transform: uppercase; line-height: 1; padding-left: 0.26em; }
.wm .name b { font-weight: 600; }
.wm .sub { font-size: 9.5px; letter-spacing: 0.34em; text-transform: uppercase; font-weight: 600; opacity: 0.72; padding-left: 0.34em; }
.wm.lockup-h { flex-direction: row; gap: 18px; text-align: left; }
.wm.lockup-h .name { font-size: 24px; padding-left: 0; }
.wm.lockup-h .sub { padding-left: 0; }
.wm .mark.gold { color: var(--straw); }

/* Footer */
footer.foot { padding: 40px 0 56px; border-top: 1px solid var(--ink); font-size: 12.5px; color: var(--stone); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Print */
@page { size: Letter; margin: 0.6in 0.65in; }
@media print {
  body { background: #fff; font-size: 11.5pt; }
  .page { max-width: none; padding: 0; }
  section.block { padding: 28pt 0; break-inside: auto; }
  h2, h3 { break-after: avoid; }
  .plate, .figure, .swatch, tr { break-inside: avoid; }
  .cover { padding: 60pt 0 30pt; break-after: page; }
  a { text-decoration: none; }
  .no-print { display: none !important; }
}
@media (max-width: 720px) {
  .meta { grid-template-columns: 1fr; gap: 16px; }
  .figures { grid-template-columns: 1fr; }
  .figure + .figure { padding-left: 0; border-left: 0; border-top: 1px solid var(--hair); }
  .plates { grid-template-columns: 1fr; }
}
