/* =========================================================
   Haumschild for Hawaiʻi House District 51 — site styles
   Brand: navy #162a4a / green #536f3c / cream #f7f6f1
   ========================================================= */

:root{
  --navy:#162a4a;
  --navy-dark:#0d192e;
  --green:#536f3c;
  --green-light:#7c9a5a;
  --cream:#f7f6f1;
  --cream-dark:#ece7d8;
  --white:#ffffff;
  --ink:#202b3d;
  --ink-soft:#4a5468;
  --max:1120px;
  --radius:14px;
  --shadow:0 18px 40px -18px rgba(13,25,46,0.35);
  --font-display:"Oswald", "Arial Narrow", sans-serif;
  --font-body:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;}
.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;
}
.container{
  width:100%;
  max-width:var(--max);
  margin:0 auto;
  padding:0 24px;
}
section{padding:88px 0;}
h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--navy);
  margin:0 0 .5em;
  line-height:1.1;
  letter-spacing:.01em;
}
h2.section-title{
  font-size:clamp(28px,4vw,42px);
  text-transform:uppercase;
  letter-spacing:.02em;
}
.eyebrow{
  display:inline-block;
  font-family:var(--font-display);
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:13px;
  color:var(--green);
  margin-bottom:14px;
}
.section-head{
  max-width:760px;
  margin:0 auto 48px;
  text-align:center;
}
.section-head p{
  color:var(--ink-soft);
  font-size:17px;
  margin:0;
}
.lede{
  font-size:19px;
  color:var(--ink-soft);
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-display);
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-size:14px;
  padding:14px 28px;
  border-radius:999px;
  text-decoration:none;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{
  background:var(--green);
  color:var(--white);
  box-shadow:0 10px 24px -8px rgba(83,111,60,.55);
}
.btn-primary:hover{background:#465f33;}
.btn-outline{
  border-color:rgba(247,246,241,.55);
  color:var(--white);
}
.btn-outline:hover{background:rgba(247,246,241,.12);}
.btn-outline.dark{
  border-color:var(--navy);
  color:var(--navy);
}
.btn-outline.dark:hover{background:rgba(22,42,74,.08);}

/* ---------- emblem (bird + sunrise) ---------- */
.emblem{display:block;}
.emblem .bird{fill:var(--navy);}
.emblem .disc{fill:var(--navy);}
.emblem .rays{stroke:var(--green);}
.emblem.on-dark .bird,.emblem.on-dark .disc{fill:var(--cream);}
.emblem.on-dark .rays{stroke:var(--green-light);}

/* ---------- header ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(247,246,241,.92);
  backdrop-filter:saturate(160%) blur(8px);
  border-bottom:1px solid rgba(22,42,74,.08);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:14px;
  padding-bottom:14px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.brand .emblem{width:34px;height:31px;}
.brand-word{
  font-family:var(--font-display);
  font-weight:700;
  font-size:21px;
  letter-spacing:.01em;
  color:var(--navy);
  text-transform:uppercase;
}
.brand-word small{
  display:block;
  font-family:var(--font-body);
  font-weight:600;
  text-transform:none;
  letter-spacing:.02em;
  font-size:11px;
  color:var(--green);
  margin-top:1px;
}
.main-nav{
  display:flex;
  align-items:center;
  gap:34px;
}
.main-nav ul{
  display:flex;
  gap:28px;
  list-style:none;
  margin:0;
  padding:0;
}
.main-nav a{
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  letter-spacing:.02em;
  color:var(--navy);
  position:relative;
  padding:4px 0;
}
.main-nav a::after{
  content:"";
  position:absolute;
  left:0;bottom:-2px;
  width:0;height:2px;
  background:var(--green);
  transition:width .2s ease;
}
.main-nav a:hover::after{width:100%;}
.nav-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:6px;
}
.nav-toggle span{
  display:block;
  width:24px;height:2px;
  background:var(--navy);
  margin:5px 0;
  transition:.2s;
}

/* ---------- hero ---------- */
.hero{
  position:relative;
  padding:0;
  color:var(--white);
  overflow:hidden;
}
.hero-media{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center 8%;
}
.hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(13,25,46,.78) 0%, rgba(13,25,46,.62) 45%, rgba(13,25,46,.92) 100%);
}
.hero-inner{
  position:relative;
  padding:120px 0 100px;
  text-align:center;
}
.hero .emblem{
  width:88px;height:80px;
  margin:0 auto 22px;
}
.hero h1{
  color:var(--white);
  font-size:clamp(46px,9vw,92px);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.01em;
  margin-bottom:6px;
}
.hero .tagline{
  font-family:var(--font-display);
  font-weight:600;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--green-light);
  font-size:clamp(13px,1.6vw,16px);
  margin-bottom:18px;
}
.hero .district{
  font-size:18px;
  color:rgba(247,246,241,.92);
  margin-bottom:36px;
}
.hero .district strong{color:var(--white);}
.hero blockquote{
  max-width:680px;
  margin:0 auto 34px;
  font-size:clamp(18px,2.4vw,23px);
  font-style:italic;
  color:var(--white);
  border-left:3px solid var(--green-light);
  padding-left:20px;
  text-align:left;
}
.hero blockquote footer{
  margin-top:10px;
  font-style:normal;
  font-family:var(--font-display);
  letter-spacing:.05em;
  font-size:13px;
  color:var(--green-light);
  text-transform:uppercase;
}
.hero-cta{
  display:flex;
  gap:16px;
  justify-content:center;
  flex-wrap:wrap;
}

/* ---------- wave divider ---------- */
.wave{
  display:block;
  width:100%;
  height:54px;
  margin:0;
  background:var(--navy); /* matches the section above, so the cream path looks like it cuts into it */
}
.wave path{fill:var(--cream);}
.wave-navy{background:var(--navy);} /* matches the closing section above */
.wave-navy path{fill:var(--navy-dark);} /* matches the footer below */

/* ---------- ask yourself ---------- */
.ask{
  background:var(--cream);
}
.ask-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px 40px;
  max-width:880px;
  margin:0 auto;
}
.ask-grid li{
  list-style:none;
  display:flex;
  gap:12px;
  font-size:17px;
  color:var(--ink);
  align-items:flex-start;
}
.ask-grid li::before{
  content:"";
  flex:0 0 8px;
  width:8px;height:8px;
  border-radius:50%;
  background:var(--green);
  margin-top:9px;
}

/* ---------- why steve ---------- */
.why{
  background:var(--white);
}
.why-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}
.why-photo{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}
.why-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  aspect-ratio:4/5;
}
.credentials{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.credentials li{
  display:flex;
  gap:14px;
  align-items:flex-start;
  font-size:16px;
}
.credentials li .dot{
  flex:0 0 26px;
  height:26px;width:26px;
  border-radius:50%;
  background:var(--cream-dark);
  color:var(--green);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:13px;
  margin-top:1px;
}
.belief{
  margin-top:32px;
  padding:22px 24px;
  background:var(--cream);
  border-left:4px solid var(--green);
  border-radius:0 10px 10px 0;
  font-family:var(--font-display);
  font-size:18px;
  color:var(--navy);
  font-weight:500;
}

/* ---------- difference ---------- */
.difference{
  background:var(--navy);
  color:var(--cream);
}
.difference h2{color:var(--white);}
.difference .section-head p{color:rgba(247,246,241,.78);}
.diff-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.diff-card{
  background:rgba(247,246,241,.06);
  border:1px solid rgba(247,246,241,.16);
  border-radius:var(--radius);
  padding:28px 26px;
  font-size:16px;
}
.diff-card p{margin:0;}

/* ---------- priorities ---------- */
.priorities{background:var(--cream);}
.priority-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}
.priority-card{
  background:var(--white);
  border-radius:var(--radius);
  padding:30px 26px 28px;
  box-shadow:0 10px 30px -16px rgba(22,42,74,.25);
  display:flex;
  flex-direction:column;
}
.priority-num{
  font-family:var(--font-display);
  font-size:13px;
  font-weight:700;
  letter-spacing:.12em;
  color:var(--green);
  margin-bottom:10px;
}
.priority-card h3{
  font-size:19px;
  text-transform:none;
  margin-bottom:14px;
}
.priority-card ul{
  margin:0 0 16px;
  padding:0 0 0 18px;
  font-size:14.5px;
  color:var(--ink-soft);
  flex:1;
}
.priority-card ul li{margin-bottom:8px;}
.priority-why{
  font-size:14px;
  font-style:italic;
  color:var(--navy);
  border-top:1px solid var(--cream-dark);
  padding-top:14px;
  margin:0;
}
.priority-why b{font-style:normal;color:var(--green);}

/* ---------- family ---------- */
.family{background:var(--white);}
.family-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:56px;
  align-items:flex-start;
}
.family-text p{font-size:16px;color:var(--ink-soft);}
.family-photos{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.family-photos img{
  border-radius:10px;
  object-fit:cover;
  width:100%;
  height:100%;
  aspect-ratio:1/1;
  box-shadow:var(--shadow);
}
.family-photos .tall{
  grid-row:span 2;
  aspect-ratio:auto;
}
.waterman-strip{
  margin-top:48px;
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:40px;
  align-items:center;
  background:var(--cream);
  border-radius:var(--radius);
  padding:32px;
}
.waterman-strip img{
  border-radius:10px;
  width:100%;
  object-fit:cover;
  aspect-ratio:3/4;
  box-shadow:var(--shadow);
}
.waterman-strip h3{margin-bottom:10px;}
.waterman-strip p{color:var(--ink-soft);font-size:15.5px;}

/* ---------- closing ---------- */
.closing{
  background:var(--navy);
  color:var(--cream);
  text-align:center;
}
.closing .emblem{margin:0 auto 24px;width:64px;height:58px;}
.closing h2{
  color:var(--white);
  font-size:clamp(26px,4vw,36px);
  max-width:760px;
  margin:0 auto 22px;
}
.closing p{
  max-width:680px;
  margin:0 auto 18px;
  color:rgba(247,246,241,.85);
  font-size:17px;
}
.closing .talk-story{
  font-family:var(--font-display);
  color:var(--white);
  font-size:22px;
  margin:32px 0 26px;
}
.closing .hero-cta{margin-top:10px;}

/* ---------- footer ---------- */
.site-footer{
  background:var(--navy-dark);
  color:rgba(247,246,241,.72);
  padding:48px 0 28px;
  font-size:14px;
}
.footer-grid{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:32px;
  flex-wrap:wrap;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.footer-brand .emblem{width:30px;height:27px;}
.footer-brand strong{
  font-family:var(--font-display);
  color:var(--white);
  text-transform:uppercase;
  font-size:17px;
}
.footer-contact a{
  color:var(--white);
  text-decoration:none;
  font-weight:600;
  border-bottom:1px solid rgba(247,246,241,.4);
}
.footer-bottom{
  margin-top:30px;
  padding-top:20px;
  border-top:1px solid rgba(247,246,241,.14);
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  font-size:12.5px;
  color:rgba(247,246,241,.5);
}

/* ---------- reveal on scroll ---------- */
.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .6s ease, transform .6s ease;
}
.reveal.in{opacity:1;transform:none;}

/* ---------- responsive ---------- */
@media (max-width:980px){
  .why-grid,.family-grid{grid-template-columns:1fr;}
  .why-photo{order:-1;max-width:420px;margin:0 auto 8px;}
  .diff-grid{grid-template-columns:1fr 1fr;}
  .priority-grid{grid-template-columns:1fr 1fr;}
  .waterman-strip{grid-template-columns:1fr;}
  .waterman-strip img{max-width:280px;margin:0 auto;}
}
@media (max-width:760px){
  section{padding:64px 0;}
  .main-nav ul{
    position:absolute;
    top:100%;left:0;right:0;
    flex-direction:column;
    background:var(--cream);
    border-bottom:1px solid rgba(22,42,74,.1);
    padding:18px 24px 22px;
    gap:16px;
    display:none;
  }
  .main-nav.open ul{display:flex;}
  .main-nav .btn{display:none;}
  .main-nav.open .btn{
    display:inline-flex;
    margin:6px 24px 18px;
  }
  .nav-toggle{display:block;}
  .ask-grid{grid-template-columns:1fr;}
  .diff-grid{grid-template-columns:1fr;}
  .priority-grid{grid-template-columns:1fr;}
  .family-photos{grid-template-columns:1fr 1fr;}
  .hero-inner{padding:100px 0 70px;}
}
