/* LAF Systems — shared stylesheet.
   Layout: one narrow reading column on white, with the hand-drawn logo's
   ink and banana yellow carrying the brand. */

:root {
  --paper: #ffffff;
  --wash: #faf6dc;        /* pale banana, for bands */
  --ink: #33281b;         /* the flyer's brown-black */
  --soil: #6b5d4b;        /* secondary text */
  --line: #e3ddcf;
  --banana: #f1dc55;
  --leaf: #2f5d34;

  --display: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 68rem;
  --gutter: clamp(1.125rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.6 var(--body);
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--leaf); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6.2vw, 4.25rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: 0; }

p { margin: 0; max-width: 62ch; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Yellow marker stroke, borrowed from the flyer */
.hl {
  background: linear-gradient(transparent 56%, var(--banana) 56%, var(--banana) 92%, transparent 92%);
  padding-inline: 0.08em;
  margin-inline: -0.08em;
}

.label {
  font: 0.78rem/1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--soil);
}

.lede { font-size: clamp(1.125rem, 1.9vw, 1.3rem); line-height: 1.5; color: var(--soil); }

.stack { display: grid; gap: 1.1rem; align-content: start; justify-items: start; }
.stack > h2 + p { margin-top: -0.2rem; }

/* ---------- header ---------- */

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 2rem;
  padding-block: 0.6rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; }
.brand img { width: 58px; height: auto; }
.brand span { font: 700 1.05rem/1 var(--display); }

.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.6rem; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.98rem;
  padding-block: 0.45rem;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--banana); font-weight: 600; }

/* ---------- buttons ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  padding: 0.78rem 1.25rem;
  border-radius: 3px;
}
.btn:hover { background: var(--leaf); color: var(--paper); }
.more { font-weight: 600; }

/* ---------- sections ---------- */

section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.band { background: var(--wash); }
.rule { border-top: 1px solid var(--line); }

.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 18ch; }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  align-items: start;
}
.split > * { min-width: 0; }

/* ---------- hero ---------- */

.hero { padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem); }
.hero .split { align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }
.hero .stack { gap: 1.4rem; }

.plot { margin: 0; }
.plot-photo { position: relative; }
.plot-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; background: #4b5a33; }
.plot-photo.tall img { aspect-ratio: 3 / 4; }
.tag {
  position: absolute;
  bottom: 0.75rem;
  background: var(--paper);
  color: var(--ink);
  font: 0.74rem/1.2 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.55rem;
  border-radius: 2px;
}
.tag.left { left: clamp(0.75rem, calc(100% - 17.5rem), 25%); }
.tag.right { right: 0.75rem; background: var(--banana); }
.photo { margin: 0.75rem 0 0; max-width: 48rem; }
.photo img { width: 100%; border-radius: 3px; background: #4b5a33; }

.cutout { margin: 0; display: flex; justify-content: center; }
.cutout img { width: auto; max-height: min(34rem, 70vh); }

.award { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem clamp(2rem, 5vw, 4rem); }
.award img { width: min(100%, 17rem); }
.award .stack { flex: 1 1 22rem; }

.plot figcaption { margin-top: 0.7rem; font-size: 0.92rem; line-height: 1.45; color: var(--soil); max-width: 48ch; }

/* ---------- figures, steps, lists ---------- */

.figure-stat { font: 700 clamp(3.2rem, 9vw, 5.5rem)/0.95 var(--display); letter-spacing: -0.03em; }
.figure-stat small { display: block; margin-top: 0.6rem; font: 0.82rem/1.35 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--soil); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  counter-reset: step;
}
.steps li { counter-increment: step; display: grid; gap: 0.5rem; align-content: start; border-top: 2px solid var(--ink); padding-top: 0.9rem; }
.steps li::before { content: counter(step); font: 0.82rem/1 var(--mono); color: var(--soil); }
.steps p { font-size: 1rem; }

.cols {
  display: grid;
  gap: 2rem clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.cols > div { display: grid; gap: 0.5rem; align-content: start; }
.cols p { font-size: 1rem; }

.plain { margin: 0; padding-left: 1.15rem; display: grid; gap: 0.45rem; max-width: 60ch; }
.plain li::marker { color: var(--soil); }

/* ---------- tables ---------- */

.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
th, td { text-align: left; vertical-align: top; padding: 0.8rem 1.25rem 0.8rem 0; border-bottom: 1px solid var(--line); }
thead th { font: 0.78rem/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--soil); font-weight: 400; border-bottom-color: var(--ink); }
tbody th { font-weight: 600; }
.price td:last-child, .price th:last-child { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.band th, .band td { border-bottom-color: #e3dcae; }
.band thead th { border-bottom-color: var(--ink); }

.note { font: 700 1.2rem/1.4 var(--display); }

/* ---------- contact + footer ---------- */

.contact-lines { display: grid; gap: 0.3rem; font: 600 clamp(1.15rem, 2.6vw, 1.5rem)/1.3 var(--display); }
.contact-lines a { color: var(--ink); overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--leaf); }

.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem 3rem; font-size: 0.95rem; color: var(--soil); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-start; }
.site-footer img { width: 84px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.site-footer a { color: var(--soil); }
.site-footer a:hover { color: var(--ink); }
.site-footer address { font-style: normal; display: grid; gap: 0.2rem; }

@media (max-width: 30rem) {
  .site-nav { gap: 0.25rem 1.1rem; }
  .site-nav a { font-size: 0.94rem; }
}
