@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap");400;700;900&display=swap');

:root{
  --juniper:#0d4b39;
  --juniper-deep:#07392d;
  --ink:#173b31;
  --muted:rgba(31,54,47,.64);
  --paper:#f4f1e8;
  --line:rgba(255,255,255,.72);
  --glass:rgba(248,248,241,.28);
  --bg-image:url('assets/home.jpg');
}

*{box-sizing:border-box}
html,body{margin:0;min-width:320px;min-height:100%;}
body{
  font-family:"Lato",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:#e8e7df;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}

.page{
  position:relative;
  min-height:100svh;
  isolation:isolate;
  overflow:hidden;
  padding:0 clamp(28px,6vw,104px) 24px;
}
.page::before{
  content:"";
  position:fixed;
  z-index:-3;
  inset:-26px;
  background:
    linear-gradient(rgba(245,243,235,.10),rgba(245,243,235,.08)),
    var(--bg-image) center/cover no-repeat;
  filter:blur(10px) saturate(.82) brightness(1.02);
  transform:scale(1.04);
}
.page::after{
  content:"";
  position:fixed;
  z-index:-2;
  inset:0;
  background:
    radial-gradient(circle at 70% 0%,rgba(255,255,255,.38),transparent 30%),
    linear-gradient(180deg,rgba(248,247,242,.10),rgba(239,237,228,.08));
  pointer-events:none;
}

.topbar{
  width:min(1380px,100%);
  height:112px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:34px;
}
.brand{display:inline-flex;align-items:center;}
.brand img{
  display:block;
  width:auto;
  height:94px;
  max-width:165px;
  object-fit:contain;
  transform:translateY(8px) scale(1.12);
  transform-origin:left center;
}
.nav{
  display:flex;
  align-items:center;
  gap:clamp(28px,3.1vw,54px);
}
.nav a{
  position:relative;
  padding:10px 0 12px;
  font-size:15px;
  letter-spacing:-.02em;
  white-space:nowrap;
  color:rgba(18,48,39,.92);
}
.nav a::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:4px;
  height:1px;
  background:currentColor;
  transform:scaleX(0);
  transition:.2s ease;
  opacity:.72;
}
.nav a.active::after{transform:scaleX(1)}
.nav a:hover{opacity:.65}

main{width:min(1380px,100%);margin:0 auto;}

.glass{
  border:1px solid rgba(255,255,255,.76);
  background:
    linear-gradient(140deg,rgba(255,255,255,.37),rgba(255,255,255,.10)),
    rgba(241,242,235,.20);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    inset 1px 0 0 rgba(255,255,255,.36),
    0 24px 70px rgba(27,40,31,.13);
  -webkit-backdrop-filter:blur(24px) saturate(1.42);
  backdrop-filter:blur(24px) saturate(1.42);
}

/* HOME --------------------------------------------------- */
.home-main{height:calc(100svh - 136px);display:flex;align-items:center;}
.home-hero{
  position:relative;
  width:100%;
  height:min(72svh,720px);
  min-height:520px;
  overflow:hidden;
  border-radius:38px;
  box-shadow:0 30px 90px rgba(23,38,30,.17);
}
.home-hero img{width:100%;height:100%;object-fit:cover;display:block;}
.home-hero::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 42%,rgba(9,27,21,.58) 100%);
}
.home-copy{
  position:absolute;
  z-index:2;
  left:clamp(28px,4vw,58px);
  bottom:clamp(28px,4vw,54px);
  color:#fff;
  max-width:720px;
}
.home-copy h1{
  margin:0 0 9px;
  font-family:"Lato",sans-serif;
  font-size:clamp(48px,5vw,76px);
  line-height:.92;
  font-weight:500;
  letter-spacing:-.035em;
}
.home-copy p{
  margin:0;
  font-size:clamp(16px,1.3vw,20px);
  line-height:1.45;
  font-weight:300;
  max-width:640px;
  color:rgba(255,255,255,.92);
}

/* ABOUT -------------------------------------------------- */
.about-main{
  min-height:calc(100svh - 136px);
  display:grid;
  grid-template-columns:minmax(0,.78fr) minmax(620px,1.22fr);
  gap:clamp(38px,5vw,78px);
  align-items:center;
  padding:18px 0 36px;
}
.about-intro{padding-left:clamp(4px,1vw,14px);}
.eyebrow{
  margin:0 0 14px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.20em;
  font-weight:500;
  color:rgba(13,75,57,.70);
}
.about-intro h1,.page-copy h1{
  margin:0;
  font-family:"Lato",sans-serif;
  font-size:clamp(54px,5.5vw,84px);
  line-height:.92;
  font-weight:500;
  letter-spacing:-.04em;
  color:var(--juniper-deep);
}
.about-intro>p:last-child{
  margin:28px 0 0;
  max-width:590px;
  font-size:18px;
  line-height:1.65;
  color:rgba(36,56,49,.72);
}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.about-card{
  min-height:205px;
  padding:28px 30px;
  border-radius:30px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.about-card .kicker{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:rgba(13,75,57,.58);margin-bottom:auto;}
.about-card h2{
  margin:24px 0 8px;
  font-family:"Lato",sans-serif;
  font-size:34px;
  line-height:1;
  font-weight:600;
  letter-spacing:-.025em;
}
.about-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.55;}
.about-card:hover{transform:translateY(-2px);transition:.2s ease}

/* JOURNAL + RESONANCE ----------------------------------- */
.feature-main{height:calc(100svh - 136px);display:flex;align-items:center;padding-bottom:24px;}
.feature{
  width:100%;
  height:min(72svh,720px);
  min-height:520px;
  border-radius:38px;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(420px,.9fr) minmax(0,1.1fr);
}
.feature-copy{
  padding:clamp(42px,5vw,76px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:linear-gradient(145deg,rgba(249,248,243,.78),rgba(242,241,234,.46));
  -webkit-backdrop-filter:blur(22px);
  backdrop-filter:blur(22px);
}
.feature-copy h1{
  margin:0;
  font-family:"Lato",sans-serif;
  font-size:clamp(54px,5.7vw,86px);
  line-height:.92;
  font-weight:500;
  letter-spacing:-.04em;
  color:var(--juniper-deep);
}
.feature-copy .description{
  margin:24px 0 0;
  max-width:600px;
  font-size:17px;
  line-height:1.65;
  color:rgba(37,57,50,.72);
}
.status{
  margin-top:34px;
  width:max-content;
  max-width:100%;
  padding:11px 17px;
  border-radius:999px;
  border:1px solid rgba(13,75,57,.13);
  background:rgba(255,255,255,.42);
  color:rgba(13,75,57,.72);
  font-size:13px;
  letter-spacing:.02em;
}
.feature-image{position:relative;overflow:hidden;}
.feature-image img{width:100%;height:100%;display:block;object-fit:cover;}
.feature-image::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(245,244,237,.12),transparent 28%);
}
.open-button{
  margin-top:34px;
  width:max-content;
  min-width:190px;
  min-height:56px;
  padding:0 24px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:34px;
  background:linear-gradient(180deg,#165c47,#0b4636);
  color:#fff;
  box-shadow:0 14px 28px rgba(8,57,44,.16),inset 0 1px 0 rgba(255,255,255,.2);
  font-size:15px;
  font-weight:500;
}
.open-button:hover{transform:translateY(-2px);transition:.2s ease}

@media (max-width:980px){
  .page{overflow:auto;padding-inline:24px;}
  .topbar{height:128px;align-items:flex-start;padding-top:16px;}
  .brand img{height:76px;max-width:126px;}
  .nav{gap:22px;padding-top:24px;flex-wrap:wrap;justify-content:flex-end;}
  .home-main,.feature-main{height:auto;min-height:calc(100svh - 150px);}
  .home-hero{height:70svh;min-height:540px;}
  .about-main{grid-template-columns:1fr;min-height:0;padding:34px 0 70px;}
  .about-intro{max-width:760px;}
  .feature{height:auto;min-height:720px;grid-template-columns:1fr;grid-template-rows:auto minmax(360px,1fr);}
  .feature-copy{padding:54px 44px;}
}

@media (max-width:620px){
  .page{padding-inline:16px;}
  .topbar{height:146px;display:grid;grid-template-columns:76px 1fr;align-content:start;gap:8px;}
  .brand img{height:66px;transform:translateY(5px) scale(1.05);}
  .nav{gap:14px;padding-top:17px;font-size:11px;}
  .home-main{min-height:calc(100svh - 162px);align-items:flex-start;}
  .home-hero{height:calc(100svh - 180px);min-height:530px;border-radius:28px;}
  .home-copy{left:24px;right:24px;bottom:30px;}
  .home-copy h1{font-size:54px;}
  .about-main{padding-top:12px;}
  .about-grid{grid-template-columns:1fr;}
  .about-card{min-height:160px;border-radius:24px;}
  .feature-main{min-height:0;align-items:flex-start;}
  .feature{min-height:680px;border-radius:28px;grid-template-rows:auto 360px;}
  .feature-copy{padding:40px 28px;}
  .feature-copy h1{font-size:56px;}
}



/* =========================================================
   ABOUT V4 — vertical collapsed strips + white intro
   Typography across core pages: Lato
   ========================================================= */

body,
button,
input,
textarea,
select{
  font-family:"Lato",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

/* About layout */
.about-main{
  grid-template-columns:minmax(420px,.82fr) minmax(520px,1fr);
  gap:clamp(58px,6.5vw,108px);
  align-items:center;
  padding-top:8px;
}

/* Left side: no card, no forced green on a dark background */
.about-intro{
  padding:0 0 0 clamp(4px,1vw,14px);
  position:relative;
  isolation:auto;
}
.about-intro::before{
  display:none !important;
}
.about-intro .eyebrow{
  margin-bottom:18px;
  color:rgba(255,255,255,.66);
  font-size:11px;
  font-weight:700;
  letter-spacing:.22em;
}
.about-intro h1{
  max-width:650px;
  color:#fff;
  font-family:"Lato",sans-serif;
  font-size:clamp(52px,5.1vw,78px);
  line-height:.98;
  letter-spacing:-.045em;
  font-weight:300;
  text-shadow:0 2px 18px rgba(0,0,0,.25);
}
.about-intro>p:last-child{
  margin-top:28px;
  max-width:550px;
  color:rgba(255,255,255,.78);
  font-size:17px;
  line-height:1.62;
  font-weight:300;
  text-shadow:0 1px 12px rgba(0,0,0,.22);
}

/* Right side: four thin horizontal strips */
.about-grid{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-self:center;
  width:100%;
  max-width:680px;
  justify-self:end;
}

.about-card{
  min-height:0;
  padding:0;
  border-radius:22px;
  overflow:hidden;
  transition:
    transform .22s ease,
    border-radius .22s ease,
    background .22s ease,
    box-shadow .22s ease;
}
.about-card:hover{
  transform:translateX(-3px);
}

/* Closed state = thin strip */
.about-card summary{
  list-style:none;
  height:66px;
  padding:0 22px 0 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  cursor:pointer;
  user-select:none;
}
.about-card summary::-webkit-details-marker{display:none}

.about-card .kicker{
  margin:0;
  font-family:"Lato",sans-serif;
  font-size:12px;
  line-height:1;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:700;
  color:rgba(8,68,51,.76);
}

.card-plus{
  width:32px;
  height:32px;
  flex:0 0 32px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-family:"Lato",sans-serif;
  font-size:19px;
  font-weight:300;
  line-height:1;
  color:rgba(8,68,51,.84);
  background:rgba(255,255,255,.20);
  border:1px solid rgba(255,255,255,.62);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.62),
    0 3px 12px rgba(25,45,37,.04);
  transition:transform .22s ease;
}

/* Open state = card */
.about-card[open]{
  border-radius:28px;
  background:
    linear-gradient(140deg,rgba(255,255,255,.47),rgba(255,255,255,.15)),
    rgba(241,242,235,.23);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    0 20px 50px rgba(24,38,31,.10);
}
.about-card[open] .card-plus{
  transform:rotate(45deg);
}
.about-card[open] summary{
  height:62px;
  padding-bottom:0;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,.30);
}

.about-card-body{
  padding:22px 26px 28px;
  animation:aboutReveal .20s ease both;
}
.about-card-body h2{
  margin:0 0 10px;
  font-family:"Lato",sans-serif;
  font-size:26px;
  line-height:1.12;
  font-weight:400;
  letter-spacing:-.025em;
  color:#0a4938;
}
.about-card-body p{
  margin:0;
  max-width:570px;
  font-family:"Lato",sans-serif;
  color:rgba(29,53,45,.70);
  font-size:14px;
  line-height:1.58;
  font-weight:300;
}
.card-link{
  margin-top:17px;
  display:inline-flex;
  align-items:center;
  gap:11px;
  font-family:"Lato",sans-serif;
  font-size:12.5px;
  font-weight:700;
  color:rgba(10,73,56,.82);
}
.card-link:hover{opacity:.60}

/* Keep all core-page headings in Lato as requested */
.home-copy h1,
.page-copy h1,
.feature-copy h1{
  font-family:"Lato",sans-serif;
  font-weight:300;
  letter-spacing:-.045em;
}
.feature-copy h1{
  line-height:.98;
}

@media (max-width:980px){
  .about-main{
    grid-template-columns:1fr;
    gap:46px;
    align-items:start;
    padding-top:26px;
  }
  .about-intro{
    max-width:760px;
  }
  .about-grid{
    max-width:none;
    justify-self:stretch;
  }
}

@media (max-width:620px){
  .about-intro{
    padding-left:4px;
  }
  .about-intro h1{
    font-size:50px;
  }
  .about-intro>p:last-child{
    font-size:16px;
  }
  .about-grid{
    gap:10px;
  }
  .about-card summary{
    height:60px;
    padding-inline:20px;
  }
  .about-card-body{
    padding:20px 20px 24px;
  }
  .about-card-body h2{
    font-size:23px;
  }
}


/* FINAL GLOBAL TYPOGRAPHY OVERRIDE */
html, body, button, input, textarea, select,
h1, h2, h3, h4, h5, h6, p, a, span, label, summary, option,
.title, .subtitle, .eyebrow, .kicker, .brand, .nav,
.hero-copy, .page-copy, .feature-copy, .detail-body,
.details-content, .button, .btn, .card-link {
  font-family:"Lato",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
}
