/* ==========================================================================
   OXEN1 — Design tokens
   ========================================================================== */
:root {
  --loam:        #1C2118;
  --loam-2:      #262D21;
  --pine:        #2E3B26;
  --moss:        #4B5D3A;
  --moss-light:  #7A9169;
  --ochre:       #C97A2E;
  --ochre-light: #E0A055;
  --wheat:       #E7E0CC;
  --wheat-2:     #F1ECDE;
  --ink:         #24261F;
  --ink-soft:    #565A4D;
  --line:        rgba(28, 33, 24, 0.14);
  --line-light:  rgba(231, 224, 204, 0.18);

  --font-display: 'Oswald', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --radius: 4px;
  --shadow-sm: 0 2px 8px rgba(28,33,24,0.10);
  --shadow-md: 0 8px 24px rgba(28,33,24,0.16);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--wheat-2);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
  display: block;
  margin-bottom: 14px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--loam);
  letter-spacing: 0.01em;
  line-height: 1.12;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { color: var(--ink-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--ochre); color: var(--wheat-2); }
.btn-primary:hover { background: var(--ochre-light); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; border-color: var(--line-light); color: var(--wheat); }
.btn-ghost:hover { background: rgba(231,224,204,0.08); }
.btn-outline { background: transparent; border-color: var(--loam); color: var(--loam); }
.btn-outline:hover { background: var(--loam); color: var(--wheat); }

/* ---------- Header ---------- */
.site-header {
  background: var(--loam);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line-light);
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 18px 0;
}
.logo-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.logo-icon-lg { height: 64px; width: auto; object-fit: contain; }
.logo-text-lg {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--wheat);
  letter-spacing: 0.06em;
}
.header-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 0;
}
.header-contact-line {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--moss-light);
}
.header-contact-line a:hover { color: var(--ochre-light); }
.header-divider {
  width: 100%;
  height: 1px;
  background: var(--line-light);
}

/* ---------- Language switcher ---------- */
.lang-switcher { position: relative; }
.lang-toggle {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none; color: var(--wheat);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em;
  cursor: pointer; padding: 2px 0;
}
.lang-toggle:hover { color: var(--ochre-light); }
.lang-toggle .caret { font-size: 0.6rem; opacity: 0.7; }
.lang-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--loam-2); border: 1px solid var(--line-light);
  border-radius: var(--radius); overflow: hidden;
  min-width: 160px; max-height: 0; opacity: 0;
  pointer-events: none;
  transition: max-height 0.25s ease, opacity 0.2s ease;
  z-index: 200;
}
.lang-dropdown.open { max-height: 320px; opacity: 1; pointer-events: auto; overflow-y: auto; }
.lang-option {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: none; border: none; color: var(--wheat);
  font-family: var(--font-body); font-size: 0.85rem;
  padding: 10px 14px; cursor: pointer; text-align: left;
}
.lang-option:hover { background: rgba(231,224,204,0.08); }
.lang-option.active { color: var(--ochre-light); background: rgba(201,122,46,0.12); }
.lang-flag { font-size: 1.1rem; line-height: 1; }

.nav-links {
  display: flex;
  gap: 34px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links a { color: var(--wheat); position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--ochre); transition: width 0.2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--ochre-light); }
.nav-toggle { display: none; background: none; border: none; color: var(--wheat); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 880px) {
  .header-contact-line a { display: none; }
  .header-flex { flex-wrap: wrap; gap: 12px 0; }
  .header-right { align-items: flex-end; flex-basis: 100%; }
}

@media (max-width: 860px) {
  .header-flex { align-items: flex-start; justify-content: center; }
  .logo-icon-lg { height: 72px; }
  .logo-text-lg { font-size: 2.2rem; }
  .nav-toggle { display: block; margin-right: 12px; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--loam); flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
    border-bottom: 1px solid var(--line-light);
  }
  .nav-links.open { max-height: 400px; }
  .nav-links a { padding: 16px 32px; border-top: 1px solid var(--line-light); display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--loam);
  color: var(--wheat);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 88px;
}
.hero h1 { color: var(--wheat); }
.hero p.lead { color: rgba(231,224,204,0.72); font-size: 1.08rem; max-width: 46ch; margin: 22px 0 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-light);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.spec-tag {
  position: absolute;
  background: rgba(28,33,24,0.88);
  border: 1px solid var(--ochre);
  color: var(--wheat);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 8px 14px;
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
}
.spec-tag b { color: var(--ochre-light); font-size: 0.95rem; display: block; }
.spec-tag.tag-1 { top: 20px; left: 20px; }
.spec-tag.tag-2 { bottom: 20px; right: 20px; }

/* ---------- Centered banner hero (matches live site) ---------- */
.hero-centered {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero-bg-stack {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease;
}
.hero-bg-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,15,9,0.35) 0%, rgba(11,15,9,0.72) 100%);
  z-index: 1;
}
.hero-centered-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 80px 32px;
}
.hero-centered h1 { color: var(--wheat); font-size: clamp(2rem, 4.6vw, 3.2rem); }
.hero-centered p.lead {
  color: rgba(231,224,204,0.82);
  max-width: 62ch;
  margin: 26px auto 34px;
  font-family: var(--font-body);
  font-size: 1.02rem;
}
.btn-pill {
  background: var(--moss);
  color: var(--wheat-2);
  border-radius: 999px;
  padding: 16px 38px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-pill:hover { background: var(--moss-light); transform: translateY(-2px); }
.hero-dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.hero-dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(231,224,204,0.4);
}
.hero-dots .dot.active {
  background: transparent;
  border: 1.5px solid var(--wheat);
  width: 9px; height: 9px;
}
@media (max-width: 700px) { .hero-centered { min-height: 520px; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding: 48px 0 56px; }
}

/* ---------- Section shell ---------- */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-alt { background: var(--wheat); }
.section-dark { background: var(--pine); color: var(--wheat); }
.section-dark h2, .section-dark h3 { color: var(--wheat); }
.section-dark p { color: rgba(231,224,204,0.7); }

/* ---------- About / who we are ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about-stat-badge {
  position: absolute; bottom: -24px; left: -24px;
  background: var(--ochre); color: var(--wheat-2);
  padding: 18px 22px; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600; box-shadow: var(--shadow-md);
}
.about-stat-badge b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-media { margin-bottom: 32px; } }

/* ---------- Empower banner + showcase ---------- */
.empower-banner {
  position: relative;
  height: 420px;
  background-image: linear-gradient(180deg, rgba(28,33,24,0.15) 0%, rgba(28,33,24,0.75) 100%), url('../images/empower-banner.jpg');
  background-size: cover;
  background-position: center 35%;
  background-attachment: fixed;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
/* Fixed backgrounds render unreliably on iOS Safari and can feel janky on
   touch devices generally, so fall back to a normal scrolling background
   below desktop widths. */
@media (max-width: 860px), (hover: none) and (pointer: coarse) {
  .empower-banner { background-attachment: scroll; }
}
.empower-banner h2 {
  color: var(--wheat);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  max-width: 14ch;
  padding: 0 0 48px 0;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.showcase-item { margin: 0; }
.showcase-grid img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; height: 320px; object-fit: cover; }
.showcase-item figcaption {
  text-align: center;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 700px) { .showcase-grid { grid-template-columns: 1fr; } }

/* ---------- Gauge stats (signature element) ---------- */
.gauge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.gauge-card {
  background: var(--loam-2);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 28px 20px 22px;
  text-align: center;
}
.gauge-card svg { width: 100%; max-width: 150px; margin: 0 auto; }
.gauge-needle { transform-origin: 75px 75px; transition: transform 1.1s cubic-bezier(.2,.9,.25,1); }
.gauge-value {
  font-family: var(--font-mono); font-size: 1.6rem; color: var(--ochre-light);
  margin-top: 6px; display: block;
}
.gauge-label {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: rgba(231,224,204,0.65); margin-top: 4px;
}
.roi-banner {
  margin-top: 40px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  background: var(--ochre); color: var(--loam);
  padding: 26px 32px; border-radius: var(--radius);
}
.roi-banner b { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; }
.roi-banner .roi-label { font-family: var(--font-display); font-weight: 600; }
@media (max-width: 900px) { .gauge-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cat-grid-2col { grid-template-columns: repeat(2, 1fr); }
.cat-grid-3col { grid-template-columns: repeat(3, 1fr); }

.video-feature-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.video-feature-info { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.video-feature-card .video-feature-thumb {
  flex: 1;
  height: 50px;
  width: auto;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--ink);
  min-width: 0;
}
@media (max-width: 700px) {
  .video-feature-card { flex-wrap: wrap; }
  .video-feature-card .video-feature-thumb { flex: 1 1 100%; height: 80px; order: 3; }
}
.cat-card {
  background: var(--wheat-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.cat-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.cat-card-head h3 { margin-bottom: 0; }
.cat-card-head .qlink-icon { height: 30px; width: 30px; object-fit: contain; flex-shrink: 0; margin-bottom: 0; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--moss); }
.cat-card img { height: 56px; width: auto; object-fit: contain; margin-bottom: 16px; }
.cat-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.cat-card p { font-size: 0.92rem; margin-bottom: 16px; }
.cat-card .link-arrow { font-family: var(--font-mono); font-size: 0.76rem; color: var(--moss); letter-spacing: 0.05em; }
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- Our Carts photo gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}
.gallery-item {
  display: block;
  position: relative;
  padding: 10px;
  border: 2px solid var(--moss);
  border-radius: 18px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.gallery-item:hover { transform: translateY(-4px); border-color: var(--ochre); }
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.testi-card {
  background: var(--wheat-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 16px;
}
.testi-quote { font-size: 1rem; color: var(--ink); }
.testi-quote.clamp {
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.testi-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--moss); color: var(--wheat-2);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.05rem;
}
.testi-name { font-family: var(--font-display); font-size: 0.95rem; text-transform: uppercase; }
.testi-role { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-soft); }
.read-more-btn {
  align-self: flex-start; font-family: var(--font-mono); font-size: 0.76rem; color: var(--moss);
  border-bottom: 1px solid var(--moss); cursor: pointer; background: none; border-top: none; border-left: none; border-right: none; padding: 0;
}
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---------- Distributor / contact form ---------- */
.dist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.form-card {
  background: var(--wheat-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.single { grid-template-columns: 1fr; }
label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--moss); outline-offset: 1px; border-color: var(--moss); }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; }
.checkbox-row input { width: auto; margin-top: 4px; }
.checkbox-row p { font-size: 0.82rem; }
.form-note { font-size: 0.82rem; margin-top: 16px; color: var(--ink-soft); }
@media (max-width: 860px) { .dist-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--loam); color: var(--wheat);
  padding: 56px 0; text-align: center;
}
.cta-strip h2 { color: var(--wheat); margin-bottom: 18px; }
.cta-strip p { max-width: 52ch; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--loam); color: rgba(231,224,204,0.85); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 {
  color: var(--wheat);
  font-size: 1.5rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 14px;
}
.footer-grid h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 3px;
  background: var(--ochre);
}
.footer-grid h4 span { color: var(--ochre-light); }
.footer-grid p { font-size: 0.95rem; color: rgba(231,224,204,0.8); line-height: 1.7; }
.footer-links-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.footer-links li { margin-bottom: 14px; font-size: 0.95rem; }
.footer-links a:hover { color: var(--ochre-light); }
.footer-contact li { margin-bottom: 14px; font-size: 0.95rem; display: flex; gap: 10px; align-items: center; }
.footer-contact li img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
/* ---------- Splash overlay (once per session) ---------- */
.splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--loam);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.7s ease;
}
.splash-overlay.fade-out { opacity: 0; pointer-events: none; }
.splash-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.95s ease, transform 0.95s ease;
}
.splash-logo.show { opacity: 1; transform: scale(1); }
.splash-logo img { height: 50vmin; width: auto; }
.splash-logo span {
  font-family: var(--font-display);
  font-size: 8vmin;
  color: var(--wheat);
  letter-spacing: 0.08em;
}

.footer-bottom {
  border-top: 1px solid var(--line-light); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-mono); font-size: 0.72rem;
}
.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 32px; height: 32px; border: 1px solid var(--line-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.social-row a:hover { background: var(--ochre); border-color: var(--ochre); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page header (interior pages) ---------- */
.page-head {
  background: var(--loam); color: var(--wheat); padding: 56px 0 40px;
}
.page-head h1 { color: var(--wheat); }
.breadcrumb { font-family: var(--font-mono); font-size: 0.76rem; color: var(--moss-light); margin-bottom: 12px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
