/* =========================================================================
   Jacky Maan — campaign site · shared stylesheet
   Palette: mint / sage / cream-yellow + deep teal anchor
   ⚠ HEADLINE FONT is a temporary system bold-sans placeholder.
     Swap --display when the preferred font arrives.
   ========================================================================= */

:root{
  /* brand */
  --cream:  #FDFCEA;   /* text over dark / video */
  --mint:   #A7EFF1;
  --sage:   #9FC7AA;
  /* anchors (added — needed for text on light) */
  --ink:    #10302B;   /* deep teal-green, primary text on light */
  --ink-2:  #0A211D;   /* darker band / footer */
  --paper:  #FBFAEF;   /* page ground, a hair off the cream text */
  --accent-ink: #2C6E4E; /* readable sage-green for labels/links on light */
  --line:   rgba(16,48,43,0.14);

  --sans:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Headline = geometric / Futura family. Progressive stack:
     embedded Jost (Futura look-alike, added later) → real Futura (mac) →
     Century Gothic (win) → system sans. Swap freely if we license Futura for web. */
  --display: "Jost", "Futura", "Futura PT", "Century Gothic", var(--sans);

  --measure: 42rem;              /* reading width */
  --wide:    64rem;              /* nav / full-bleed content width */
  --pad: clamp(1.25rem, 5vw, 2rem);
}

*{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 0.6vw + 0.95rem, 1.125rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap{ width: 100%; max-width: var(--measure); margin-inline: auto; padding-inline: var(--pad); }
.wrap-wide{ width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: var(--pad); }
.section{ padding-block: clamp(2.75rem, 8vw, 4.75rem); }

.eyebrow{
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; color: var(--accent-ink); margin: 0 0 1.1rem;
}
h1,h2,h3{ font-family: var(--display); }
h2{ font-weight: 800; font-size: clamp(1.8rem, 5vw, 2.4rem); line-height: 1.06;
    letter-spacing: -0.02em; margin: 0 0 1.25rem; }
h3{ font-weight: 700; font-size: 1.2rem; margin: 0; }
p{ margin: 0 0 1.1rem; max-width: 38rem; }
p:last-child{ margin-bottom: 0; }
a{ color: var(--accent-ink); text-underline-offset: 3px; }
:focus-visible{ outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 2px; }

.btn{
  display: inline-block; background: var(--ink); color: var(--cream);
  font-family: var(--display); font-weight: 700; font-size: 1.02rem;
  padding: 0.9rem 1.5rem; border-radius: 999px; text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, filter 180ms ease;
}
.btn:hover{ background: var(--ink-2); }
.btn:active{ transform: translateY(1px); }
.btn--mint{ background: var(--mint); color: #06231f; }
.btn--mint:hover{ filter: brightness(1.05); background: var(--mint); }
.btn--cream{ background: var(--cream); color: var(--ink); }
.btn--cream:hover{ background: #fff; }
.btn .arw{ color: var(--accent-ink); margin-left: 0.4em; }
.btn--cream .arw{ color: var(--accent-ink); }

/* ---------------- NAV ---------------- */
.nav{ position: sticky; top: 0; z-index: 50;
      background: rgba(251,250,239,0.92); backdrop-filter: saturate(1.1) blur(8px);
      border-bottom: 1px solid var(--line); }
.nav-inner{ display: flex; align-items: center; justify-content: space-between;
            gap: 1rem; flex-wrap: wrap; padding-block: 0.7rem; }
.brand{ font-family: var(--display); font-weight: 800; font-size: 1.2rem;
        letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.nav-links{ display: flex; align-items: center; gap: clamp(0.85rem, 3.5vw, 1.6rem); }
.nav-links a{ color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.nav-links a[aria-current="page"]{ color: var(--accent-ink);
        text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.nav-cta{ background: var(--mint); color: #06231f !important; font-weight: 700;
          padding: 0.45rem 0.95rem; border-radius: 999px; }
.nav-cta[aria-current="page"]{ text-decoration: none; outline: 2px solid var(--accent-ink); outline-offset: 2px; }

/* ---------------- HOME HERO (video / sunset skyline) ---------------- */
.hero{
  position: relative; min-height: 80svh; display: flex; align-items: flex-end;
  overflow: hidden; color: var(--cream);
  /* real skyline poster — shows on mobile (video hidden) and as first-paint fallback */
  background: linear-gradient(180deg, rgba(8,22,28,0.12), rgba(8,22,28,0.55)),
              url("Media/web/hero-poster.jpg") center/cover no-repeat #0C2A34;
}
.hero-media{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-scrim{ position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(116deg, rgba(6,18,24,0.06) 0%, rgba(6,18,24,0.28) 40%, rgba(11,40,34,0.80) 70%, rgba(9,33,29,0.97) 100%),
    linear-gradient(0deg, rgba(6,18,24,0.70) 0%, rgba(6,18,24,0.12) 32%, transparent 52%); }
/* subtle brand diagonal accents woven into the scene (no hard box) */
.hero-accents{ position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 64%, rgba(167,239,241,0.16) 64% 65.6%, transparent 65.6%),
    linear-gradient(120deg, transparent 0 70%, rgba(159,199,170,0.18) 70% 72.4%, transparent 72.4%); }
.hero-stage{ position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-cutout{ position: absolute; right: 3.5%; bottom: 0; height: 92%; width: auto; max-width: 46%;
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,0.5)); }
.hero-copy{ position: relative; z-index: 3; width: 100%; max-width: none;
  padding: 0 40vw clamp(2.5rem, 6vw, 4rem) max(var(--pad), calc((100vw - var(--wide)) / 2)); }
@media (max-width: 899px){
  .hero{ min-height: 74svh; display: flex; align-items: flex-end; }
  .hero-accents{ display: none; }
  .hero-stage{ display: none; }   /* Jacky's photo removed on mobile; kept on desktop + rest of site */
  .hero-scrim{ background: linear-gradient(180deg, rgba(6,18,24,0.14) 0%, rgba(6,18,24,0.32) 42%, rgba(6,18,24,0.82) 100%); }
  .hero-copy{ padding: 0 var(--pad) clamp(2rem, 8vw, 3.25rem); }
}
.hero .eyebrow{ color: var(--mint); }
.hero h1{ font-family: var(--display); font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  line-height: 1.03; letter-spacing: -0.02em; margin: 0 0 1.5rem; max-width: none; white-space: nowrap; }
@media (max-width: 899px){ .hero h1{ white-space: normal; } }
.hero h1 .thin{ display: block; font-weight: 500; color: var(--mint); }
.hero .voteline{ margin: 1.3rem 0 0; font-size: 0.9rem; color: rgba(253,252,234,0.82); }
.hero .voteline b{ color: var(--cream); font-weight: 700; }
.ph-tag{ position: absolute; z-index: 3; top: 0.75rem; right: 0.75rem;
  font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream);
  background: rgba(10,33,29,0.55); padding: 0.3rem 0.55rem; border-radius: 999px;
  border: 1px solid rgba(253,252,234,0.25); }

/* ---------------- INNER PAGE HEADER (angular-block motif) ---------------- */
.page-head{ position: relative; overflow: hidden; background: var(--ink); color: var(--cream); }
.page-head::before{ content:""; position:absolute; z-index:0; inset:0;
  background:
    linear-gradient(115deg, transparent 55%, rgba(159,199,170,0.30) 55%, rgba(159,199,170,0.30) 72%, transparent 72%),
    linear-gradient(115deg, transparent 70%, rgba(167,239,241,0.28) 70%); }
.page-head .wrap{ position: relative; z-index: 1; padding-block: clamp(2.75rem, 9vw, 4.75rem); }
.page-head .eyebrow{ color: var(--mint); }
.page-head h1{ font-family: var(--display); font-weight: 800; font-size: clamp(2.1rem, 7vw, 3.4rem);
  line-height: 1.0; letter-spacing: -0.03em; margin: 0 0 0.6rem; max-width: 16ch; text-wrap: balance; }
.page-head .sub{ color: rgba(253,252,234,0.85); max-width: 36rem; margin: 0; }

/* ---------------- BANDS ---------------- */
.band{ background: var(--ink); color: var(--cream); }
.band .eyebrow{ color: var(--mint); }
.band p{ color: rgba(253,252,234,0.9); }
.band .lead{ font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem,3.6vw,1.65rem);
  line-height: 1.18; color: var(--cream); max-width: 26ch; }

/* photo frames */
.portrait{ aspect-ratio: 4/3; border-radius: 6px; border: 1px solid var(--line);
  background: #EEEBDD; display: flex; align-items: flex-end; }
.portrait span{ font-size: 0.8rem; color: var(--ink); opacity: 0.7; padding: 0.9rem 1rem; }
.band .portrait{ border-color: rgba(253,252,234,0.22); background: #16413A; }
.band .portrait span{ color: rgba(253,252,234,0.7); opacity: 1; }

/* pull quote (the "breathe out here" line) */
.quote{ position: relative; }
.quote blockquote{ margin: 0; font-family: var(--display); font-weight: 800;
  font-size: clamp(1.7rem, 5.5vw, 2.6rem); line-height: 1.08; letter-spacing: -0.02em;
  color: var(--ink); max-width: 18ch; }
.quote blockquote .soft{ display:block; font-weight: 500; font-size: 0.62em; letter-spacing: -0.01em;
  color: var(--accent-ink); margin-bottom: 0.4rem; }
.quote cite{ display: block; margin-top: 1.1rem; font-style: normal; font-weight: 700;
  color: var(--accent-ink); font-size: 0.95rem; letter-spacing: 0.02em; }

/* ---------------- PLANKS ---------------- */
.plank{ padding-block: 1.9rem; border-top: 1px solid var(--line); }
.plank:first-of-type{ border-top: 0; padding-top: 0; }
.plank .label{ font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: var(--accent-ink); margin: 0 0 0.5rem; }
.plank .pull{ font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 3.8vw, 1.7rem);
  line-height: 1.1; color: var(--ink); margin: 0 0 0.7rem; max-width: 22ch; letter-spacing: -0.01em; }
.plank .more{ display: inline-block; margin-top: 0.5rem; font-weight: 700; text-decoration: none; }
.plank .more:hover{ text-decoration: underline; }
.caution{ display: block; margin-top: 0.7rem; font-size: 0.9rem; color: var(--ink);
  background: var(--mint); border-radius: 4px; padding: 0.7rem 0.9rem; }

/* ---------------- DETAILS ---------------- */
details{ border-top: 1px solid var(--line); }
details:last-of-type{ border-bottom: 1px solid var(--line); }
summary{ list-style: none; cursor: pointer; padding: 1.15rem 0; font-family: var(--display);
  font-weight: 700; font-size: 1.12rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker{ display: none; }
summary .plus{ flex: none; width: 1.4rem; height: 1.4rem; position: relative; color: var(--accent-ink); }
summary .plus::before, summary .plus::after{ content:""; position:absolute; background: currentColor;
  top:50%; left:50%; transform: translate(-50%,-50%); }
summary .plus::before{ width: 1.4rem; height: 2px; }
summary .plus::after{ width: 2px; height: 1.4rem; transition: transform 200ms ease; }
details[open] summary .plus::after{ transform: translate(-50%,-50%) scaleY(0); }
.details-body{ padding: 0 0 1.4rem; color: var(--ink); }
.details-body ol{ margin: 0; padding-left: 1.3rem; }
.details-body li{ margin-bottom: 0.7rem; }
.details-body li::marker{ color: var(--accent-ink); font-weight: 700; }

/* ---------------- CONTACT FORM (deep-ink block) ---------------- */
.field{ background: var(--ink-2); color: var(--cream); }
.field .eyebrow{ color: var(--mint); }
.field .headline{ font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 5vw, 2.2rem);
  line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 1.8rem; max-width: 22ch; }
.field p{ color: rgba(253,252,234,0.85); }
form{ margin-top: 1.4rem; }
.field-row{ margin-bottom: 1.15rem; }
label{ display: block; font-size: 0.85rem; letter-spacing: 0.03em; font-weight: 700;
  color: var(--cream); margin-bottom: 0.4rem; }
input, textarea{ width: 100%; font-family: var(--sans); font-size: 1.05rem; color: var(--cream);
  background: #071916; border: 1px solid #234b43; border-radius: 4px; padding: 0.8rem 0.9rem; min-height: 3rem; }
textarea{ min-height: 7rem; resize: vertical; }
input::placeholder, textarea::placeholder{ color: #6f8a80; }
input:focus, textarea:focus{ border-color: var(--mint); outline: none; box-shadow: 0 0 0 2px var(--mint); }
.hp{ position: absolute; left: -9999px; }
.send{ background: var(--mint); color: #06231f; font-family: var(--display); font-weight: 800;
  font-size: 1.05rem; border: 0; border-radius: 999px; padding: 0.9rem 1.7rem; cursor: pointer;
  min-height: 3rem; transition: transform 180ms ease, filter 180ms ease; }
.send:hover{ filter: brightness(1.05); }
.send:active{ transform: translateY(1px); }
.callrow{ margin-top: 1.8rem; }
.callrow .num{ font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--cream); margin: 0 0 0.6rem; }
.contact-lines{ display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; margin: 0 0 0.7rem; }
.contact-lines a.tel{ font-family: var(--display); font-weight: 800; font-size: 1.5rem;
  color: var(--cream); text-decoration: none; letter-spacing: -0.01em; }
.wa{ display: inline-flex; align-items: center; gap: 0.45rem; background: #25D366; color: #05230f;
  font-weight: 700; font-size: 0.95rem; padding: 0.5rem 0.9rem; border-radius: 999px; text-decoration: none; }
.wa svg{ width: 18px; height: 18px; }
.callrow .email{ color: var(--mint); font-weight: 600; }
.reassure{ margin-top: 1.6rem; font-size: 0.9rem; color: rgba(253,252,234,0.75);
  border-top: 1px solid #234b43; padding-top: 1.1rem; }

/* ---------------- VOTE ---------------- */
.vote{ background: var(--sage); color: var(--ink); }
.vote .eyebrow{ color: var(--ink-2); }
.vote .big{ font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem,5vw,2.3rem);
  line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 0.6rem; }
.vote a{ color: var(--ink-2); }

/* ---------------- FOOTER ---------------- */
footer.site{ background: var(--ink-2); color: rgba(253,252,234,0.72); padding-block: 2.4rem;
  font-size: 0.85rem; line-height: 1.6; }
footer.site p{ max-width: none; margin-bottom: 0.4rem; }
footer.site a{ color: var(--cream); }
footer.site .auth{ color: var(--cream); }
footer.site .fnav{ margin-bottom: 1rem; display: flex; gap: 1.2rem; flex-wrap: wrap; }
footer.site .fnav a{ text-decoration: none; font-weight: 600; }
footer.site .fcontact{ margin-bottom: 1rem; font-weight: 600; }
footer.site .fcontact a{ text-decoration: none; }

/* ---------------- ABOUT SPLIT (photo beside text) ---------------- */
.about-split{ display: grid; grid-template-columns: 1fr; gap: 1.6rem; align-items: center; }
@media (min-width: 820px){ .about-split{ grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem; } }
.about-split.flip .about-media{ order: 2; }
.about-split .about-media{ margin: 0; }
.about-split .about-media img{ display: block; width: 100%; height: auto; border-radius: 8px; }
.about-split .about-media figcaption{ margin-top: 0.6rem; }
.about-text .lead{ font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.6rem);
  line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 1rem; max-width: 26ch; }

/* ---------------- PHOTOS ---------------- */
.photo{ display: block; width: 100%; height: auto; border-radius: 6px; margin-bottom: 1.6rem; }
.photo--portrait{ max-width: 23rem; }
.band .photo{ border: 1px solid rgba(253,252,234,0.18); }
figure{ margin: 0 0 1.6rem; }
figure .photo{ margin-bottom: 0.6rem; }
.cap{ font-size: 0.82rem; color: var(--accent-ink); margin: 0 0 1.6rem; }
.band .cap, figure.on-dark .cap{ color: rgba(253,252,234,0.72); }

/* ---------------- RESPONSIVE / MOTION ---------------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .hero-media{ display: none; }
  *{ animation: none !important; transition: none !important; }
}
