/* ============================================================
   NINEVEH LABORATORIES — Redesign 2026
   Aesthetic: White Minimal · Premium Supplement · Ultra-Luxury
   Inspired by: Unfabled, Heights, Aesop
   Fonts: Cormorant Garamond (editorial) · Inter (UI)
   ============================================================ */

/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Palette */
  --white:          #FFFFFF;
  --off-white:      #F8F7F5;
  --warm-light:     #F3F1EE;
  --ink:            #0C0B0A;
  --ink-60:         rgba(12, 11, 10, 0.60);
  --ink-30:         rgba(12, 11, 10, 0.30);
  --ink-10:         rgba(12, 11, 10, 0.10);
  --charcoal:       #1C1A18;
  --charcoal-mid:   #2E2B27;
  --grey-text:      #6B6661;
  --border:         #E4E2DE;
  --border-strong:  #C8C5BF;
  --gold:           #C4A47C;
  --gold-pale:      #F0E8D8;

  /* Typography */
  --font-editorial: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-ui:        'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-width:      1380px;
  --gutter:         clamp(1.25rem, 5vw, 5rem);
  --section-v:      clamp(5rem, 10vw, 10rem);
  --radius:         2px;

  /* Motion */
  --ease:           cubic-bezier(0.25, 0.0, 0.0, 1.0);
  --ease-out:       cubic-bezier(0.0, 0.0, 0.2, 1.0);
  --fast:           0.18s;
  --mid:            0.38s;
  --slow:           0.68s;

  /* Z-index */
  --z-nav:          200;
  --z-overlay:      150;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }
a { color: inherit; text-decoration: none; }

a:focus-visible {
  outline: 1.5px solid var(--ink);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
.section-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-bottom: 1.5rem;
}

.section-label--light {
  color: rgba(255, 255, 255, 0.55);
}

h1, h2, h3 {
  font-family: var(--font-editorial);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }

em { font-style: italic; font-weight: 300; }

/* ============================================================
   4. UTILITY
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  z-index: 9999;
  transition: top var(--fast);
}
.skip-link:focus { top: 1rem; }

.text-link {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
  transition: border-color var(--mid) var(--ease), color var(--mid) var(--ease);
}
.text-link:hover {
  border-color: var(--ink);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--border-strong);
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  transition: background var(--mid) var(--ease), color var(--mid) var(--ease), border-color var(--mid) var(--ease);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-outline--light {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.30);
}
.btn-outline--light:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.60);
}

/* ============================================================
   5. SCROLL REVEAL CLASSES (initial state — GSAP animates in)
   ============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition-delay: var(--delay, 0s);
}
.reveal-fade {
  opacity: 0;
  transition-delay: var(--delay, 0s);
}
.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   6. ANNOUNCEMENT BAR — scrolling news ticker
   ============================================================ */
.announcement-bar {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding: 0.62rem 0;
  overflow: hidden;
  max-height: 44px;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease), opacity 0.4s var(--ease);
  opacity: 1;
}

/* Ticker track — two copies side by side, scrolls to -50% = one full loop */
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}

.ticker-item {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: rgba(255,255,255,0.72);
  padding-right: 5rem;
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* English — left to right: run animation in reverse */
.ticker-track {
  animation-direction: reverse;
}

/* Arabic — right to left: run animation in normal direction */
[lang="ar"] .ticker-track {
  animation-direction: normal;
}
[lang="ar"] .ticker-item {
  font-family: 'Noto Kufi Arabic', sans-serif;
  letter-spacing: 0;
  padding-right: 0;
  padding-left: 5rem;
}
.site-header.scrolled .announcement-bar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

/* ============================================================
   7. NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.8rem var(--gutter);
  transition:
    background var(--mid) var(--ease),
    border-color var(--mid) var(--ease),
    padding var(--mid) var(--ease);
  border-bottom: 1px solid transparent;
}

/* Inner pages: force white nav from page load */
.site-header--inner .nav-inner,
.site-header--inner.scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.site-header--inner .nav-links a,
.site-header--inner.scrolled .nav-links a {
  color: var(--ink);
}
.site-header--inner .logo-dark,
.site-header--inner.scrolled .logo-dark {
  opacity: 1;
}
.site-header--inner .nav-toggle span,
.site-header--inner.scrolled .nav-toggle span {
  background: var(--ink);
}
.site-header--inner .nav-cta,
.site-header--inner.scrolled .nav-cta {
  border-color: var(--border-strong) !important;
  color: var(--ink) !important;
}
.site-header--inner .nav-cta:hover,
.site-header--inner.scrolled .nav-cta:hover {
  background: var(--ink);
  color: var(--white) !important;
  border-color: var(--ink) !important;
}
.site-header--inner .announcement-bar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

/* Over the dark video — show light elements */
.site-header.over-dark .nav-inner {
  /* transparent by default */
}

/* Once scrolled — white header */
.site-header.scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Logo — hidden entirely over video, appears only on scroll */
.nav-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-self: center;
  width: 220px;
  height: 64px;
}

.nav-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  max-width: 220px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  transition: opacity var(--mid) var(--ease);
}

/* Both logos hidden initially (no logo over the video) */
.logo-dark  { opacity: 0; }

/* Only show dark logo once header is white */
.site-header.scrolled .logo-dark  { opacity: 1; }

/* ── Animated inline logo ─────────────────────────────────────── */
.nl-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity var(--mid) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

/* 𒀀 cuneiform glyph — colour flows through it very slowly */
.nl-glyph {
  font-family: serif;
  font-size: 54px;
  line-height: 1;
  display: block;
  flex-shrink: 0;
  background: linear-gradient(
    90deg,
    #C9A96E  0%,
    #2D5A8B 16%,
    #A84832 33%,
    #4A7C59 50%,
    #B87333 66%,
    #D4B896 83%,
    #C9A96E 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: nl-colour-flow 22s linear infinite;
}

@keyframes nl-colour-flow {
  0%   { background-position: 0%   50%; }
  100% { background-position: 300% 50%; }
}

.nl-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nl-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 5px;
  color: var(--ink);
  -webkit-text-stroke: 0.8px var(--ink);
  line-height: 1;
  display: block;
}

.nl-labs {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 6px;
  color: var(--ink);
  opacity: 0.75;
  margin-top: 5px;
  display: block;
  line-height: 1;
}

/* Footer variant — normal flow, not absolutely positioned */
.nl-logo--footer {
  position: static;
  transform: none;
  top: auto;
  left: auto;
  display: inline-flex;
}

@media (max-width: 768px) {
  .nl-glyph  { font-size: 32px; }
  .nl-brand  { font-size: 19px; letter-spacing: 3px; }
  .nl-labs   { font-size: 7.5px; letter-spacing: 3.5px; margin-top: 6px; }
  .nl-logo   { gap: 10px; }
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links--right {
  justify-content: flex-end;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--mid) var(--ease), opacity var(--mid) var(--ease);
}

.site-header.scrolled .nav-links a {
  color: var(--ink);
}

.nav-links a:hover {
  opacity: 0.65;
}

.nav-cta {
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.40) !important;
  border-radius: var(--radius);
  transition: background var(--mid) var(--ease), border-color var(--mid) var(--ease) !important;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.12);
  opacity: 1 !important;
}

/* Language toggle — pill button */
.lang-toggle {
  appearance: none;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 100px;
  color: rgba(255,255,255,0.90);
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.55rem 1.4rem;
  transition: border-color var(--mid) var(--ease),
              color var(--mid) var(--ease),
              background var(--mid) var(--ease);
  line-height: 1;
  white-space: nowrap;
}
.lang-toggle:hover {
  border-color: rgba(255,255,255,0.75);
  color: #fff;
  background: rgba(255,255,255,0.08);
}
/* On white/scrolled nav */
.site-header.scrolled .lang-toggle,
.site-header--inner .lang-toggle {
  border-color: var(--border-strong);
  color: var(--grey-text);
}
.site-header.scrolled .lang-toggle:hover,
.site-header--inner .lang-toggle:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.site-header.scrolled .nav-cta {
  border-color: var(--border-strong) !important;
  color: var(--ink) !important;
}
.site-header.scrolled .nav-cta:hover {
  background: var(--ink);
  color: var(--white) !important;
  border-color: var(--ink) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--white);
  transition: background var(--mid) var(--ease), transform var(--mid) var(--ease);
}
.site-header.scrolled .nav-toggle span {
  background: var(--ink);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: calc(var(--z-nav) + 10);
  display: flex;
  flex-direction: column;
  padding: 2rem var(--gutter);
  transform: translateX(100%);
  transition: transform var(--slow) var(--ease);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu ul {
  margin-top: 4rem;
}
.mobile-menu ul li {
  border-bottom: 1px solid var(--border);
}
.mobile-menu ul li a {
  display: block;
  font-family: var(--font-editorial);
  font-size: 2rem;
  padding: 1rem 0;
  color: var(--ink);
  transition: opacity var(--fast);
}
.mobile-menu ul li a:hover {
  opacity: 0.55;
}
.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: var(--gutter);
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--ink);
  line-height: 1;
}
.mobile-menu-lang {
  margin-top: 2rem;
  align-self: flex-start;
  border-color: var(--border-strong);
  color: var(--ink);
}

.mobile-shop-btn {
  display: inline-block;
  margin-top: auto;
  padding-top: 2rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: calc(var(--z-nav) + 5);
}
.mobile-overlay.open { display: block; }

/* ============================================================
   8. HERO VIDEO
   ============================================================ */
.video-hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: scrollHintFade 2s var(--ease) 1.5s both;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.35);
  transform-origin: top;
  animation: scrollLineGrow 1.8s var(--ease) 2s both;
}

@keyframes scrollHintFade {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes scrollLineGrow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* ============================================================
   9. BRAND STATEMENT
   ============================================================ */
.statement-section {
  padding: var(--section-v) var(--gutter);
  background: var(--white);
}

.statement-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 8rem;
  align-items: end;
}

.statement-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-bottom: 1.5rem;
}

.statement-headline {
  font-family: var(--font-editorial);
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  position: relative;
}

/* ── Cuneiform → English scroll reveal ───────────────────────── */

/* Cuneiform layer — near-headline size, extra line-height so lines breathe */
.ch-cuneiform {
  position: absolute;
  inset: 0;
  display: block;
  font-family: 'Noto Sans Cuneiform', serif;
  font-size: 0.88em;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--ink);
  opacity: 1;
  pointer-events: none;
  will-change: opacity;
  overflow: hidden;
}

/* English layer — fades in on scroll */
.ch-english {
  display: block;
  opacity: 0;
  will-change: opacity;
}

/* Arabic mode — animation plays normally; .ch-english shows Arabic translation */

.statement-cuneiform {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 2rem;
}

.statement-detail p {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--grey-text);
  margin-bottom: 2rem;
}

/* Statement image (Library of Ashurbanipal) */
.statement-image {
  max-width: var(--max-width);
  margin: 5rem auto 0;
  padding: 0 var(--gutter);
}
.statement-image img {
  width: 100%;
  height: clamp(300px, 50vw, 620px);
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.image-caption {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-top: 1rem;
  text-align: center;
}

/* ============================================================
   10. FORMULAS / PRODUCTS
   ============================================================ */
.formulas-section {
  padding: 0 var(--gutter) var(--section-v);
  background: var(--white);
}

.formulas-header {
  max-width: var(--max-width);
  margin: 0 auto 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.formulas-header h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.formulas-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* Product card */
.product-card {
  background: var(--off-white);
}

.coming-soon-badge {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 2;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border-strong);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  pointer-events: none;
}

.product-card-link {
  display: block;
  cursor: pointer;
}

/* Image wrap — handles hover swap */
.product-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--warm-light);
}

.product-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.55s var(--ease), transform 0.65s var(--ease);
  will-change: opacity, transform;
}

.product-image-wrap .img-alt {
  opacity: 0;
}

.product-card:hover .img-main {
  opacity: 0;
}
.product-card:hover .img-alt {
  opacity: 1;
}

/* Subtle zoom on hover */
.product-card:hover .img-main,
.product-card:hover .img-alt {
  transform: scale(1.025);
}

.product-info {
  padding: 1.75rem 2rem 2rem;
  border-top: 1px solid var(--border);
}

.product-ancient {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.product-info h3 {
  font-family: var(--font-editorial);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.product-info h3 a {
  color: var(--ink);
  transition: opacity var(--fast);
}
.product-info h3 a:hover { opacity: 0.6; }

.product-desc {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--grey-text);
  margin-bottom: 1.75rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-price {
  font-family: var(--font-editorial);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
}

.btn-add {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: background var(--mid) var(--ease), color var(--mid) var(--ease), border-color var(--mid) var(--ease);
  white-space: nowrap;
}
.btn-add:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* Biomarker bar */
.biomarker {
  margin-top: 1.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.biomarker-rail {
  position: relative;
  display: flex;
  align-items: center;
  height: 7px;
  border-radius: 100px;
  overflow: visible;
  margin-bottom: 0.8rem;
}

/* Frankincense — LDL Cholesterol: yellow pulled left (more green range) */
.biomarker-rail--frankincense {
  background: linear-gradient(
    to right,
    #4A7C59 0%,
    #C9A96E 38%,
    #A84832 100%
  );
}

/* Black Pepper + Turmeric — Inflammatory Markers: yellow further left (strong anti-inflammatory) */
.biomarker-rail--bpt {
  background: linear-gradient(
    to right,
    #4A7C59 0%,
    #C9A96E 28%,
    #A84832 100%
  );
}

/* Black Seed Oil — HbA1c: yellow more centred (blood sugar is gradual) */
.biomarker-rail--bso {
  background: linear-gradient(
    to right,
    #4A7C59 0%,
    #C9A96E 55%,
    #A84832 100%
  );
}

.biomarker-zone {
  flex: 1;
  height: 100%;
}

.biomarker-tick {
  position: absolute;
  left: 28%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 18px;
  background: var(--ink);
  border-radius: 1px;
  flex-shrink: 0;
}

/* Black Pepper + Turmeric — inflammatory markers */
.biomarker-tick--bpt {
  left: 22%;
}

/* Black Seed Oil — HbA1c */
.biomarker-tick--bso {
  left: 32%;
}

.biomarker-labels {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.biomarker-name {
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.biomarker-range {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--grey-text);
}

/* ============================================================
   11. SOURCE SECTION
   ============================================================ */
.source-section {
  padding: var(--section-v) var(--gutter);
  background: var(--charcoal);
  color: var(--white);
}

.source-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.source-text .section-label { color: rgba(255,255,255,0.45); }

.source-text h2 {
  color: var(--white);
  margin-bottom: 2rem;
}

.source-body p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
}

.source-body {
  margin-bottom: 2.5rem;
}

.btn-outline--light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  transition: background var(--mid) var(--ease), color var(--mid) var(--ease), border-color var(--mid) var(--ease);
}
.btn-outline--light:hover {
  background: rgba(255,255,255,0.10);
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}

.source-visual {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Cuneiform writing image in source section */
.source-cuneiform-img {
  overflow: hidden;
  border-radius: 2px;
}
.source-cuneiform-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.75) sepia(0.2);
  transition: filter var(--slow) var(--ease);
}
.source-cuneiform-img:hover img {
  filter: brightness(0.85) sepia(0.1);
}

.source-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 2rem 0;
}

.stat-divider {
  height: 1px;
  background: rgba(255,255,255,0.12);
}

.stat-num {
  font-family: var(--font-editorial);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 400;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.04em;
}

/* ============================================================
   12. PILLARS
   ============================================================ */
.pillars-section {
  padding: var(--section-v) var(--gutter);
  background: var(--off-white);
}

.pillars-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.pillars-header {
  margin-bottom: 5rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem 4rem;
}

.pillar-item {
  padding-top: 2rem;
  border-top: 1px solid var(--border-strong);
}

.pillar-num {
  display: block;
  font-family: var(--font-editorial);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.pillar-item h3 {
  font-family: var(--font-editorial);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.9rem;
}

.pillar-item p {
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--grey-text);
}

/* Wall panel relief image in pillars section */
.pillars-relief {
  margin: 3.5rem 0 4.5rem;
  overflow: hidden;
}
.pillars-relief img {
  width: 100%;
  height: clamp(220px, 30vw, 420px);
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
  will-change: transform;
  transform-origin: center;
}

/* ============================================================
   13. COMING SOON
   ============================================================ */
.coming-section {
  padding: var(--section-v) var(--gutter);
  background: var(--white);
  overflow: hidden;
}

.coming-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.coming-text .section-label { margin-bottom: 1.5rem; }

.coming-text h2 {
  margin-bottom: 2rem;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.coming-text p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--grey-text);
  margin-bottom: 2.5rem;
}

.coming-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
}

.coming-img-wrap {
  overflow: hidden;
  background: var(--warm-light);
}
.coming-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  filter: saturate(0.85);
  transition: filter var(--slow) var(--ease), transform var(--slow) var(--ease);
  display: block;
}
.coming-img-wrap:hover img {
  filter: saturate(1);
  transform: scale(1.03);
}

/* ============================================================
   14. QUOTE CALLOUT
   ============================================================ */
.quote-callout {
  background: var(--charcoal);
  padding: var(--section-v) var(--gutter);
}

.callout-text {
  max-width: 1020px;
  margin: 0 auto;
  font-family: var(--font-editorial);
  font-size: clamp(1.9rem, 4vw, 3.8rem);
  font-weight: 300;
  font-style: normal;
  line-height: 1.30;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

/* "tablets" — black highlight on white text */
.word-highlight {
  display: inline;
  background: #000000;
  color: #FFFFFF;
  padding: 0.04em 0.22em 0.06em;
  border-radius: 2px;
  font-style: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ============================================================
   15. CATEGORY SECTIONS — Supplements / Cosmetics / Food
   ============================================================ */

.cat-section {
  padding: var(--section-v) var(--gutter);
  border-top: 1px solid var(--border);
}

/* ============================================================
   INGREDIENT TICKER — pill tags, two rows, opposing directions
   ============================================================ */
.ing-ticker-section {
  padding: 4rem 0 5rem;
  background: var(--white);
  border-top: 1px solid var(--border);
  overflow: hidden;
  direction: ltr; /* always LTR — prevents Arabic RTL breaking the animation */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

.ing-track {
  display: flex;
  width: max-content;
  padding: 0.5rem 0;
  will-change: transform;
}

.ing-track--right {
  animation: ing-right 70s linear infinite;
}

.ing-track--left {
  animation: ing-left 58s linear infinite;
}

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

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

.ing-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.6rem;
  margin-right: 0.9rem;
  border: 1px solid var(--ink-30);
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
  background: transparent;
  cursor: default;
  user-select: none;
}

.ing-tag:hover {
  border-color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .ing-track {
    animation: none;
  }
}

/* Supplements — full-width editorial strip */
.supp-section {
  padding: var(--section-v) var(--gutter);
  background: var(--white);
  border-top: 1px solid var(--border);
}

.supp-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.supp-section-header h2 {
  font-family: var(--font-editorial);
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}

.supp-section-header p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--grey-text);
  margin-bottom: 2rem;
}

.supp-single-img {
  background: var(--warm-light);
}

.supp-single-img img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 760px) {
  .supp-section-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Future Formulation Design */
.future-section {
  padding: var(--section-v) var(--gutter);
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.future-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.future-text h2 {
  font-family: var(--font-editorial);
  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}

.future-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--grey-text);
  margin-bottom: 1.5rem;
}

.future-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.future-img-wrap {
  background: var(--warm-light);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.future-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  display: block;
  transition: filter 0.6s ease;
}

.future-img-wrap:hover img {
  filter: saturate(1);
}

@media (max-width: 900px) {
  .future-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .future-images {
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
  }
}

/* (old supplements modifier — no longer used) */
.cat-section--supplements-unused {
  background: var(--white);
}

.cat-section--cosmetics {
  background: var(--off-white);
}

.cat-section--food {
  background: var(--charcoal);
}

.cat-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.cat-section-text {
  max-width: 480px;
}

.cat-section--food .cat-section-text {
  max-width: none;
}

.cat-section-text h2 {
  font-family: var(--font-editorial);
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}

.cat-section--food .cat-section-text h2 {
  color: var(--white);
}

.cat-section-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--grey-text);
  margin-bottom: 2rem;
}

.cat-section--food .cat-section-text p {
  color: rgba(255,255,255,0.6);
}

.cat-section--food .section-label--light {
  color: rgba(255,255,255,0.45);
}

.cat-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  padding: 0.4rem 1rem;
  color: var(--grey-text);
}

.cat-badge--light {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.45);
}

/* Supplements — 2×2 image grid */
.cat-supp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.cat-supp-img {
  background: var(--warm-light);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.cat-supp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: filter 0.6s ease;
}

.cat-supp-img:hover img {
  filter: saturate(1.05);
}

/* Cosmetics — full image, no cropping */
.cat-cosm-img {
  background: var(--warm-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}

.cat-cosm-img img {
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
  display: block;
}

/* Food & Botanicals — editorial image */
.cat-food-img {
  overflow: hidden;
}

.cat-food-img img {
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: cover;
  display: block;
}

/* ------------------------------------------------------------ */
/* Old horizon styles kept for reference — now unused           */
/* ------------------------------------------------------------ */

.horizon-section {
  padding: var(--section-v) var(--gutter);
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.horizon-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.horizon-header {
  max-width: 700px;
  margin-bottom: 5rem;
}

.horizon-header h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-bottom: 1.5rem;
}

.horizon-intro {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--grey-text);
}

.horizon-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.horizon-cat-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-strong);
}

/* 2×2 grid for supplements */
.horizon-supp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.horizon-img-wrap {
  overflow: hidden;
  background: var(--warm-light);
}

.horizon-img-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.78);
  transition: filter var(--slow) var(--ease), transform 0.7s var(--ease);
  will-change: transform;
}

.horizon-img-tall img {
  aspect-ratio: 3 / 4;
}

/* Contain variant — shows the full image without cropping */
.horizon-img-contain img {
  object-fit: contain;
  padding: 0.75rem;
  background: var(--warm-light);
  transform: none !important; /* disable zoom — doesn't work well with contain */
}

.horizon-img-wrap:hover img {
  filter: saturate(1);
  transform: scale(1.04);
}

.horizon-img-contain:hover img {
  filter: saturate(1);
  transform: none !important;
}

.horizon-note {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--grey-text);
  margin-top: 4rem;
  text-align: center;
  font-style: italic;
}

/* Supplements featured block */
.horizon-supp-feature {
  margin-bottom: 3rem;
}

.horizon-supp-feature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.horizon-supp-feature-img {
  background: var(--warm-light);
  overflow: hidden;
}

.horizon-supp-feature-img img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 1.5rem;
  filter: saturate(0.85);
  transition: filter var(--slow) var(--ease);
}

.horizon-supp-feature-img:hover img {
  filter: saturate(1);
}

@media (max-width: 600px) {
  .horizon-supp-feature-pair {
    grid-template-columns: 1fr;
  }
}

/* Two-column grid variant for cosmetics + food */
.horizon-grid--two {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 900px) {
  .horizon-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .horizon-grid--two {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .horizon-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .horizon-grid--two {
    grid-template-columns: 1fr;
  }
}

/* Category section mobile */
@media (max-width: 900px) {
  .cat-section-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .cat-section-text {
    max-width: none;
  }
  /* On mobile, push food image after text */
  .cat-section--food .cat-food-img {
    order: 1;
  }
  .cat-cosm-img {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .cat-supp-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3px;
  }
}

/* ============================================================
   17. JOURNAL
   ============================================================ */
.journal-section {
  padding: var(--section-v) var(--gutter);
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.journal-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.journal-header {
  margin-bottom: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.journal-header h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.journal-card {
  overflow: hidden;
  border-radius: 3px;
}
.journal-card:not(:last-child) {
  border-right: 1px solid var(--border);
  padding-right: 2.5rem;
  margin-right: 2.5rem;
}

.journal-card-link {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  transition: opacity var(--mid);
}
.journal-card-link:hover { opacity: 0.75; }
.journal-card-link:hover .journal-card-image img {
  transform: scale(1.04);
}

.journal-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 1.6rem;
  background: var(--border);
}
.journal-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.journal-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.journal-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.journal-meta time {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--grey-text);
}

.journal-tag {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--gold-pale);
  border-radius: 100px;
}

.journal-card h3 {
  font-family: var(--font-editorial);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.journal-card p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--grey-text);
  margin-bottom: 1.5rem;
}

.journal-read {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: auto;
}

.journal-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ============================================================
   15. NEWSLETTER
   ============================================================ */
.newsletter-section {
  padding: var(--section-v) var(--gutter);
  background: var(--charcoal);
}

.newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inner .section-label {
  color: rgba(255,255,255,0.40);
}

.newsletter-inner h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}

.newsletter-desc {
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.5rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.newsletter-fields {
  display: flex;
  width: 100%;
  max-width: 500px;
  gap: 0;
}

.newsletter-fields input {
  flex: 1;
  padding: 1rem 1.4rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--ink);
  background: var(--white);
  border: none;
  border-radius: var(--radius) 0 0 var(--radius);
  outline: none;
  transition: background var(--fast);
}
.newsletter-fields input::placeholder { color: var(--grey-text); }
.newsletter-fields input:focus { background: var(--off-white); }

.newsletter-fields button {
  padding: 1rem 1.8rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--mid) var(--ease);
}
.newsletter-fields button:hover {
  background: var(--charcoal-mid);
}
.newsletter-fields button:disabled {
  background: var(--grey-text);
  cursor: default;
}

.newsletter-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

/* ============================================================
   16. FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem var(--gutter) 4rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
}

.footer-brand p {
  font-size: 0.8rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-logo {
  display: inline-block;
  text-decoration: none;
  transition: opacity var(--fast);
}
.footer-logo:hover { opacity: 0.75; }

.footer-nl-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-nl-glyph {
  font-family: serif;
  font-size: 2.2rem;
  line-height: 1;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
}
.footer-nl-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-nl-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--white);
  line-height: 1;
}
.footer-nl-labs {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.48rem;
  font-weight: 500;
  letter-spacing: 0.5em;
  color: rgba(255,255,255,0.5);
  margin-top: 5px;
  line-height: 1;
}

.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  color: rgba(255,255,255,0.45);
  transition: color var(--fast);
}
.footer-social a:hover { color: var(--white); }

.footer-nav h3, .footer-legal h3 {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem;
}

.footer-nav ul, .footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-nav ul a, .footer-legal ul a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--fast);
}
.footer-nav ul a:hover, .footer-legal ul a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem var(--gutter);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-bottom-inner p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

.footer-origin {
  font-style: italic;
}

.footer-disclaimer {
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.25);
  max-width: 900px;
}

/* ============================================================
   17. RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1100px) {
  .formulas-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 3rem;
  }

  .source-inner {
    gap: 4rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .statement-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .source-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .source-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }

  .coming-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .formulas-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   18. RESPONSIVE — MOBILE
   ============================================================ */

/* On mobile, skip scroll-reveal animations — show everything immediately.
   GSAP CDN often fails on local file access and the opacity:0 starting state
   leaves content permanently hidden on phones. */
@media (max-width: 900px) {
  .reveal-up,
  .reveal-fade {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 700px) {
  /* Nav */
  .nav-toggle { display: flex; }
  .nav-links { display: none; }
  /* Keep the language toggle visible on mobile (right side of nav bar) */
  .nav-links--right {
    display: flex;
    align-items: center;
  }
  .lang-toggle {
    font-size: 0.82rem;
    padding: 0.38rem 0.85rem;
  }

  /* Hero headline — reduce size so text isn't cut off on small screens */
  .statement-headline {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  /* Arabic logo on mobile — shrink so it doesn't overlap the lang button */
  [lang="ar"] .nl-brand {
    font-size: 20px;
  }
  [lang="ar"] .nl-glyph {
    font-size: 28px;
  }
  [lang="ar"] .nl-logo {
    gap: 8px;
  }

  .nav-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem var(--gutter);
  }
  .nav-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 38px;
    justify-self: unset;
  }
  .nav-logo img { max-width: 130px; max-height: 38px; }

  /* Products */
  .formulas-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .product-info {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  /* Pillars */
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pillar-item {
    border-top: 1px solid var(--border-strong);
    padding: 1.75rem 0;
  }

  /* Journal */
  .journal-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .journal-card:not(:last-child) {
    border-right: none;
    margin-right: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 3rem;
  }

  /* Source stats */
  .source-stats {
    flex-direction: column;
  }

  /* Coming */
  .coming-images {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3.5rem var(--gutter) 2.5rem;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* Newsletter */
  .newsletter-fields {
    flex-direction: column;
    max-width: 100%;
  }
  .newsletter-fields input {
    border-radius: var(--radius);
  }
  .newsletter-fields button {
    border-radius: var(--radius);
    width: 100%;
  }
}

/* ============================================================
   19. INNER PAGE BASE
   ============================================================ */
.page-hero {
  padding: calc(var(--section-v) * 1.5) var(--gutter) var(--section-v);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.page-hero .section-label { margin-bottom: 1rem; }

.page-hero h1 {
  font-family: var(--font-editorial);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 900px;
}

.page-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Container utility */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   20. JOURNAL INDEX PAGE
   ============================================================ */
.journal-page-hero {
  padding: calc(var(--section-v) * 1.5) var(--gutter) var(--section-v);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  max-width: var(--max-width);
  margin: 0 auto;
}
.journal-page-hero h1 {
  font-family: var(--font-editorial);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 700px;
}
.journal-page-hero p {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--grey-text);
  max-width: 560px;
}

.journal-page-grid {
  padding: var(--section-v) var(--gutter);
  background: var(--off-white);
  border-top: 1px solid var(--border);
}
.journal-page-grid-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
@media (max-width: 900px) {
  .journal-page-grid-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .journal-page-grid-inner .journal-card:not(:last-child) {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 3rem;
  }
}

/* ============================================================
   21. ARTICLE / JOURNAL POST PAGE
   ============================================================ */
.article-hero-img {
  width: 100%;
  max-height: 60vh;
  overflow: hidden;
  background: var(--warm-light);
}
.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-header {
  padding: var(--section-v) var(--gutter) 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.article-header-inner {
  max-width: 740px;
  margin: 0 auto;
}
.article-breadcrumb {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--grey-text);
  margin-bottom: 2rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.article-breadcrumb a {
  color: var(--grey-text);
  transition: color var(--fast);
}
.article-breadcrumb a:hover { color: var(--ink); }
.article-breadcrumb span { opacity: 0.4; }

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.article-meta time {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--grey-text);
}

.article-title {
  font-family: var(--font-editorial);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.article-lede {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--grey-text);
  padding-bottom: var(--section-v);
  border-bottom: 0;
  font-style: italic;
}

.article-body-wrap {
  padding: var(--section-v) var(--gutter);
  background: var(--white);
}
.article-body {
  max-width: 680px;
  margin: 0 auto;
}
.article-body p {
  font-size: 1rem;
  line-height: 1.95;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.article-body h2 {
  font-family: var(--font-editorial);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 3rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.article-body blockquote {
  border-left: 2px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2.5rem 0;
}
.article-body blockquote p {
  font-style: italic;
  color: var(--grey-text);
  font-size: 1.05rem;
  margin: 0;
}

.article-footer {
  padding: 3rem var(--gutter) var(--section-v);
  background: var(--white);
  border-top: 1px solid var(--border);
}
.article-footer-inner {
  max-width: 680px;
  margin: 0 auto;
}

/* ============================================================
   22. ABOUT PAGE
   ============================================================ */
.about-hero {
  padding: calc(var(--section-v) * 1.5) var(--gutter) var(--section-v);
  background: var(--white);
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-hero h1 {
  font-family: var(--font-editorial);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 1rem;
}

.about-hero-sub {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-text);
}

.about-banner {
  width: 100%;
  overflow: hidden;
}
.about-banner img {
  width: 100%;
  height: clamp(280px, 40vw, 560px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-story {
  padding: var(--section-v) var(--gutter);
  background: var(--white);
}

.about-story-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 6rem;
}

.about-sidebar {
  padding-top: 0.35rem;
}

.about-sidebar-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-text);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  height: fit-content;
}

.about-body {
  max-width: 720px;
}

.about-body h2 {
  font-family: var(--font-editorial);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  margin-top: 3.5rem;
  line-height: 1.1;
}
.about-body h2:first-child { margin-top: 0; }

.about-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--grey-text);
  margin-bottom: 1.4rem;
}

.about-body p strong {
  color: var(--ink);
  font-weight: 500;
}

.about-body blockquote {
  font-family: var(--font-editorial);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  border-left: 2px solid var(--gold);
  padding-left: 2rem;
  margin: 3rem 0;
  line-height: 1.45;
}

.about-name-section {
  background: var(--off-white);
  padding: var(--section-v) var(--gutter);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-name-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}

.about-name-text h2 {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.about-name-text p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--grey-text);
  margin-bottom: 1.2rem;
}

.about-name-image {
  overflow: hidden;
}

.about-name-image img {
  width: 100%;
  height: clamp(460px, 55vw, 720px);
  object-fit: cover;
  object-position: center;
  display: block;
  transform-origin: center;
  will-change: transform;
}

.about-symbol-section {
  background: var(--charcoal);
  padding: var(--section-v) var(--gutter);
  color: var(--white);
}

.about-symbol-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

/* Arabic RTL — keep symbol on the right visually */
[lang="ar"] .about-symbol-inner {
  direction: ltr;
}
[lang="ar"] .about-symbol-text {
  direction: rtl;
}

.symbol-large {
  font-family: var(--font-editorial);
  font-size: clamp(12rem, 22vw, 26rem);
  color: rgba(255,255,255,0.13);
  line-height: 0.85;
  user-select: none;
  display: block;
  flex-shrink: 0;
}

.about-symbol-text h2 {
  font-family: var(--font-editorial);
  font-size: clamp(2.8rem, 5.5vw, 6rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 2rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.about-symbol-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.4rem;
  max-width: 680px;
}

.about-cta-section {
  padding: var(--section-v) var(--gutter);
  background: var(--white);
  text-align: center;
}

.about-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.about-cta-inner h2 {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.about-cta-btns {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ============================================================
   21. CONTACT PAGE
   ============================================================ */
.contact-page {
  padding: calc(var(--section-v) * 1.5) var(--gutter) var(--section-v);
  background: var(--white);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.contact-page-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
  width: 100%;
}

.contact-text h1 {
  font-family: var(--font-editorial);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 2rem;
}

.contact-text p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--grey-text);
  margin-bottom: 1.5rem;
}

.contact-email-block {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.contact-email-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-bottom: 0.75rem;
}

.contact-email-link {
  font-family: var(--font-editorial);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 4px;
  display: inline-block;
  transition: border-color var(--mid) var(--ease), color var(--mid) var(--ease);
}
.contact-email-link:hover {
  border-color: var(--ink);
  color: var(--gold);
}

.contact-side-image {
  overflow: hidden;
}
.contact-side-image img {
  width: 100%;
  height: clamp(400px, 50vw, 680px);
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.8);
}

/* ============================================================
   22. ARABIC TYPOGRAPHY — Noto Kufi Arabic
   ============================================================ */
/* Body text — regular 400 */
[lang="ar"] body,
[lang="ar"] p,
[lang="ar"] li,
[lang="ar"] .announcement-text,
[lang="ar"] .footer-disclaimer,
[lang="ar"] .footer-bottom p,
[lang="ar"] .ing-card-body p,
[lang="ar"] .about-body p,
[lang="ar"] .contact-text p {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-weight: 400;
}

/* UI labels, section labels — medium 500 */
[lang="ar"] span,
[lang="ar"] .section-label,
[lang="ar"] .stat-label,
[lang="ar"] .product-note,
[lang="ar"] .footer-nav a,
[lang="ar"] .footer-legal a,
[lang="ar"] .footer-brand p {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

/* Headings — medium 500 */
[lang="ar"] h1,
[lang="ar"] h2,
[lang="ar"] h3,
[lang="ar"] h4,
[lang="ar"] .callout-text,
[lang="ar"] .statement-headline,
[lang="ar"] .horizon-headline,
[lang="ar"] .pillars-headline,
[lang="ar"] blockquote {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0;
}

/* Nav, buttons — medium 500 */
[lang="ar"] .nav-links a,
[lang="ar"] .mobile-menu a,
[lang="ar"] .lang-toggle,
[lang="ar"] .btn-primary,
[lang="ar"] .btn-outline,
[lang="ar"] .nav-cta,
[lang="ar"] .mobile-shop-btn,
[lang="ar"] .text-link,
[lang="ar"] a {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}

/* Footer headings — medium 500 */
[lang="ar"] .footer-nav h3,
[lang="ar"] .footer-legal h3 {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}

/* Italic elements become regular weight in Arabic (no italic in Arabic script) */
[lang="ar"] em,
[lang="ar"] h1 em,
[lang="ar"] h2 em,
[lang="ar"] h3 em {
  font-style: normal;
  font-weight: 500;
  color: inherit;
}

/* Border-left on blockquote flips to border-right in RTL */
[lang="ar"] .about-body blockquote {
  border-left: none;
  border-right: 2px solid var(--gold);
  padding-left: 0;
  padding-right: 2rem;
}

/* ── Arabic logo — text on left, 𒀀 symbol on right (RTL natural order) ── */
[lang="ar"] .nl-logo {
  direction: rtl; /* RTL: symbol flows to the right, text to the left */
  gap: 16px;
}
[lang="ar"] .nl-text {
  align-items: flex-end; /* right-align text within its block */
}
[lang="ar"] .nl-brand {
  font-family: 'Mada', sans-serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0;
  -webkit-text-stroke: 0;
}
[lang="ar"] .nl-labs {
  display: none;
}

/* ============================================================
   Responsive: About & Contact
   ============================================================ */
@media (max-width: 900px) {
  .about-story-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-sidebar { display: none; }
  .about-name-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-symbol-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .symbol-large { font-size: clamp(8rem, 30vw, 14rem); }
  .contact-page-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-side-image { display: none; }
}
