/* Fairy Vintage — combined brand tokens + mobile site styles (Twilight Wood) */

/* ── Brand tokens ───────────────────────────────────────────────────── */
:root {
  /* Paper & ink */
  --cream:        #F2E9D4;
  --cream-warm:   #EADFC2;
  --cream-deep:   #DCCFAA;
  --ink:          #211F14;
  --ink-soft:     #3D3826;

  /* Forest */
  --moss-deep:    #2E3A1C;
  --moss:         #4F6330;
  --moss-light:   #8AA257;
  --fern:         #6B8348;

  /* Toadstool */
  --toadstool:        #A8362F;
  --toadstool-deep:   #722520;
  --toadstool-soft:   #C66A60;

  /* Florals & light */
  --petal:        #E3A39B;
  --petal-soft:   #F0CFC9;
  --sunbeam:      #D9B26A;
  --sunbeam-soft: #ECD7A6;
  --bark:         #5C4226;

  /* Type */
  --f-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --f-script:  "Pinyon Script", "Italianno", cursive;
  --f-body:    "Manrope", "Inter", system-ui, sans-serif;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-body);
  background: #0E1208;
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ════════════════════════════════════════════════════════════════════ */
/*  Phone stage: on desktop show phone frame; on mobile, fill screen.   */
/* ════════════════════════════════════════════════════════════════════ */
.phone-stage {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(46,58,28,0.25), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(168,54,47,0.15), transparent 50%),
    #0E1208;
}
.phone {
  width: 100%;
  background: var(--moss-deep);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (min-width: 720px) {
  .phone-stage { padding: 24px; }
  .phone {
    width: 420px;
    height: calc(100vh - 48px);
    max-height: 920px;
    border-radius: 38px;
    box-shadow:
      0 0 0 10px #161310,
      0 0 0 11px rgba(255,255,255,0.04),
      0 40px 80px rgba(0,0,0,0.55);
  }
  .phone::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 110px; height: 26px;
    background: #161310;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    z-index: 100;
  }
}

/* status bar — only on desktop frame */
.statusbar {
  display: none;
  height: 28px;
  padding: 0 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--cream);
  position: relative;
  z-index: 50;
  flex: 0 0 auto;
}
@media (min-width: 720px) {
  .statusbar { display: flex; }
}

/* ════════════════════════════════════════════════════════════════════ */
/*  App chrome: top bar, bottom tab bar, drawer                         */
/* ════════════════════════════════════════════════════════════════════ */
.topbar {
  position: sticky; top: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  background: rgba(14, 18, 8, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217,178,106,0.18);
  z-index: 30;
  color: var(--cream);
}
.topbar .lockup { line-height: 0.85; text-align: center; }
.topbar .lockup .s {
  font-family: var(--f-script);
  font-size: 26px;
  color: var(--sunbeam-soft);
}
.topbar .lockup .w {
  font-family: var(--f-display);
  font-size: 9px;
  letter-spacing: 0.34em;
}
.topbar .icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--cream);
  background: transparent;
  border: 0;
}
.topbar .bag { position: relative; }
.topbar .bag .count {
  position: absolute; top: 2px; right: 2px;
  background: var(--toadstool);
  color: var(--cream);
  font-size: 9px;
  width: 14px; height: 14px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-body);
  font-weight: 600;
}

.main {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.main::-webkit-scrollbar { display: none; }

.tabbar {
  flex: 0 0 auto;
  height: 64px;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  background: rgba(14, 18, 8, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(217,178,106,0.18);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.tabbar button {
  flex: 1;
  background: transparent;
  border: 0;
  color: rgba(236,215,166,0.55);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  font-family: var(--f-body);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.tabbar button .icon { font-size: 18px; }
.tabbar button.active { color: var(--sunbeam-soft); }
.tabbar button.active .icon { color: var(--sunbeam); }

/* Slide-in drawer */
.drawer-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 40;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: absolute; top: 0; left: 0;
  width: 84%; max-width: 340px; height: 100%;
  background: var(--moss-deep);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 45;
  display: flex; flex-direction: column;
  border-right: 1px solid rgba(217,178,106,0.18);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  padding: 24px 22px 18px;
  border-bottom: 1px solid rgba(217,178,106,0.18);
}
.drawer-head .s { font-family: var(--f-script); font-size: 42px; color: var(--sunbeam-soft); line-height: 0.85; }
.drawer-head .w { font-family: var(--f-display); font-size: 12px; letter-spacing: 0.36em; margin-top: 4px; }
.drawer-head .by { font-family: var(--f-display); font-style: italic; font-size: 13px; color: var(--cream); opacity: 0.7; margin-top: 14px; }
.drawer-nav { flex: 1; padding: 12px 0; overflow-y: auto; }
.drawer-nav button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--cream);
  padding: 14px 22px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  display: flex; justify-content: space-between; align-items: center;
}
.drawer-nav button.active { color: var(--sunbeam-soft); }
.drawer-nav button .arr { font-size: 14px; opacity: 0.5; }
.drawer-foot {
  padding: 18px 22px 24px;
  border-top: 1px solid rgba(217,178,106,0.15);
  display: flex; flex-direction: column; gap: 10px;
}
.drawer-foot .socials { display: flex; gap: 14px; }
.drawer-foot .socials a {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sunbeam-soft);
  text-decoration: none;
}
.drawer-foot .copyright {
  font-size: 9px;
  color: rgba(236,215,166,0.45);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════════════════ */
/*  Reusable bits                                                       */
/* ════════════════════════════════════════════════════════════════════ */
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sunbeam-soft);
  opacity: 0.85;
}
.serif-h {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  line-height: 1.02;
  color: var(--cream);
}
.script {
  font-family: var(--f-script);
  color: var(--sunbeam-soft);
  line-height: 0.82;
}
.divider {
  display: flex; align-items: center; gap: 14px;
  color: rgba(236,215,166,0.55);
}
.divider .line { flex: 1; height: 1px; background: currentColor; opacity: 0.4; }

.btn-primary {
  display: inline-block;
  padding: 14px 22px;
  background: var(--sunbeam);
  color: var(--ink);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  font-weight: 600;
}
.btn-primary.full { width: 100%; text-align: center; }
.btn-ghost {
  display: inline-block;
  padding: 14px 22px;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(236,215,166,0.5);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
}

/* Striped placeholder for product photos */
.swatch {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, var(--c) 0 14px, color-mix(in oklch, var(--c), white 8%) 14px 28px);
}
.swatch::after {
  content: "[ photo ]";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 9px;
  color: rgba(33,31,20,0.45);
}
.swatch.no-label::after { content: none; }

/* Product card */
.pc { display: flex; flex-direction: column; gap: 8px; }
.pc .img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
}
.pc .img-wrap .tag {
  position: absolute; top: 8px; left: 8px;
  background: rgba(14,18,8,0.7);
  color: var(--sunbeam-soft);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}
.pc .img-wrap .heart {
  position: absolute; top: 8px; right: 8px;
  width: 26px; height: 26px;
  background: rgba(14,18,8,0.5);
  border-radius: 50%;
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  border: 0;
  backdrop-filter: blur(4px);
}
.pc .info { padding: 0 2px; }
.pc .city {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sunbeam-soft);
  opacity: 0.85;
}
.pc h4 {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  margin: 4px 0 2px;
  color: var(--cream);
  line-height: 1.15;
}
.pc .price { font-size: 12px; color: var(--cream); }

/* Stat blocks for sustainability page */
.stat {
  border-top: 1px solid rgba(217,178,106,0.25);
  padding: 26px 0 18px;
}
.stat .num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: 64px;
  line-height: 0.9;
  color: var(--sunbeam-soft);
}
.stat .num .small { font-size: 32px; }
.stat .label {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.75;
  margin-top: 6px;
}
.stat .body {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: var(--cream);
  margin-top: 10px;
}

/* Section base — applies to any element using .fv (section, footer, etc.) */
.fv {
  padding: 32px 22px;
  position: relative;
}
.fv.cream {
  background: var(--cream);
  color: var(--ink);
}
.fv.cream .eyebrow,
.fv.cream h2,
.fv.cream h3 { color: var(--moss-deep); }
.fv.cream .script { color: var(--moss); }

.anchor-pad { scroll-margin-top: 80px; }

/* Video hero */
.video-hero {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 540px;
  max-height: 760px;
  overflow: hidden;
  background: var(--moss-deep);
}
.video-hero video,
.video-hero .video-fallback {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-hero .scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,18,8,0.45) 0%, transparent 25%, transparent 55%, rgba(14,18,8,0.85) 92%, var(--moss-deep) 100%);
}
.video-hero .content {
  position: absolute; left: 0; right: 0; bottom: 18px;
  padding: 0 22px;
  color: var(--cream);
}
.video-hero .content .script {
  font-size: clamp(72px, 22vw, 96px);
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.video-hero .content .tag {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  margin-top: 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.video-hero .top-tag {
  position: absolute; top: 18px; left: 22px;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(236,215,166,0.95);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.video-hero .play-pill {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(236,215,166,0.18);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(236,215,166,0.6);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  opacity: 0;
  transition: opacity 0.3s;
}

/* Pull rows */
.pulls {
  display: flex; gap: 14px;
  overflow-x: auto; overflow-y: hidden;
  padding: 0 22px 4px;
  scrollbar-width: none;
}
.pulls::-webkit-scrollbar { display: none; }
.pulls > * { flex: 0 0 56%; min-width: 200px; }

/* Travel pins */
.pins {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pin {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: 10px;
  overflow: hidden;
}
.pin .label {
  position: absolute; left: 10px; bottom: 10px; right: 10px;
  color: var(--cream);
}
.pin .label .city {
  font-family: var(--f-script);
  font-size: 28px;
  line-height: 0.85;
  color: var(--sunbeam-soft);
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.pin .label .date {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 3px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* Cart rows */
.cart-row {
  display: flex; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(217,178,106,0.18);
}
.cart-row .img {
  width: 84px;
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  flex: 0 0 auto;
}
.cart-row .info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.cart-row .info h4 {
  margin: 0;
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: 16px; line-height: 1.15;
}
.cart-row .info .meta { font-size: 10px; color: rgba(236,215,166,0.7); letter-spacing: 0.16em; text-transform: uppercase; }
.cart-row .info .bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.cart-row .info .qty {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(217,178,106,0.3);
  border-radius: 999px; padding: 3px 10px;
  font-size: 11px;
}
.cart-row .info .qty button { background: transparent; border: 0; color: var(--cream); font-size: 13px; }
.cart-row .info .price { font-family: var(--f-display); font-size: 16px; color: var(--sunbeam-soft); }

/* PDP */
.pdp-hero {
  position: relative;
  aspect-ratio: 4/5;
}
.pdp-hero .back, .pdp-hero .save {
  position: absolute; top: 14px;
  width: 36px; height: 36px;
  background: rgba(14,18,8,0.55);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  border: 0;
}
.pdp-hero .back { left: 14px; }
.pdp-hero .save { right: 14px; }
.pdp-hero .dots {
  position: absolute; bottom: 14px; left: 0; right: 0;
  display: flex; gap: 6px; justify-content: center;
}
.pdp-hero .dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(236,215,166,0.4);
}
.pdp-hero .dots span.on { background: var(--sunbeam-soft); width: 18px; border-radius: 999px; }

/* Section header */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 18px; gap: 14px;
}
.section-head h3 {
  margin: 0;
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: 28px; line-height: 1.05;
  color: var(--cream);
}
.section-head .seeall {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sunbeam-soft);
  background: transparent; border: 0;
}
.fv.cream .section-head h3 { color: var(--ink); }
.fv.cream .section-head .seeall { color: var(--toadstool); }

/* Quote */
.quote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--cream);
}
.quote em { font-style: normal; color: var(--sunbeam-soft); }

/* Socials grid */
.socials-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.social-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid rgba(217,178,106,0.25);
  border-radius: 10px;
  background: rgba(236,215,166,0.04);
  color: var(--cream);
  text-decoration: none;
}
.social-card .name { font-family: var(--f-display); font-style: italic; font-size: 15px; }
.social-card .handle { font-size: 10px; opacity: 0.65; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 2px; }
.social-card .arr { font-size: 12px; color: var(--sunbeam-soft); }

/* Filter chips */
.chips {
  display: flex; gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(217,178,106,0.3);
  background: transparent;
  color: var(--cream);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chip.on {
  background: var(--sunbeam);
  color: var(--ink);
  border-color: var(--sunbeam);
}

/* Sticky CTA */
.sticky-cta {
  position: sticky; bottom: 0;
  background: rgba(14,18,8,0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(217,178,106,0.18);
  padding: 12px 18px;
  z-index: 20;
}

.small-note {
  font-size: 11px;
  color: rgba(236,215,166,0.7);
  line-height: 1.6;
}
