/* ==========================================================================
   American Pro, Component & Layout Styles
   ========================================================================== */

/* ─── Layout primitives ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: clamp(var(--space-4), 4vw, var(--space-8));
}

.container--narrow { max-width: var(--content-default); }

.section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}
.section--tight {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
}
.eyebrow--center::before { display: none; }
.eyebrow--center {
  display: block;
  text-align: center;
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition-interactive);
}
.btn--primary {
  background: var(--color-accent);
  color: var(--color-text-inverse);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--secondary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn--secondary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--ghost:hover {
  border-color: var(--color-text);
  background: var(--color-surface-2);
}
.btn--ghost-light {
  background: transparent;
  color: var(--color-text-inverse);
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost-light:hover {
  border-color: var(--color-text-inverse);
  background: rgba(255,255,255,0.08);
}
.btn--lg {
  padding: 1.0625rem 1.875rem;
  font-size: var(--text-base);
}

/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--color-divider);
  background: rgba(251, 250, 247, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 6.5rem;
  padding-block: 1.5rem 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--color-text);
  line-height: 1;
}
.logo-img {
  display: block;
  height: 80px;
  width: auto;
  object-fit: contain;
}
.logo-img--footer {
  height: 64px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: var(--space-1) 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: var(--color-accent);
  transition: right 220ms ease;
}
.nav a:hover::after,
.nav a.is-active::after {
  right: 0;
}

.nav a.nav-external {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.nav a.nav-external::after { display: none; }
.nav-external-arrow {
  color: var(--color-accent);
  font-size: 0.85em;
  font-weight: 600;
  display: inline-block;
  transition: transform 220ms ease;
}
.nav a.nav-external:hover .nav-external-arrow {
  transform: translate(2px, -2px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.header-phone {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.header-actions .btn {
  padding: 0.625rem 1.125rem;
  font-size: 0.8125rem;
  line-height: 1.2;
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text);
}

@media (max-width: 960px) {
  .nav, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Below 540px keep only the hamburger in the header. The Request Samples
   CTA lives inside the mobile menu drawer so the header has room for the
   full logo lockup without text wrap. */
@media (max-width: 540px) {
  .header-actions .btn--primary { display: none; }
  /* Bump mobile logo and give the header more vertical room so the flag
     mark on top of the lockup reads cleanly instead of compressing into
     a single thin red bar. */
  .header-inner { min-height: 7.5rem; padding-block: 1.75rem 1.25rem; }
  .logo-img { height: 76px; }
  .mobile-menu { inset: 7.5rem 0 auto 0; }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 6.5rem 0 auto 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
  padding: var(--space-6) var(--space-6) var(--space-8);
  z-index: 99;
  /* Closed state: shift the drawer fully off-screen plus a buffer so its
     bottom edge, border, and shadow never bleed into the header area on
     short viewports where translateY(-110%) of a tall drawer is not enough. */
  transform: translateY(calc(-100% - 8rem));
  visibility: hidden;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 280ms;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 960px) {
  .mobile-menu { display: block; }
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s; }
.mobile-menu ul { display: grid; gap: var(--space-3); }
.mobile-menu a {
  display: block;
  padding: var(--space-3) 0;
  font-size: var(--text-lg);
  font-family: var(--font-display);
  border-bottom: 1px solid var(--color-divider);
}
.mobile-menu .mobile-cta {
  margin-top: var(--space-6);
  display: grid;
  gap: var(--space-2);
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 880px);
  display: flex;
  align-items: flex-end;
  color: var(--color-text-inverse);
  isolation: isolate;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(14, 31, 58, 0.30) 0%,
      rgba(14, 31, 58, 0.05) 35%,
      rgba(14, 31, 58, 0.55) 80%,
      rgba(14, 31, 58, 0.85) 100%);
  z-index: 1;
}
.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 31, 58, 0.55), rgba(14, 31, 58, 0));
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--space-16) var(--space-12);
}
.hero-eyebrow {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.hero-eyebrow::before {
  content: "";
  width: 32px; height: 1.5px;
  background: var(--color-accent);
}
.hero-title {
  font-size: var(--text-3xl);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 16ch;
  color: #fff;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: #fff;
}
.hero-sub {
  margin-top: var(--space-6);
  max-width: 50ch;
  font-size: var(--text-base);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}
.hero-actions {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-meta {
  position: absolute;
  bottom: var(--space-8);
  right: clamp(var(--space-4), 4vw, var(--space-8));
  z-index: 2;
  text-align: right;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  margin-bottom: 2px;
}
@media (max-width: 720px) {
  .hero-meta { display: none; }
}

/* ─── Trust band ─────────────────────────────────────────────────────────── */
.trust {
  background: var(--color-surface-dark);
  color: var(--color-text-inverse);
  padding-block: var(--space-8);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}
.trust-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  flex: none;
}
.trust-label {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  line-height: 1.35;
}
@media (max-width: 880px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
}

/* ─── Section heads ──────────────────────────────────────────────────────── */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: end;
  margin-bottom: var(--space-12);
}
.section-head h2 {
  font-size: var(--text-2xl);
  letter-spacing: -0.025em;
  max-width: 16ch;
}
.section-head h2 em { font-style: italic; font-weight: 400; }
.section-head p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 50ch;
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: var(--space-5); }
}

/* ─── Product cards ──────────────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 880px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  isolation: isolate;
  transition: transform 320ms cubic-bezier(0.16,1,0.3,1), box-shadow 320ms ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card a { display: block; color: inherit; }
.product-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16,1,0.3,1);
}
.product-card:hover .product-image img {
  transform: scale(1.04);
}
.product-body {
  padding: var(--space-6) var(--space-6) var(--space-8);
}
.product-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.product-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-3);
}
.product-desc {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1.5px solid var(--color-text);
  padding-bottom: 2px;
}
.product-card:hover .product-link {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* ─── Why us / pillars ───────────────────────────────────────────────────── */
.pillars {
  background: var(--color-surface-2);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
@media (max-width: 980px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pillars-grid { grid-template-columns: 1fr; } }

.pillar {
  padding: var(--space-8) var(--space-6) var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-divider);
  transition: var(--transition-interactive);
}
.pillar:hover {
  border-color: var(--color-text-muted);
  transform: translateY(-2px);
}
.pillar-icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}
.pillar p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ─── Story section (manufacturing) ──────────────────────────────────────── */
.story {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
@media (max-width: 880px) { .story { grid-template-columns: 1fr; } }

.story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  box-shadow: var(--shadow-md);
}
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-badge {
  position: absolute;
  top: var(--space-4); left: var(--space-4);
  background: var(--color-accent);
  color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.story h2 {
  font-size: var(--text-2xl);
  letter-spacing: -0.025em;
  margin-block: var(--space-4) var(--space-6);
}
.story h2 em { font-style: italic; font-weight: 400; }
.story p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.story p strong { color: var(--color-text); font-weight: 600; }
.story .story-actions {
  margin-top: var(--space-8);
  display: flex; gap: var(--space-3); flex-wrap: wrap;
}

/* ─── OEM strip (homepage pivot to capabilities) ─────────────────────────── */
.oem-strip {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: clamp(3rem, 7vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}
.oem-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 0%, rgba(255,255,255,0.07), transparent 55%);
  pointer-events: none;
}
.oem-strip .container { position: relative; }
.oem-strip-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 900px) {
  .oem-strip-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: var(--space-10);
  }
}
.oem-strip-copy { max-width: 60ch; }
.oem-strip-eyebrow { color: var(--color-accent); margin-bottom: var(--space-3); display: inline-block; }
.oem-strip h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 3.2vw, var(--text-3xl));
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--space-4);
}
.oem-strip h2 em { font-style: italic; font-weight: 400; color: rgba(255,255,255,0.9); }
.oem-strip p {
  color: rgba(255,255,255,0.78);
  font-size: var(--text-base);
  line-height: 1.7;
  margin: 0;
}
.oem-strip-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}
@media (min-width: 900px) {
  .oem-strip-cta { align-items: flex-end; text-align: right; }
}
.oem-strip-meta {
  color: rgba(255,255,255,0.55);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* ─── Gallery (inspiration) ──────────────────────────────────────────────── */
.gallery {
  background: var(--color-surface-dark);
  color: var(--color-text-inverse);
}
.gallery .eyebrow { color: #ff8b95; }
.gallery h2 { color: #fff; }
.gallery .section-head p { color: rgba(255,255,255,0.7); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item--big   { grid-column: span 7; aspect-ratio: 4/3; }
.gallery-item--small { grid-column: span 5; aspect-ratio: 4/3; }
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--big, .gallery-item--small { grid-column: 1 / -1; }
}

/* ─── Social: live Facebook feed section ───────────────────────────────── */
.social {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
}
/* Override the default 2-col section-head: a single embed below feels off-balance
   when the heading column is short and the right column floats far away. Stack and
   center everything in a tidy narrow column. */
.social .section-head {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  max-width: 56ch;
  margin-inline: auto;
}
.social .section-head h2 { max-width: none; }
.social .section-head p  { max-width: 52ch; margin-inline: auto; }

.social-embed {
  display: flex;
  justify-content: center;
}
/* Constrain the FB iframe and prevent horizontal overflow on small screens. */
.social-embed .fb-page,
.social-embed .fb-page span,
.social-embed .fb-page iframe[style] {
  max-width: 100% !important;
  width: 100% !important;
}
.social-embed > .fb-page {
  width: 500px;
  max-width: 100%;
}

/* ─── CTA: sample request lead form ─────────────────────────────────────── */
.samples {
  background: linear-gradient(180deg, var(--color-surface-2), var(--color-bg));
  border-top: 1px solid var(--color-divider);
}
.samples-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: start;
}
@media (max-width: 880px) { .samples-inner { grid-template-columns: 1fr; } }

.samples h2 {
  font-size: var(--text-2xl);
  letter-spacing: -0.025em;
  margin-block: var(--space-4) var(--space-5);
}
.samples h2 em { font-style: italic; font-weight: 400; }
.samples-inner p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.samples-list {
  display: grid;
  gap: var(--space-3);
}
.samples-list li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.samples-list svg { flex: none; color: var(--color-accent); margin-top: 2px; }

/* Form */
.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.form-row { grid-column: 1 / -1; }
@media (max-width: 540px) {
  .form-grid { grid-template-columns: 1fr; }
}
.field label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--color-surface-2);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--color-primary);
}
.field textarea { min-height: 110px; resize: vertical; }
.checkbox-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin-top: var(--space-1);
}
@media (max-width: 540px) { .checkbox-row { grid-template-columns: 1fr; } }
.check {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: var(--transition-interactive);
}
.check input { position: absolute; opacity: 0; }
.check span::before {
  content: "";
  display: inline-block;
  width: 16px; height: 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 4px;
  margin-right: var(--space-2);
  vertical-align: -3px;
  transition: var(--transition-interactive);
}
.check:has(input:checked) {
  border-color: var(--color-primary);
  background: #fff;
}
.check:has(input:checked) span::before {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: inset 0 0 0 3px #fff;
}
.form-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}
.form-submit small {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-surface-dark);
  color: rgba(255,255,255,0.85);
  padding-block: var(--space-16) var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  margin-top: var(--space-4);
  max-width: 38ch;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-4);
}
.footer-col ul { display: grid; gap: var(--space-2); }
.footer-col a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
}
.footer-col a:hover { color: #fff; }

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
}
.footer-social { display: flex; gap: var(--space-3); }
.footer-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
}
.footer-social a:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
}

/* ─── Reveal-on-scroll ───────────────────────────────────────────────────── */
/* Only hide when JS confirms the observer is active. Otherwise content
   stays fully visible (no-JS, slow-load, prefers-reduced-motion, etc.). */
html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.16,1,0.3,1), transform 700ms cubic-bezier(0.16,1,0.3,1);
}
html.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
}
[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }

/* ─── Page banners (interior pages) ──────────────────────────────────────── */
.page-banner {
  background: var(--color-surface-dark);
  color: #fff;
  padding-block: var(--space-16) var(--space-12);
  position: relative;
}
.page-banner .eyebrow { color: #ff8b95; }
.page-banner h1 {
  color: #fff;
  font-size: var(--text-2xl);
  letter-spacing: -0.025em;
  margin-top: var(--space-3);
  max-width: 18ch;
}
.page-banner h1 em { font-style: italic; font-weight: 400; }
.page-banner p {
  color: rgba(255,255,255,0.75);
  margin-top: var(--space-5);
  max-width: 56ch;
}
