/* =========================================================
   RGTK 睿基科技 — Warm Wellness Tech
   Organic, calm, premium. 2026 redesign.
========================================================= */

/* ---- Tokens -------------------------------------------------- */
:root {
  /* Brand */
  --ink: #1a2422;
  --ink-soft: #2c3835;
  --muted: #6b7670;
  --muted-2: #97a09a;
  --line: #e6dfd1;
  --line-soft: #efe8da;

  --teal: #0b3b3c;
  --teal-deep: #062626;
  --teal-2: #146264;
  --teal-glow: rgba(11, 59, 60, 0.12);

  --amber: #f28f3b;
  --amber-warm: #e87324;
  --amber-soft: #fbe1c4;
  --amber-glow: rgba(242, 143, 59, 0.18);

  --mint: #d9f1e9;
  --sage: #8aa99e;
  --terracotta: #c2664a;

  --cream: #f6f2ea;
  --shell: #faf6ef;
  --surface: #ffffff;
  --surface-warm: #fbf6ed;

  /* Effects */
  --shadow-soft: 0 10px 30px -12px rgba(11, 59, 60, 0.16), 0 2px 6px -2px rgba(11, 59, 60, 0.06);
  --shadow-lift: 0 30px 60px -24px rgba(11, 59, 60, 0.28), 0 8px 18px -8px rgba(11, 59, 60, 0.10);
  --shadow-warm: 0 20px 60px -20px rgba(232, 115, 36, 0.32);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  /* Type */
  --font-sans: "Manrope", "Noto Sans TC", -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-display: "Noto Serif TC", "Manrope", "PingFang TC", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

/* ---- Reset --------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "ss02", "cv11";
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

/* Subtle paper grain on the body */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

main { position: relative; z-index: 2; }

/* ---- Typography --------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.4vw, 72px); letter-spacing: -0.02em; line-height: 1.05; }
h2 { font-size: clamp(28px, 3.4vw, 46px); }
h3 { font-size: clamp(20px, 1.6vw, 24px); font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; max-width: 65ch; }
.lead { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-soft); line-height: 1.65; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-2);
  font-weight: 500;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.section-heading .eyebrow { margin-bottom: 12px; }
.serif-emphasis {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
  padding-inline-end: 0.15em;
}

/* ---- Layout helpers ----------------------------------------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding: clamp(70px, 9vw, 130px) var(--gutter); position: relative; }
.section-narrow { padding-block: clamp(50px, 6vw, 90px); }
.section-heading { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 72px); text-align: center; }
.section-heading.left { margin-inline: 0; text-align: left; }

/* ---- Header (sticky, glassy, organic) ----------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(246, 242, 234, 0.78);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid rgba(230, 223, 209, 0.5);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo {
  display: block;
  width: clamp(132px, 13vw, 164px);
  height: auto;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav > a, .nav-trigger {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 2px;
  transition: color .25s ease;
}
.nav > a:hover, .nav-trigger:hover, .nav .active { color: var(--teal); }
.nav .active::after, .nav-trigger.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}
.nav-item.has-menu { position: relative; }
.submenu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translate(-50%, 6px);
  display: flex; flex-direction: column;
  min-width: 240px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.nav-item.has-menu:hover .submenu,
.nav-item.has-menu:focus-within .submenu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  transition: background .18s ease, color .18s ease;
}
.submenu a:hover, .submenu a.active { background: var(--cream); color: var(--teal); }

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-deep);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all .25s ease;
}
.header-cta::before {
  content: "";
  width: 8px; height: 8px;
  background: #06c755; /* LINE green */
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(6, 199, 85, 0.18);
}
.header-cta:hover { transform: translateY(-1px); border-color: var(--teal); box-shadow: var(--shadow-soft); }

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-right: 4px;
}
.lang-switch a {
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 6px;
  transition: color .2s ease, background .2s ease;
}
.lang-switch a:hover { color: var(--teal); background: rgba(11, 59, 60, 0.05); }
.lang-switch a.active { color: var(--teal-deep); font-weight: 600; }
.lang-switch .sep { opacity: 0.35; user-select: none; }

/* Mobile nav */
.menu-toggle { display: none; }
@media (max-width: 880px) {
  .nav { display: none; }
  .brand-logo { width: 132px; }
  .header-cta { padding: 8px 14px; font-size: 12px; }
  .lang-switch { font-size: 11px; margin-right: 0; }
  .lang-switch a { padding: 4px 6px; }
}

/* ---- Buttons ------------------------------------------------ */
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.button .arrow {
  transition: transform .3s ease;
  display: inline-block;
}
.button:hover .arrow { transform: translateX(3px); }

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-warm) 100%);
  box-shadow: var(--shadow-warm);
}
.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 70px -22px rgba(232, 115, 36, 0.55);
}
.button.secondary {
  color: var(--teal-deep);
  background: var(--surface);
  border: 1px solid var(--line);
}
.button.secondary:hover { transform: translateY(-2px); border-color: var(--teal); }
.button.ghost {
  color: var(--teal-deep);
  background: transparent;
  border: 1px solid transparent;
  padding: 14px 4px;
}
.button.ghost:hover { color: var(--amber-warm); }

/* ---- Hero --------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(56px, 7vw, 100px) var(--gutter) clamp(40px, 5vw, 80px);
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  max-width: min(1380px, calc(100vw - var(--gutter) * 2));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(520px, 1.25fr);
  gap: clamp(36px, 5vw, 92px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 .accent {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
  position: relative;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%; bottom: 4px;
  height: 14px;
  background: var(--amber-soft);
  z-index: -1;
  border-radius: 8px;
  transform: skewX(-6deg);
}
.hero-lede {
  font-size: clamp(17px, 1.35vw, 20px);
  color: var(--ink-soft);
  margin: 24px 0 36px;
  max-width: 30em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stats > div { padding-right: 18px; }
.hero-stats > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.hero-stats dt {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stats dd {
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* Hero media: organic blob frame with floating pills */
.hero-media {
  position: relative;
  aspect-ratio: 17 / 10;
  border-radius: 50% 46% 54% 50% / 52% 48% 52% 48%;
  overflow: hidden;
  border: clamp(10px, 1.2vw, 16px) solid rgba(255,255,255,0.72);
  outline: 1px solid rgba(11, 59, 60, 0.12);
  outline-offset: -1px;
  background: linear-gradient(160deg, var(--mint) 0%, var(--shell) 60%, var(--amber-soft) 100%);
  box-shadow: var(--shadow-lift);
  will-change: transform;
}
.hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 2% 2.5%;
  transition: transform 1.2s ease;
}
.hero-media:hover img { transform: scale(1.07); }

/* Floating glyphs around hero */
.hero-orbit {
  position: absolute;
  inset: -40px;
  pointer-events: none;
  z-index: 1;
}
.hero-orbit .ring {
  position: absolute;
  border: 1px dashed rgba(11, 59, 60, 0.18);
  border-radius: 50%;
  animation: spinSlow 60s linear infinite;
}
.hero-orbit .ring.r1 { inset: 0; }
.hero-orbit .ring.r2 { inset: 8%; border-style: dotted; animation-duration: 90s; animation-direction: reverse; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.hero-pill {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
  z-index: 3;
  white-space: nowrap;
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--amber-glow); }
.hero-pill.p1 { top: 10%; left: -6%; animation: float 6s ease-in-out infinite; }
.hero-pill.p2 { bottom: 18%; right: -4%; animation: float 7s ease-in-out infinite reverse; }
.hero-pill.p3 { top: 50%; right: 4%; animation: float 5.5s ease-in-out infinite; animation-delay: -2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Decorative blobs in hero bg */
.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  opacity: 0.6;
}
.hero-bg-blob.b1 { width: 420px; height: 420px; background: var(--mint); top: -120px; left: -100px; }
.hero-bg-blob.b2 { width: 360px; height: 360px; background: var(--amber-soft); bottom: -120px; right: -60px; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 16 / 10; }
  .hero-pill.p1, .hero-pill.p2, .hero-pill.p3 { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px 8px; }
  .hero-stats > div + div { border-left: 0; padding-left: 0; }
}
@media (min-width: 881px) and (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(300px, 0.85fr) minmax(420px, 1.15fr);
    gap: clamp(28px, 4vw, 52px);
  }
}

/* ---- Marquee ------------------------------------------------ */
.marquee {
  margin: clamp(28px, 4vw, 56px) 0;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: var(--shell);
  overflow: hidden;
  position: relative;
  z-index: 3;
}
.marquee-track {
  display: flex;
  gap: 56px;
  animation: scrollX 38s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.marquee-item .glyph {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
}
.marquee-item.alt { color: var(--terracotta); font-style: italic; font-weight: 400; }
@keyframes scrollX {
  to { transform: translateX(-50%); }
}

/* ---- Page hero (interior pages) ----------------------------- */
.page-hero {
  position: relative;
  padding: clamp(64px, 8vw, 120px) var(--gutter) clamp(40px, 5vw, 70px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero-grid {
  max-width: min(1380px, calc(100vw - var(--gutter) * 2));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(520px, 1.25fr);
  gap: clamp(36px, 5vw, 92px);
  align-items: center;
}
.page-hero-media {
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  overflow: hidden;
  aspect-ratio: 17 / 10;
  border: clamp(10px, 1.2vw, 16px) solid rgba(255,255,255,0.72);
  outline: 1px solid rgba(11, 59, 60, 0.12);
  outline-offset: -1px;
  background: linear-gradient(160deg, var(--mint) 0%, var(--shell) 60%, var(--amber-soft) 100%);
  box-shadow: var(--shadow-lift);
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2% 2.5%;
  transition: transform 1.2s ease;
}
.page-hero-media:hover img { transform: scale(1.06); }
.contact-hero-media {
  border: none;
  background: transparent;
}
.contact-hero-media img {
  object-fit: cover;
  padding: 0;
  transform: scale(1.08);
}
.contact-hero-media:hover img { transform: scale(1.12); }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 60px); }
.page-hero .lead { margin: 22px 0 32px; max-width: 30em; }
@media (max-width: 880px) {
  .page-hero-grid { grid-template-columns: 1fr; }
}
@media (min-width: 881px) and (max-width: 1080px) {
  .page-hero-grid {
    grid-template-columns: minmax(300px, 0.85fr) minmax(420px, 1.15fr);
    gap: clamp(28px, 4vw, 52px);
  }
}

/* ---- Cards generic ----------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(11, 59, 60, 0.2);
}

/* ---- Intro band -------------------------------------------- */
.intro-band {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  padding-block: clamp(60px, 7vw, 100px);
  border-bottom: 1px solid var(--line);
}
.intro-band p { font-size: clamp(17px, 1.4vw, 21px); color: var(--ink-soft); }
@media (max-width: 800px) { .intro-band { grid-template-columns: 1fr; } }

/* ---- Split section (image + copy) -------------------------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 80px);
  align-items: center;
}
.split-media {
  position: relative;
  aspect-ratio: 3/2;
  border: clamp(8px, 1vw, 12px) solid rgba(255,255,255,0.72);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--mint), var(--shell));
  box-shadow: var(--shadow-lift);
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-media::after {
  content: "";
  position: absolute; inset: 10px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: calc(var(--radius-xl) - 18px);
  pointer-events: none;
}
.split-copy h2 + p { margin-top: 22px; font-size: clamp(16px, 1.2vw, 18px); color: var(--ink-soft); }
.split-copy.right { order: 1; }

.check-list {
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.check-list li {
  position: relative;
  padding-left: 38px;
  font-size: 15px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 22px; height: 22px;
  background: var(--mint);
  border-radius: 50%;
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 7px; top: 9px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.section-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 880px) {
  .split-section { grid-template-columns: 1fr; }
  .split-copy.right { order: 0; }
  .split-media { aspect-ratio: 3/2; }
}

/* ---- Benefits grid (FIR 6 benefits) ------------------------ */
.benefits-section {
  position: relative;
  isolation: isolate;
}
.benefits-section::before {
  content: "";
  position: absolute;
  inset: 6% 8% 18% 8%;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  background: radial-gradient(ellipse at 50% 50%, var(--mint) 0%, transparent 65%);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
}
.benefit-card {
  position: relative;
  padding: 32px 28px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber-soft);
  box-shadow: var(--shadow-lift);
}
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--amber-soft) 0%, var(--mint) 100%);
  color: var(--teal-deep);
  margin-bottom: 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit-card h3 {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.32;
  margin-bottom: 12px;
  color: var(--teal-deep);
}
.benefit-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.benefit-card::after {
  content: "";
  position: absolute;
  top: 32px;
  right: 28px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-glow);
}
@media (max-width: 980px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 600px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card { padding: 26px 22px; }
}

/* ---- Fabric layers (6-layer FIR fabric) -------------------- */
.fabric-section { position: relative; }
.fabric-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) 1fr;
  gap: clamp(40px, 6vw, 88px);
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
}
.fabric-stack {
  position: relative;
  aspect-ratio: 1 / 1.05;
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  gap: clamp(8px, 1.4vw, 14px);
  padding: clamp(18px, 2.5vw, 32px);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(217, 241, 233, 0.55), transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(251, 225, 196, 0.45), transparent 60%),
    var(--shell);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  box-shadow: var(--shadow-soft);
  transform: perspective(1400px) rotateX(14deg) rotateZ(-4deg);
  transform-style: preserve-3d;
  transition: transform .6s ease;
}
.fabric-stack:hover { transform: perspective(1400px) rotateX(10deg) rotateZ(-2deg); }
.fabric-slab {
  position: relative;
  border-radius: 8px;
  box-shadow:
    0 6px 14px -8px rgba(11, 59, 60, 0.45),
    inset 0 -2px 0 rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.fabric-slab.s1 { background: linear-gradient(180deg, #2a2a2a, #1a1a1a); }
.fabric-slab.s2 { background: linear-gradient(180deg, #6fb1d4, #4f8db0); }
.fabric-slab.s3 { background: linear-gradient(180deg, #d6b07a, #b88c4e); }
.fabric-slab.s4 { background: linear-gradient(180deg, #d6b07a, #b88c4e); }
.fabric-slab.s5 { background: linear-gradient(180deg, #b9c4cc, #94a4ad); }
.fabric-slab.s6 { background: linear-gradient(180deg, #1f1f1f, #0a0a0a); }

.slab-pattern { position: absolute; inset: 0; pointer-events: none; }
.slab-pattern.mesh {
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.18) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.18) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.18) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.18) 75%);
  background-size: 8px 8px;
  background-position: 0 0, 4px 4px;
  opacity: 0.7;
}
.slab-pattern.dots {
  background-image: radial-gradient(circle, rgba(11, 38, 38, 0.55) 1.2px, transparent 1.6px);
  background-size: 10px 10px;
}
.slab-pattern.wires {
  background:
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(225, 76, 50, 0.85) 18px 22px, transparent 22px 40px);
  mix-blend-mode: multiply;
}
.slab-pattern.grid {
  background-image:
    linear-gradient(0deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.55;
}

.fabric-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  gap: 6px;
}
.fabric-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.fabric-list li:last-child { border-bottom: 0; }
.fabric-list .fl-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-2);
  letter-spacing: 0.12em;
  padding-top: 4px;
  position: relative;
  padding-left: 26px;
}
.fabric-list .fl-num::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 18px;
  height: 1px;
  background: var(--teal-2);
  opacity: 0.55;
}
.fabric-list h3 {
  font-size: clamp(16px, 1.3vw, 19px);
  font-family: var(--font-display);
  margin: 0 0 4px;
  color: var(--ink);
}
.fabric-list h3 small {
  font-size: 0.78em;
  color: var(--muted);
  font-weight: 400;
  margin-left: 2px;
}
.fabric-list p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
@media (max-width: 880px) {
  .fabric-grid { grid-template-columns: 1fr; gap: 40px; }
  .fabric-stack {
    max-width: 360px;
    margin: 0 auto;
    transform: perspective(1200px) rotateX(10deg);
  }
  .fabric-list .fl-num { padding-left: 0; }
  .fabric-list .fl-num::before { display: none; }
  .fabric-list li { grid-template-columns: 44px 1fr; gap: 12px; }
}

/* ---- Use Scenarios (non-medical contexts) ------------------ */
.scenarios-section { position: relative; }
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
}
.scenario-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px 26px;
  background: var(--shell);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.scenario-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal-2);
  background: var(--surface);
}
.scenario-card .sc-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.scenario-card .sc-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--teal-2);
  padding: 3px 9px;
  border: 1px solid var(--teal-2);
  border-radius: 999px;
  flex-shrink: 0;
}
.scenario-card h3 {
  margin: 0;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink);
  line-height: 1.3;
}
.scenario-card > p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.scenario-card .sc-fits {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.scenario-card .sc-fits b {
  color: var(--teal-deep);
  font-weight: 500;
  margin-right: 6px;
}
.scenarios-disclaimer {
  max-width: 720px;
  margin: clamp(28px, 4vw, 44px) auto 0;
  padding: 14px 20px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}
@media (max-width: 980px) {
  .scenarios-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .scenarios-grid { grid-template-columns: 1fr; }
  .scenario-card { padding: 22px 20px; }
}

/* ---- Product grid ------------------------------------------ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
}
.product-card {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .45s;
  overflow: hidden;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, var(--amber-glow) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(232, 115, 36, 0.4);
}
.product-card:hover::before { opacity: 1; }
.product-card.in {
  animation: cardWake .75s cubic-bezier(.2,.8,.2,1);
  animation-delay: calc(var(--reveal-delay, 0) * 80ms);
}
.product-card .pc-media {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 12px;
  min-height: 360px;
  border: clamp(8px, 1vw, 12px) solid rgba(255,255,255,0.72);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--shell), var(--mint));
  box-shadow: inset 0 0 0 1px rgba(11, 59, 60, 0.08);
  isolation: isolate;
}
.product-card .pc-media::before {
  content: "";
  position: absolute;
  width: 60%;
  height: 140%;
  top: -20%;
  left: -75%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.32), transparent);
  transform: rotate(14deg);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}
.product-card .pc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 110%, rgba(232,115,36,0.18), transparent 60%);
  opacity: 0;
  transition: opacity .6s;
  pointer-events: none;
  z-index: 1;
}
.product-card:hover .pc-media::after { opacity: 1; }
.product-card:hover .pc-media::before {
  opacity: 1;
  animation: mediaSweep 1.15s cubic-bezier(.2,.8,.2,1) both;
}

/* Product + use images (visible by default, scale on hover) - */
.product-card .pc-product,
.product-card .pc-use {
  position: relative;
  min-width: 0;
  overflow: hidden;
  z-index: 2;
}
.product-card .pc-product {
  display: grid;
  place-items: center;
  padding: 10px 4px;
}
.product-card .pc-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(11, 59, 60, 0.18));
  transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .6s ease;
  will-change: transform;
}
.product-card.in .pc-product img {
  animation: productBreathe 5.8s ease-in-out infinite;
  animation-delay: calc(var(--reveal-delay, 0) * -420ms);
}
.product-card .pc-use {
  margin: 8px 8px 8px 0;
  border-radius: 22px;
  background: rgba(255,255,255,0.7);
  overflow: hidden;
}
.product-card .pc-use img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.product-card:hover .pc-product img {
  animation: none;
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 26px 32px rgba(11, 59, 60, 0.24));
}
.product-card:hover .pc-use img {
  transform: scale(1.1);
}

.product-card .pc-tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.94);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  z-index: 4;
  box-shadow: 0 4px 12px rgba(11, 59, 60, 0.08);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.product-card:hover .pc-tag {
  transform: translateY(-2px);
}
.product-card h3 { margin: 0 0 6px; font-size: 19px; font-family: var(--font-display); }
.product-card .pc-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.product-card .pc-spec span {
  display: inline-flex; align-items: center; gap: 6px;
}
.product-card .pc-spec span::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--sage);
}
.product-card .pc-temps {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 4px;
}
.product-card .pc-temps b {
  padding: 4px 10px;
  background: var(--shell);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--terracotta);
  letter-spacing: 0.04em;
}

.product-card:nth-child(1) { --reveal-delay: 0; }
.product-card:nth-child(2) { --reveal-delay: 1; }
.product-card:nth-child(3) { --reveal-delay: 2; }
.product-card:nth-child(4) { --reveal-delay: 3; }
.product-card:nth-child(5) { --reveal-delay: 1; }
.product-card:nth-child(6) { --reveal-delay: 2; }
.product-card:nth-child(7) { --reveal-delay: 3; }

@keyframes cardWake {
  0% { box-shadow: none; }
  55% { box-shadow: 0 22px 48px -28px rgba(232, 115, 36, 0.32); }
  100% { box-shadow: none; }
}
@keyframes productBreathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.025); }
}
@keyframes mediaSweep {
  from { left: -75%; }
  to { left: 115%; }
}

@media (max-width: 680px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card .pc-media { min-height: 310px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card.in,
  .product-card.in .pc-product img,
  .product-card:hover .pc-media::before {
    animation: none;
  }
}

/* ---- Specs section ----------------------------------------- */
.specs-section .spec-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
  align-items: start;
}
.control-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--teal-deep), var(--teal));
  padding: clamp(34px, 4vw, 54px);
  box-shadow: var(--shadow-lift);
  border: clamp(8px, 1vw, 12px) solid rgba(255,255,255,0.18);
}
.control-panel img {
  width: 100%;
  border-radius: var(--radius);
  transform-origin: center;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.control-panel:hover img { transform: scale(1.05); }
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.spec-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .25s, transform .25s;
}
.spec-card:hover { border-color: var(--amber); transform: translateY(-2px); }
.spec-card strong {
  font-size: 15px;
  font-family: var(--font-display);
  color: var(--ink);
}
.spec-card span { font-size: 13px; color: var(--muted); }
.spec-card b {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--terracotta);
  letter-spacing: 0.01em;
}
@media (max-width: 880px) {
  .specs-section .spec-layout { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-card .pc-media { min-height: 280px; }
}

/* ---- Care section ------------------------------------------ */
.care-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
  background: var(--teal-deep);
  color: var(--shell);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 72px);
  margin-inline: var(--gutter);
  margin-block: clamp(60px, 7vw, 100px);
  position: relative;
  overflow: hidden;
  max-width: calc(var(--max) - 0px);
  margin-left: auto; margin-right: auto;
}
.care-section::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--amber-glow), transparent 70%);
  bottom: -200px; left: -100px;
  pointer-events: none;
}
.care-copy h2 { color: var(--shell); }
.care-copy .eyebrow { color: var(--mint); }
.care-copy p { color: rgba(217, 241, 233, 0.78); }
.care-copy .button.primary { color: #fff; }
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 32px 0;
}
.feature-list > div {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(217, 241, 233, 0.12);
  transition: background .3s, border-color .3s;
}
.feature-list > div:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(242, 143, 59, 0.4);
}
.feature-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--shell);
  margin-bottom: 6px;
}
.feature-list span { font-size: 13.5px; color: rgba(217, 241, 233, 0.72); line-height: 1.55; }

.care-media {
  position: relative;
  border: clamp(8px, 1vw, 12px) solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--teal-2);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.care-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}
.care-media .overlay-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(217, 241, 233, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 241, 233, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.care-media .scan-tag {
  position: absolute;
  bottom: 18px; left: 18px;
  padding: 8px 14px;
  background: rgba(11, 59, 60, 0.85);
  border: 1px solid rgba(242, 143, 59, 0.5);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mint);
  display: inline-flex; align-items: center; gap: 8px;
  backdrop-filter: blur(6px);
}
.scan-tag .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(242, 143, 59, 0.7);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(242, 143, 59, 0.7); }
  100% { box-shadow: 0 0 0 12px rgba(242, 143, 59, 0); }
}
@media (max-width: 880px) {
  .care-section { grid-template-columns: 1fr; padding: 32px; }
  .feature-list { grid-template-columns: 1fr; }
}

/* ---- Flow section ------------------------------------------ */
.flow-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}
.flow-media {
  border: clamp(8px, 1vw, 12px) solid rgba(255,255,255,0.72);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--mint);
  box-shadow: var(--shadow-lift);
}
.flow-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5%;
}
.flow-steps {
  display: grid;
  gap: 12px;
  counter-reset: step;
}
.flow-steps > div {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .25s, border-color .25s;
}
.flow-steps > div:hover { transform: translateX(4px); border-color: var(--amber); }
.flow-steps > div span {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--shell);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  border: 1px solid var(--line);
}
.flow-steps > div:nth-child(odd) span { background: var(--mint); }
@media (max-width: 880px) {
  .flow-section { grid-template-columns: 1fr; }
}

/* ---- About / Timeline -------------------------------------- */
.about-section { max-width: var(--max); margin: 0 auto; }
.timeline {
  display: grid;
  gap: 0;
  position: relative;
  margin-top: 48px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 90px; top: 12px; bottom: 12px;
  width: 1px;
  background: var(--line);
}
.timeline > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 40px;
  align-items: start;
  padding: 24px 0;
  position: relative;
}
.timeline > div::before {
  content: "";
  position: absolute;
  left: 86px; top: 32px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--line);
}
.timeline time {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.04em;
}
.timeline span {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
  padding-left: 32px;
  display: block;
}
@media (max-width: 600px) {
  .timeline::before { left: 60px; }
  .timeline > div { grid-template-columns: 60px 1fr; gap: 16px; }
  .timeline > div::before { left: 56px; }
  .timeline span { padding-left: 16px; }
}

/* ---- Trust grid -------------------------------------------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: var(--max);
  margin: 0 auto;
}
.trust-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.trust-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--amber);
}
.trust-grid article img {
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
  background: var(--shell);
}
.trust-grid article h3 { margin: 18px 22px 6px; font-size: 18px; font-family: var(--font-display); }
.trust-grid article p { margin: 0 22px 22px; font-size: 14px; color: var(--muted); }

.warning {
  max-width: var(--max);
  margin: 32px auto 0;
  padding: 20px 24px;
  background: var(--shell);
  border: 1px dashed var(--terracotta);
  border-radius: 16px;
  font-size: 13.5px;
  color: var(--ink-soft);
  display: flex; align-items: flex-start; gap: 14px;
}
.warning::before {
  content: "！";
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: var(--terracotta);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
}

/* ---- CTA band ---------------------------------------------- */
.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px);
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-2) 100%);
  border-radius: var(--radius-xl);
  color: var(--shell);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--amber-glow), transparent 70%);
  right: -200px; top: -200px;
  pointer-events: none;
}
.cta-band > * {
  position: relative;
  z-index: 1;
}
.cta-band h2 { color: var(--shell); margin: 0; font-size: clamp(24px, 3vw, 36px); }
.cta-band .eyebrow { color: var(--mint); margin-bottom: 8px; }
@media (max-width: 700px) {
  .cta-band { grid-template-columns: 1fr; }
}

/* ---- Contact-specific -------------------------------------- */
.contact-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(50px, 6vw, 80px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 80px);
  align-items: start;
}
.contact-section.standalone {
  background: var(--surface);
  border-radius: var(--radius-xl);
  margin-inline: auto;
  max-width: calc(var(--max) - 0px);
  box-shadow: var(--shadow-soft);
}
.contact-card {
  display: block;
  padding: 36px;
  background: var(--shell);
  border-radius: var(--radius-lg);
  font-style: normal;
  border: 1px solid var(--line);
}
.contact-card-eyebrow {
  font-family: var(--font-mono, var(--font-sans));
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-warm);
  margin: 0 0 6px;
}
.contact-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 20px;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}
.contact-list li:last-child { border-bottom: none; }
.contact-label {
  font-family: var(--font-mono, var(--font-sans));
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute, var(--ink-soft));
  opacity: .7;
}
.contact-list a, .contact-list li > span:not(.contact-label) {
  color: var(--ink);
  transition: color .2s;
  word-break: break-word;
}
.contact-list a:hover { color: var(--amber-warm); }
@media (max-width: 800px) { .contact-section { grid-template-columns: 1fr; } }
@media (max-width: 540px) {
  .contact-card { padding: 28px 22px; }
  .contact-list li { grid-template-columns: 60px 1fr; gap: 12px; padding: 10px 0; }
}

/* ---- Footer ------------------------------------------------ */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: clamp(60px, 7vw, 100px);
  padding: 56px var(--gutter) 36px;
  background: var(--teal-deep);
  color: rgba(217, 241, 233, 0.72);
  display: grid;
  gap: 24px;
}
.site-footer .footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 16px;
  font-weight: 500;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer ul a { font-size: 14px; transition: color .2s; }
.site-footer ul a:hover { color: var(--amber); }
.site-footer .brand-logo { width: 168px; }
.site-footer p.footer-blurb { font-size: 14px; max-width: 28em; margin-top: 16px; }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(217, 241, 233, 0.1);
  display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between;
  font-size: 12px;
  color: rgba(217, 241, 233, 0.5);
  font-family: var(--font-mono);
}
@media (max-width: 800px) { .site-footer .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .site-footer .footer-top { grid-template-columns: 1fr; } }

/* ---- Reveal-on-scroll utility ----------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---- Decorative blob graphic --------------------------------*/
.blob-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.5;
  border-radius: 50%;
}

/* ---- Heat ring graphic (CSS only) -------------------------- */
.heat-ring {
  position: relative;
  width: 200px; height: 200px;
  margin: auto;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--amber) 0%, var(--amber-warm) 30%, transparent 65%);
  filter: blur(2px);
  opacity: 0.85;
}
.heat-ring::before, .heat-ring::after {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  border: 1px dashed rgba(242, 143, 59, 0.4);
  animation: spinSlow 30s linear infinite;
}
.heat-ring::after { inset: -25%; border-color: rgba(242, 143, 59, 0.25); animation-duration: 50s; animation-direction: reverse; }
