/* ═══════════════════════════════════════════════
   CAYO OFFICIEL STORE v2 — High-End Design System
   Vibe: Editorial Luxury · Variance 8 · Motion 7
   Skills: design-taste-frontend · high-end-visual-design
═══════════════════════════════════════════════ */

:root {
  /* Brand Palette — Derived from exact DNA specifications */
  --cream:      #FAF4EA;
  --espresso:   #1C1208;
  --sand:       #B89B6E;
  --sky:        #4A90A4;
  
  /* HSL variants for programmatic opacity/depth */
  --h-cream:    38, 50%, 95%;
  --h-espresso: 33, 45%, 7%;
  --h-sand:     37, 34%, 58%;
  --h-sky:      193, 38%, 47%;

  /* Typography — Fraunces (Headlines) + Outfit (Body) */
  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Outfit', system-ui, sans-serif;

  /* Spacing — Visual Density 3 (Airy & Expensive) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem; /* py-24 equivalent */
  --section-py: 160px; /* py-40 equivalent for major sections */

  /* Motion — Intensity 7 (High-End Fluidity) */
  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  --r-lg:   32px;
  --r-xl:   40px;
  --r-full: 9999px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── CUSTOM CURSOR — High-end tactile feel ─── */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--sand);
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  z-index: 10000;
  pointer-events: none;
  transition: transform 0.1s;
}
.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid var(--sand);
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
  transition: transform 0.15s var(--spring), opacity 0.3s ease;
}
body:hover .cursor-dot, body:hover .cursor-outline { opacity: 1; }
.cursor-hover .cursor-outline { transform: scale(1.5); background: rgba(184, 155, 110, 0.1); border-color: transparent; }

/* ─── FILM GRAIN — Editorial Texture (Opacity 0.035) ─── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ─── ANNOUNCEMENT BAR ─── */
.ann-bar {
  background: var(--espresso);
  color: var(--cream-mid);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  z-index: 200;
}
.ann-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.ann-track .sep { color: var(--sand); }

/* ─── FLOATING PILL NAV ─── 
   Using 'Liquid Glass' specs: inner border + inner shadow for refraction
*/
.nav-island {
  position: fixed;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 10px 32px;
  
  /* Liquid Glass Refinement */
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-full);
  
  /* Inner highlight for physical edge refraction */
  box-shadow: 
    var(--shadow-diffuse), 
    inset 0 1px 0 var(--glass-highlight);
    
  transition: transform 0.8s var(--spring), box-shadow 0.4s ease, top 0.8s var(--spring);
}
.nav-island.scrolled {
  top: 18px;
  padding: 8px 28px;
  box-shadow: 
    0 12px 30px -10px rgba(28, 18, 8, 0.12),
    inset 0 1px 0 var(--glass-highlight);
}
.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.nav-logo-main {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--espresso);
}
.nav-logo-sub {
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-mid);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--sand);
  transition: width 0.3s var(--spring);
}
.nav-links a:hover { color: var(--espresso); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--espresso);
  transition: background 0.2s, transform 0.2s var(--spring);
}
.nav-cart:hover { background: var(--cream-mid); transform: scale(1.05); }
.cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--sand);
  color: var(--white);
  font-size: 0.55rem;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

/* ─── HERO ─── */
.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 140px 80px 80px;
  gap: 60px;
  position: relative;
  background: var(--cream);
  overflow: hidden;
}

/* subtle warm radial in bg */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184,155,110,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.pill-tag {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-full);
  background: var(--cream-dark);
  color: var(--brown-mid);
  border: 1px solid var(--cream-mid);
  font-weight: 500;
}
.pill-tag--sand { background: var(--sand); color: var(--white); border-color: var(--sand); }

/* HEADLINE with inline image */
.hero-headline {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
  margin-bottom: 28px;
}
.hero-line-1 {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-word {
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 400;
  color: var(--espresso);
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
}
.hero-word--italic {
  font-style: italic;
  font-weight: 300;
  color: var(--brown-mid);
}

/* INLINE IMAGE in headline — the signature technique */
.hero-img-inline {
  display: inline-flex;
  width: clamp(52px, 6vw, 72px);
  height: clamp(52px, 6vw, 72px);
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--cream-dark);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  animation: float 5s ease-in-out infinite;
}

.hero-line-2 {
  font-family: var(--serif);
  font-size: clamp(5.5rem, 12vw, 12rem);
  font-weight: 700;
  color: var(--espresso);
  letter-spacing: -0.03em;
  line-height: 0.85;
  font-optical-sizing: auto;
}

.hero-sub {
  font-size: 0.85rem;
  color: var(--brown-mid);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 380px;
}

.hero-ctas { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }

.hero-trust {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--sand);
  text-transform: uppercase;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.dot-sep { color: var(--cream-dark); }

/* ─── HERO RIGHT ─── */
.hero-right { position: relative; }

/* DOUBLE-BEZEL — hero image */
.hero-bezel {
  background: var(--cream-dark);
  border: 1px solid rgba(28,18,8,0.07);
  padding: 8px;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.hero-bezel-inner {
  position: relative;
  border-radius: calc(var(--r-xl) - 5px);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--cream-mid);
  box-shadow: inset 0 1px 0 rgba(253,250,245,0.3);
  max-height: 62vh;
}
.hero-main-img { transition: transform 0.8s var(--spring); }
.hero-bezel:hover .hero-main-img { transform: scale(1.03); }

.hero-img-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(253,250,245,0.92);
  backdrop-filter: blur(12px);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--espresso);
  border: 1px solid rgba(28,18,8,0.08);
}

/* FLOATING PRODUCT CARD */
.hero-float-pill {
  position: absolute;
  bottom: -16px;
  left: -28px;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(28,18,8,0.08);
  border-radius: var(--r-md);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(253,250,245,0.5);
  animation: float 5s ease-in-out infinite 0.8s;
  min-width: 190px;
}
.hero-float-pill img {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.hero-float-pill p {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--espresso);
  line-height: 1.3;
  margin-bottom: 2px;
}
.hero-float-pill span {
  font-size: 0.62rem;
  color: var(--sand);
}
.float-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5AB87B;
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(0.85)} }

/* COUNT PILL */
.hero-float-count {
  position: absolute;
  top: 16px;
  left: -20px;
  background: var(--sand);
  color: var(--white);
  border-radius: var(--r-md);
  padding: 12px 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite 1.6s;
}
.count-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}
.count-label {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

/* ─── BUTTONS ─── */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  font-family: var(--sans);
  transition: transform 0.2s var(--spring), box-shadow 0.2s ease, background 0.2s;
  cursor: pointer;
  border: none;
}
.btn-pill:active { transform: scale(0.97) translateY(1px); }
.btn-pill--dark { background: var(--espresso); color: var(--cream); }
.btn-pill--dark:hover { background: var(--brown); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-pill--outline { background: transparent; border: 1.5px solid var(--espresso); color: var(--espresso); }
.btn-pill--outline:hover { background: var(--espresso); color: var(--cream); }
.btn-pill--white { background: rgba(253,250,245,0.92); color: var(--espresso); }
.btn-pill--white:hover { background: var(--white); transform: translateY(-1px); }
.btn-pill--cream { background: var(--cream); color: var(--espresso); }
.btn-pill--cream:hover { background: var(--white); }

/* Nested arrow inside button */
.btn-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(253,250,245,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s var(--spring);
}
.btn-pill:hover .btn-arrow { transform: translateX(3px); }
.btn-arrow--dark { background: rgba(28,18,8,0.1); }

.btn-ghost-link {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-mid);
  transition: color 0.2s;
}
.btn-ghost-link:hover { color: var(--espresso); }

/* ─── MARQUEE ─── */
.marquee-band {
  background: var(--sand);
  padding: 13px 0;
  overflow: hidden;
}
.marquee-run {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  width: max-content;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  color: var(--white);
  font-weight: 400;
}
.marquee-run i { color: rgba(253,250,245,0.4); font-style: normal; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* ─── MOTION: SCROLL REVEALS ─── */
.stagger {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: 
    opacity 1s var(--ease-out-quint), 
    transform 1s var(--ease-out-quint);
  transition-delay: calc(var(--i) * 0.1s);
  will-change: transform, opacity;
}
.stagger.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ─── MOTION: HERO ENTRANCE ─── */
@keyframes hero-reveal-up {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hero-reveal-down {
  from { opacity: 0; transform: translateY(-40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-reveal-right {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-reveal-1 { animation: hero-reveal-up 1.2s var(--ease-out-quint) forwards; }
.hero-reveal-2 { animation: hero-reveal-up 1.2s var(--ease-out-quint) 0.15s forwards; }
.hero-reveal-3 { animation: hero-reveal-up 1.2s var(--ease-out-quint) 0.3s forwards; }
.hero-reveal-img { animation: hero-reveal-right 1.6s var(--ease-out-quint) 0.2s forwards; opacity: 0; }

/* ─── BUTTON ENHANCEMENTS ─── */
.btn-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn-pill:hover::after {
  transform: translateX(100%);
}

/* ─── SCROLL HINT ─── */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: hero-reveal-up 1.2s var(--ease-out-quint) 1s forwards;
}
.scroll-hint-line {
  width: 1px;
  height: 60px;
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
}
.scroll-hint-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--sand);
  animation: scroll-line 2s infinite;
}
@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ─── MOBILE REFINEMENTS ─── */
@media (max-width: 480px) {
  .hero-word { font-size: clamp(2.5rem, 8vw, 4rem); }
  .hero-line-2 { font-size: clamp(4rem, 15vw, 8rem); }
  .hero { padding: 120px 24px 60px; }
  .section { padding: 60px 24px; }
  .nav-island { width: calc(100% - 40px); gap: 16px; justify-content: space-between; }
  .nav-links { display: none; } /* Hide links on tiny mobile for space */
}

/* ─── SECTIONS — Visual Density 3 (Airy & Expensive) ─── */
.section { padding: var(--section-py) 80px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-lg);
}
.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.section-footer-center { text-align: center; margin-top: 48px; }

.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 8px;
  font-weight: 400;
}
.eyebrow--light { color: rgba(253,250,245,0.6); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 400;
  color: var(--espresso);
  line-height: 1;
  font-optical-sizing: auto;
}

/* ─── BENTO GRID — DESIGN VARIANCE 8 (Asymmetric Masonry) ─── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
/* For Variance 8, we avoid simple 3-column rows */
.bento-large { grid-column: span 7; grid-row: span 2; }
.bento-sm { grid-column: span 5; }
.bento-sm:nth-child(3) { grid-column: 8 / span 5; }
.bento-sm:nth-child(4) { grid-column: 1 / span 4; margin-top: -64px; } /* Deliberate offset override */
.bento-sm:nth-child(5) { grid-column: 5 / span 8; }

/* ─── DOUBLE-BEZEL CARD ARCHITECTURE ─── 
   Outer Shell + Inner Core with Concentric Radii
*/
.card-bezel {
  background: rgba(28, 18, 8, 0.03); /* Subtle outer tray */
  border: 1px solid rgba(28, 18, 8, 0.05);
  padding: 8px; /* Defined spacing for bezel */
  border-radius: var(--r-outer);
  transition: transform 0.6s var(--spring), box-shadow 0.4s var(--spring);
  margin-bottom: 16px;
  position: relative;
}
.bento-card:hover .card-bezel {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-diffuse);
}
.card-bezel-inner {
  position: relative;
  border-radius: var(--r-inner);
  overflow: hidden;
  background: var(--cream);
  /* Inner highlight for depth */
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
}
.bento-large .card-bezel-inner { aspect-ratio: 3/4; }
.bento-sm .card-bezel-inner    { aspect-ratio: 4/5; }

.card-bezel-inner img {
  transition: transform 0.6s var(--spring);
}
.bento-card:hover .card-bezel-inner img { transform: scale(1.04); }

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(253,250,245,0.92);
  color: var(--espresso);
  backdrop-filter: blur(8px);
  font-weight: 500;
  border: 1px solid rgba(28,18,8,0.06);
}
.card-badge--sand { background: var(--sand); color: var(--white); border-color: var(--sand); }
.card-badge--sky  { background: var(--sky); color: var(--white); border-color: var(--sky); }

.card-hover-cta {
  position: absolute;
  inset: 0;
  background: rgba(28,18,8,0.28);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card-bezel-inner:hover .card-hover-cta { opacity: 1; }

.btn-add-cart {
  padding: 9px 20px;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  transition: background 0.2s, transform 0.2s var(--spring);
}
.btn-add-cart:hover { background: var(--white); transform: scale(1.02); }
.btn-added { background: var(--sky) !important; color: var(--white) !important; border-color: var(--sky) !important; }

.card-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 4px;
}
.card-info h3 {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--espresso);
  font-optical-sizing: auto;
  margin-bottom: 3px;
}
.card-info p { font-size: 0.65rem; color: var(--sand); letter-spacing: 0.06em; }
.card-price {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--espresso);
  white-space: nowrap;
  padding-top: 2px;
}

/* ─── COLLECTIONS — Z-AXIS CASCADE ─── */
.collections-section { background: var(--cream-mid); }
.cascade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  height: 560px;
  padding: 20px;
}
.cascade-card {
  position: absolute;
  width: 52%;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s var(--spring), z-index 0s;
  cursor: pointer;
  height: 500px;
}
.cascade-card--back  { left: 0%; top: 40px; transform: rotate(-3deg); z-index: 1; }
.cascade-card--mid   { left: 24%; top: 20px; transform: rotate(1.5deg); z-index: 2; }
.cascade-card--front { left: 48%; top: 0;    transform: rotate(3.5deg); z-index: 3; }

.cascade-card:hover { 
  transform: rotate(0deg) translateY(-20px) scale(1.05); 
  z-index: 100;
  box-shadow: var(--shadow-lg);
}
.cascade-card:active { transform: rotate(0deg) translateY(-10px) scale(1.02); }

.cc-img { position: absolute; inset: 0; }
.cc-img img { height: 100%; }
.cc-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(28,18,8,0.82) 0%, transparent 60%);
  padding: 28px 24px;
  color: var(--white);
}
.cc-info .eyebrow { color: rgba(253,250,245,0.6); margin-bottom: 6px; }
.cc-info h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 8px;
  font-optical-sizing: auto;
}
.cc-info p { font-size: 0.75rem; opacity: 0.8; margin-bottom: 16px; line-height: 1.6; }

/* ─── THE EDIT — EDITORIAL SPLIT ─── */
.the-edit {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.edit-left { position: sticky; top: 120px; }
.edit-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: 0.9;
  color: var(--espresso);
  margin-bottom: 24px;
  font-optical-sizing: auto;
}
.edit-title em { font-style: italic; font-weight: 300; color: var(--brown-mid); }
.edit-body {
  font-size: 0.88rem;
  color: var(--brown-mid);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 320px;
}

.edit-masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.edit-tile { cursor: pointer; }
.edit-tile--tall { grid-row: span 2; }
.edit-tile .card-bezel-inner { aspect-ratio: 3/4; }
.edit-tile--tall .card-bezel-inner { aspect-ratio: unset; height: 100%; min-height: 380px; }

.edit-tile-label { padding: 8px 4px 0; }
.edit-tile-label .eyebrow { margin-bottom: 2px; }
.edit-tile-label p {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--espresso);
  font-optical-sizing: auto;
}

/* ─── STORY — FULL-WIDTH EDITORIAL ─── */
.story-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  padding: 80px;
  overflow: hidden;
}
.story-bg {
  position: absolute;
  inset: 0;
}
.story-bg-img { height: 100%; object-position: center top; }
.story-bg-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28,18,8,0.72) 0%,
    rgba(28,18,8,0.45) 50%,
    rgba(28,18,8,0.3) 100%
  );
}
.story-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}
.story-headline {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  font-optical-sizing: auto;
}
.story-headline em { font-style: italic; font-weight: 300; color: var(--sand-light); }
.story-body {
  font-size: 0.88rem;
  color: rgba(253,250,245,0.78);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 400px;
}

.story-quote {
  position: absolute;
  bottom: 80px;
  right: 80px;
  z-index: 2;
  text-align: right;
  max-width: 260px;
}
.story-quote blockquote {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 300;
  color: var(--sand-light);
  line-height: 1.5;
  margin-bottom: 8px;
  font-optical-sizing: auto;
}
.story-quote cite {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(253,250,245,0.45);
  font-style: normal;
}

/* ─── PILLARS ─── */
.pillars {
  background: var(--espresso);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.pillar {
  padding: 52px 36px;
  text-align: center;
  border-right: 1px solid rgba(253,250,245,0.07);
  transition: background 0.3s ease;
}
.pillar:last-child { border-right: none; }
.pillar:hover { background: rgba(253,250,245,0.04); }
.pillar-icon { font-size: 1.3rem; color: var(--sand); margin-bottom: 14px; }
.pillar h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 6px;
  font-optical-sizing: auto;
}
.pillar p { font-size: 0.72rem; color: rgba(253,250,245,0.48); line-height: 1.6; }

/* ─── FEED ─── */
.feed-section { background: var(--cream); }
.feed-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 0;
}
.feed-item {
  display: block; /* supports both div and anchor children */
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  /* Double-Bezel applied to social tiles */
  box-shadow: 0 1px 0 rgba(28,18,8,0.04) inset;
}
.feed-item img { 
  transition: transform 0.6s var(--spring);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feed-item:hover img { transform: scale(1.08); }
.feed-hover {
  position: absolute;
  inset: 0;
  background: rgba(28,18,8,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--spring);
  color: var(--cream);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
}
.feed-item:hover .feed-hover { opacity: 1; }

/* ─── NEWSLETTER ─── */
.newsletter {
  background: var(--brown);
  padding: 110px 80px;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184,155,110,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.nl-inner { max-width: 560px; margin: 0 auto; text-align: center; position: relative; }
.nl-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 16px;
  font-optical-sizing: auto;
}
.nl-title em { font-style: italic; font-weight: 300; color: var(--sand-light); }
.nl-body { font-size: 0.85rem; color: rgba(253,250,245,0.55); margin-bottom: 40px; line-height: 1.7; }
.nl-input-wrap {
  display: flex;
  border-radius: var(--r-full);
  overflow: hidden;
  background: rgba(253,250,245,0.08);
  border: 1px solid rgba(253,250,245,0.12);
  padding: 6px 6px 6px 24px;
  gap: 8px;
  align-items: center;
  transition: border-color 0.2s, background 0.2s;
}
.nl-input-wrap:focus-within {
  border-color: var(--sand);
  background: rgba(253,250,245,0.12);
}
.nl-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  padding: 8px 0;
}
.nl-input-wrap input::placeholder { color: rgba(253,250,245,0.35); }
.nl-input-wrap button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--sand);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  transition: background 0.2s, transform 0.2s var(--spring);
}
.nl-input-wrap button:hover { background: var(--sand-light); transform: scale(1.02); }

/* ─── FOOTER ─── */
.footer {
  background: var(--black);
  padding: 72px 80px 32px;
  color: rgba(253,250,245,0.55);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr 0.8fr;
  gap: 60px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(253,250,245,0.07);
  margin-bottom: 28px;
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand p { font-size: 0.7rem; margin-top: 8px; opacity: 0.4; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h5, .footer-social h5 {
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 14px;
  font-weight: 400;
}
.footer-col a, .footer-social a {
  display: block;
  font-size: 0.76rem;
  margin-bottom: 8px;
  color: rgba(253,250,245,0.42);
  transition: color 0.2s;
}
.footer-col a:hover, .footer-social a:hover { color: var(--sand); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.66rem;
  opacity: 0.35;
}
.footer-bottom div { display: flex; gap: 20px; }

/* ─── SCROLL REVEAL (stagger) ─── */
.stagger {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.stagger.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── CART TOAST ─── */
.cart-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  background: var(--espresso);
  color: var(--cream);
  padding: 14px 20px;
  border-radius: var(--r-md);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-lg);
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.4s var(--spring), opacity 0.3s ease;
  pointer-events: none;
}
.cart-toast.show { transform: translateY(0); opacity: 1; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .bento-large { grid-column: span 6; }
  .bento-sm:nth-child(2) { grid-column: 7 / span 6; }
  .bento-sm:nth-child(3) { grid-column: 1 / span 6; }
  .bento-sm:nth-child(4) { grid-column: 7 / span 3; }
  .bento-sm:nth-child(5) { grid-column: 10 / span 3; }
  .cascade-card { width: 60%; }
  .cascade-card--mid  { left: 20%; }
  .cascade-card--front { left: 40%; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 120px 32px 60px; }
  .hero-right { max-height: 400px; }
  .hero-float-pill, .hero-float-count { display: none; }
  .section { padding: 72px 32px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bento-large, .bento-sm { grid-column: span 1 !important; grid-row: span 1 !important; }
  .cascade-grid { height: auto; }
  .cascade-card { position: relative; width: 100%; height: 360px; left: auto !important; top: auto !important; transform: none !important; margin-bottom: 16px; }
  .cascade-grid { display: flex; flex-direction: column; padding: 0; }
  .the-edit { grid-template-columns: 1fr; gap: 40px; }
  .edit-left { position: static; }
  .story-section { padding: 60px 32px; }
  .story-quote { position: static; text-align: left; margin-top: 32px; max-width: 100%; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: none; }
  .feed-grid { grid-template-columns: repeat(3, 1fr); }
  .newsletter { padding: 72px 32px; }
  .footer { padding: 52px 32px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nav-island { padding: 10px 16px; gap: 16px; top: 44px; }
  .hero-line-2 { font-size: 4.5rem; }
  .edit-masonry { grid-template-columns: 1fr; }
  .edit-tile--tall { grid-row: span 1; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid rgba(253,250,245,0.07); }
  .feed-grid { grid-template-columns: repeat(2, 1fr); }
  .nl-input-wrap { flex-direction: column; border-radius: var(--r-lg); padding: 12px; }
  .nl-input-wrap button { width: 100%; justify-content: center; }
}
