/* ═══════════════════════════════════════════════════
   EA DESIGNS – STYLE.CSS
   Brand teal: #0097AF · Dark bg: #080c10
═══════════════════════════════════════════════════ */

/* ── Custom Properties ─────────────────────────── */
:root {
  --primary:        #0097AF;
  --primary-dark:   #006e81;
  --primary-light:  #b1d8df;
  --primary-glow:   rgba(0, 151, 175, 0.12);
  --primary-border: rgba(0, 151, 175, 0.25);

  --bg:             #080c10;
  --bg-section:     #0c1118;
  --bg-card:        #0f1620;
  --bg-footer:      #050810;

  --text:           #dde4ec;
  --text-muted:     #6b7a8d;
  --text-light:     #a8b6c4;
  --white:          #ffffff;
  --border:         rgba(255,255,255,0.07);

  --font-display:   'Bebas Neue', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
  --font-body:      'DM Sans', sans-serif;

  --radius:         8px;
  --radius-lg:      16px;
  --max-w:          1200px;
  --nav-h:          72px;

  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:    cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

button { cursor: pointer; background: none; border: none; font: inherit; }

/* ── Container ─────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Typography helpers ────────────────────────── */
.section-label {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--primary);
  flex-shrink: 0;
}
.section-label.centered {
  justify-content: center;
}
.section-label.centered::before {
  display: none;
}
.section-label.light {
  color: var(--primary-light);
}
.section-label.light::before {
  background: var(--primary-light);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.section-heading.centered {
  text-align: center;
}
.section-heading.light {
  color: var(--white);
}

.teal { color: var(--primary); }

/* ── Scroll reveal animations ──────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger siblings */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }

/* ── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.25rem;
  border-radius: 4px;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s var(--ease-out-expo),
              background 0.2s, box-shadow 0.2s, color 0.2s;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,151,175,0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 28px rgba(0,151,175,0.45);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s var(--ease-in-out),
              box-shadow 0.35s var(--ease-in-out);
}
#navbar.scrolled {
  background: rgba(8, 12, 16, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: block;
  height: 56px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 100%;
  width: auto;
  transition: opacity 0.3s;
}
.nav-logo .logo-dark { display: none; }
.nav-logo .logo-light { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.nav-links .nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}
.nav-links .nav-cta:hover {
  background: var(--primary-dark);
}

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero-img.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,12,16,0.88) 0%,
    rgba(8,12,16,0.55) 50%,
    rgba(8,12,16,0.75) 100%
  );
}

.hero-arc {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-arc svg {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
  padding-bottom: 6rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s var(--ease-out-expo) forwards;
}
.eyebrow-line {
  display: block;
  height: 1px;
  width: 40px;
  background: var(--primary);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(5rem, 13vw, 11rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 1.75rem;
  display: block;
}
.hero-hl-1 {
  display: block;
  opacity: 0;
  animation: fadeUp 0.9s 0.45s var(--ease-out-expo) forwards;
}
.hero-hl-2 {
  display: block;
  color: var(--primary);
  opacity: 0;
  animation: fadeUp 0.9s 0.6s var(--ease-out-expo) forwards;
}
.hero-hl-2 em {
  font-style: italic;
  font-family: var(--font-condensed);
  font-weight: 300;
  font-size: 0.65em;
  color: var(--white);
  letter-spacing: 0.08em;
  display: block;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.75s var(--ease-out-expo) forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.9s var(--ease-out-expo) forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s 1.4s ease forwards;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollPulse 2s 1.5s ease-in-out infinite;
}
.hero-scroll-hint span {
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-lr;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.7); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ══════════════════════════════════════════════════
   PRODUCT SECTION
══════════════════════════════════════════════════ */
.product-section {
  position: relative;
  background: var(--bg-section);
  padding: 8rem 0;
  overflow: hidden;
}
.product-section::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, var(--bg), transparent);
  z-index: 1;
  pointer-events: none;
}

.product-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.product-text .section-heading {
  margin-bottom: 1.25rem;
}
.product-text p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  max-width: 480px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--primary-glow);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  margin: 1.75rem 0;
}
.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.product-badge strong {
  display: block;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--white);
}
.product-badge span {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* product visual */
.product-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.product-main-img {
  position: relative;
  width: 100%;
  max-width: 520px;
}
.product-main-img img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 60px rgba(0,151,175,0.2));
  transition: transform 0.5s var(--ease-out-expo);
}
.product-main-img:hover img {
  transform: translateY(-6px) scale(1.01);
}
.product-glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(0,151,175,0.18), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.product-thumbs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
  opacity: 0.6;
  flex-shrink: 0;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
  border-color: var(--primary);
}
.thumb.active {
  border-color: var(--primary);
  opacity: 1;
}


/* ══════════════════════════════════════════════════
   BENEFITS
══════════════════════════════════════════════════ */
.benefits-section {
  padding: 8rem 0;
  background: var(--bg);
  position: relative;
}
.benefits-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-border), transparent);
}

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

.benefit-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-out-expo),
              box-shadow 0.3s;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}
.benefit-card:hover {
  border-color: var(--primary-border);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 0 1px var(--primary-border);
}
.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-number {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(0,151,175,0.08);
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  letter-spacing: -0.02em;
  pointer-events: none;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-card h3 {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.benefit-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ══════════════════════════════════════════════════
   VIDEO SECTION
══════════════════════════════════════════════════ */
.video-section {
  padding: 8rem 0;
  background: var(--bg-section);
  position: relative;
}
.video-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-border), transparent);
}

.video-sub {
  text-align: center;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 3rem;
  font-size: 1rem;
  line-height: 1.7;
}

.video-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
  cursor: pointer;
}

/* Maintain 16:9 aspect ratio */
.video-wrap::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

.video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Poster image letterboxing fix */
.video-wrap video[poster] {
  object-fit: contain;
  background: #000;
}

/* Play overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(
    135deg,
    rgba(8,12,16,0.55) 0%,
    rgba(8,12,16,0.3) 100%
  );
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 2;
}
.video-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-play-btn {
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 4px 24px rgba(0,151,175,0.5));
  transition: transform 0.3s var(--ease-out-expo), filter 0.3s;
}
.video-wrap:hover .video-play-btn {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 32px rgba(0,151,175,0.7));
}
.video-play-btn svg {
  width: 100%;
  height: 100%;
}

/* Animated ring on hover */
.play-ring {
  transition: stroke-dashoffset 0.6s var(--ease-out-expo);
  transform-origin: center;
  transform: rotate(-90deg);
}
.video-wrap:hover .play-ring {
  stroke-dashoffset: 0;
}

.video-play-label {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ══════════════════════════════════════════════════
   OUR STORY
══════════════════════════════════════════════════ */
.story-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.story-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.story-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8,12,16,0.96) 0%,
    rgba(8,12,16,0.85) 40%,
    rgba(8,12,16,0.65) 100%
  );
}

.story-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.story-quote {
  font-family: var(--font-condensed);
  font-weight: 300;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  line-height: 1.3;
  color: var(--white);
  border-left: 3px solid var(--primary);
  padding-left: 1.75rem;
  margin: 1.5rem 0 2.5rem;
  font-style: italic;
}

.story-body p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  max-width: 560px;
}
.story-body strong {
  color: var(--primary-light);
  font-weight: 500;
}


/* ══════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════ */
.about-section {
  padding: 8rem 0;
  background: var(--bg-section);
  position: relative;
}
.about-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-border), transparent);
}

.about-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 5rem;
  align-items: start;
}

.about-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(15%);
  transition: filter 0.4s;
}
.about-photo-wrap:hover img { filter: grayscale(0%); }

.about-photo-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,151,175,0.2), transparent);
  pointer-events: none;
}

.about-foam {
  margin-top: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.about-foam img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.about-foam p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* text col */
.about-text-col .section-heading {
  margin-bottom: 1.25rem;
}
.about-text-col > p {
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 500px;
}

.certs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.cert {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-light);
}
.cert-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-glow);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.proto-heading {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.proto-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.proto-step {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  position: relative;
}
.proto-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 20px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.proto-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-section);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s;
}
.proto-dot.active {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 0 12px rgba(0,151,175,0.4);
}
.proto-step strong {
  display: block;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.3rem;
  letter-spacing: 0.03em;
}
.proto-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ══════════════════════════════════════════════════
   COMMUNITY / STATS
══════════════════════════════════════════════════ */
.community-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  text-align: center;
}

.community-bg {
  position: absolute;
  inset: 0;
}
.community-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.community-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,12,16,0.82);
}

.community-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.community-content .section-heading {
  margin-bottom: 0.5rem;
}

.community-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 2.5rem 0 2rem;
  background: rgba(15,22,32,0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 3rem;
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
  justify-content: center;
}
.stat {
  text-align: center;
  padding: 0 2.5rem;
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
  flex-shrink: 0;
}
.stat-val {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 0.35rem;
}
.stat-val span {
  font-family: var(--font-condensed);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary-light);
  margin-left: 0.1rem;
}
.stat-label {
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}


/* ══════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════ */
.contact-section {
  padding: 8rem 0;
  background: var(--bg);
  position: relative;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-border), transparent);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.contact-info .section-heading {
  margin-bottom: 1.25rem;
}
.contact-info > p {
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 380px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-light);
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
a.contact-item:hover {
  border-color: var(--primary-border);
  color: var(--primary-light);
  transform: translateX(4px);
}
.contact-item-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-glow);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-item-icon svg {
  width: 18px;
  height: 18px;
}
.contact-item.static {
  cursor: default;
}

/* form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.req { color: var(--primary); }

.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  resize: vertical;
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,151,175,0.12);
  background: rgba(0,151,175,0.04);
}
.form-group input.error,
.form-group textarea.error {
  border-color: #e05555;
}

.btn-submit {
  align-self: flex-start;
  position: relative;
  min-width: 180px;
  justify-content: center;
}
.btn-loading {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: var(--primary-dark);
  border-radius: 4px;
}
.btn-submit.loading .btn-text { visibility: hidden; }
.btn-submit.loading .btn-loading { display: flex; }

.form-feedback {
  padding: 0;
  font-size: 0.92rem;
  border-radius: var(--radius);
  transition: all 0.3s;
}
.form-feedback.success {
  padding: 1rem 1.25rem;
  background: rgba(0,151,175,0.1);
  border: 1px solid var(--primary-border);
  color: var(--primary-light);
}
.form-feedback.error {
  padding: 1rem 1.25rem;
  background: rgba(224,85,85,0.1);
  border: 1px solid rgba(224,85,85,0.3);
  color: #f08080;
}


/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-footer);
  position: relative;
}

.footer-curve {
  margin-bottom: -1px;
  line-height: 0;
  overflow: hidden;
}
.footer-curve svg {
  display: block;
  width: 100%;
  height: 60px;
}

.footer-inner {
  padding: 4rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 1.5rem;
}
.footer-brand strong {
  color: var(--primary-light);
  font-weight: 400;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social a:hover {
  color: var(--primary);
  border-color: var(--primary-border);
  background: var(--primary-glow);
}
.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-nav {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.footer-nav-col h4 {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-nav-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-nav-col a:hover { color: var(--primary-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}
.footer-reg {
  font-family: var(--font-condensed);
  letter-spacing: 0.05em;
}
.footer-dev a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-dev a:hover {
  color: var(--primary-light);
}


/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */

/* ── Tablet landscape (≤ 1024px) ─────────────────── */
@media (max-width: 1024px) {
  .product-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .product-text p { max-width: 100%; }
  .product-visual { align-items: center; }
  .product-main-img { max-width: 420px; margin: 0 auto; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-photo-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
    max-width: 700px;
  }
  .about-photo-wrap { max-width: 100%; }
  .about-foam { margin-top: 0; }

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

/* ── Tablet portrait / large phone (≤ 768px) ───────── */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* Fully opaque on mobile — any transparency + backdrop-filter makes large
     headings visible through the navbar as they scroll behind it */
  #navbar {
    background: #080c10;
    box-shadow: 0 1px 0 var(--border);
  }
  #navbar.scrolled {
    background: #080c10;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8,12,16,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.5rem 2rem 2rem;
    gap: 0.25rem;
    transform: translateY(-110%);
    transition: transform 0.35s var(--ease-out-expo);
    border-bottom: 1px solid var(--border);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a {
    font-size: 1.2rem;
    padding: 0.9rem 1rem;
    width: 100%;
    border-radius: var(--radius);
    min-height: 48px; /* WCAG touch target */
    display: flex;
    align-items: center;
  }
  .nav-links .nav-cta {
    margin: 0.75rem 0 0;
    text-align: center;
    justify-content: center;
  }

  /* Hero */
  .hero-headline { font-size: clamp(3.8rem, 17vw, 6.5rem); }
  .hero-sub br { display: none; }
  .hero-scroll-hint { display: none; }

  /* Benefits */
  .benefits-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 3rem auto 0;
  }

  /* Story */
  .story-section { padding: 6rem 0; }
  .story-quote { font-size: clamp(1.3rem, 4vw, 2rem); }

  /* About */
  .about-photo-col { grid-template-columns: 1fr; }
  .about-photo-wrap { max-width: 380px; margin: 0 auto; }
  .about-foam {
    flex-direction: row;
    max-width: 380px;
    margin: 0 auto;
  }

  /* Community stats: 2×2 grid on tablet */
  .community-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }
  .stat-divider { display: none; }
  .stat { padding: 0.5rem; text-align: center; }

  /* Contact */
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Footer */
  .footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
  }
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .footer-bottom-right { align-items: center; }
}

/* ── Phone (≤ 480px) ──────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }

  /* Typography */
  .section-heading { font-size: clamp(2.4rem, 11vw, 3.5rem); }
  .hero-headline   { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero-sub        { font-size: 0.95rem; }

  /* Section spacing */
  .story-section,
  .about-section,
  .benefits-section,
  .product-section,
  .community-section,
  .contact-section { padding: 5rem 0; }

  /* Hero */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; }

  /* Product */
  .product-main-img { max-width: 100%; }
  .product-thumbs {
    gap: 0.5rem;
    justify-content: center;
  }
  .thumb { width: 56px; height: 56px; }
  .product-badge { flex-wrap: wrap; }

  /* Benefits */
  .benefit-card { padding: 2rem 1.5rem; }

  /* Story */
  .story-quote { padding-left: 1.25rem; }

  /* About */
  .about-foam { flex-direction: column; text-align: center; }
  .about-foam img { margin: 0 auto; }
  .certs { grid-template-columns: 1fr; }
  .proto-step strong { font-size: 0.95rem; }

  /* Community stats: single column on small phones */
  .community-stats {
    grid-template-columns: 1fr;
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Contact form — prevent iOS auto-zoom on focus (needs 16px+) */
  .form-group input,
  .form-group textarea { font-size: 1rem; }
  .btn-submit { width: 100%; }

  /* Footer */
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
  .footer-inner { padding: 3rem 1.25rem 2rem; }
  .footer-logo { height: 32px; }
}

/* ── Very small phones (≤ 360px) ─────────────────── */
@media (max-width: 360px) {
  .hero-headline { font-size: clamp(2.8rem, 15vw, 4rem); }
  .product-thumbs { gap: 0.4rem; }
  .thumb { width: 48px; height: 48px; }
  .community-stats { max-width: 200px; }
  .stat-val { font-size: 2.8rem; }
  .footer-nav { grid-template-columns: 1fr; }
}
