/* =========================================================
   THE DEW REVOLUTION — stylesheet
   Dairy juice · Poultry & livestock · Transportation
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,500;0,6..12,600;0,6..12,700;1,6..12,400&display=swap');

:root{
  /* --- Brand palette (drawn from The Dew Revolution mark) --- */
  --navy-950:#0b1730;
  --navy-900:#0f1e3d;
  --navy-800:#152a52;
  --navy-700:#1d3a6e;
  --sky-600:#1f95c4;
  --sky-500:#33ade0;
  --sky-400:#6cc8ec;
  --sky-100:#e7f6fc;
  --amber-600:#d9711f;
  --amber-500:#e8863b;
  --amber-100:#fdead9;
  --cream-50:#faf7ef;
  --cream-100:#f3ecdd;
  --ink-900:#1a1d24;
  --ink-600:#4a5163;
  --ink-400:#7b8296;
  --white:#ffffff;

  --font-display:'Fredoka', system-ui, sans-serif;
  --font-body:'Nunito Sans', system-ui, -apple-system, sans-serif;

  --max-w:1180px;
  --radius-s:10px;
  --radius-m:18px;
  --shadow-soft: 0 18px 40px -22px rgba(15,30,61,.35);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink-900);
  background:var(--cream-50);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--navy-900);
  line-height:1.15;
  margin:0 0 .5em;
  font-weight:600;
}
p{ margin:0 0 1em; color:var(--ink-600); }
.container{
  max-width:var(--max-w);
  margin-inline:auto;
  padding-inline:24px;
}
:focus-visible{
  outline:3px solid var(--sky-500);
  outline-offset:3px;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

/* ---------- eyebrow / section heading ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-display);
  font-size:.8rem;
  letter-spacing:.02em;
  color:var(--sky-600);
  margin-bottom:10px;
}
.eyebrow::before{
  content:"";
  width:8px; height:8px;
  border-radius:50%;
  background:var(--amber-500);
  flex:none;
}
.section-head{
  max-width:640px;
  margin-bottom:44px;
}
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head h2{ font-size:clamp(1.6rem,3vw,2.3rem); }
.section-head p{ font-size:1.05rem; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:.98rem;
  padding:13px 26px;
  border-radius:999px;
  border:2px solid transparent;
  cursor:pointer;
  white-space:nowrap;
  transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn svg{ flex:none; }
.btn:hover{ transform:translateY(-2px); }
.btn-primary{
  background:var(--sky-500);
  color:var(--navy-950);
  box-shadow:0 14px 28px -14px rgba(51,173,224,.7);
}
.btn-primary:hover{ background:var(--sky-400); }
.btn-outline{
  background:transparent;
  border-color:rgba(255,255,255,.55);
  color:var(--white);
}
.btn-outline:hover{ background:rgba(255,255,255,.12); }
.btn-dark{
  background:var(--navy-900);
  color:var(--white);
}
.btn-dark:hover{ background:var(--navy-800); }
.btn-amber{
  background:var(--amber-500);
  color:var(--white);
  box-shadow:0 14px 28px -14px rgba(232,134,59,.7);
}
.btn-amber:hover{ background:var(--amber-600); }
.btn[disabled]{ opacity:.55; cursor:not-allowed; transform:none; }

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(250,247,239,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(15,30,61,.08);
}
.nav-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-block:12px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand img{ height:48px; width:auto; }
.brand-text{
  font-family:var(--font-display);
  font-weight:700;
  color:var(--navy-900);
  font-size:1.05rem;
  line-height:1.1;
}
.brand-text span{
  display:block;
  font-family:var(--font-body);
  font-weight:600;
  font-size:.68rem;
  color:var(--sky-600);
  letter-spacing:.02em;
}
.main-nav ul{
  display:flex;
  align-items:center;
  gap:2px;
}
.main-nav a{
  display:block;
  padding:10px 16px;
  font-weight:600;
  font-size:.95rem;
  color:var(--ink-600);
  border-radius:999px;
  transition:background .15s ease, color .15s ease;
}
.main-nav a:hover{ color:var(--navy-900); background:var(--sky-100); }
.main-nav a.active{ color:var(--navy-900); background:var(--amber-100); }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{
  display:none;
  background:none; border:none; cursor:pointer;
  width:42px; height:42px;
  align-items:center; justify-content:center;
  border-radius:10px;
}
.nav-toggle:hover{ background:var(--sky-100); }
.nav-toggle svg{ width:24px; height:24px; color:var(--navy-900); }

@media (max-width:900px){
  .main-nav{
    position:fixed; inset:70px 16px auto 16px;
    background:var(--white);
    border-radius:var(--radius-m);
    box-shadow:var(--shadow-soft);
    padding:10px;
    transform:translateY(-14px);
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease, transform .2s ease;
  }
  .main-nav.open{ opacity:1; transform:translateY(0); pointer-events:auto; }
  .main-nav ul{ flex-direction:column; align-items:stretch; gap:4px; }
  .main-nav a{ padding:12px 16px; }
  .nav-toggle{ display:flex; }
  .nav-cta .btn-primary{ display:none; }
}

/* ---------- hero ---------- */
.hero{
  position:relative;
  background:radial-gradient(120% 140% at 82% -10%, var(--navy-700) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color:var(--white);
  overflow:hidden;
  padding-top:64px;
}
.dew-dots{ position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.dew-dots i{
  position:absolute;
  border-radius:50%;
  background:rgba(255,255,255,.55);
}
.hero .dew-dots i:nth-child(1){ width:10px; height:10px; top:14%; left:12%; }
.hero .dew-dots i:nth-child(2){ width:6px; height:6px; top:30%; left:22%; opacity:.6;}
.hero .dew-dots i:nth-child(3){ width:14px; height:14px; top:10%; left:46%; background:rgba(108,200,236,.7);}
.hero .dew-dots i:nth-child(4){ width:7px; height:7px; top:22%; left:66%; }
.hero .dew-dots i:nth-child(5){ width:9px; height:9px; top:8%; left:82%; opacity:.5;}
.hero .dew-dots i:nth-child(6){ width:5px; height:5px; top:40%; left:90%; }

.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:48px;
  align-items:center;
  padding-block:76px 110px;
}
.hero h1{
  color:var(--white);
  font-size:clamp(2.2rem,4.4vw,3.4rem);
  margin-bottom:.35em;
}
.hero h1 .accent{ color:var(--sky-400); }
.hero p.lead{
  color:rgba(255,255,255,.82);
  font-size:1.12rem;
  max-width:46ch;
}
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-top:8px; }
.hero-art{
  position:relative;
  justify-self:center;
}
.badge-frame{
  --bf-border:var(--white);
  position:relative;
  border-radius:44% 56% 48% 52% / 58% 52% 48% 42%;
  overflow:hidden;
  border:6px solid var(--bf-border);
  box-shadow:var(--shadow-soft);
  background:var(--sky-100);
}
.badge-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%; /* Shifts the image down so the face is centered and fully visible */
  display: block;
}
.hero-art .badge-frame{ width:min(340px,70vw); aspect-ratio:3/4; }
.hero-art .badge-frame img{ width:100%; height:100%; object-fit:cover; }
.hero-art .float-chip{
  position:absolute;
  background:var(--white);
  color:var(--navy-900);
  padding:12px 16px;
  border-radius:var(--radius-m);
  box-shadow:var(--shadow-soft);
  font-family:var(--font-display);
  font-size:.85rem;
  display:flex; align-items:center; gap:10px;
}
.hero-art .float-chip svg{ width:22px; height:22px; color:var(--amber-500); flex:none; }
.hero-art .chip-a{ top:-14px; right:-10px; }
.hero-art .chip-b{ bottom:-16px; left:-18px; }

.wave-divider{ display:block; width:100%; line-height:0; margin-top:-2px; }
.wave-divider svg{ width:100%; height:64px; display:block; }

/* ---------- page banner (inner pages) ---------- */
.page-banner{
  position:relative;
  background:radial-gradient(120% 160% at 15% 0%, var(--navy-700) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color:var(--white);
  padding-top:64px;
}
.page-banner-inner{ padding-block:66px 92px; position:relative; }
.page-banner .eyebrow{ color:var(--sky-400); }
.page-banner .eyebrow::before{ background:var(--sky-400); }
.page-banner h1{ color:var(--white); font-size:clamp(2rem,4vw,2.9rem); max-width:20ch; }
.page-banner p{ color:rgba(255,255,255,.8); max-width:56ch; font-size:1.05rem; }
.breadcrumb{ font-size:.85rem; color:rgba(255,255,255,.6); margin-bottom:14px; }
.breadcrumb a:hover{ color:var(--white); }

/* ---------- generic sections ---------- */
section{ padding-block:80px; }
.section-alt{ background:var(--cream-100); }
.section-navy{ background:var(--navy-900); color:var(--white); }
.section-navy h2, .section-navy .section-head p{ color:var(--white); }
.section-navy .section-head p{ color:rgba(255,255,255,.75); }

/* pillars (home) */
.pillars{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.pillar-card{
  background:var(--white);
  border-radius:var(--radius-m);
  padding:30px 26px;
  border:1px solid rgba(15,30,61,.07);
  transition:transform .2s ease, box-shadow .2s ease;
}
.pillar-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-soft); }
.icon-badge{
  width:56px; height:56px;
  border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.icon-badge svg{ width:28px; height:28px; }
.icon-badge.sky{ background:var(--sky-100); color:var(--sky-600); }
.icon-badge.amber{ background:var(--amber-100); color:var(--amber-600); }
.icon-badge.navy{ background:var(--navy-900); color:var(--sky-400); }
.pillar-card h3{ font-size:1.2rem; margin-bottom:.4em; }
.pillar-card p{ font-size:.96rem; margin-bottom:0; }

/* two column split */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}
.split.reverse .split-media{ order:2; }
.split-media .badge-frame{ width:100%; aspect-ratio:4/3.1; }
.split-media .badge-frame img{ object-fit:cover; width:100%; height:100%; }

/* about / mission cards */
.mvo-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.mvo-card{
  background:var(--white);
  border-radius:var(--radius-m);
  padding:32px 26px;
  border-top:4px solid var(--sky-500);
  box-shadow:0 20px 40px -30px rgba(15,30,61,.4);
}
.mvo-card:nth-child(2){ border-top-color:var(--amber-500); }
.mvo-card:nth-child(3){ border-top-color:var(--navy-700); }
.mvo-card h3{ font-size:1.15rem; }
.mvo-card p{ font-size:.95rem; margin-bottom:0; }

/* founder */
.founder-wrap{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:52px;
  align-items:start;
}
.founder-photo .badge-frame{ width:100%; max-width:340px; aspect-ratio:3/4; margin-inline:auto; }
.founder-photo .badge-frame img{ object-fit:cover; width:100%; height:100%; }
.founder-name-tag{
  text-align:center; margin-top:18px;
}
.founder-name-tag strong{ display:block; font-family:var(--font-display); color:var(--navy-900); font-size:1.15rem; }
.founder-name-tag span{ color:var(--sky-600); font-weight:600; font-size:.9rem; }

.editable{
  position:relative;
  background:var(--sky-100);
  border:1.5px dashed var(--sky-500);
  border-radius:var(--radius-s);
  padding:18px 20px;
  color:var(--navy-800);
  font-size:.95rem;
}
.editable::before{
  content:"EDIT ME";
  position:absolute; top:-11px; left:16px;
  background:var(--sky-500);
  color:var(--navy-950);
  font-family:var(--font-display);
  font-size:.65rem;
  letter-spacing:.06em;
  padding:2px 10px;
  border-radius:999px;
}
.editable p:last-child{ margin-bottom:0; }
.editable + .editable{ margin-top:14px; }

/* production / livestock cards */
.animal-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
}
.animal-card{
  background:var(--white);
  border-radius:var(--radius-m);
  padding:24px 18px;
  text-align:center;
  border:1px solid rgba(15,30,61,.07);
}
.animal-card .icon-badge{ margin-inline:auto; background:var(--cream-100); color:var(--navy-800); }
.animal-card h4{ font-size:1rem; margin-bottom:.35em; }
.animal-card p{ font-size:.88rem; margin-bottom:0; }

.product-shots{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
}
.product-shots .badge-frame{ aspect-ratio:4/5; }
.product-shots .badge-frame img{ width:100%; height:100%; object-fit:cover; }

.divider-line{
  border:none; border-top:1px solid rgba(15,30,61,.1);
  margin:64px 0;
}

/* people */
.team-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.team-card{
  background:var(--white);
  border-radius:var(--radius-m);
  overflow:hidden;
  border:1px solid rgba(15,30,61,.07);
}
.team-photo{
  aspect-ratio:1/1;
  background:var(--sky-100);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.team-photo img{ width:100%; height:100%; object-fit:cover; }
.team-photo.placeholder svg{ width:46px; height:46px; color:var(--sky-400); }
.team-info{ padding:18px 18px 22px; }
.team-info h4{ font-size:1.02rem; margin-bottom:.15em; }
.team-info span{ color:var(--sky-600); font-weight:600; font-size:.85rem; }
.team-info p{ font-size:.85rem; margin:.5em 0 0; }

/* events */
.event-card{
  display:grid;
  grid-template-columns:110px 1fr auto;
  gap:22px;
  align-items:center;
  background:var(--white);
  border:1px solid rgba(15,30,61,.07);
  border-radius:var(--radius-m);
  padding:20px 22px;
  margin-bottom:16px;
}
.event-date{
  background:var(--navy-900);
  color:var(--white);
  border-radius:var(--radius-s);
  text-align:center;
  padding:12px 8px;
  font-family:var(--font-display);
}
.event-date .day{ font-size:1.5rem; line-height:1; display:block; color:var(--sky-400); }
.event-date .mon{ font-size:.72rem; letter-spacing:.05em; opacity:.8; }
.event-card h4{ font-size:1.08rem; margin-bottom:.25em; }
.event-card p{ margin-bottom:0; font-size:.92rem; }
.event-meta{ font-size:.82rem; color:var(--ink-400); display:flex; gap:14px; margin-top:6px; flex-wrap:wrap;}
.event-meta span{ display:inline-flex; align-items:center; gap:6px; }
.event-meta svg{ width:15px; height:15px; }

@media (max-width:700px){
  .event-card{ grid-template-columns:70px 1fr; }
  .event-card .btn{ grid-column:1 / -1; justify-self:start; }
}

/* careers */
.perk-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.perk-card{
  text-align:center;
  padding:22px 16px;
}
.perk-card .icon-badge{ margin-inline:auto; }
.perk-card h4{ font-size:.98rem; }
.perk-card p{ font-size:.86rem; margin-bottom:0; }

.job-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  background:var(--white);
  border:1px solid rgba(15,30,61,.07);
  border-radius:var(--radius-m);
  padding:24px 26px;
  margin-bottom:16px;
  flex-wrap:wrap;
}
.job-card h4{ font-size:1.08rem; margin-bottom:.3em; }
.job-tags{ display:flex; gap:10px; flex-wrap:wrap; }
.job-tags span{
  font-size:.78rem;
  font-weight:600;
  color:var(--navy-800);
  background:var(--cream-100);
  padding:5px 12px;
  border-radius:999px;
}

/* contact */
.contact-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:52px;
}
.contact-card{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding:20px 0;
  border-bottom:1px solid rgba(15,30,61,.08);
}
.contact-card:last-child{ border-bottom:none; }
.contact-card .icon-badge{ flex:none; }
.contact-card h4{ font-size:1rem; margin-bottom:.2em; }
.contact-card p{ margin-bottom:0; font-size:.94rem; }
.social-row{ display:flex; gap:12px; margin-top:24px; }
.social-btn{
  width:44px; height:44px;
  border-radius:50%;
  background:var(--navy-900);
  color:var(--white);
  display:flex; align-items:center; justify-content:center;
  transition:background .15s ease, transform .15s ease;
}
.social-btn:hover{ background:var(--sky-500); color:var(--navy-950); transform:translateY(-2px); }
.social-btn svg{ width:19px; height:19px; }

.form-card{
  background:var(--white);
  border-radius:var(--radius-m);
  padding:36px;
  box-shadow:var(--shadow-soft);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
.field{ display:flex; flex-direction:column; gap:6px; }
.field.full{ grid-column:1 / -1; }
.field label{ font-size:.85rem; font-weight:700; color:var(--navy-900); }
.field input, .field textarea{
  border:1.5px solid rgba(15,30,61,.15);
  border-radius:var(--radius-s);
  padding:12px 14px;
  font-family:var(--font-body);
  font-size:.96rem;
  background:var(--cream-50);
  resize:vertical;
}
.field input:focus, .field textarea:focus{
  outline:none; border-color:var(--sky-500); background:var(--white);
}
.map-box{
  margin-top:32px;
  border-radius:var(--radius-m);
  background:var(--navy-900);
  color:rgba(255,255,255,.7);
  aspect-ratio:16/7;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:10px;
  text-align:center;
  padding:20px;
}
.map-box svg{ width:34px; height:34px; color:var(--sky-400); }
.map-box strong{ color:var(--white); }

/* CTA band */
.cta-band{
  background:linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color:var(--white);
  border-radius:var(--radius-m);
  padding:48px 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
}
.cta-band h3{ color:var(--white); font-size:1.5rem; margin-bottom:.25em; }
.cta-band p{ color:rgba(255,255,255,.78); margin-bottom:0; }

/* footer */
.site-footer{
  background:var(--navy-950);
  color:rgba(255,255,255,.72);
  padding-block:64px 28px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr .8fr .8fr 1fr;
  gap:40px;
}
.footer-brand-chip{
  background:var(--white);
  display:inline-flex;
  padding:8px 14px;
  border-radius:14px;
  margin-bottom:16px;
}
.footer-brand-chip img{ height:38px; }
.site-footer p{ color:rgba(255,255,255,.6); font-size:.92rem; }
.footer-col h5{
  font-family:var(--font-display);
  color:var(--white);
  font-size:.92rem;
  margin-bottom:16px;
  letter-spacing:.01em;
}
.footer-col ul li{ margin-bottom:10px; }
.footer-col a{ font-size:.92rem; color:rgba(255,255,255,.68); transition:color .15s ease; }
.footer-col a:hover{ color:var(--sky-400); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  margin-top:48px;
  padding-top:22px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  font-size:.85rem;
}
.footer-bottom .social-row{ margin-top:0; }
.footer-bottom .social-btn{ width:38px; height:38px; background:rgba(255,255,255,.08); }
.footer-bottom .social-btn:hover{ background:var(--sky-500); }
.footer-bottom .social-btn svg{ width:16px; height:16px; }

/* ---------- responsive ---------- */
@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; padding-block:48px 90px; }
  .hero-art{ order:-1; }
  .pillars{ grid-template-columns:1fr 1fr; }
  .split{ grid-template-columns:1fr; }
  .split.reverse .split-media{ order:0; }
  .founder-wrap{ grid-template-columns:1fr; }
  .mvo-grid{ grid-template-columns:1fr; }
  .animal-grid{ grid-template-columns:repeat(3,1fr); }
  .team-grid{ grid-template-columns:1fr 1fr; }
  .perk-grid{ grid-template-columns:1fr 1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  section{ padding-block:56px; }
  .pillars{ grid-template-columns:1fr; }
  .animal-grid{ grid-template-columns:1fr 1fr; }
  .team-grid{ grid-template-columns:1fr; }
  .perk-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .event-card{ grid-template-columns:1fr; text-align:left; }
  .event-date{ width:64px; }
  .cta-band{ flex-direction:column; align-items:flex-start; }
}
