/* ==========================================================================
   New Umbrella — recreation of newumbrella.org
   Built from RECREATE.md + design-tokens.md
   ========================================================================== */

/* ---- Fonts -------------------------------------------------------------- */
/* Lora + Acme from Google Fonts; aileron/proxima-nova substituted per the
   kit's guidance (aileron -> Jost @300, proxima-nova -> Montserrat @600). */
@import url('https://fonts.googleapis.com/css2?family=Acme&family=Jost:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Lora:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat:wght@600&display=swap');

/* ---- Tokens ------------------------------------------------------------- */
:root{
  --yellow:#F8D93F;
  --black:#000000;
  --white:#FFFFFF;
  --gray-100:#EFF0F1;
  --gray-050:#FAFAFA;
  --plum:#32273B;
  --mint:#E4FCF7;      /* das-egg-style team section background */
  --teal:#3FB8A6;      /* team member name color */

  --serif:'Lora', Georgia, serif;
  --sans:'Jost', 'Helvetica Neue', Arial, sans-serif;
  --btn-font:'Montserrat', 'Jost', sans-serif;
  --logo-font:'Acme', sans-serif;

  --gutter:3vw;
  --max-width:2000px;

  /* Fluid type scale: 14px + k*vw (from design-tokens §2) */
  --h1: calc(14px + 3.24vw);
  --h2: calc(14px + 2.16vw);
  --h3: calc(14px + 1.44vw);
  --h4: calc(14px + 0.72vw);
  --body: calc(14px + 0.12vw);
  --small: 14px;
  --card-body: 12.6px;
  --title: calc(14px + 0.48vw);
}

/* ---- Reset -------------------------------------------------------------- */
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--sans);
  font-weight:300;
  color:var(--black);
  background:var(--white);
  line-height:1.8;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
.page{max-width:var(--max-width);margin:0 auto;position:relative;}
img{display:block;max-width:100%;}
a{color:inherit;}

h1,h2,h3,h4{font-family:var(--serif);font-weight:400;line-height:1.3;}
h1{font-size:var(--h1);line-height:1.25;}
h2{font-size:var(--h2);line-height:1.30;}
h3{font-size:var(--h3);line-height:1.33;}
h4{font-size:var(--h4);line-height:1.37;}
p{font-size:var(--body);line-height:1.8;}
em,i{font-style:italic;}

/* ---- Layout helpers ----------------------------------------------------- */
.section{position:relative;width:100%;}
.wrap{
  max-width:calc(var(--max-width) - 2*38px);
  padding-left:var(--gutter);
  padding-right:var(--gutter);
  margin:0 auto;
}
.pad{padding-top:6.7vw;padding-bottom:6.7vw;}

/* Section themes */
.theme-black{background:var(--black);color:var(--white);}
.theme-dark{color:var(--white);}
.theme-light{background:var(--gray-100);color:var(--black);}
.theme-white{background:var(--white);color:var(--black);}
.theme-yellow{background:var(--yellow);color:var(--black);}

/* Image band with overlay */
.band{position:relative;background-size:cover;background-position:center;}
.band > .wrap{position:relative;z-index:2;}
.overlay-black::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.55);z-index:1;}
.overlay-black-heavy::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.8);z-index:1;}
.overlay-plum::before{content:"";position:absolute;inset:0;background:rgba(50,39,59,.82);z-index:1;}

/* Curved bottom divider (signature 8vw arc) */
.curved-bottom{
  padding-bottom:8vw;
  clip-path: ellipse(75% 100% at 50% 0%);
}

/* ---- Header ------------------------------------------------------------- */
.header{
  position:fixed;top:0;left:0;width:100%;z-index:50;
  padding:1.5vw var(--gutter);
  display:flex;align-items:center;justify-content:space-between;
  color:var(--white);
  transition:color .3s ease;
}
.header.dark-text{color:var(--black);}
.header nav{display:flex;gap:26px;flex:1;}
.header nav a{
  font-family:var(--sans);font-weight:300;font-size:var(--body);
  text-decoration:none;padding-bottom:6px;position:relative;
}
.header nav a.active::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:currentColor;
}
.header .brand{
  font-family:var(--logo-font);font-size:var(--title);
  text-align:center;flex:0 0 auto;text-decoration:none;letter-spacing:.02em;
}
.header .nav-right{flex:1;}
.header-burger{
  display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:6px;
}
.header-burger span{display:block;width:26px;height:2px;background:currentColor;transition:.3s;}

/* Mobile overlay menu */
.mobile-menu{
  position:fixed;inset:0;background:var(--black);color:var(--white);
  z-index:60;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:28px;transform:translateY(-100%);transition:transform .35s ease;
}
.mobile-menu.open{transform:translateY(0);}
.mobile-menu a{font-family:var(--serif);font-size:32px;text-decoration:none;}
.mobile-menu .close{position:absolute;top:24px;right:28px;font-size:34px;background:none;border:0;color:#fff;cursor:pointer;}

/* ---- Buttons ------------------------------------------------------------ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--btn-font);font-weight:600;font-size:14px;letter-spacing:.28px;
  padding:0 18.2px;height:48px;border:0;border-radius:0;text-decoration:none;cursor:pointer;
  text-transform:none;transition:opacity .2s ease,transform .2s ease;
}
.btn:hover{opacity:.88;}
.btn-yellow{background:var(--yellow);color:var(--black);}
.btn-black{background:var(--black);color:var(--white);}
.btn-tall{height:52px;}

/* ---- Hand-drawn annotations -------------------------------------------- */
.annot{position:relative;display:inline-block;}
.annot svg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:118%;height:150%;overflow:visible;pointer-events:none;z-index:-1;}
.annot svg path{
  stroke:#111;stroke-width:3;fill:none;stroke-linecap:round;
  stroke-dasharray:1200;stroke-dashoffset:1200;
}
.annot.drawn svg path{transition:stroke-dashoffset 1.1s ease;stroke-dashoffset:0;}

/* ---- Scroll fade+rise --------------------------------------------------- */
.rise{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s ease;}
.rise.in{opacity:1;transform:none;}

/* ==========================================================================
   HOME
   ========================================================================== */
.hero-home{min-height:606px;display:flex;align-items:center;text-align:center;}
.hero-home .wrap{width:100%;}
.hero-home h1{font-size:var(--h1);margin:0 auto;max-width:775px;}
.hero-home p{max-width:320px;margin:26px auto 0;font-size:var(--body);}
.hero-home .btn{margin-top:34px;}

.whatwedo{min-height:520px;}
.whatwedo .grid{display:grid;grid-template-columns:220px 1fr;gap:50px;align-items:start;}
.whatwedo h4{padding-top:6px;}
.whatwedo h2{max-width:640px;}

.projects .heading{text-align:center;font-family:var(--serif);font-size:var(--h2);margin-bottom:50px;}
.card-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:21px;
  max-width:960px;margin:0 auto;
}
.card{
  background:var(--gray-100);padding:29.74px;text-align:center;
  display:flex;flex-direction:column;align-items:center;
}
.card .circle{
  width:238px;max-width:100%;aspect-ratio:1/1;border-radius:50%;object-fit:cover;
  background:#ddd;
}
.card h2{font-size:16.42px;line-height:1.3;margin-top:45px;}
.card p{font-size:var(--card-body);line-height:1.8;margin-top:14px;}
.card .btn{margin-top:20px;}

.belonging{min-height:260px;display:flex;align-items:center;}
.belonging h1{max-width:420px;color:#fff;}
.belonging .btn{margin-top:26px;}

/* ---- Footer ------------------------------------------------------------- */
.footer{min-height:199px;display:flex;align-items:center;}
.footer h4{margin-bottom:12px;}
.footer a{text-decoration:underline;}
.footer .email{font-size:14px;display:inline-block;margin-bottom:14px;}
.footer .links a{display:block;font-size:var(--body);line-height:1.8;}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-hero{min-height:560px;display:flex;align-items:center;text-align:center;}
.about-hero .wrap{max-width:640px;}
.about-hero h2{margin-bottom:26px;}
.about-hero p{max-width:389px;margin:0 auto;}
.about-hero .cert{margin-top:24px;font-style:italic;}

.carousel-wrap{position:relative;}
.carousel{display:flex;gap:58px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:20px;}
.carousel::-webkit-scrollbar{height:8px;}
.slide{
  flex:0 0 100%;max-width:1188px;scroll-snap-align:center;
  display:grid;grid-template-columns:1fr 1fr;gap:0;align-items:stretch;
  background:var(--white);
}
.slide .img{min-height:420px;background-size:cover;background-position:center;background-color:#ccc;}
.slide .body{padding:40px 40px 40px 60px;display:flex;flex-direction:column;justify-content:center;}
.slide .body h2{font-size:var(--h2);margin-bottom:18px;}
.slide .body p{margin-bottom:26px;}
.slide .body .btn{align-self:flex-start;}
.carousel-nav{display:flex;justify-content:center;gap:14px;margin-top:24px;}
.carousel-nav button{
  width:12px;height:12px;border-radius:50%;border:1px solid #999;background:none;cursor:pointer;padding:0;
}
.carousel-nav button.on{background:#333;border-color:#333;}

.team{min-height:500px;}
.team h2{text-align:center;margin-bottom:40px;}
.accordion{max-width:1088px;margin:0 auto;}
.acc-item{border-top:1px solid #cfcfcf;}
.accordion .acc-item:last-child{border-bottom:1px solid #cfcfcf;}
.acc-head{
  width:100%;background:none;border:0;cursor:pointer;text-align:left;
  display:flex;align-items:center;justify-content:space-between;
  padding:22px 4px;font-family:var(--serif);font-size:var(--h3);color:inherit;
}
.acc-icon{position:relative;width:34px;height:34px;flex:0 0 auto;}
.acc-icon::before,.acc-icon::after{
  content:"";position:absolute;background:currentColor;
  left:50%;top:50%;transform:translate(-50%,-50%);
}
.acc-icon::before{width:34px;height:5px;}
.acc-icon::after{width:5px;height:34px;transition:transform .3s ease;}
.acc-item.open .acc-icon::after{transform:translate(-50%,-50%) scaleY(0);}
.acc-body{max-height:0;overflow:hidden;transition:max-height .35s ease;}
.acc-body p{padding:0 4px 26px;font-style:italic;}
.acc-item.open .acc-body{max-height:200px;}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact{min-height:600px;}
.contact .grid{display:grid;grid-template-columns:489px 1fr;gap:80px;align-items:start;}
.contact h2{margin-bottom:24px;}
.contact .intro p{margin-bottom:18px;}
.contact .intro .label{font-weight:700;font-style:normal;}
form .field{margin-bottom:18px;}
form label{display:block;font-size:var(--body);margin-bottom:8px;}
form .req{color:#8a8a8a;}
form .name-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
form .name-row label{font-size:12px;}
form input,form textarea{
  width:100%;background:var(--gray-050);border:1px solid #3a3a3a;border-radius:0;
  padding:12px 14px;font-family:var(--sans);font-size:15px;color:#111;
}
form textarea{min-height:100px;resize:vertical;}
form .btn{margin-top:6px;}
.name-group>span{display:block;font-size:var(--body);margin-bottom:8px;}

/* ==========================================================================
   DONATE
   ========================================================================== */
.donate-hero{min-height:600px;display:flex;align-items:center;text-align:center;}
.donate-hero .wrap{max-width:640px;}
.scaled{font-family:var(--serif);line-height:1;font-weight:400;}
.donate-hero .scaled{font-size:clamp(48px,7.6vw,96.9px);}
.donate-hero p{margin-top:30px;}

.daf{min-height:600px;}
.daf h1{text-align:center;font-size:calc(14px + 3.24vw);margin-bottom:50px;}
.daf .grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start;}
.daf .col-left{text-align:center;max-width:460px;margin:0 auto;}
.daf .col-left p{margin-bottom:26px;}
.daf-widget{
  background:#fff;color:#111;padding:22px;max-width:360px;margin:0 auto;
  font-family:'Lucida Grande',Arial,sans-serif;font-size:14px;line-height:1.8;
}
.daf-widget img{margin-bottom:14px;}
.daf-widget p{font-size:14px;color:#333;margin-bottom:14px;}
.daf-widget a{color:#365F7B;}

.whygive{min-height:700px;}
.whygive .heading{text-align:center;font-family:var(--serif);font-size:calc(14px + 2.16vw);margin-bottom:50px;}
.why-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:60px 101px;
  max-width:1120px;margin:0 auto;
}
.why-cell{text-align:center;}
.why-cell .glyph{font-family:var(--serif);font-size:calc(14px + 1.6vw);line-height:1.3;display:block;margin-bottom:16px;}
.why-cell p{font-size:12.46px;line-height:1.8;}
.why-cell p b{font-weight:700;}

/* ==========================================================================
   PROJECT PAGES (story-for-life / womanifesto)
   ========================================================================== */
.proj-hero{min-height:562px;display:flex;align-items:center;text-align:center;}
.proj-hero .eyebrow{font-size:var(--body);margin-bottom:18px;color:#fff;}
.proj-hero .scaled{color:#fff;font-size:clamp(56px,14.8vw,187.8px);word-break:break-word;}

.sfl-body{min-height:600px;}
.qa-two{display:grid;grid-template-columns:1fr 1fr;gap:70px;max-width:920px;margin:0 auto 60px;}
.qa-one{max-width:599px;margin:0 auto;}
.qa{margin-bottom:40px;}
.qa .q{font-weight:700;text-transform:uppercase;margin-bottom:10px;}
.qa .a-lead{font-weight:600;}
.sfl-body .cta{text-align:center;margin-top:20px;}
.sfl-body .cta .btn{height:63px;padding:0 40px;}

.woman-body{min-height:500px;}
.woman-grid{display:grid;grid-template-columns:339px 389px 339px;gap:50px;justify-content:center;max-width:1120px;margin:0 auto;}
.woman-grid h3{margin-bottom:16px;}
.woman-grid .lede{font-size:21.68px;line-height:1.8;}
.woman-grid .block+.block{margin-top:30px;}
.woman-body .cta{text-align:center;margin-top:50px;}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
/* ==========================================================================
   TEAM PHOTO GRID + COLLABORATORS  (mint theme)
   ========================================================================== */
.theme-mint{background:var(--mint);color:var(--black);}
.mint-heading{
  font-family:var(--serif);font-weight:700;color:var(--teal);
  font-size:calc(20px + 1.6vw);margin-bottom:44px;
}
.collab-section{padding-top:0;}

/* Team: 3 across, portrait photos with name + role below */
.team-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:40px 56px;
  max-width:1180px;
}
.member{display:flex;flex-direction:column;}
.member img{
  width:100%;aspect-ratio:1/1.05;object-fit:cover;background:#c9d6d3;
  filter:grayscale(1);
}
.member figcaption{text-align:center;padding-top:22px;}
.member .name{
  display:block;font-family:var(--serif);font-weight:700;color:var(--teal);
  font-size:calc(15px + .55vw);line-height:1.3;
}
.member .role{display:block;margin-top:10px;font-size:var(--body);color:#2b2b2b;}

/* Collaborators: 4 across, square headshots, no captions */
.collab-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:34px;
  max-width:1180px;
}
.collab img{
  width:100%;aspect-ratio:1/1;object-fit:cover;background:#c9d6d3;
  filter:grayscale(1);
}

@media (max-width:991px){
  .woman-grid{grid-template-columns:1fr 1fr;}
  .team-grid{grid-template-columns:repeat(2,1fr);}
  .collab-grid{grid-template-columns:repeat(3,1fr);}
}
@media (max-width:767px){
  .team-grid{grid-template-columns:1fr;max-width:360px;margin:0 auto;}
  .collab-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:767px){
  .header nav{display:none;}
  .header-burger{display:flex;}
  .header .nav-right{display:none;}
  .whatwedo .grid{grid-template-columns:1fr;gap:20px;}
  .card-grid{grid-template-columns:1fr;max-width:360px;}
  .why-grid{grid-template-columns:1fr;gap:40px;max-width:360px;}
  .contact .grid{grid-template-columns:1fr;gap:40px;}
  .daf .grid{grid-template-columns:1fr;gap:40px;}
  .slide{grid-template-columns:1fr;}
  .slide .img{min-height:260px;}
  .slide .body{padding:30px;}
  .woman-grid{grid-template-columns:1fr;}
  .qa-two{grid-template-columns:1fr;gap:0;}
  .curved-bottom{clip-path:ellipse(120% 100% at 50% 0%);padding-bottom:12vw;}
}
