/* =========================================================================
   Monopower Holdings — base: tokens, reset, typography, buttons, layout helpers
   Values mirror design-source/*.dc.html (HANDOFF.md §3).
   ========================================================================= */
:root {
  --forest-900: #08241A;
  --forest-800: #0C3324;
  --green-600: #17703A;
  --navy-900: #071C2A;
  --brass-300: #D9C08F;
  --brass-500: #A8864E;
  --brass-600: #8A6B3A;
  --brass-700: #6A5531;
  --ink: #13201A;
  --ink-2: #33413A;
  --muted: #4E5B54;
  --muted-2: #6B756F;
  --paper: #FBFAF6;
  --sand: #F3F0E7;
  --line: #E4DFD2;
  --line-2: #ECE8DD;
  --line-3: #D9D3C3;
  --mint-50: #F2F7F3;
  --mint-200: #D6E5DA;
  --cream: #F7F2E8;
  --cream-line: #E8DCC4;
  --focus: #C9A96E;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Be Vietnam Pro', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--green-600); }
a:hover { color: var(--forest-800); }
button { font-family: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul.plain, ol.plain { margin: 0; padding: 0; list-style: none; }
:target { scroll-margin-top: 90px; }

button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 12px 18px; background: var(--paper); color: var(--forest-800);
  border-radius: 999px; font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-top: var(--pt, 130px); padding-bottom: var(--pb, var(--pt, 130px)); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 300px), 100%), 1fr));
  gap: var(--gap, 28px);
}
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap, 14px); }
.stack { display: flex; flex-direction: column; gap: var(--gap, 26px); }
.row-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--gap, 32px); }
.align-start { align-items: start; }
.align-center { align-items: center; }
.align-end { align-items: end; }
.mw-760 { max-width: 760px; }
.mw-720 { max-width: 720px; }
.bg-sand { background: var(--sand); }
.bg-white { background: #FFFFFF; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.bg-green { background: var(--green-600); color: #FFFFFF; }
.dark { position: relative; background: var(--forest-800); color: #FFFFFF; overflow: hidden; }
.dark.navy { background: var(--navy-900); }
.dark > .container { position: relative; }
.bg-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; mix-blend-mode: luminosity; }

/* ---------- Typography ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  color: var(--green-600); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; font-weight: 600;
}
.eyebrow__line { display: block; flex: none; width: 40px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--brass-300); font-weight: 500; }
.serif { font-family: var(--serif); }
.h1 {
  font-family: var(--serif); font-weight: 500; color: #FFFFFF;
  font-size: clamp(44px, 5.6vw, 80px); line-height: 1.04; white-space: pre-line;
}
.h2 {
  font-family: var(--serif); font-weight: 500; color: var(--forest-800);
  font-size: clamp(38px, 4.4vw, 60px); line-height: 1.08;
}
.h2--page { font-size: clamp(36px, 4vw, 54px); line-height: 1.1; }
.h2--biz { font-size: clamp(38px, 4.4vw, 58px); }
.h2--sub { font-size: clamp(30px, 3vw, 42px); line-height: 1.1; }
.dark .h2, .bg-green .h2 { color: #FFFFFF; }
.pre-line { white-space: pre-line; }
.h3 { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.15; color: var(--forest-800); }
.h3--md { font-size: 26px; }
.h3--sm { font-size: 25px; line-height: 1.18; }
.dark .h3 { color: #FFFFFF; }
.body-text { font-size: 16px; line-height: 1.85; color: var(--ink-2); font-weight: 300; }
.muted-text { font-size: 15px; line-height: 1.75; color: var(--muted); font-weight: 300; }
.small-muted { font-size: 13px; line-height: 1.5; color: var(--muted); }
.tag-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-600); }
.tag-label--dark { color: var(--brass-700); }
.dark .tag-label, .tag-label--light { color: var(--brass-300); }
.kicker { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-700); }
.dark .kicker { color: var(--brass-300); }
.num-big { font-family: var(--serif); font-weight: 500; line-height: 1; color: var(--green-600); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px; border: 1px solid transparent; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: .03em; text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn svg { flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--white { background: #FFFFFF; color: var(--forest-800); }
.btn--white.on-navy { color: var(--navy-900); }
.btn--white:hover, .btn--primary:hover, .btn--outline:hover { background: var(--forest-800); color: #FFFFFF; border-color: var(--forest-800); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #FFFFFF; font-weight: 500; }
.btn--ghost:hover { background: #FFFFFF; color: var(--forest-800); border-color: #FFFFFF; }
.btn--outline { min-height: 52px; padding: 0 26px; border-color: var(--forest-800); color: var(--forest-800); font-weight: 500; }
.btn--primary { background: var(--green-600); color: #FFFFFF; letter-spacing: .04em; border: 0; }
.btn--primary[disabled] { opacity: .7; cursor: progress; }
.btn--small { min-height: 44px; padding: 0 22px; font-size: 13px; font-weight: 500; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--green-600); font-size: 14px; font-weight: 600; text-decoration: none;
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Chips ---------- */
.chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border: 1px solid var(--mint-200); border-radius: 999px; font-size: 12.5px; color: var(--green-600); background: var(--mint-50); }
.chip--plain { padding: 8px 16px; border-color: var(--line); background: transparent; color: var(--ink); font-size: 13px; }
.chip--paper { padding: 8px 16px; border-color: var(--line-3); background: var(--paper); color: var(--ink); font-size: 13px; }
.chip--white { padding: 8px 14px; border-color: var(--line); background: #FFFFFF; color: var(--ink); font-size: 13px; }
.chip--glass { padding: 8px 16px; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #FFFFFF; font-size: 13px; }

/* ---------- Media & hover zoom ---------- */
.media { overflow: hidden; background: #E9E6DC; }
.media > img { width: 100%; height: 100%; object-fit: cover; }
.zoom img { transition: transform .9s var(--ease); }
.zoom:hover img { transform: scale(1.04); }

/* ---------- Scroll reveal (only when JS is active; respects reduced motion) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity .8s ease; }
  .zoom img, .btn svg, .link-arrow svg { transition: none; }
}

@media (max-width: 640px) {
  .section { padding-top: calc(var(--pt, 130px) * .62); padding-bottom: calc(var(--pb, var(--pt, 130px)) * .62); }
}
