/* ============================================================
   DJALA — Main Stylesheet
   ============================================================ */

/* ============================================================
   DJALA — Homepage Stylesheet (self-contained)
   ============================================================ */

:root {
  --ivory:       #F7F4EE;
  --parchment:   #EDE8DC;
  --sand:        #C9B99A;
  --terra:       #A0653F;
  --terra-light: #C9895E;
  --forest:      #3A2A2F;
  --charcoal:    #1A1A1A;
  --mid-grey:    #6B6860;
  --light-grey:  #DEDAD3;
  --font-display:'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-body:   -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --announce-h:  36px;
  --nav-h:       68px;
  --header-h:    104px; /* announce + nav */
  --section-pad: clamp(56px, 7vw, 100px);
  --gutter:      clamp(16px, 4vw, 56px);
  --max-w:       1360px;
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--ivory); color: var(--charcoal); line-height: 1.6; -webkit-font-smoothing: antialiased; padding-top: var(--header-h); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Typography ── */
.display-xl { font-family: var(--font-display); font-size: clamp(2.2rem, 5.5vw, 4.8rem); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }
.display-lg { font-family: var(--font-display); font-size: clamp(1.8rem, 3.8vw, 3.2rem); font-weight: 400; line-height: 1.2; letter-spacing: 0; }
.display-md { font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 400; line-height: 1.28; letter-spacing: 0; }
.subhead { font-family: var(--font-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terra); }
.body-lg { font-size: 1rem; line-height: 1.7; color: var(--mid-grey); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 32px; font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; transition: all 0.28s var(--ease); white-space: nowrap; }
.btn-primary { background: var(--forest); color: var(--ivory); }
.btn-primary:hover { background: var(--terra); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--charcoal); color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--ivory); }
.btn-terra { background: var(--terra); color: var(--ivory); }
.btn-terra:hover { background: #843f22; }
.btn-ghost { color: var(--terra); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }

/* ── Announcement ── */
.announcement {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--announce-h);
  overflow: hidden;
  background: var(--forest);
  color: var(--ivory);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
}

.announce-track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  animation: announcement-marquee 28s linear infinite;
}

.announce-track span {
  display: inline-flex;
  align-items: center;
  padding-right: 56px;
  font-size: 0.73rem;
  letter-spacing: 0.07em;
}

.announce-track a {
  color: var(--terra-light);
  text-decoration: underline;
}

@keyframes announcement-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Nav ── */
.site-nav {
  position: fixed;
  top: var(--announce-h);
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(247,244,238,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
  transition: background 0.35s, box-shadow 0.35s;
}

.site-nav.scrolled {
  background: rgba(247,244,238,0.98);
  box-shadow: 0 1px 0 var(--light-grey);
}
.nav-inner {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; width: 100%;
  padding: 0 var(--gutter);
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.65rem; font-weight: 400;
  letter-spacing: 0.12em; color: var(--forest); text-transform: uppercase;
  margin-right: 48px; white-space: nowrap;
}
.nav-logo span { color: var(--terra); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--charcoal); position: relative; padding: 6px 0; }
.nav-links > li > a::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 1px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform 0.22s; }
.nav-links > li > a:hover::after { transform: scaleX(1); }
.nav-links > li > a.nav-highlight { color: var(--terra); font-weight: 600; }

/* Dropdown */
.nav-dropdown { position: absolute; top: calc(100% + 14px); left: 0; background: var(--ivory); border-top: 2px solid var(--terra); box-shadow: 0 12px 40px rgba(0,0,0,0.12); min-width: 200px; padding: 8px 0; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); transition: all 0.2s; z-index: 110; }
.nav-links > li:hover .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.nav-dropdown a { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; font-size: 0.78rem; color: var(--charcoal); transition: background 0.15s; border-left: 2px solid transparent; }
.nav-dropdown a:hover { background: var(--parchment); border-left-color: var(--terra); color: var(--forest); }
.dd-badge { font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--terra); color: white; padding: 2px 6px; margin-left: 8px; }
.nav-dropdown-divider { height: 1px; background: var(--light-grey); margin: 6px 16px; }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-icon { font-size: 1.05rem; color: var(--charcoal); transition: color 0.2s; }
.nav-icon:hover { color: var(--terra); }
.cart-count { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; background: var(--terra); color: white; font-size: 0.6rem; font-weight: 700; border-radius: 50%; margin-left: -5px; vertical-align: top; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.mobile-menu-btn span { display: block; width: 22px; height: 1.5px; background: var(--charcoal); transition: all 0.3s; }
.mobile-nav { display: none; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--ivory); z-index: 99; padding: 32px var(--gutter); overflow-y: auto; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; color: var(--forest); padding: 14px 0; border-bottom: 1px solid var(--light-grey); }
.mobile-nav a.nav-highlight { color: var(--terra); }
.mobile-nav .mobile-sub { font-family: var(--font-body); font-size: 0.88rem; color: var(--mid-grey); padding: 10px 0 10px 20px; font-size: 0.9rem; }

/* ── Hero ── */
.hero-wrap {
  display: grid; grid-template-columns: 55% 45%;
  min-height: 0;
}
.hero-image-col { overflow: hidden; position: relative; min-height: 70vh; }
.hero-image-col img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
.hero-image-badge { position: absolute; bottom: 24px; left: 24px; background: rgba(247,244,238,0.93); backdrop-filter: blur(8px); padding: 11px 15px; border-left: 2px solid var(--terra); }
.hero-image-badge .label { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid-grey); margin-bottom: 3px; }
.hero-image-badge .value { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: var(--forest); }
.hero-text-col { background: var(--ivory); display: flex; flex-direction: column; justify-content: flex-start; padding: 40px clamp(28px,5vw,64px) 40px; }

/* Quality credential strip — always horizontal, never stacked */
.hero-credentials {
  display: flex; flex-direction: row; flex-wrap: nowrap;
  gap: 0; margin-bottom: 24px; align-items: center;
}
.hero-cred {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.68rem; letter-spacing: 0.06em; white-space: nowrap;
  color: var(--mid-grey); padding-right: 14px; margin-right: 14px;
  border-right: 1px solid var(--light-grey);
}
.hero-cred:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.hero-cred i { color: var(--terra); font-size: 0.85rem; }

.hero-eyebrow { margin-bottom: 16px; }
.hero-headline { margin-bottom: 20px; color: var(--forest); }
.hero-headline em { font-style: italic; color: var(--terra); }
.hero-body { max-width: 400px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; }

/* Trust row */
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--light-grey); }
.hero-trust-item { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--mid-grey); }
.hero-trust-item i { color: var(--terra); }

/* ── Category strip ── */
.category-strip { background: var(--charcoal); }
.category-strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.category-tile { position: relative; overflow: hidden; display: block; }
.category-tile img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform 0.65s var(--ease); }
.category-tile:hover img { transform: scale(1.05); }
.category-tile-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 36px 24px 22px; background: linear-gradient(transparent, rgba(26,26,26,0.85)); color: var(--ivory); }
.cat-eyebrow { font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.7; margin-bottom: 4px; }
.cat-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; line-height: 1.2; margin-bottom: 10px; }
.cat-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra-light); border-bottom: 1px solid var(--terra-light); padding-bottom: 2px; transition: gap 0.2s; }
.category-tile:hover .cat-cta { gap: 10px; }

/* ── Lifestyle band ── */
.lifestyle-band { height: clamp(180px,26vw,360px); overflow: hidden; }
.lifestyle-band img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }

/* ── Marquee ── */
.marquee-section { background: var(--forest); color: var(--ivory); padding: 16px 0; overflow: hidden; }
.marquee-track { display: flex; animation: marquee 30s linear infinite; white-space: nowrap; }
.marquee-track span { padding: 0 44px; font-size: 0.73rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; flex-shrink: 0; }
.marquee-track .dot { color: var(--terra-light); padding: 0; margin: 0 -22px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Shop by Feel ── */
.feel-section { padding: 60px 0; background: var(--parchment); }
.feel-header { text-align: center; margin-bottom: 40px; }
.feel-header p.subhead { margin-bottom: 12px; }
.feel-header h2 { font-family: var(--font-display); font-size: clamp(1.6rem,3vw,2.6rem); font-weight: 300; color: var(--forest); }
.feel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.feel-tile { background: var(--ivory); padding: 32px 24px; text-align: center; cursor: pointer; transition: background 0.25s; border-top: 3px solid transparent; text-decoration: none; display: block; }
.feel-tile:hover, .feel-tile:focus { background: var(--forest); border-top-color: var(--terra-light); outline: none; }
.feel-tile:hover .feel-icon,
.feel-tile:hover .feel-name,
.feel-tile:hover .feel-desc { color: var(--ivory); }
.feel-tile:hover .feel-name { color: var(--terra-light); }
.feel-icon { font-size: 1.6rem; margin-bottom: 12px; display: block; transition: color 0.25s; }
.feel-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; color: var(--forest); margin-bottom: 8px; transition: color 0.25s; }
.feel-desc { font-size: 0.78rem; color: var(--mid-grey); line-height: 1.55; transition: color 0.25s; }

/* ── Section header ── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .subhead { margin-bottom: 12px; }
.section-header .display-lg { color: var(--forest); margin-bottom: 16px; }
.section-header .body-lg { max-width: 520px; margin: 0 auto; }

/* ── Products ── */
.featured-products { padding: var(--section-pad) 0; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-bottom: 48px; }
.product-card { background: var(--parchment); overflow: hidden; }
.product-card-media { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.product-card:hover .product-card-media img { transform: scale(1.05); }
.product-card-badge { position: absolute; top: 14px; left: 14px; background: var(--terra); color: white; padding: 4px 10px; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.product-card-body { padding: 18px 20px 0; }
.product-card-category { font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra); margin-bottom: 6px; }
.product-card-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; color: var(--forest); margin-bottom: 6px; }
.product-card-desc { font-size: 0.8rem; color: var(--mid-grey); line-height: 1.55; margin-bottom: 14px; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--charcoal); }
.product-price .currency { font-size: 0.82rem; color: var(--mid-grey); margin-right: 2px; }
.add-to-cart-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--forest); color: white; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: all 0.2s; }
.add-to-cart-btn:hover { background: var(--terra); transform: scale(1.08); }
.product-shop-link { display: block; text-align: center; padding: 11px; margin-top: 12px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest); border-top: 1px solid var(--light-grey); transition: background 0.2s, color 0.2s; }
.product-shop-link:hover { background: var(--forest); color: var(--ivory); }
.products-footer { text-align: center; }

/* ── Story ── */
.story-split { padding: var(--section-pad) 0; background: var(--forest); color: var(--ivory); overflow: hidden; }
.story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.story-media { position: relative; }
.story-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.story-media-accent { position: absolute; bottom: -20px; right: -20px; width: 55%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,0.15); z-index: -1; }
.story-content .subhead { color: var(--terra-light); margin-bottom: 20px; }
.story-content .display-lg { color: var(--ivory); margin-bottom: 24px; }
.story-content .body-lg { color: rgba(247,244,238,0.72); margin-bottom: 20px; }
.story-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.12); }
.stat-number { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; color: var(--ivory); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(247,244,238,0.45); }

/* ── Editorial ── */
.editorial-grid { padding: var(--section-pad) 0; }
.editorial-inner { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 3px; }
.editorial-cell { overflow: hidden; position: relative; }
.editorial-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.editorial-cell:hover img { transform: scale(1.04); }
.editorial-cell-1 { grid-row: 1 / 3; min-height: 560px; }
.editorial-cell-2, .editorial-cell-3 { min-height: 278px; }
.editorial-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 24px 20px; background: linear-gradient(transparent, rgba(26,26,26,0.78)); color: white; }
.editorial-overlay .category { font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--terra-light); margin-bottom: 6px; }
.editorial-overlay .name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; margin-bottom: 8px; }
.editorial-overlay .price { font-size: 0.82rem; color: rgba(255,255,255,0.7); }
.editorial-overlay .shop-link { display: inline-flex; align-items: center; gap: 5px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra-light); margin-top: 8px; border-bottom: 1px solid var(--terra-light); padding-bottom: 1px; }

/* ── Urgency band ── */
.urgency-band { background: var(--terra); padding: 48px 0; text-align: center; }
.urgency-band .heading { font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2.4rem); font-weight: 300; color: var(--ivory); margin-bottom: 10px; }
.urgency-band .sub { font-size: 0.85rem; color: rgba(247,244,238,0.75); margin-bottom: 28px; max-width: 460px; margin-left: auto; margin-right: auto; }

/* ── Benefits ── */
.benefits-section { padding: var(--section-pad) 0; background: var(--parchment); }
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 72px; }
.benefit-item { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.benefit-number { font-family: var(--font-display); font-size: 2.6rem; font-weight: 300; color: var(--sand); line-height: 1; min-width: 44px; }
.benefit-text .title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--forest); margin-bottom: 8px; }
.benefit-text .desc { font-size: 0.85rem; color: var(--mid-grey); line-height: 1.7; }
.benefits-cta { text-align: center; margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--light-grey); }

/* ── Testimonials ── */
.testimonials { padding: var(--section-pad) 0; }
.testimonials-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.testimonial-card { background: var(--parchment); padding: 36px 32px; }
.testimonial-stars { color: var(--terra); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 18px; }
.testimonial-quote { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; font-style: italic; color: var(--charcoal); line-height: 1.7; margin-bottom: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--sand); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1rem; font-weight: 500; color: var(--forest); flex-shrink: 0; }
.testimonial-name { font-weight: 500; font-size: 0.83rem; color: var(--charcoal); }
.testimonial-location { font-size: 0.72rem; color: var(--mid-grey); }
.reviews-cta { text-align: center; padding: 44px 0 8px; }

/* ── Newsletter ── */
.newsletter { background: var(--forest); color: var(--ivory); padding: 72px 0; text-align: center; }
.newsletter .subhead { color: rgba(247,244,238,0.55); margin-bottom: 12px; }
.newsletter .display-md { color: var(--ivory); margin-bottom: 12px; }
.newsletter .body-lg { color: rgba(247,244,238,0.65); margin-bottom: 32px; max-width: 440px; margin-left: auto; margin-right: auto; }
.newsletter-form { display: flex; max-width: 460px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 14px 18px; border: 1px solid rgba(247,244,238,0.25); background: rgba(247,244,238,0.1); color: var(--ivory); font-family: var(--font-body); font-size: 0.84rem; outline: none; transition: border 0.2s; }
.newsletter-form input::placeholder { color: rgba(247,244,238,0.4); }
.newsletter-form input:focus { border-color: rgba(247,244,238,0.6); }
.newsletter-form button { padding: 14px 26px; background: var(--terra); color: var(--ivory); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--font-body); cursor: pointer; border: none; transition: background 0.22s; }
.newsletter-form button:hover { background: #843f22; }

/* ── Footer ── */
.site-footer { background: var(--charcoal); color: rgba(247,244,238,0.6); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 28px; }
.footer-brand .nav-logo { font-size: 1.6rem; display: block; margin-bottom: 14px; color: var(--ivory); }
.footer-brand p { font-size: 0.83rem; line-height: 1.7; margin-bottom: 22px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; font-size: 0.88rem; color: rgba(247,244,238,0.45); transition: all 0.2s; }
.footer-social a:hover { border-color: var(--terra-light); color: var(--terra-light); }
.footer-col h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 500; color: var(--ivory); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: 0.8rem; color: rgba(247,244,238,0.45); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--ivory); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-bottom p { font-size: 0.72rem; color: rgba(247,244,238,0.28); }
.footer-certifications { display: flex; gap: 12px; flex-wrap: wrap; }
.cert-badge { border: 1px solid rgba(255,255,255,0.1); padding: 4px 9px; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(247,244,238,0.3); }

/* ── Reveal ── */
/* reveal — JS adds .js-loaded to <html>, only then hide elements pre-scroll */
.js-loaded .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.js-loaded .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ── Responsive ── */
@media (max-width: 1060px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  /* Nav — switch to flex so logo is hard-left, icons hard-right, no phantom 1fr column */
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-logo { margin-right: 0; font-size: 1.4rem; letter-spacing: 0.1em; text-transform: uppercase; }
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(14px, 4vw, 20px);
    width: 100%;
  }
  .nav-actions { gap: 16px; }
  /* Ensure hamburger has no extra margin pushing it inward */
  .mobile-menu-btn { margin-right: 0; padding: 2px; }

  /* Hero: image capped at 48vh so CTAs stay on screen without scrolling */
  .hero-wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero-image-col { height: 48vh; min-height: 0; max-height: none; }
  .hero-image-col img { height: 100%; object-position: center 25%; }
  .hero-image-badge { display: none; }

  /* Text col: compact so CTAs land in viewport */
  .hero-text-col {
    padding: 24px clamp(14px, 4vw, 32px) 28px;
    justify-content: flex-start;
  }
  /* Hide credentials on mobile — announcement bar has this info */
  .hero-credentials { display: none; }
  /* Hide body text above fold — keep headline + CTAs only */
  .hero-body { display: none; }
  .hero-trust { display: none; }
  .hero-eyebrow { margin-bottom: 8px; }
  .hero-headline { margin-bottom: 20px; }
  .hero-ctas { margin-bottom: 0; }
  .display-xl { font-size: clamp(1.9rem, 7.5vw, 2.8rem); }

  /* Sections */
  .story-inner { grid-template-columns: 1fr; gap: 36px; }
  .benefits-grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonials-track { grid-template-columns: 1fr; }
  .editorial-inner { grid-template-columns: 1fr; }
  .editorial-cell-1 { grid-row: auto; min-height: 280px; }
  .editorial-cell-2, .editorial-cell-3 { min-height: 220px; }
  .story-stats { grid-template-columns: repeat(3,1fr); }
  .feel-grid { grid-template-columns: repeat(2, 1fr); }
  .category-strip-inner { grid-template-columns: 1fr; }
  .category-tile img { aspect-ratio: 16/9; }
}
@media (max-width: 540px) {
  .products-grid { grid-template-columns: 1fr; }
  .feel-grid { grid-template-columns: 1fr; }
  /* credentials never stack — hidden on mobile anyway */
  .story-stats { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-certifications { flex-wrap: wrap; gap: 8px; }
}

.nav-logo,
.nav-links > li > a,
.nav-icon {
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}

.about-certifications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
  background: var(--light-grey);
}

.cert-card {
  background: var(--ivory);
  padding: 28px 24px;
  text-align: left;
  transition: all 0.25s ease;
}

.cert-card:hover {
  background: var(--parchment);
}

.cert-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--light-grey);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terra);
  font-size: 1rem;
  margin-bottom: 14px;
}

.cert-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--forest);
  margin-bottom: 6px;
}

.cert-desc {
  font-size: 0.82rem;
  color: var(--mid-grey);
  line-height: 1.6;
}
