@import url("fonts.css");
:root{
  --cream:#f8edda;
  --cream-soft:#fdeedf;
  --paper:#fff6ea;
  --ink:#2e1a0e;
  --cocoa:#572010;
  --cocoa-soft:#7a3a1e;
  --honey:#ffc24b;
  --brick:#b23a27;
  --teal:#376f67;
  --display:"Alfa Slab One",serif;
  --body:"Hanken Grotesk",sans-serif;
  --ease:cubic-bezier(.2,.75,.2,1);
  --accent:var(--brick);
  --wash:var(--honey)
}

*,*::before,*::after{
  box-sizing:border-box
}

html{
  scroll-behavior:smooth
}

body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font:16px/1.6 var(--body);
  overflow-x:clip;
  -webkit-font-smoothing:antialiased
}

a{
  color:inherit
}

img,video,svg{
  display:block;
  max-width:100%
}

button{
  font:inherit
}

:focus-visible{
  outline:3px solid var(--honey);
  outline-offset:4px;
  border-radius:4px
}

.skip{
  position:fixed;
  z-index:30;
  left:16px;
  top:12px;
  translate:0 -150%;
  padding:10px 16px;
  border-radius:999px;
  background:var(--paper);
  font-weight:800
}

.skip:focus{
  translate:0
}

.page-head{
  position:relative;
  z-index:10;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:76px;
  padding:12px clamp(18px,4vw,58px);
  background:var(--cocoa);
  color:var(--cream-soft)
}

.page-brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  font:400 clamp(18px,2vw,26px)/1 var(--display);
  text-transform:uppercase
}

.page-brand img{
  width:42px;
  height:42px;
  object-fit:contain
}

.page-nav{
  display:flex;
  gap:clamp(14px,3vw,30px);
  font-size:11px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase
}

.page-nav a{
  text-decoration:none
}

.page-nav a:hover{
  text-decoration:underline
}

.editorial-hero{
  position:relative;
  isolation:isolate;
  min-height:min(780px,calc(100svh - 76px));
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);
  align-items:center;
  gap:clamp(30px,6vw,90px);
  padding:clamp(46px,7vw,96px) clamp(18px,6vw,86px);
  overflow:hidden;
  background:var(--wash)
}

.editorial-hero::before{
  content:"";
  position:absolute;
  z-index:-1;
  left:45%;
  top:50%;
  translate:-50% -50%;
  width:min(70vw,820px);
  aspect-ratio:1;
  border:2px dashed color-mix(in srgb,var(--cocoa) 25%,transparent);
  border-radius:50%;
  animation:spin 30s linear infinite
}

.hero-copy{
  position:relative;
  z-index:2
}

.eyebrow{
  margin:0 0 16px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--accent)
}

h1{
  margin:0;
  font:400 clamp(52px,9vw,130px)/.84 var(--display);
  letter-spacing:0;
  text-transform:uppercase;
  color:var(--cocoa)
}

.lead{
  max-width:52ch;
  margin:26px 0 0;
  font-size:clamp(17px,1.6vw,21px)
}

.hero-art{
  position:relative;
  display:grid;
  place-items:center;
  min-height:460px
}

.hero-art>img{
  max-height:min(68vh,650px);
  width:auto;
  filter:drop-shadow(0 28px 24px rgba(46,26,14,.28));
  animation:float 4.2s ease-in-out infinite
}

.hero-art.glass{
  border:1px solid rgba(87,32,16,.22);
  border-radius:32px;
  background:linear-gradient(145deg,rgba(255,246,234,.5),rgba(255,194,75,.2));
  box-shadow:inset 0 1px rgba(255,255,255,.7),0 28px 70px rgba(46,26,14,.14)
}

.hero-art.glass::after{
  content:"";
  position:absolute;
  inset:16px;
  border:1px solid rgba(87,32,16,.16);
  border-radius:23px
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px
}

.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 25px;
  border-radius:999px;
  background:var(--cocoa);
  color:var(--cream-soft);
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none
}

.pill.alt{
  background:var(--paper);
  color:var(--cocoa);
  border:1px solid rgba(87,32,16,.2)
}

.content-band{
  padding:clamp(58px,8vw,100px) clamp(18px,6vw,86px)
}

.content-band.dark{
  background:var(--cocoa);
  color:var(--cream-soft)
}

.content-band.teal{
  background:var(--teal);
  color:var(--cream-soft)
}

.section-grid{
  max-width:1240px;
  margin:auto;
  display:grid;
  grid-template-columns:minmax(220px,.65fr) 1.35fr;
  gap:clamp(34px,8vw,110px)
}

.section-grid h2{
  margin:0;
  font:400 clamp(36px,6vw,74px)/.94 var(--display);
  text-transform:uppercase
}

.section-copy{
  max-width:70ch
}

.section-copy>p:first-child{
  margin-top:0
}

.feature-grid{
  max-width:1240px;
  margin:38px auto 0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px
}

.feature{
  padding:24px;
  border-radius:22px;
  background:var(--paper);
  color:var(--ink);
  box-shadow:0 12px 30px rgba(46,26,14,.1)
}

.feature strong{
  display:block;
  margin-bottom:7px;
  font:400 22px var(--display);
  text-transform:uppercase
}

.meta-row{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:24px
}

.meta-row span{
  padding:7px 12px;
  border:1px solid currentColor;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase
}

.media-wide{
  width:100%;
  max-height:760px;
  object-fit:cover
}

.waitlist{
  max-width:780px;
  margin:auto;
  text-align:center
}

.waitlist h2{
  margin:0 0 16px;
  font:400 clamp(38px,7vw,84px)/.94 var(--display);
  text-transform:uppercase
}

.fine{
  font-size:13px;
  opacity:.72
}

@keyframes spin{
  to{
    rotate:360deg
  }
}

@keyframes float{
  50%{
    transform:translateY(-13px) rotate(.5deg)
  }
}

@media(max-width:820px){
  .editorial-hero{
    grid-template-columns:1fr;
    min-height:0
  }
  .hero-art{
    min-height:390px;
    grid-row:1
  }
  .hero-copy{
    grid-row:2
  }
  .section-grid{
    grid-template-columns:1fr
  }
  .feature-grid{
    grid-template-columns:1fr
  }
  .page-head{
    align-items:flex-start
  }
  .page-nav{
    flex-direction:column;
    align-items:flex-end;
    gap:5px
  }
}

@media(max-width:480px){
  .page-head{
    min-height:68px;
    padding:10px 14px
  }
  .page-brand img{
    width:36px;
    height:36px
  }
  .page-brand span{
    max-width:8ch
  }
  .page-nav{
    font-size:9px
  }
  .editorial-hero{
    padding:34px 14px 50px;
    gap:20px
  }
  .editorial-hero::before{
    left:50%;
    top:26%;
    width:105vw
  }
  .hero-art{
    min-height:340px
  }
  .hero-art>img{
    max-height:330px;
    max-width:86%
  }
  .hero-art.glass{
    border-radius:24px
  }
  .hero-art.glass::after{
    inset:11px;
    border-radius:17px
  }
  h1{
    font-size:clamp(48px,15vw,68px)
  }
  .lead{
    font-size:16px
  }
  .hero-actions{
    display:grid
  }
  .pill{
    width:100%
  }
  .content-band{
    padding:52px 16px
  }
  .feature{
    padding:21px
  }
}

@media(prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto
  }
  .editorial-hero::before,.hero-art>img{
    animation:none
  }
}

.story-hero{
  grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr)
}

.story-art{
  padding:clamp(18px,2.5vw,30px)
}

.story-art>img{
  width:100%;
  height:auto;
  max-height:min(70vh,680px);
  aspect-ratio:1;
  object-fit:cover;
  border-radius:22px;
  filter:drop-shadow(0 24px 20px rgba(46,26,14,.22))
}

.story-art.glass::after{
  pointer-events:none
}

@media(max-width:820px){
  .story-hero{
    grid-template-columns:1fr
  }
}

@media(max-width:480px){
  .story-art{
    padding:11px
  }
  .story-art>img{
    width:100%;
    max-width:100%;
    border-radius:17px
  }
}

/* ============================================================
   Card-over-card footer reveal (matches index.html): the page
   body is opaque and sits above, the footer is pinned to the
   bottom underneath, so content slides off it as you scroll.
   ============================================================ */
main{
  position:relative;
  z-index:2;
  background:var(--cream)
}
