/* ═══════════════════════════════════════════════
   IRON STEED LABS — Merchant Site CSS
   Brand: Gold #C9A020 + Forest Green #1B6B3A on Dark #0c0c0a
   ═══════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────── */
:root {
  /* Brand */
  --gold:           #C9A020;
  --gold-bright:    #E2C045;
  --gold-dim:       #8A6C14;
  --gold-glow:      rgba(201,160,32,0.12);
  --gold-glow-lg:   rgba(201,160,32,0.22);
  --green:          #1B6B3A;
  --green-bright:   #2a9254;
  --green-dim:      #0d3d20;

  /* Surfaces */
  --bg:             #0c0c0a;
  --surface:        #141412;
  --surface-2:      #1b1a17;
  --surface-3:      #222018;
  --border:         #2b2926;
  --border-bright:  #3a3834;

  /* Text */
  --text:           #eae8e3;
  --text-muted:     #8a8880;
  --text-faint:     #4a4846;
  --text-inverse:   #0c0c0a;

  /* Fonts */
  --font-display:   'Clash Display', 'Georgia', serif;
  --font-body:      'General Sans', system-ui, -apple-system, sans-serif;

  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.70rem + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.80rem + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1.00rem + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.20rem + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.20rem + 2.50vw, 3.5rem);
  --text-3xl:  clamp(2.5rem,   1.00rem + 4.00vw, 5rem);
  --text-hero: clamp(3rem,     0.50rem + 7.00vw, 8rem);

  /* Spacing (4px base) */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --narrow:  640px;
  --default: 960px;
  --wide:    1200px;

  /* Radius */
  --r-sm:   0.375rem;
  --r-md:   0.5rem;
  --r-lg:   0.75rem;
  --r-xl:   1rem;
  --r-2xl:  1.5rem;
  --r-full: 9999px;

  /* Motion */
  --ease:   200ms cubic-bezier(0.16,1,0.3,1);
  --ease-md: 350ms cubic-bezier(0.16,1,0.3,1);
  --ease-lg: 600ms cubic-bezier(0.16,1,0.3,1);
}

/* ─── BASE RESET ─────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
}

img,picture,video,canvas,svg { display:block; max-width:100%; }
ul[role="list"],ol[role="list"] { list-style:none; }
input,button,textarea,select { font:inherit; color:inherit; }
h1,h2,h3,h4,h5,h6 { text-wrap:balance; line-height:1.15; font-family:var(--font-display); }
p,li { text-wrap:pretty; }

::selection { background:rgba(201,160,32,0.25); color:var(--text); }
:focus-visible { outline:2px solid var(--gold); outline-offset:3px; border-radius:var(--r-sm); }

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

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

/* ─── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.7rem 1.5rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease), transform var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: #0c0c0a;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 6px 24px rgba(201,160,32,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-bright);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

/* ─── LAYOUT ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: clamp(var(--sp-5), 5vw, var(--sp-12));
}

.section {
  padding-block: clamp(var(--sp-16), 8vw, var(--sp-24));
}

.section-header {
  max-width: 640px;
  margin-bottom: clamp(var(--sp-10), 5vw, var(--sp-16));
}
.section-header h2 {
  font-size: var(--text-2xl);
  color: var(--text);
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.section-header p {
  color: var(--text-muted);
  font-size: var(--text-base);
  max-width: 52ch;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-bright);
}
.section-label--gold { color: var(--gold); }

/* ─── NAVIGATION ─────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,12,10,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease-md);
}
.site-nav.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: clamp(var(--sp-5), 5vw, var(--sp-12));
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  margin-left: auto;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--ease);
}
.nav-links a:hover { color: var(--text); }

.nav-cta { margin-left: var(--sp-4); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.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: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(var(--sp-16), 8vw, var(--sp-32));
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(201,160,32,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 30%, rgba(27,107,58,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: clamp(var(--sp-5), 5vw, var(--sp-12));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(var(--sp-10), 6vw, var(--sp-20));
}

/* RUO Pill */
.ruo-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-4);
  background: rgba(27,107,58,0.18);
  border: 1px solid rgba(42,146,84,0.3);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--green-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
}
.ruo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(0.85); }
}

/* Headline */
.hero-headline {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text);
  line-height: 1.08;
  margin-bottom: var(--sp-6);
}
.hero-gold {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: var(--text-base);
  color: var(--text-muted);
  max-width: 50ch;
  margin-bottom: var(--sp-8);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
}

/* Stats strip */
.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stat strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat span {
  font-size: var(--text-xs);
  color: var(--text-faint);
  letter-spacing: 0.05em;
}
.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Hero Visual — Badge */
.hero-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ring-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ring-svg {
  position: absolute;
  inset: 0;
  animation: spin-slow 28s linear infinite;
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.hero-badge {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--gold);
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(201,160,32,0.3),
    0 0 60px rgba(201,160,32,0.2),
    0 20px 60px rgba(0,0,0,0.6);
}
.hero-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

/* ─── RUO BANNER ─────────────────────────────── */
.ruo-banner {
  background: var(--green);
  padding-block: var(--sp-3);
}
.ruo-banner-inner {
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: clamp(var(--sp-5), 5vw, var(--sp-12));
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.9);
}
.ruo-banner-inner svg { flex-shrink: 0; }
.ruo-banner-inner strong { color: #fff; }

/* ─── CATALOG ─────────────────────────────────── */
.catalog-section {
  background: var(--surface);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.catalog-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: border-color var(--ease-md), box-shadow var(--ease-md), transform var(--ease-md);
}
.catalog-card:hover {
  border-color: rgba(201,160,32,0.35);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(201,160,32,0.1);
  transform: translateY(-3px);
}

.catalog-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  background: var(--gold-glow);
  border: 1px solid rgba(201,160,32,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.catalog-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.catalog-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.catalog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.catalog-tags span {
  display: inline-block;
  padding: 2px var(--sp-3);
  background: rgba(27,107,58,0.15);
  border: 1px solid rgba(42,146,84,0.2);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  color: var(--green-bright);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.catalog-cta {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold);
  margin-top: var(--sp-1);
  transition: gap var(--ease);
  gap: var(--sp-1);
}
.catalog-cta:hover { gap: var(--sp-2); }

.catalog-note {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-8);
  font-size: var(--text-xs);
  color: var(--text-faint);
  max-width: 70ch;
}
.catalog-note svg { flex-shrink:0; color:var(--text-faint); }

/* ─── STANDARDS ──────────────────────────────── */
.standards-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8) var(--sp-10);
}

.standard-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.standard-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(201,160,32,0.1);
  border: 1px solid rgba(201,160,32,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.standard-item h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
}
.standard-item p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── RESEARCHER QUALIFICATION ───────────────── */
.researchers-section {
  background: var(--surface);
}

.researchers-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-10), 8vw, var(--sp-20));
  align-items: start;
}

.researchers-text h2 {
  font-size: var(--text-2xl);
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.researchers-text > p {
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
  max-width: 46ch;
}

.researcher-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  list-style: none;
}
.researcher-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.researcher-list li svg { color: var(--gold); flex-shrink:0; }

/* Steps */
.researchers-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: var(--sp-5);
  align-items: flex-start;
}

.step-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  width: 56px;
  flex-shrink: 0;
  padding-top: 2px;
}

.step-body h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--sp-2);
}
.step-body p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

.step-connector {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  margin-left: 27px;
  margin-block: var(--sp-3);
}

/* ─── CHAT ASSISTANT CTA ─────────────────────── */
.chat-section {
  background: var(--bg);
  padding-block: clamp(var(--sp-12), 6vw, var(--sp-20));
}

.chat-card {
  background: linear-gradient(135deg, rgba(27,107,58,0.12) 0%, rgba(27,107,58,0.04) 100%);
  border: 1px solid rgba(42,146,84,0.2);
  border-radius: var(--r-2xl);
  padding: clamp(var(--sp-8), 5vw, var(--sp-12));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-10), 6vw, var(--sp-16));
  align-items: center;
  position: relative;
  overflow: hidden;
}
.chat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 0% 50%, rgba(27,107,58,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.chat-ig-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: var(--sp-4);
}

.chat-text h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-4);
}
.chat-text p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: var(--sp-6);
  line-height: 1.7;
}

.chat-topics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}
.chat-topics span {
  padding: var(--sp-1) var(--sp-3);
  background: rgba(201,160,32,0.1);
  border: 1px solid rgba(201,160,32,0.2);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  color: var(--gold);
  font-weight: 500;
}

/* Chat Preview */
.chat-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.chat-preview-header {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
}
.chat-preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  animation: pulse 2s ease-in-out infinite;
}

.chat-bubble {
  margin: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-lg);
  font-size: var(--text-xs);
  line-height: 1.6;
}
.chat-bubble--user {
  background: rgba(201,160,32,0.12);
  border: 1px solid rgba(201,160,32,0.2);
  color: var(--text);
  margin-left: var(--sp-8);
  border-bottom-right-radius: var(--sp-1);
}
.chat-bubble--bot {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-bottom-left-radius: var(--sp-1);
}

.chat-bot-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
  font-weight: 600;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.chat-bot-logo {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-bot-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.chat-bubble--bot p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}
.chat-ruo-tag {
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.03em;
  padding-top: var(--sp-2);
  border-top: 1px solid var(--border);
  margin-top: var(--sp-2);
}

/* ─── CONTACT ─────────────────────────────────── */
.contact-section {
  background: var(--surface);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(var(--sp-10), 8vw, var(--sp-20));
  align-items: start;
}

.contact-intro h2 {
  font-size: var(--text-2xl);
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.contact-intro > p {
  color: var(--text-muted);
  margin-bottom: var(--sp-8);
  max-width: 38ch;
  font-size: var(--text-sm);
  line-height: 1.7;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--ease);
}
.contact-link:hover { color: var(--gold); }
.contact-link svg { color: var(--gold); flex-shrink: 0; }

/* Form */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
}
.required { color: var(--gold); }

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.7rem var(--sp-4);
  font-size: var(--text-sm);
  color: var(--text);
  transition: border-color var(--ease), box-shadow var(--ease);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-faint);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(201,160,32,0.12);
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8880' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-4) center;
  padding-right: var(--sp-10);
}
.form-field select option { background: var(--surface-2); color: var(--text); }
.form-field textarea { resize: vertical; min-height: 100px; }

.form-disclaimer {
  font-size: var(--text-xs);
  color: var(--text-faint);
  line-height: 1.65;
  padding: var(--sp-3) var(--sp-4);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.btn-submit {
  align-self: flex-start;
  padding: 0.8rem 1.8rem;
  font-size: var(--text-sm);
}

.form-success {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: rgba(42,146,84,0.12);
  border: 1px solid rgba(42,146,84,0.25);
  border-radius: var(--r-lg);
  color: var(--green-bright);
}
.form-success svg { flex-shrink:0; }
.form-success strong { display:block; color:var(--text); margin-bottom:var(--sp-1); }
.form-success p { font-size:var(--text-sm); color:var(--text-muted); }

/* ─── FOOTER ─────────────────────────────────── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: clamp(var(--sp-12), 6vw, var(--sp-20));
  padding-bottom: var(--sp-8);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(var(--sp-10), 8vw, var(--sp-20));
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--sp-8);
}

.footer-brand > p {
  font-size: var(--text-sm);
  color: var(--text-faint);
  max-width: 32ch;
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-5);
  line-height: 1.65;
}

.footer-social {
  display: flex;
  gap: var(--sp-3);
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}
.footer-social a:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
  background: var(--gold-glow);
}

.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-1);
}
.footer-col a {
  font-size: var(--text-sm);
  color: var(--text-faint);
  transition: color var(--ease);
}
.footer-col a:hover { color: var(--text-muted); }

/* Legal */
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.legal-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
  font-size: var(--text-xs);
  color: var(--text-faint);
  line-height: 1.7;
}
.legal-box strong {
  display: block;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: var(--sp-3);
  letter-spacing: 0.03em;
}
.legal-box p { max-width: 100%; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-size: var(--text-xs);
  color: var(--text-faint);
}

.footer-ruo-tag {
  display: inline-block;
  padding: 2px var(--sp-3);
  background: rgba(27,107,58,0.12);
  border: 1px solid rgba(27,107,58,0.2);
  border-radius: var(--r-full);
  color: var(--green-bright);
  font-size: 11px;
  letter-spacing: 0.05em;
}

/* ─── SCROLL REVEAL ANIMATION ────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--ease-lg), transform var(--ease-lg);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.catalog-grid .catalog-card:nth-child(2)  { transition-delay: 80ms;  }
.catalog-grid .catalog-card:nth-child(3)  { transition-delay: 160ms; }
.catalog-grid .catalog-card:nth-child(4)  { transition-delay: 80ms;  }
.catalog-grid .catalog-card:nth-child(5)  { transition-delay: 160ms; }
.catalog-grid .catalog-card:nth-child(6)  { transition-delay: 240ms; }

.standards-grid .standard-item:nth-child(2)  { transition-delay: 60ms;  }
.standards-grid .standard-item:nth-child(3)  { transition-delay: 120ms; }
.standards-grid .standard-item:nth-child(4)  { transition-delay: 60ms;  }
.standards-grid .standard-item:nth-child(5)  { transition-delay: 120ms; }
.standards-grid .standard-item:nth-child(6)  { transition-delay: 180ms; }

.researchers-steps .step:nth-child(3) { transition-delay: 100ms; }
.researchers-steps .step:nth-child(5) { transition-delay: 200ms; }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .standards-grid { grid-template-columns: repeat(2, 1fr); }
  .chat-card { grid-template-columns: 1fr; }
  .chat-preview { display: none; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(12,12,10,0.97);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: var(--sp-5) clamp(var(--sp-5), 5vw, var(--sp-12));
    gap: var(--sp-4);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: var(--text-base); color: var(--text); }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .site-nav { position: relative; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-visual {
    order: -1;
    margin-bottom: var(--sp-4);
  }
  .hero-ring-wrap { width: 240px; height: 240px; }
  .hero-badge { width: 160px; height: 160px; }
  .hero-ring-svg { width: 240px; height: 240px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .ruo-pill { display: inline-flex; }

  /* Sections */
  .catalog-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .standards-grid { grid-template-columns: 1fr; gap: var(--sp-6); }

  .researchers-inner { grid-template-columns: 1fr; gap: var(--sp-10); }
  .contact-inner { grid-template-columns: 1fr; gap: var(--sp-8); }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-nav-cols { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: clamp(2rem, 9vw, 3rem); }
  .footer-nav-cols { grid-template-columns: 1fr; }
  .btn-submit { width: 100%; justify-content: center; }
}

/* ─── GLOBAL SCROLL LOCK ─────────────────────── */
body.no-scroll { overflow: hidden; }
.btn-sm { padding: 0.5rem 1rem; font-size: var(--text-xs); }
.nav-actions { display: flex; align-items: center; gap: var(--sp-3); }

/* ─── AGE GATE ───────────────────────────────── */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
  /* Subtle gold background grain */
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201,160,32,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(27,107,58,0.05) 0%, transparent 50%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.age-gate--exit {
  opacity: 0;
  pointer-events: none;
}

.age-gate-panel {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--r-2xl);
  padding: clamp(var(--sp-8), 5vw, var(--sp-12));
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,160,32,0.08);
}

.ag-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.ag-logo-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ag-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.ag-logo-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.ag-ruo-tag {
  display: inline-block;
  padding: 2px var(--sp-3);
  background: rgba(27,107,58,0.15);
  border: 1px solid rgba(42,146,84,0.25);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--green-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}

.ag-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-3);
}

.ag-sub {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 38ch;
  margin-inline: auto;
  margin-bottom: var(--sp-6);
}

.ag-form { display: flex; flex-direction: column; gap: var(--sp-4); }
.ag-dob-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
}

.ag-dob-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-3);
}
.ag-dob-row select {
  background: var(--surface-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--r-md);
  padding: 0.65rem var(--sp-3);
  font-size: var(--text-sm);
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color var(--ease), box-shadow var(--ease);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8880' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-3) center;
  padding-right: var(--sp-8);
}
.ag-dob-row select:focus {
  outline: none;
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(201,160,32,0.12);
}
.ag-dob-row select option { background: var(--surface-2); }

.ag-error {
  background: rgba(161,44,123,0.12);
  border: 1px solid rgba(161,44,123,0.25);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-sm);
  color: #e07ac0;
  text-align: left;
}

.ag-remember-row {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-align: left;
  cursor: pointer;
  font-size: var(--text-xs);
  color: var(--text-faint);
}
.ag-remember-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

.ag-enter-btn {
  width: 100%;
  justify-content: center;
  padding: 0.85rem;
  font-size: var(--text-base);
}

.ag-exit-btn {
  background: none;
  border: none;
  font-size: var(--text-xs);
  color: var(--text-faint);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--ease);
}
.ag-exit-btn:hover { color: var(--text-muted); }

.ag-disclaimer {
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-faint);
  line-height: 1.65;
}

/* ─── ACCOUNT MODAL ──────────────────────────── */
.modal-overlay[hidden] { display: none; }
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
  animation: modal-fade-in 0.2s ease;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-panel {
  width: 100%;
  max-width: 540px;
  max-height: 90dvh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--r-2xl);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  animation: modal-slide-up 0.25s cubic-bezier(0.16,1,0.3,1);
}
@keyframes modal-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--border);
}
.modal-logo { display: flex; align-items: center; gap: var(--sp-3); }
.modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}
.modal-close:hover { background: var(--surface-3); color: var(--text); }

.modal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.modal-tab {
  padding: var(--sp-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}
.modal-tab:hover { color: var(--text); }
.modal-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: var(--surface);
}

[data-panel] {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
[data-panel] form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.modal-intro {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

.modal-submit {
  width: 100%;
  justify-content: center;
  padding: 0.8rem;
}

.modal-switch {
  font-size: var(--text-xs);
  color: var(--text-faint);
  text-align: center;
}
.modal-switch-btn {
  background: none;
  border: none;
  color: var(--gold);
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
  font-family: inherit;
}

.modal-confirm-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.55;
}
.modal-confirm-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.auth-error {
  background: rgba(161,44,123,0.1);
  border: 1px solid rgba(161,44,123,0.2);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-sm);
  color: #e07ac0;
}

/* ─── TOAST ──────────────────────────────────── */
.toast {
  position: fixed;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--r-full);
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--text-sm);
  color: var(--text);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
}
.toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── MOBILE NAV RESPONSIVE UPDATES ─────────── */
@media (max-width: 768px) {
  .nav-actions { gap: var(--sp-2); }
  .nav-actions .btn-outline { display: none; }
}

/* ── Catalog Product Tiles ───────────────────────────── */
.catalog-category {
  margin-bottom: clamp(var(--sp-8), 3vw, var(--sp-12));
}
.catalog-category-header {
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.catalog-category-header h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.catalog-category-header p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
}
.category-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
}
.category-badge.badge-gold   { background: var(--gold); color: var(--bg); }
.category-badge.badge-purple { background: #7c3aed; }
.category-badge.badge-green  { background: var(--green); }
.category-badge.badge-teal   { background: #0d7377; }

.product-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-4);
}
.product-tile {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: var(--sp-5) var(--sp-4);
  transition: border-color 0.2s, transform 0.2s;
}
.product-tile:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.product-tile-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}
.product-tile-spec {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}
.product-tile-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
}
.product-tile-price small {
  font-size: 0.65em;
  font-weight: 400;
  color: var(--text-muted);
}

.catalog-cta-bar {
  text-align: center;
  margin-top: clamp(var(--sp-8), 4vw, var(--sp-12));
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border);
}
.catalog-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  padding: 14px 32px;
}
.catalog-cta-bar .catalog-note {
  margin-top: var(--sp-4);
}
