:root{
  --maroon:#5A1414;
  --maroon-deep:#450d0d;
  --gold:#7A5C12;
  --terra:#C0693A;
  --gold-light:#D9A24A;
  --cream:#F2EEE6;
  --cream-2:#EAE3D6;
  --ink:#2B211D;
  --muted:#6B5D54;
  --serif:"Cormorant Garamond",Georgia,serif;
  --sans:"Mulish",system-ui,-apple-system,sans-serif;
  --maxw:1200px;
}

*,*::before,*::after{box-sizing:border-box;}
html,body{max-width:100%;overflow-x:hidden;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-wrap:break-word;
}
img,svg{max-width:100%;height:auto;display:block;}

.visually-hidden{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}
.skip-link{
  position:absolute;left:-999px;top:0;z-index:200;
  background:var(--maroon);color:var(--cream);padding:.7rem 1.1rem;border-radius:0 0 8px 0;
}
.skip-link:focus{left:0;}

.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;}

/* subtle paper grain */
body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:1;opacity:.5;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  mix-blend-mode:multiply;
}

/* ---------- HEADER ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:linear-gradient(180deg,rgba(90,20,20,.97),rgba(69,13,13,.94));
  border-bottom:1px solid rgba(217,162,74,.28);
  backdrop-filter:blur(6px);
}
.header-inner{
  max-width:var(--maxw);margin:0 auto;
  padding:.7rem 1.25rem;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
}
.logo-plate{display:flex;align-items:center;min-width:0;}
.logo-img{height:38px;width:auto;}
.header-status{
  font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--gold-light);font-weight:600;white-space:nowrap;
}

/* ---------- HERO ---------- */
.hero{
  position:relative;overflow:hidden;
  min-height:calc(100vh - 55px);
  display:flex;align-items:center;
  background:
    radial-gradient(120% 90% at 15% 20%,rgba(242,238,230,.4),transparent 60%),
    linear-gradient(160deg,#F2EEE6 0%,#EDE4D4 55%,#E6D9C4 100%);
}
.hero-art{
  position:absolute;inset:0;z-index:0;
  background-image:url("/cdn/demos/theredbaobabcom/assets/30544bb5-Ring-Pattern-Background-The-Red-Baobab-01.jpg");
  background-size:cover;background-position:center;
  opacity:.85;mix-blend-mode:multiply;
}
.hero-wash{
  position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(105deg,rgba(242,238,230,.92) 0%,rgba(242,238,230,.7) 34%,rgba(242,238,230,.15) 60%,transparent 78%),
    radial-gradient(80% 70% at 30% 70%,rgba(90,20,20,.05),transparent 65%);
}
.hero-inner{
  position:relative;z-index:2;
  max-width:var(--maxw);margin:0 auto;width:100%;
  padding:5rem 1.5rem 4rem;
}
.status-marker{
  display:inline-flex;align-items:center;gap:.55rem;
  margin:0 0 1.6rem;
  background:rgba(90,20,20,.07);
  border:1px solid rgba(90,20,20,.2);
  color:var(--maroon);
  padding:.4rem .85rem;border-radius:999px;
  font-size:.72rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
}
.status-dot{
  width:8px;height:8px;border-radius:50%;
  background:var(--terra);box-shadow:0 0 0 0 rgba(192,105,58,.55);
  animation:pulse 2.4s infinite;
}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(192,105,58,.5);}
  70%{box-shadow:0 0 0 9px rgba(192,105,58,0);}
  100%{box-shadow:0 0 0 0 rgba(192,105,58,0);}
}
.hero-title{
  font-family:var(--serif);
  color:var(--maroon);
  font-weight:500;
  line-height:.94;
  letter-spacing:-.01em;
  margin:0 0 1.6rem;
  font-size:clamp(3.4rem,12vw,8.5rem);
  max-width:12ch;
}
.hero-title .line{display:block;}
.hero-title .line--accent{color:#772020;}
.hero-title .line--serif-em{
  font-style:italic;font-weight:500;
  color:var(--maroon-deep);
  margin-left:.06em;
}
.hero-body{
  max-width:46ch;
  font-size:clamp(1.05rem,1.6vw,1.28rem);
  color:var(--ink);
  margin:0 0 2.4rem;
  line-height:1.7;
}
.hero-scrollcue{
  display:inline-flex;align-items:center;gap:.7rem;
  font-family:var(--serif);font-style:italic;
  font-size:clamp(1.25rem,2.6vw,1.7rem);
  color:var(--maroon);text-decoration:none;
  border-bottom:1px solid rgba(90,20,20,.35);
  padding-bottom:.25rem;
  transition:gap .3s ease,color .3s ease;
}
.hero-scrollcue:hover{gap:1.1rem;color:var(--terra);}
.hero-scrollcue:focus-visible{outline:3px solid var(--terra);outline-offset:4px;border-radius:2px;}
.hero-scrollcue .arrow{
  font-style:normal;font-size:1rem;
  animation:bob 2s ease-in-out infinite;
}
@keyframes bob{0%,100%{transform:translateY(0);}50%{transform:translateY(4px);}}

/* ---------- PILLARS ---------- */
.pillars{
  position:relative;z-index:2;
  background:var(--maroon);
  color:var(--cream);
  padding:5.5rem 1.5rem;
}
.pillars-inner{max-width:var(--maxw);margin:0 auto;}
.pillars-eyebrow{
  font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--gold-light);margin:0 0 .8rem;font-weight:600;
}
.pillars-heading{
  font-family:var(--serif);font-weight:500;
  font-size:clamp(2rem,5vw,3.6rem);
  line-height:1.05;margin:0 0 3rem;max-width:16ch;
  color:var(--cream);
}
.pillar-grid{
  display:grid;gap:1.75rem;
  grid-template-columns:1fr;
}
.pillar{
  border-top:1px solid rgba(217,162,74,.35);
  padding-top:1.4rem;min-width:0;
}
.pillar-num{
  display:block;
  font-family:var(--serif);font-style:italic;
  font-size:1.6rem;color:var(--gold-light);margin-bottom:.6rem;
}
.pillar-title{
  font-family:var(--serif);font-weight:500;
  font-size:1.8rem;margin:0 0 .6rem;color:var(--cream);
}
.pillar-copy{
  margin:0;color:rgba(242,238,230,.82);
  font-size:1rem;font-weight:300;line-height:1.7;max-width:34ch;
}

/* ---------- WAITLIST ---------- */
.waitlist{
  position:relative;overflow:hidden;
  padding:6rem 1.5rem;
  background:linear-gradient(160deg,#F4F0E8 0%,#EBE0CE 100%);
}
.waitlist-art{
  position:absolute;right:-8%;top:-15%;width:52%;height:130%;z-index:0;
  background-image:url("/cdn/demos/theredbaobabcom/assets/30544bb5-Ring-Pattern-Background-The-Red-Baobab-01.jpg");
  background-size:cover;background-position:right center;
  opacity:.3;mix-blend-mode:multiply;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.4) 40%,#000 72%);
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.4) 40%,#000 72%);
}
.waitlist-inner{
  position:relative;z-index:1;
  max-width:640px;margin:0 auto;text-align:center;
}
.waitlist-eyebrow{
  font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--terra);margin:0 0 1rem;font-weight:600;
}
.waitlist-heading{
  font-family:var(--serif);font-weight:500;
  color:var(--maroon);
  font-size:clamp(2.2rem,6vw,4rem);
  line-height:1.03;margin:0 0 1rem;
}
.waitlist-sub{
  color:var(--muted);font-size:1.05rem;margin:0 auto 2.4rem;max-width:38ch;
}

/* ---------- FORM ---------- */
.signup-form{width:100%;max-width:520px;margin:0 auto;}
.field-row{
  display:flex;gap:.6rem;flex-wrap:wrap;
  background:#fff;
  border:1px solid rgba(90,20,20,.18);
  border-radius:14px;
  padding:.5rem;
  box-shadow:0 22px 48px -24px rgba(90,20,20,.5);
}
.email-input{
  flex:1 1 200px;min-width:0;
  border:none;background:transparent;
  padding:.9rem 1rem;font-family:var(--sans);
  font-size:1rem;color:var(--ink);
}
.email-input::placeholder{color:var(--muted);}
.email-input:focus{outline:none;}
.field-row:focus-within{
  border-color:var(--terra);
  box-shadow:0 0 0 3px rgba(192,105,58,.22),0 22px 48px -24px rgba(90,20,20,.5);
}
.cta{
  flex:0 0 auto;
  background:var(--gold);color:#FBF7EE;
  border:none;border-radius:10px;
  padding:.95rem 1.6rem;
  font-family:var(--sans);font-weight:600;
  font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;
  cursor:pointer;
  transition:background .25s ease,transform .2s ease;
}
.cta:hover{background:#8f6d18;transform:translateY(-1px);}
.cta:active{transform:translateY(0);}
.cta:focus-visible{outline:3px solid var(--terra);outline-offset:2px;}
.form-msg{
  min-height:1.2em;margin:.9rem 0 0;
  font-family:var(--serif);font-style:italic;font-size:1.3rem;
  color:var(--maroon);opacity:0;transform:translateY(4px);
  transition:opacity .4s ease,transform .4s ease;
}
.form-msg.show{opacity:1;transform:none;}
.form-msg.error{color:#8a3316;font-size:1rem;font-style:normal;font-family:var(--sans);}

/* ---------- FOOTER ---------- */
.site-footer{
  position:relative;overflow:hidden;
  background:var(--maroon-deep);color:var(--cream);
  padding:5rem 1.5rem 2.5rem;
}
.footer-art{
  position:absolute;left:-12%;bottom:-25%;width:48%;height:130%;z-index:0;
  background-image:url("/cdn/demos/theredbaobabcom/assets/30544bb5-Ring-Pattern-Background-The-Red-Baobab-01.jpg");
  background-size:cover;background-position:left bottom;
  opacity:.16;mix-blend-mode:screen;
  -webkit-mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.4) 55%,transparent 82%);
  mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.4) 55%,transparent 82%);
}
.footer-inner{
  position:relative;z-index:1;
  max-width:var(--maxw);margin:0 auto;
  display:grid;gap:3rem;
}
.footer-heading{
  font-family:var(--serif);font-weight:500;
  font-size:clamp(1.9rem,5vw,3rem);margin:0 0 .6rem;color:var(--cream);
}
.footer-sub{color:rgba(242,238,230,.8);margin:0 0 1.8rem;font-weight:300;}
.footer-form .field-row{
  background:rgba(242,238,230,.06);
  border-color:rgba(217,162,74,.4);
  box-shadow:none;
}
.footer-form .field-row:focus-within{
  box-shadow:0 0 0 3px rgba(217,162,74,.25);
}
.footer-form .email-input{color:var(--cream);}
.footer-form .email-input::placeholder{color:rgba(242,238,230,.6);}
.footer-form .form-msg{color:var(--gold-light);}
.footer-brand{
  display:flex;flex-direction:column;gap:1.2rem;align-items:flex-start;
  border-top:1px solid rgba(217,162,74,.25);padding-top:2rem;
}
.footer-logo{height:42px;width:auto;}
.footer-copy{margin:0;font-size:.85rem;color:rgba(242,238,230,.65);letter-spacing:.05em;}

/* ---------- REVEAL ---------- */
[data-reveal]{
  opacity:0;transform:translateY(22px);
  transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].in{opacity:1;transform:none;}

/* ---------- RESPONSIVE ---------- */
@media(max-width:719px){
  .hero{min-height:auto;padding-bottom:1rem;}
  .hero-inner{padding:3.5rem 1.5rem 3rem;}
  .waitlist-art{
    width:78%;opacity:.13;top:-10%;
    -webkit-mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.3) 45%,transparent 80%);
    mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.3) 45%,transparent 80%);
  }
  .footer-art{opacity:.1;}
}
@media(min-width:720px){
  .pillar-grid{grid-template-columns:repeat(3,1fr);gap:2.5rem;}
  .footer-inner{grid-template-columns:1.3fr 1fr;align-items:center;gap:4rem;}
  .footer-brand{border-top:none;padding-top:0;align-items:flex-end;text-align:right;}
}
@media(min-width:960px){
  .hero-inner{padding:6rem 2.5rem;}
  .waitlist-art{width:45%;}
}
@media(prefers-reduced-motion:reduce){
  *{animation:none!important;scroll-behavior:auto!important;}
  [data-reveal]{opacity:1;transform:none;transition:none;}
}