/* ═══════════════════════════════════════════════════
   BOUNTY & WEAVE — style.css v2.0
   Palette  : Ivory · Deep Forest · Amber · Sand
   Typefaces: Cormorant Garamond (display) · Jost (body)
   ═══════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────── */
:root {
  --ivory:      #F7F3EC;
  --ivory-deep: #EDE6D8;
  --sand:       #D4C5A9;
  --amber:      #C4955A;
  --amber-dark: #B0833F;
  --forest:     #1E2B1F;
  --forest-mid: #2D3E2E;
  --text:       #2A2A22;
  --text-muted: #6B6558;
  --white:      #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  --nav-h: 72px;
  --r:     4px;
  --ease:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t:     0.35s var(--ease);

  --shadow:      0 4px 24px rgba(0,0,0,0.07);
  --shadow-deep: 0 12px 48px rgba(0,0,0,0.14);
}

/* ── RESET ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--ivory); color: var(--text); line-height: 1.65; overflow-x: hidden; }
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── LAYOUT ──────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ── TYPE ────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(2.8rem,7vw,6rem); }
h2 { font-size: clamp(2rem,4.5vw,3.6rem); }
h3 { font-size: 1.25rem; font-weight: 500; }
h4 { font-size: 1.05rem; font-weight: 500; }
em { font-style: italic; color: var(--amber); }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { margin-bottom: 16px; }
.section-desc { font-size: .93rem; color: var(--text-muted); max-width: 520px; margin: 0 auto; font-weight: 300; line-height: 1.8; }
.section-cta  { text-align: center; margin-top: 52px; }

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: var(--r);
  transition: var(--t);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-light  { background: var(--ivory); color: var(--forest); }
.btn-light:hover { background: var(--ivory-deep); }
.btn-ghost  { background: transparent; color: var(--ivory); border-color: rgba(247,243,236,.45); }
.btn-ghost:hover { border-color: var(--ivory); }
.btn-dark   { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.btn-dark:hover { background: var(--forest-mid); }
.btn-amber  { background: var(--amber); color: var(--ivory); border-color: var(--amber); }
.btn-amber:hover { background: var(--amber-dark); }
.btn-full   { width: 100%; text-align: center; }
.req        { color: var(--amber); }

/* ── REVEAL ──────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 200;
  padding: 16px 0;
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
#navbar.scrolled {
  background: rgba(30,43,31,.97);
  padding: 10px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,.22);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* Logo */
.nav-logo img { height: 42px; width: auto; filter: brightness(0) invert(1); transition: opacity var(--t); }
.nav-logo:hover img { opacity: .75; }

/* Links */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 5px;
  color: var(--ivory);
  font-size: .72rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 14px; border-radius: var(--r);
  opacity: .82; transition: opacity var(--t), background var(--t);
}
.nav-links > li > a:hover { opacity: 1; background: rgba(255,255,255,.06); }
.chevron { width: 8px; height: 6px; transition: transform var(--t); flex-shrink: 0; }
.has-dropdown:hover .chevron { transform: rotate(180deg); }
.has-dropdown.open .chevron { transform: rotate(180deg); }

/* Nav parent row — label + chevron btn side by side */
.nav-parent-row {
  display: flex; align-items: center;
}
.nav-parent-link {
  display: flex; align-items: center;
  color: var(--ivory);
  font-size: .72rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 6px 8px 14px; border-radius: var(--r) 0 0 var(--r);
  opacity: .82; transition: opacity var(--t), background var(--t);
  text-decoration: none;
}
.nav-parent-link:hover { opacity: 1; background: rgba(255,255,255,.06); }
.nav-chevron-btn {
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  color: var(--ivory); padding: 8px 10px 8px 4px;
  border-radius: 0 var(--r) var(--r) 0;
  opacity: .82; transition: opacity var(--t), background var(--t);
}
.nav-chevron-btn:hover { opacity: 1; background: rgba(255,255,255,.06); }

/* Living accent */
.nav-living .nav-parent-link { color: var(--sand) !important; opacity: 1 !important; }
.nav-living .nav-chevron-btn { color: var(--sand) !important; opacity: 1 !important; }
.nav-cta > a, .nav-links > li > a.nav-cta {
  background: var(--amber); color: var(--ivory) !important; opacity: 1 !important;
}
.nav-links > li > a.nav-cta:hover { background: var(--amber-dark); }

/* Dropdown */
.dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--forest-mid); border-radius: var(--r);
  min-width: 210px; padding: 12px 0 8px;
  box-shadow: var(--shadow-deep);
  opacity: 0; pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .22s ease, transform .22s ease;
  white-space: nowrap;
  z-index: 300;
}
/* Invisible bridge — fills gap between nav link and dropdown so hover stays connected */
.dropdown::before {
  content: '';
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
}
.has-dropdown:hover .dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown li a {
  display: block; padding: 10px 20px;
  font-size: .72rem; font-weight: 400; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(247,243,236,.75);
  transition: color var(--t), background var(--t);
}
.dropdown li a:hover { color: var(--ivory); background: rgba(255,255,255,.05); }

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; z-index: 210; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ivory); transition: var(--t); border-radius: 2px; }

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--forest); /* fallback color while images load */
}
#heroSlideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
#heroSlideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
}
#heroSlideshow .slide.active { opacity: 1; }
#hero > .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(135deg, rgba(30,43,31,.78) 0%, rgba(30,43,31,.38) 55%, rgba(30,43,31,.58) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 120px max(28px, 6vw) 80px;
  max-width: 700px;
}
.hero-eyebrow { font-size: .68rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--sand); margin-bottom: 20px; }
.hero-headline { color: var(--ivory); margin-bottom: 24px; text-shadow: 0 2px 24px rgba(0,0,0,.18); }
.hero-sub { font-size: 1rem; color: rgba(247,243,236,.78); font-weight: 300; margin-bottom: 42px; max-width: 430px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; bottom: 36px; right: 48px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  color: rgba(247,243,236,.5); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
}
.scroll-line { width: 38px; height: 1px; background: rgba(247,243,236,.35); overflow: hidden; }
.scroll-line::after {
  content: ''; display: block; width: 100%; height: 100%; background: var(--ivory);
  animation: scanline 2.2s infinite;
}
@keyframes scanline { 0%{transform:translateX(-100%)} 100%{transform:translateX(100%)} }

/* ══════════════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════════════ */
.marquee-strip { background: var(--forest); padding: 13px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 22px; animation: marquee 35s linear infinite; }
.marquee-track span { font-size: .63rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.marquee-track span:nth-child(even) { color: var(--amber); font-size: .44rem; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.marquee-strip:hover .marquee-track { animation-play-state: paused; }

/* ══════════════════════════════════════════════════
   UNIVERSE (3 sub-brands)
══════════════════════════════════════════════════ */
.section-universe { padding: 100px 0 80px; }
.universe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.universe-card {
  display: flex; flex-direction: column;
  border-radius: 8px; overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t);
  color: var(--text);
}
.universe-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep); }

.uc-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.uc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.universe-card:hover .uc-img img { transform: scale(1.06); }
.uc-overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(30,43,31,.25); transition: background var(--t); }
.universe-card:hover .uc-overlay { background: rgba(30,43,31,.35); }
.uc-badge {
  position: absolute; top: 16px; right: 16px;
  font-size: .6rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  background: var(--amber); color: var(--ivory);
  padding: 5px 12px; border-radius: var(--r);
}

.uc-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.uc-label { font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.uc-body h3 { font-size: 1.6rem; margin-bottom: 14px; }
.uc-body p  { font-size: .87rem; color: var(--text-muted); font-weight: 300; line-height: 1.75; flex: 1; margin-bottom: 22px; }
.uc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber);
  transition: gap var(--t);
}
.universe-card:hover .uc-link { gap: 12px; }
.uc-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════
   MATERIALS STRIP
══════════════════════════════════════════════════ */
.materials-section { background: var(--forest); padding: 72px 0; }
.materials-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px; }
.material-item { text-align: center; }
.material-icon { color: var(--amber); font-size: 1.1rem; margin-bottom: 10px; }
.material-item h4 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; color: var(--ivory); margin-bottom: 8px; }
.material-item p  { font-size: .78rem; color: var(--sand); font-weight: 300; line-height: 1.55; }

/* ══════════════════════════════════════════════════
   BAG PREVIEW
══════════════════════════════════════════════════ */
.section-preview { padding: 96px 0; background: var(--ivory-deep); }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.preview-card { }
.preview-img {
  position: relative; overflow: hidden; border-radius: var(--r);
  background: var(--ivory); aspect-ratio: 3/4;
}
.preview-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.preview-card:hover .preview-img img { transform: scale(1.05); }
.preview-overlay {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(30,43,31,.42);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .28s ease;
}
.preview-card:hover .preview-overlay { opacity: 1; }
.card-inquiry-btn {
  font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ivory); border: 1px solid var(--ivory);
  padding: 9px 22px; border-radius: var(--r);
  transition: background var(--t), color var(--t);
}
.card-inquiry-btn:hover { background: var(--ivory); color: var(--forest); }
.preview-info { padding: 14px 2px 0; }
.card-material { font-size: .65rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); display: block; margin-bottom: 4px; }
.preview-info h3 { font-size: .95rem; font-weight: 500; }

/* ══════════════════════════════════════════════════
   STORY
══════════════════════════════════════════════════ */
.section-story { padding: 100px 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-images { position: relative; }
.story-img-main { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-deep); }
.story-img-main img { width: 100%; height: 460px; object-fit: cover; }
.story-img-accent {
  position: absolute; bottom: -28px; right: -28px;
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--ivory-deep); border: 6px solid var(--ivory);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.story-img-accent img { width: 85%; height: 85%; object-fit: contain; }
.story-text h2 { margin-bottom: 24px; }
.story-text p  { font-size: .92rem; color: var(--text-muted); font-weight: 300; margin-bottom: 18px; line-height: 1.8; }
.story-stats { display: flex; gap: 36px; margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--sand); flex-wrap: wrap; }
.stat-number { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 300; color: var(--amber); line-height: 1; margin-bottom: 4px; }
.stat-label  { font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }

/* ══════════════════════════════════════════════════
   PRESS / EVENTS
══════════════════════════════════════════════════ */
.section-press { padding: 96px 0; background: var(--ivory-deep); }
.events-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-bottom: 48px;
}
.event-logo-wrap {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: var(--ivory); border-radius: var(--r); padding: 24px 20px;
  transition: box-shadow var(--t), transform var(--t);
  text-align: center;
}
.event-logo-wrap:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.event-logo-wrap img {
  width: 100%; max-height: 60px; object-fit: contain;
  filter: grayscale(100%); opacity: .6;
  transition: filter var(--t), opacity var(--t);
}
.event-logo-wrap:hover img { filter: grayscale(0%); opacity: 1; }
.event-name { font-size: .62rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.press-note { text-align: center; font-size: .88rem; color: var(--text-muted); }
.press-note a { color: var(--amber); border-bottom: 1px solid var(--amber); transition: opacity var(--t); }
.press-note a:hover { opacity: .7; }

/* ══════════════════════════════════════════════════
   INSTAGRAM ACCOUNTS
══════════════════════════════════════════════════ */
.section-instagram { padding: 96px 0; }
.ig-accounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ig-account-card {
  display: flex; flex-direction: column;
  border-radius: 8px; overflow: hidden;
  border: 1px solid var(--sand);
  color: var(--text);
  transition: box-shadow var(--t), transform var(--t);
}
.ig-account-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.ig-ac-img { aspect-ratio: 1; overflow: hidden; }
.ig-ac-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.ig-account-card:hover .ig-ac-img img { transform: scale(1.06); }
.ig-ac-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.ig-icon { width: 22px; height: 22px; color: var(--amber); margin-bottom: 10px; }
.ig-ac-body h4 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 10px; }
.ig-ac-body p  { font-size: .83rem; color: var(--text-muted); font-weight: 300; line-height: 1.65; flex: 1; margin-bottom: 18px; }
.ig-follow {
  display: inline-block; align-self: flex-start;
  font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber); border-bottom: 1px solid var(--amber);
}

/* ══════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════ */
.section-contact { padding: 100px 0; background: var(--forest); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-left h2   { color: var(--ivory); margin-bottom: 20px; }
.contact-left > p  { font-size: .92rem; color: rgba(247,243,236,.65); font-weight: 300; line-height: 1.8; margin-bottom: 32px; }
.contact-details   { display: flex; flex-direction: column; gap: 18px; }
.contact-detail-item { display: flex; flex-direction: column; gap: 4px; }
.cd-label { font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.contact-detail-item span, .contact-detail-item a { font-size: .88rem; color: rgba(247,243,236,.78); font-weight: 300; line-height: 1.55; transition: color var(--t); }
.contact-detail-item a:hover { color: var(--ivory); }
.wa-btn { display: inline-flex !important; align-items: center; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.06); border: 1px solid rgba(212,197,169,.18);
  border-radius: var(--r); padding: 12px 16px;
  color: var(--ivory); font-size: .88rem; font-weight: 300;
  transition: border-color var(--t); outline: none; width: 100%;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(247,243,236,.3); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--amber); }
.form-group select option, .form-group select optgroup { background: var(--forest); color: var(--ivory); }
.form-group textarea { resize: vertical; min-height: 110px; }
#contactForm .btn-dark { background: var(--amber); border-color: var(--amber); padding: 16px; margin-top: 4px; }
#contactForm .btn-dark:hover { background: var(--amber-dark); border-color: var(--amber-dark); }
.form-note { font-size: .72rem; color: rgba(247,243,236,.38); text-align: center; }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.site-footer { background: #141F15; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.2fr 1fr 1.5fr; gap: 40px; padding-bottom: 52px; border-bottom: 1px solid rgba(212,197,169,.1); margin-bottom: 28px; }
.footer-sub { padding-left: 12px; }
.footer-sub a { font-size: .74rem !important; color: rgba(247,243,236,.32) !important; }
.footer-sub a:hover { color: var(--ivory) !important; }
.footer-logo { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: .75; margin-bottom: 16px; }
.footer-brand p { font-size: .8rem; color: rgba(247,243,236,.42); font-weight: 300; line-height: 1.65; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 36px; height: 36px; border: 1px solid rgba(212,197,169,.18); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: border-color var(--t), background var(--t); }
.footer-socials a:hover { border-color: var(--amber); background: rgba(196,149,90,.1); }
.footer-socials svg { width: 15px; height: 15px; color: var(--sand); }
.footer-links h5 { font-family: var(--font-body); font-size: .66rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.footer-links ul { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: .8rem; color: rgba(247,243,236,.48); font-weight: 300; transition: color var(--t); }
.footer-links a:hover { color: var(--ivory); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: .73rem; color: rgba(247,243,236,.22); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .72rem; color: rgba(247,243,236,.28); transition: color var(--t); }
.footer-bottom-links a:hover { color: rgba(247,243,236,.6); }

/* ══════════════════════════════════════════════════
   SUB-PAGES (bag / giftbox / bountyliving)
══════════════════════════════════════════════════ */
.sub-hero { position: relative; height: 60vh; min-height: 380px; display: flex; align-items: flex-end; overflow: hidden; padding-top: var(--nav-h); }
.sub-hero-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; }
.sub-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.sub-hero-overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(to top, rgba(30,43,31,.88) 0%, rgba(30,43,31,.25) 60%); }
.sub-hero-content { position: relative; z-index: 2; padding: 48px 28px; max-width: 1200px; margin: 0 auto; width: 100%; }
.sub-hero-content h1 { color: var(--ivory); margin-bottom: 10px; }
.sub-hero-content p  { font-size: 1rem; color: rgba(247,243,236,.75); font-weight: 300; max-width: 520px; }

/* Filter tabs */
.filter-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; flex-wrap: wrap; }
.tab { font-family: var(--font-body); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); padding: 10px 22px; border: 1px solid var(--sand); border-radius: var(--r); transition: var(--t); }
.tab:hover, .tab.active { background: var(--forest); color: var(--ivory); border-color: var(--forest); }

/* Product grid (sub-page) */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-grid .preview-img { aspect-ratio: 3/4; }
.product-card.hidden { display: none; }

/* Living section blocks */
.living-block { padding: 88px 0; }
.living-block:nth-child(even) { background: var(--ivory-deep); }
.living-block-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.living-block-grid.reverse { direction: rtl; }
.living-block-grid.reverse > * { direction: ltr; }
.living-block-img { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-deep); aspect-ratio: 4/3; }
.living-block-img img { width: 100%; height: 100%; object-fit: cover; }
.living-block-text h2 { margin-bottom: 16px; }
.living-block-text p  { font-size: .92rem; color: var(--text-muted); font-weight: 300; line-height: 1.8; margin-bottom: 16px; }
.living-features-list { margin: 20px 0; display: flex; flex-direction: column; gap: 8px; }
.living-features-list li { font-size: .85rem; color: var(--text-muted); font-weight: 300; display: flex; align-items: baseline; gap: 10px; }
.living-features-list li::before { content: '–'; color: var(--amber); flex-shrink: 0; }

/* Legal pages */
.legal-page { padding: 120px 0 80px; max-width: 760px; margin: 0 auto; }
.legal-page h1 { font-size: 2.4rem; margin-bottom: 8px; }
.legal-page .last-updated { font-size: .78rem; color: var(--text-muted); margin-bottom: 48px; }
.legal-page h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal-page p, .legal-page li { font-size: .92rem; color: var(--text-muted); font-weight: 300; line-height: 1.85; margin-bottom: 14px; }
.legal-page ul { padding-left: 20px; list-style: disc; }
.legal-page a { color: var(--amber); border-bottom: 1px solid var(--amber); }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .universe-grid { grid-template-columns: 1fr 1fr; }
  .universe-card:last-child { grid-column: span 2; flex-direction: row; }
  .universe-card:last-child .uc-img { flex: 1; aspect-ratio: auto; }
  .universe-card:last-child .uc-body { flex: 1; }
  .events-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .materials-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .story-img-accent { right: 0; bottom: -20px; width: 110px; height: 110px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .living-block-grid { grid-template-columns: 1fr; gap: 36px; }
  .living-block-grid.reverse { direction: ltr; }
  .ig-accounts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Nav mobile */
  .nav-links {
    display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 200;
    background: var(--forest); flex-direction: column;
    align-items: flex-start; justify-content: center;
    padding: 60px 36px; gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; border-bottom: 1px solid rgba(212,197,169,.08); }
  .nav-links > li > a { font-size: 1rem; padding: 16px 0; opacity: 1; letter-spacing: .06em; }
  /* nav-parent-row mobile */
  .nav-parent-row { width: 100%; display: flex; align-items: center; justify-content: space-between; }
  .nav-parent-link { font-size: 1rem; padding: 16px 0; opacity: 1; letter-spacing: .06em; flex: 1; border-radius: 0; background: none !important; }
  .nav-chevron-btn { padding: 16px 0 16px 16px; opacity: 1; border-radius: 0; }
  .nav-chevron-btn .chevron { width: 12px; height: 9px; }
  .dropdown { position: static; transform: none; opacity: 1; pointer-events: all; box-shadow: none; background: transparent; padding: 0 0 8px 16px; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown li a { font-size: .82rem; padding: 8px 0; color: rgba(247,243,236,.6); }
  .nav-toggle { display: flex; }
  .nav-cta > a { background: transparent !important; color: var(--amber) !important; padding-left: 0 !important; }

  h1 { font-size: clamp(2.4rem,9vw,3.4rem); }
  h2 { font-size: clamp(1.9rem,6vw,2.8rem); }

  .universe-grid { grid-template-columns: 1fr; }
  .universe-card:last-child { grid-column: span 1; flex-direction: column; }
  .universe-card:last-child .uc-img { aspect-ratio: 4/3; }

  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid  { grid-template-columns: repeat(2, 1fr); }
  .events-grid   { grid-template-columns: repeat(2, 1fr); }
  .ig-accounts   { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
  .material-item:last-child { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .hero-scroll-hint { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .story-stats { gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .preview-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .events-grid  { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ══════════════════════════════════════════════════
   MOBILE OVERFLOW FIX — Inline grid overrides
   Covers all sub-pages that use inline grid styles
══════════════════════════════════════════════════ */

/* Prevent horizontal scroll globally */
html, body { max-width: 100%; overflow-x: hidden; }

/* ── TABLET (max 1024px) ── */
@media (max-width: 1024px) {
  /* 5-col → 3-col */
  .mgrid,
  [style*="repeat(5,1fr)"],
  [style*="repeat(5, 1fr)"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  /* 4-col → 2-col */
  [style*="repeat(4,1fr)"],
  [style*="repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── MOBILE (max 768px) ── */
@media (max-width: 768px) {

  /* Force all inline grid to single col */
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* Exception: 2-col grids that look OK on mobile */
  .evgrid,
  .preview-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Pattern catalogue — 2 col on mobile */
  [style*="repeat(4,1fr)"],
  [style*="repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Story grid, contact grid, living block — single col */
  .story-grid,
  .contact-grid,
  .ctgrid,
  .living-block-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .living-block-grid.reverse { direction: ltr !important; }

  /* Universe grid — single col */
  .ugrid,
  .universe-grid { grid-template-columns: 1fr !important; }

  /* Footer */
  .footer-grid,
  .ftg { grid-template-columns: 1fr !important; }

  /* Subpage hero text */
  .sub-hero-content h1 {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  /* Why cards — 1 col */
  .why-grid { grid-template-columns: 1fr !important; }

  /* CTA buttons stacked */
  [style*="display:flex"][style*="gap:14px"],
  [style*="display: flex"][style*="gap: 14px"] {
    flex-wrap: wrap !important;
  }

  /* Prevent text overflow */
  p, h1, h2, h3, h4, h5, li, span, a {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* IG account cards */
  .ig-account-card .ig-ac-img { aspect-ratio: 4/3 !important; }

  /* Sub-hero */
  .sub-hero { height: 65vh !important; }
  .sub-hero-content { padding: 28px 20px !important; }
  .sub-hero-content p { max-width: 100% !important; }

  /* Stat numbers */
  .story-stats, .sstats { gap: 14px !important; }

  /* Section padding reduction */
  section[style*="padding:88px"] { padding: 56px 0 !important; }
  section[style*="padding:80px"] { padding: 48px 0 !important; }

  /* Fix overflow on grid containers */
  .container { overflow-x: hidden; }
}

/* ── SMALL MOBILE (max 480px) ── */
@media (max-width: 480px) {
  .evgrid,
  .preview-grid,
  .product-grid,
  [style*="repeat(4,1fr)"],
  [style*="repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .sub-hero { height: 55vh !important; }

  h1 { font-size: clamp(1.9rem, 8vw, 2.8rem) !important; }
  h2 { font-size: clamp(1.6rem, 6vw, 2.4rem) !important; }

  .btn { padding: 12px 22px !important; font-size: .68rem !important; }
}

/* ── SPECIFIC PAGE FIXES ── */
/* Prevent ANY grid from overflowing viewport width */
@media (max-width: 768px) {
  * { max-width: 100%; }
  img { max-width: 100% !important; height: auto !important; }

  /* Force all divs using grid to be contained */
  div[style*="grid"] {
    max-width: 100%;
    overflow: hidden;
  }

  /* Pattern grid in rattan page */
  div[style*="repeat(4"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  /* Why/pillar 3-col grids */
  div[style*="repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Two-column layouts */
  div[style*="1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* 2fr 1fr or similar */
  div[style*="2fr 1fr"],
  div[style*="1fr 1.4fr"],
  div[style*="1fr 1.5fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Fix footer grid inline */
  div[style*="2fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ══════════════════════════════════════════════════
   HERO SLIDESHOW
══════════════════════════════════════════════════ */
.hero-slideshow { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; }
.hero-slideshow .slide {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slideshow .slide.active { opacity: 1; }
.hero-slideshow .slide img {
  width: 100%; height: 100%; object-fit: cover;
}
.slideshow-dots {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 5;
}
.slideshow-dots button {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(247,243,236,.4);
  transition: background .3s, transform .3s;
  cursor: pointer;
  padding: 0;
}
.slideshow-dots button.active {
  background: var(--amber);
  transform: scale(1.3);
}

/* ══════════════════════════════════════════════════
   WHATSAPP — PULSE GLOW BUTTON (contact section)
══════════════════════════════════════════════════ */
.wa-pulse-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff;
  padding: 15px 30px; border-radius: 50px;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  animation: wa-pulse-glow 2.4s infinite;
  transition: transform .25s ease;
}
.wa-pulse-btn:hover { transform: translateY(-2px); }
.wa-pulse-btn svg { width: 19px; height: 19px; flex-shrink: 0; }

@keyframes wa-pulse-glow {
  0%   { box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,0); }
}

/* ══════════════════════════════════════════════════
   WHATSAPP — FLOATING BUTTON (sitewide, ring pulse + dot)
══════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 500;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
  text-decoration: none;
  transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; flex-shrink: 0; }

.wa-float::before {
  content: '';
  position: absolute; top: -6px; right: -6px; bottom: -6px; left: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: wa-ring-pulse 2s infinite;
  pointer-events: none;
}
@keyframes wa-ring-pulse {
  0%   { opacity: .8; transform: scale(1); }
  100% { opacity: 0;  transform: scale(1.5); }
}

.wa-float-dot {
  position: absolute; top: -3px; right: -3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #FF4757;
  border: 2.5px solid var(--ivory);
  font-size: .6rem; font-weight: 700; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
}

@media (max-width: 480px) {
  .wa-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* ══════════════════════════════════════════════════
   HERO SLIDESHOW — Homepage (18 slides, swipe + arrows)
══════════════════════════════════════════════════ */
.hero-slideshow .slide img {
  transform: scale(1.04);
  transition: transform 6s ease, opacity 1.2s ease;
}
.hero-slideshow .slide.active img {
  transform: scale(1);
}

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(30,43,31,.35);
  border: 1px solid rgba(247,243,236,.25);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .25s ease, opacity .25s ease;
  opacity: 0;
}
#hero:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: rgba(30,43,31,.6); }
.hero-arrow svg { width: 20px; height: 20px; color: var(--ivory); }
.hero-arrow-prev { left: 20px; }
.hero-arrow-next { right: 20px; }

@media (max-width: 768px) {
  /* Always visible on mobile/touch since no hover */
  .hero-arrow { opacity: .55; width: 40px; height: 40px; }
  .hero-arrow svg { width: 17px; height: 17px; }
  .hero-arrow-prev { left: 12px; }
  .hero-arrow-next { right: 12px; }
}

/* Touch cursor hint on desktop drag */
#hero .hero-slideshow { cursor: grab; }
#hero .hero-slideshow:active { cursor: grabbing; }

/* Hero dots — compact lines for many slides, positioned above scroll hint */
.hero-dots {
  position: absolute;
  bottom: 70px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 5px;
  z-index: 5;
  max-width: 80vw;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-dots button {
  width: 14px; height: 3px;
  border-radius: 2px;
  background: rgba(247,243,236,.3);
  transition: background .3s, width .3s;
  cursor: pointer;
  padding: 0;
}
.hero-dots button.active {
  background: var(--amber);
  width: 22px;
}

@media (max-width: 768px) {
  .hero-dots { bottom: 24px; }
  .hero-dots button { width: 10px; height: 2.5px; }
  .hero-dots button.active { width: 16px; }
}

/* ══════════════════════════════════════════════════
   HERO MOBILE FIX — prevent overflow beyond 100dvh,
   keep slideshow filling full section, arrows above text
══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  #hero { height: 100vh; height: 100dvh; }

  .hero-content {
    padding: 90px 20px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }
  .hero-eyebrow  { margin-bottom: 12px; font-size: .62rem; }
  .hero-headline { margin-bottom: 14px; font-size: clamp(2.1rem, 8.5vw, 2.8rem); line-height: 1.08; }
  .hero-sub      { margin-bottom: 22px; font-size: .88rem; }
  .hero-actions  { gap: 10px; }
  .hero-actions .btn { padding: 12px 22px; font-size: .68rem; }

  /* Arrows: move to top third (over image, not over text block) */
  .hero-arrow {
    top: 22%;
    transform: translateY(-50%);
    opacity: .5;
  }

  .hero-dots { bottom: 18px; }
  .hero-scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .hero-content { padding: 80px 18px 60px; }
  .hero-headline { font-size: clamp(1.9rem, 9vw, 2.5rem); }
  .hero-sub { font-size: .82rem; margin-bottom: 18px; }
}
