/* ============================================================
   Brassie Ltd. Co. — site stylesheet
   To retheme: edit the variables below. Everything derives from them.
   ============================================================ */

:root {
  /* Palette — edit these to change the whole site */
  --green:       #1C3B2A;   /* deep fairway green (hero, footer) */
  --green-deep:  #12291C;   /* darker green (gradients, hover)   */
  --cream:       #FAF7F0;   /* page background                    */
  --butter:      #EFC53F;   /* accent — "buttercup" yellow        */
  --ink:         #1B2620;   /* body text on cream                 */
  --muted:       #5E6E63;   /* secondary text                     */
  --line:        rgba(27, 59, 42, 0.14);  /* hairline borders     */
  --cream-dim:   rgba(250, 247, 240, 0.72); /* muted text on green */

  /* Type */
  --font-sans: "Archivo", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
  --font-wordmark: "Limelight", "Archivo", sans-serif; /* header logo only */

  /* Layout */
  --max-width: 1040px;
  --pad-x: clamp(20px, 5vw, 48px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible {
  outline: 3px solid var(--butter);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--butter);
  margin: 0 0 14px;
}
.eyebrow--ink { color: var(--muted); }

h1, h2, h3 {
  font-family: var(--font-sans);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(38px, 6.4vw, 68px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 40px);  font-weight: 700; }
h3 { font-size: 32px; font-weight: 600; }

.lede {
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.6;
  max-width: 34em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--green);
  border-bottom: 1px solid rgba(250, 247, 240, 0.12);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.wordmark {
  font-family: var(--font-wordmark);
  font-weight: 400; /* Limelight ships in one weight */
  font-size: 32px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
}
.wordmark .q { color: var(--butter); }
.site-nav { display: flex; gap: 26px; }
.site-nav a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--butter); }

/* ---------- Hero (home) ---------- */
.hero {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--cream);
  padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 10vw, 120px);
}
.hero h1 { max-width: 13em; }
.hero h1 em {
  font-style: normal;
  color: var(--butter);
}
.hero .lede { color: var(--cream-dim); margin-top: 22px; }
.hero-meta {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 38em; margin-bottom: 44px; }
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Clip strip (signature graphic) ---------- */
.clipstrip {
  margin: 52px 0 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: clamp(20px, 3.5vw, 34px);
  box-shadow: 0 1px 2px rgba(18, 41, 28, 0.05);
}
.clipstrip-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.clipstrip-session {
  height: 14px;
  border-radius: 7px;
  background:
    repeating-linear-gradient(90deg,
      var(--green) 0 6px,
      rgba(28, 59, 42, 0.55) 6px 12px);
  margin-bottom: 30px;
  position: relative;
}
.clipstrip-session::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 16px;
  background: var(--line);
}
.clipstrip-clips {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.clip {
  border-radius: 8px;
  background: var(--green);
  color: var(--cream);
  padding: 10px 8px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  transition: transform 0.15s ease, background 0.15s ease;
}
.clip:hover { transform: translateY(-3px); background: var(--green-deep); }
.clip .bar {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--butter);
  margin-bottom: 7px;
}
.clip:nth-child(2) .bar { width: 72%; }
.clip:nth-child(3) .bar { width: 88%; }
.clip:nth-child(4) .bar { width: 60%; }
.clip:nth-child(5) .bar { width: 94%; }
.clip:nth-child(6) .bar { width: 78%; }

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.feature h3 { margin-bottom: 8px; }
.feature h3::before {
  content: "";
  display: block;
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: var(--butter);
  margin-bottom: 16px;
}
.feature p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- Contact band ---------- */
.band {
  background: var(--green);
  color: var(--cream);
}
.band .section-head p { color: var(--cream-dim); }
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--butter);
  border-radius: 999px;
  padding: 14px 28px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* ---------- Prose pages (support / legal) ---------- */
.page-head {
  background: var(--green);
  color: var(--cream);
  padding: clamp(52px, 8vw, 88px) 0;
}
.page-head .lede { color: var(--cream-dim); margin-top: 14px; }
.prose { max-width: 720px; padding: clamp(48px, 7vw, 80px) var(--pad-x); margin: 0 auto; }
.prose h2 { font-size: 32px; margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink); }
.prose li { margin-bottom: 6px; }
.prose .updated {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.prose a { color: var(--green); text-decoration-color: var(--butter); text-decoration-thickness: 2px; }

.contact-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 28px;
  margin: 34px 0;
}
.contact-card .email {
  font-family: var(--font-mono);
  font-size: clamp(17px, 2.6vw, 22px);
  font-weight: 500;
  color: var(--green);
  text-decoration-color: var(--butter);
  text-decoration-thickness: 2px;
  word-break: break-all;
}
.contact-card p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-deep);
  color: var(--cream-dim);
  padding: 44px 0 52px;
  font-size: 14px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: baseline;
  justify-content: space-between;
}
.footer-legal { margin: 0; }
.footer-legal strong {
  color: var(--cream);
  font-weight: 600;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--butter); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .features { grid-template-columns: 1fr; gap: 34px; }
  .clipstrip-clips { grid-template-columns: repeat(3, 1fr); }
  .clip:nth-child(n+4) { display: none; }
  .site-nav { gap: 18px; }
}
