
:root{
  --cream:#fff8ee;
  --navy:#071a38;
  --ink:#132f50;
  --pink:#ef1765;
  --max:1420px;
}

*{box-sizing:border-box}

html,body{
  margin:0;
  padding:0;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  background:var(--cream);
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
}

html{
  scroll-behavior:smooth;
}

body{
  min-height:100dvh;
  -webkit-overflow-scrolling:touch;
}

img{
  display:block;
  width:100%;
  height:auto;
}

button,input{font:inherit}

.site-frame{
  width:100%;
  margin:0 auto;
}

/* ---------- Panels ---------- */
.responsive-home{
  width:100%;
  max-width:var(--max);
  margin:0 auto;
}

.panel{
  position:relative;
  overflow:hidden;
  background:#fff;
  line-height:0;
}

.side-stack{
  display:contents;
}

/* Approved source aspect ratios */
.hero-panel{aspect-ratio:711/714}
.benefits-panel{aspect-ratio:711/200}
.collections-panel{aspect-ratio:711/374}
.community-panel{aspect-ratio:711/193}

.panel>img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ---------- Functional invisible targets ---------- */
.hotspot{
  position:absolute;
  z-index:5;
  border:0;
  padding:0;
  margin:0;
  background:transparent;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}

.menu-hotspot{
  top:2.0%;
  right:2.3%;
  width:10%;
  height:8%;
}

.books-hotspot{
  left:4.6%;
  top:76.6%;
  width:31.5%;
  height:7.2%;
}

.activities-hotspot{
  left:4.6%;
  top:84.2%;
  width:31.5%;
  height:7.2%;
}

.email-hotspot{
  left:20.5%;
  top:57%;
  width:57%;
  height:24%;
}

/* ============================================================
   PHONE PORTRAIT — full-bleed width, no side bars.
   The page fills the iPhone width and scrolls vertically.
   ============================================================ */
@media (max-width:767px) and (orientation:portrait){
  html,body{
    background:#fff8ee;
  }

  .responsive-home{
    display:block;
    width:100vw;
    max-width:100vw;
    margin:0;
  }

  .panel{
    width:100vw;
    max-width:100vw;
    border-radius:0;
    margin:0;
  }

  .side-stack{
    display:block;
    width:100vw;
  }

  .panel > img{
    width:100%;
    height:auto;
    object-fit:cover;
  }
}

/* ============================================================
   PHONE LANDSCAPE — actual responsive layout
   Hero left, utility/content stack right.
   No tiny portrait poster.
   ============================================================ */
@media (max-height:650px) and (orientation:landscape){
  body{
    background:#f3efe7;
  }

  .responsive-home{
    width:min(100%,1180px);
    padding:14px;
    display:grid;
    grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);
    gap:14px;
    align-items:start;
  }

  .hero-panel{
    width:100%;
    border-radius:20px;
    box-shadow:0 12px 34px rgba(9,29,54,.14);
  }

  .side-stack{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
  }

  .benefits-panel,
  .collections-panel,
  .community-panel{
    width:100%;
    border-radius:18px;
    box-shadow:0 10px 28px rgba(9,29,54,.10);
  }
}

/* ============================================================
   TABLET PORTRAIT
   ============================================================ */
@media (min-width:768px) and (max-width:1023px) and (orientation:portrait){
  body{background:#f3efe7}

  .responsive-home{
    width:min(92vw,820px);
    padding:22px 0 46px;
  }

  .panel{
    border-radius:20px;
    margin-bottom:16px;
    box-shadow:0 12px 34px rgba(9,29,54,.10);
  }

  .side-stack{display:block}
}

/* ============================================================
   TABLET LANDSCAPE + SMALL DESKTOP
   ============================================================ */
@media (min-width:768px) and (orientation:landscape),
       (min-width:1024px) and (max-width:1199px){
  body{background:#f3efe7}

  .responsive-home{
    width:min(94vw,1180px);
    padding:28px 0 56px;
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(380px,.85fr);
    gap:22px;
    align-items:start;
  }

  .hero-panel{
    border-radius:24px;
    box-shadow:0 16px 48px rgba(9,29,54,.13);
  }

  .side-stack{
    display:grid;
    gap:18px;
  }

  .benefits-panel,
  .collections-panel,
  .community-panel{
    border-radius:20px;
    box-shadow:0 12px 34px rgba(9,29,54,.10);
  }
}

/* ============================================================
   DESKTOP / LAPTOP
   ============================================================ */
@media (min-width:1200px){
  body{
    background:
      radial-gradient(circle at 20% 0%,#ffffff 0%,#f7f3eb 42%,#eee8dc 100%);
  }

  .responsive-home{
    width:min(94vw,1380px);
    padding:38px 0 68px;
    display:grid;
    grid-template-columns:minmax(0,1.28fr) minmax(430px,.72fr);
    gap:28px;
    align-items:start;
  }

  .hero-panel{
    border-radius:28px;
    box-shadow:0 18px 60px rgba(9,29,54,.15);
  }

  .side-stack{
    display:grid;
    gap:22px;
  }

  .benefits-panel,
  .collections-panel,
  .community-panel{
    border-radius:24px;
    box-shadow:0 14px 42px rgba(9,29,54,.11);
  }
}

/* ---------- Product backend section ---------- */
.live-shop{
  width:min(94vw,1200px);
  margin:0 auto 72px;
  padding:34px;
  background:#fff;
  border-radius:24px;
  box-shadow:0 12px 34px rgba(9,29,54,.08);
}

.eyebrow{
  margin:0 0 6px;
  text-align:center;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--pink);
  font-size:12px;
  font-weight:900;
}

.live-shop h2{
  margin:0 0 26px;
  text-align:center;
  color:#172268;
  font-size:34px;
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:18px;
}

.product-card{
  overflow:hidden;
  border:1px solid #e8edf2;
  border-radius:18px;
  background:#fff;
}

.product-card>img{
  aspect-ratio:4/5;
  object-fit:cover;
}

.product-copy{
  padding:16px;
}

.product-copy h3{
  margin:0 0 8px;
  color:#17385d;
}

.product-copy p{
  color:#667684;
  line-height:1.45;
}

/* ---------- Drawer ---------- */
.backdrop{
  position:fixed;
  inset:0;
  z-index:90;
  background:rgba(5,20,40,.55);
}

.drawer{
  position:fixed;
  z-index:100;
  top:0;
  right:0;
  bottom:0;
  width:min(84vw,380px);
  padding:max(18px,env(safe-area-inset-top)) 18px 24px;
  background:#fff;
  transform:translateX(105%);
  transition:transform .22s ease;
  box-shadow:-18px 0 45px rgba(0,0,0,.24);
  overflow-y:auto;
}

.drawer.open{transform:translateX(0)}

.drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding-bottom:14px;
  border-bottom:1px solid #e7edf2;
  color:#153657;
}

.drawer-head strong{
  font-size:19px;
}

.drawer-head button,
.close{
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  background:#eef3f7;
  color:#153657;
  font-size:30px;
  line-height:1;
}

.drawer nav{
  display:grid;
}

.drawer nav a{
  padding:16px 4px;
  border-bottom:1px solid #edf1f4;
  color:#153657;
  text-decoration:none;
  font-weight:800;
}

/* ---------- Email modal ---------- */
.email-modal{
  position:fixed;
  z-index:110;
  left:50%;
  top:50%;
  width:min(90vw,460px);
  padding:28px 22px 24px;
  border-radius:22px;
  background:#fff;
  box-shadow:0 24px 72px rgba(0,0,0,.30);
  transform:translate(-50%,-50%) scale(.96);
  opacity:0;
  pointer-events:none;
  transition:.18s ease;
}

.email-modal.open{
  opacity:1;
  pointer-events:auto;
  transform:translate(-50%,-50%) scale(1);
}

.close{
  position:absolute;
  right:14px;
  top:14px;
}

.email-modal h2{
  margin:6px 52px 8px 0;
  color:#172268;
  font-size:27px;
  line-height:1.05;
}

.email-modal p{
  color:#607080;
  line-height:1.45;
}

.email-modal form{
  display:grid;
  gap:10px;
}

.email-modal input{
  width:100%;
  padding:13px 14px;
  border:1px solid #d6e0e7;
  border-radius:12px;
  font-size:16px;
}

.email-modal form button{
  border:0;
  border-radius:999px;
  padding:13px;
  background:var(--pink);
  color:#fff;
  font-weight:900;
  font-size:16px;
}

.status{
  min-height:20px;
  color:#257047!important;
  font-weight:700;
}





@media (max-width:767px) and (orientation:portrait){
  body, .site-frame, .responsive-home, .hero-panel, .side-stack,
  .benefits-panel, .collections-panel, .community-panel{
    width:100vw!important;
    max-width:100vw!important;
    margin-left:0!important;
    margin-right:0!important;
  }
}


/* ============================================================
   V25 PHONE PORTRAIT — FULL PAGE FIT WITHOUT VISIBLE SIDE BARS
   ============================================================ */
@media (max-width:767px) and (orientation:portrait){
  html,body{
    min-height:100svh;
    overflow:hidden;
    background:#fff8ee;
  }

  body::before{
    content:"";
    position:fixed;
    inset:-28px;
    z-index:-2;
    background-image:url("approved-full-reference.jpg");
    background-size:cover;
    background-position:center top;
    filter:blur(24px) saturate(.92) brightness(.92);
    transform:scale(1.08);
    opacity:.72;
  }

  body::after{
    content:"";
    position:fixed;
    inset:0;
    z-index:-1;
    background:rgba(255,248,238,.18);
    pointer-events:none;
  }

  .site-frame{
    width:100vw!important;
    height:100svh;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    overflow:hidden;
    background:transparent;
  }

  .responsive-home{
    display:block!important;
    width:min(100vw, calc(100svh * 711 / 1481))!important;
    max-width:none!important;
    margin:0 auto!important;
    padding:0!important;
    background:transparent;
  }

  .panel,
  .hero-panel,
  .benefits-panel,
  .collections-panel,
  .community-panel{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }

  .side-stack{
    display:block!important;
    width:100%!important;
  }

  .panel > img{
    display:block;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }

  .live-shop{
    display:none!important;
  }
}

@supports not (height:100svh){
  @media (max-width:767px) and (orientation:portrait){
    .site-frame{height:100vh}
    .responsive-home{
      width:min(100vw, calc(100vh * 711 / 1481))!important;
    }
  }
}


/* ============================================================
   V26 FINAL RESPONSIVE OVERRIDES
   1) Portrait phone = true edge-to-edge width, vertical scroll.
   2) Landscape phone/tablet = same intact page composition,
      stacked exactly as portrait, proportionally scaled.
   3) Desktop = same intact composition at a larger centered width.
   No section reordering, no two-column split, no fake side panels.
   ============================================================ */

/* PHONE PORTRAIT: edge-to-edge, no gutters, no forced whole-page shrink */
@media (max-width:767px) and (orientation:portrait){
  html, body{
    width:100%!important;
    max-width:100%!important;
    min-height:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    background:#fff8ee!important;
  }

  body::before,
  body::after{
    content:none!important;
    display:none!important;
  }

  .site-frame{
    display:block!important;
    width:100vw!important;
    height:auto!important;
    min-height:100%!important;
    overflow:visible!important;
    background:#fff8ee!important;
  }

  .responsive-home{
    display:block!important;
    width:100vw!important;
    max-width:100vw!important;
    margin:0!important;
    padding:0!important;
  }

  .side-stack{
    display:block!important;
    width:100%!important;
  }

  .panel,
  .hero-panel,
  .benefits-panel,
  .collections-panel,
  .community-panel{
    width:100vw!important;
    max-width:100vw!important;
    margin:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }

  .panel > img{
    width:100%!important;
    height:auto!important;
    object-fit:cover!important;
  }

  .live-shop{
    display:none!important;
  }
}

/* PHONE / TABLET LANDSCAPE: keep the entire page as ONE composition */
@media (orientation:landscape) and (max-width:1199px){
  html, body{
    width:100%!important;
    min-height:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    background:#f5efe5!important;
  }

  body::before,
  body::after{
    content:none!important;
    display:none!important;
  }

  .site-frame{
    display:block!important;
    width:100%!important;
    height:auto!important;
    overflow:visible!important;
    background:#f5efe5!important;
    padding:0!important;
  }

  .responsive-home{
    display:block!important;
    width:min(100vw, calc(100svh * 711 / 1481))!important;
    max-width:none!important;
    margin:0 auto!important;
    padding:0!important;
  }

  .side-stack{
    display:block!important;
    width:100%!important;
  }

  .panel,
  .hero-panel,
  .benefits-panel,
  .collections-panel,
  .community-panel{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }

  .panel > img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }

  .live-shop{
    display:none!important;
  }
}

@supports not (height:100svh){
  @media (orientation:landscape) and (max-width:1199px){
    .responsive-home{
      width:min(100vw, calc(100vh * 711 / 1481))!important;
    }
  }
}

/* DESKTOP/LAPTOP: same intact composition, larger and centered */
@media (min-width:1200px){
  html, body{
    overflow-x:hidden!important;
    overflow-y:auto!important;
    background:#f3eee4!important;
  }

  body::before,
  body::after{
    content:none!important;
    display:none!important;
  }

  .site-frame{
    display:block!important;
    width:100%!important;
    padding:28px 0 56px!important;
    background:#f3eee4!important;
  }

  .responsive-home{
    display:block!important;
    width:min(78vw, 980px)!important;
    max-width:980px!important;
    margin:0 auto!important;
    padding:0!important;
    box-shadow:0 18px 54px rgba(9,29,54,.12)!important;
  }

  .side-stack{
    display:block!important;
    width:100%!important;
  }

  .panel,
  .hero-panel,
  .benefits-panel,
  .collections-panel,
  .community-panel{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }

  .panel > img{
    width:100%!important;
    height:auto!important;
    object-fit:cover!important;
  }

  .live-shop{
    width:min(78vw,980px)!important;
    max-width:980px!important;
    margin:24px auto 56px!important;
  }
}


/* ============================================================
   V27 PREFLIGHT-CORRECTED RESPONSIVE OVERRIDES
   ============================================================ */

/* PHONE PORTRAIT — true full width */
@media (max-width:767px) and (orientation:portrait){
  html,body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    background:#fff8ee!important;
  }

  .site-frame,
  .responsive-home,
  .side-stack,
  .panel,
  .hero-panel,
  .benefits-panel,
  .collections-panel,
  .community-panel{
    width:100vw!important;
    max-width:100vw!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  .responsive-home{
    display:block!important;
    padding:0!important;
  }

  .side-stack{display:block!important}

  .panel{
    border-radius:0!important;
    box-shadow:none!important;
  }

  .panel > img{
    width:100%!important;
    height:auto!important;
    object-fit:cover!important;
  }

  .live-shop{display:none!important}
}

/* PHONE LANDSCAPE — use WIDTH, not viewport height.
   This is the key V26 bug fix. */
@media (max-width:767px) and (orientation:landscape){
  html,body{
    width:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    background:#fff8ee!important;
  }

  .site-frame,
  .responsive-home,
  .side-stack,
  .panel,
  .hero-panel,
  .benefits-panel,
  .collections-panel,
  .community-panel{
    width:100vw!important;
    max-width:100vw!important;
    margin:0!important;
  }

  .responsive-home{
    display:block!important;
    padding:0!important;
  }

  .side-stack{display:block!important}

  .panel{
    border-radius:0!important;
    box-shadow:none!important;
  }

  .panel > img{
    width:100%!important;
    height:auto!important;
    object-fit:cover!important;
  }

  .live-shop{display:none!important}
}

/* TABLET PORTRAIT */
@media (min-width:768px) and (max-width:1023px) and (orientation:portrait){
  body{background:#f4efe7!important}

  .responsive-home{
    display:block!important;
    width:min(94vw,820px)!important;
    max-width:820px!important;
    margin:20px auto 44px!important;
    padding:0!important;
  }

  .side-stack{display:block!important}

  .panel{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }

  .panel > img{width:100%!important;height:auto!important}
}

/* TABLET LANDSCAPE */
@media (min-width:768px) and (max-width:1199px) and (orientation:landscape){
  body{background:#f4efe7!important}

  .responsive-home{
    display:block!important;
    width:min(94vw,1040px)!important;
    max-width:1040px!important;
    margin:20px auto 48px!important;
    padding:0!important;
  }

  .side-stack{display:block!important}

  .panel{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }

  .panel > img{width:100%!important;height:auto!important}
}

/* DESKTOP */
@media (min-width:1200px){
  body{background:#f2ede4!important}

  .responsive-home{
    display:block!important;
    width:min(78vw,1100px)!important;
    max-width:1100px!important;
    margin:30px auto 56px!important;
    padding:0!important;
    box-shadow:0 18px 54px rgba(9,29,54,.12)!important;
  }

  .side-stack{display:block!important}

  .panel{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }

  .panel > img{width:100%!important;height:auto!important}
}


.hp-field{
  position:absolute!important;
  left:-10000px!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
}
.email-modal form button:disabled{
  opacity:.72;
  cursor:wait;
}
.status.error{
  color:#b42318!important;
}
