@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=JetBrains+Mono:wght@400;500;600&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap");

/* ==========================================================================
   TORVIS by Atlantic Polymers — Luxury Editorial Design System
   Fonts: EB Garamond (luxury serif), Plus Jakarta Sans (support sans), JetBrains Mono (labels)
   Color theme: Deep Teal + Vibrant Accent
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* === Brand Teal Palette === */
  --brand-50:  #e6f7f5;
  --brand-100: #b3e8e1;
  --brand-200: #7ed8cc;
  --brand-300: #40c9b8;
  --brand-400: #00C9A7;
  --brand-500: #00b094;
  --brand-600: #009680;
  --brand-700: #007a67;
  --brand-800: #005e4f;
  --brand-900: #004438;

  /* === Deep Teal (dark surfaces) === */
  --teal-950:  #021212;
  --teal-900:  #041f1e;
  --teal-800:  #072d2b;
  --teal-700:  #0d3d3a;
  --teal-600:  #124e4a;
  --teal-500:  #195e59;

  /* === Ink (text) === */
  --ink-900: #0A1A18;
  --ink-800: #122220;
  --ink-700: #1e3330;
  --ink-600: #2c4542;

  /* === Muted (teal-tinted greys) === */
  --muted-50:  #f5f9f8;
  --muted-100: #eaf2f0;
  --muted-200: #d0dedd;
  --muted-300: #a8bcba;
  --muted-400: #7d9896;
  --muted-500: #5d7674;
  --muted-600: #445a58;
  --muted-700: #304341;

  /* === Surface colours === */
  --surface-0:   #ffffff;
  --surface-50:  #f8faf9;
  --surface-100: #f0f5f4;
  --surface-200: #e5edec;

  /* === Accent (warm amber) === */
  --accent-400: #F59E0B;
  --accent-500: #D97706;

  /* === Eco green (for sustainability) === */
  --eco-400: #22C55E;
  --eco-500: #16A34A;
  --eco-600: #15803D;
  --eco-50:  #F0FDF4;
  --eco-100: #DCFCE7;

  /* === Typography === */
  --font-display: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --font-body:    "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --font-serif:   "EB Garamond", Garamond, Georgia, serif;
  --font-sans:    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* === Layout === */
  --container: 1240px;
  --header-h: 5rem;
  --radius:    0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  /* === Shadows === */
  --shadow-xs: 0 1px 2px rgba(10,26,24,.04);
  --shadow-sm: 0 2px 8px rgba(10,26,24,.07), 0 1px 2px rgba(10,26,24,.04);
  --shadow-md: 0 8px 28px -6px rgba(10,26,24,.14), 0 2px 8px -2px rgba(10,26,24,.08);
  --shadow-lg: 0 24px 60px -16px rgba(10,26,24,.22), 0 8px 24px -8px rgba(10,26,24,.10);
  --shadow-xl: 0 40px 100px -24px rgba(10,26,24,.30);

  /* === Transitions === */
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.55, 0, 1, 0.45);
  --ease-back:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration:   300ms;
  --duration-slow: 600ms;

  /* === Gradients === */
  --grad-brand: linear-gradient(135deg, var(--brand-400) 0%, var(--brand-600) 100%);
  --grad-dark:  linear-gradient(135deg, var(--teal-950) 0%, var(--teal-700) 100%);
  --grad-hero:  linear-gradient(135deg, #021210 0%, #062926 45%, #0a453f 100%);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1.25rem);
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ink-900);
  background-color: var(--surface-50);
  background-image: linear-gradient(rgba(0, 122, 103, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 122, 103, .035) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
  line-height: 1.78;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
p {
  margin-bottom: 1.35rem;
}
p:last-child {
  margin-bottom: 0;
}
h1, h2, h3, h4, h5, h6,
.section-title, .tw-hero-title, .brand, .brand-logo-link,
.quote-block .q, .cta-band-inner h2,
.app-hero-title, .products-hero h1, .contact-title, .versus-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.22;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); margin-bottom: 1.1rem; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-bottom: 0.85rem; }
h4 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); margin-bottom: 0.65rem; }

.btn, .nav a, .filter-tab, .tw-spec {
  letter-spacing: 0.01em;
}
button, input, select, textarea, optgroup {
  font-family: var(--font-body);
  font-weight: 500;
}
.brand-em, .em, .tagline {
  font-style: italic;
  font-family: var(--font-display);
}
body.mobile-nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
main img:not(.lightbox-image) { cursor: zoom-in; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
svg { display: block; flex-shrink: 0; }
::selection { background: var(--brand-400); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 3px; border-radius: 4px; }

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.section { padding-block: clamp(4rem, 8vw, 8rem); }
.relative { position: relative; }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* Grid utilities */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }

@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   4. ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.85); opacity: 0.8; }
  70%  { transform: scale(1.3);  opacity: 0; }
  100% { transform: scale(1.3);  opacity: 0; }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes lume-breathe {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.3); }
}
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes counter-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes draw-line {
  from { stroke-dashoffset: 300; }
  to   { stroke-dashoffset: 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   5. REVEAL (scroll-triggered smooth animations)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.reveal-left.in-view {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.reveal-right.in-view {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.reveal-scale.in-view {
  opacity: 1;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   6. HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: calc(var(--header-h) + .5rem);
  display: flex;
  align-items: center;
  background: rgba(244,248,246,0.94);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--muted-100);
  transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration), transform var(--duration) var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 var(--muted-200), var(--shadow-sm);
}
.site-header.on-dark {
  background: rgba(244,248,246,0.96);
  border-bottom-color: rgba(10,26,24,0.08);
}
.site-header.on-dark.scrolled {
  background: rgba(244,248,246,0.99);
}

.header-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

/* Brand / Logo */
.brand-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 11rem;
  height: auto;
  padding: 0;
}
.brand-logo { height: auto; width: 100%; object-fit: contain; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
  padding: 0.3rem 0.5rem;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(10,26,24,0.12);
  border-radius: 0.85rem;
}
.nav a {
  padding: 0.5rem 1.05rem;
  border-radius: var(--radius);
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--muted-600);
  letter-spacing: 0.01em;
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
  white-space: nowrap;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0.2rem;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--brand-400);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--duration) var(--ease);
  transform-origin: left;
}
.nav a.active,
.on-dark .nav a.active {
  background: var(--ink-900);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(10, 26, 24, 0.16);
}
.nav a.active:hover,
.on-dark .nav a.active:hover {
  background: var(--ink-900);
  color: #ffffff;
}
.nav a.active::after,
.on-dark .nav a.active::after {
  transform: scaleX(0);
}

/* On dark header nav */
.on-dark .nav a { color: var(--muted-600); }
.on-dark .nav a:hover { color: var(--ink-900); background: var(--brand-50); }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 0.75rem; margin-left: 1.5rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  padding: 0.45rem;
  border-radius: 0.45rem;
  color: var(--ink-900);
  transition: background var(--duration), color var(--duration);
}
.nav-toggle svg {
  width: 1.45rem;
  height: 1.45rem;
  color: var(--ink-900);
}
.nav-toggle svg path {
  stroke: var(--ink-900);
}
.nav-toggle:hover {
  background: var(--muted-100);
}
.on-dark .nav-toggle {
  color: var(--ink-900);
}
.on-dark .nav-toggle svg {
  color: var(--ink-900);
}
.on-dark .nav-toggle svg path {
  stroke: var(--ink-900);
}
.on-dark .nav-toggle:hover {
  background: var(--muted-100);
}

/* ==========================================================================
   7. MOBILE NAV
   ========================================================================== */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 850;
  background: var(--teal-950);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  pointer-events: none;
}
.mobile-nav.is-open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 22rem;
  padding: 0.95rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.75);
  border: 1px solid transparent;
  transition: all var(--duration);
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}
.mobile-nav a .idx {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-400);
}

/* ==========================================================================
   8. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1rem; height: 1rem; transition: transform var(--duration) var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg.arrow-x { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

/* Primary */
.btn-primary {
  background: var(--brand-400);
  color: #fff;
  border-color: var(--brand-400);
}
.btn-primary:hover {
  background: var(--brand-500);
  border-color: var(--brand-500);
  box-shadow: 0 8px 28px -8px rgba(0,201,167,0.5);
}

/* CTA (darker teal) */
.btn-cta {
  background: var(--teal-700);
  color: #fff;
  border-color: var(--teal-700);
}
.btn-cta:hover {
  background: var(--teal-600);
  box-shadow: 0 8px 28px -8px rgba(4,31,30,0.6);
}

/* Outline light (on dark) */
.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.25);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}

/* Outline brand */
.btn-outline-brand {
  background: transparent;
  color: var(--brand-600);
  border-color: var(--brand-300);
}
.btn-outline-brand:hover {
  background: var(--brand-50);
  border-color: var(--brand-400);
}

/* Ghost */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-600);
  text-decoration: none;
  transition: gap var(--duration) var(--ease), color var(--duration);
}
.btn-ghost svg { width: 0.9rem; height: 0.9rem; transition: transform var(--duration) var(--ease); }
.btn-ghost:hover { color: var(--brand-700); gap: 0.75rem; }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.8rem; }

/* ==========================================================================
   9. KICKER / LABELS
   ========================================================================== */
.tw-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-700, #007a67);
  margin-bottom: 0.85rem;
}
.tw-kicker::after {
  content: '';
  width: 2.25rem;
  height: 2px;
  background: var(--brand-500, #00C9A7);
  opacity: 0.6;
}
.tw-kicker-num {
  color: #ffffff;
  background: var(--brand-700, #007a67);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tw-kicker-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-500, #00C9A7);
  animation: lume-breathe 2.6s var(--ease) infinite;
  display: inline-block;
  flex-shrink: 0;
}
.tw-kicker.on-dark,
.tw-dark .tw-kicker,
.hero.tw-dark .tw-kicker {
  color: var(--brand-300, #40c9b8);
}
.tw-kicker.on-dark .tw-kicker-num,
.tw-dark .tw-kicker .tw-kicker-num,
.hero.tw-dark .tw-kicker .tw-kicker-num {
  background: var(--brand-400, #00C9A7);
  color: var(--teal-950, #021210);
}
.tw-kicker.on-dark::after,
.tw-dark .tw-kicker::after,
.hero.tw-dark .tw-kicker::after {
  background: var(--brand-300, #40c9b8);
  opacity: 0.5;
}
.tw-kicker.center { justify-content: center; }
.tw-kicker.center::after { display: none; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.2;
  color: var(--ink-900);
  margin-bottom: 1.1rem;
}
.section-lead {
  color: var(--muted-600);
  max-width: 48rem;
  line-height: 1.8;
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
}

.tw-spec-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-400);
}
.tw-spec {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-400);
  line-height: 1;
  margin-top: 0.3rem;
}
.tw-spec-unit {
  font-size: 0.6em;
  font-weight: 500;
  color: var(--muted-400);
  margin-left: 0.25rem;
  letter-spacing: 0;
}

/* Section head layouts */
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.section-head .head-copy { flex: 1; min-width: 0; }
.section-head--stack { margin-bottom: 3rem; }

/* ==========================================================================
   10. HERO (home)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(118deg, #031615 0%, #07322f 54%, #0d5c53 100%);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(0,201,167,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(0,201,167,0.07) 0%, transparent 60%);
  pointer-events: none;
}

/* Blueprint grid overlay */
.tw-blueprint { background-color: var(--surface-100); position: relative; }
.tw-blueprint::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(0,150,128,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,150,128,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.tw-blueprint > * { position: relative; z-index: 1; }

/* Scan line */
.tw-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.tw-scan::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,201,167,0.3), transparent);
  animation: scan-line 8s linear infinite;
}
@keyframes scan-line {
  from { top: -1px; }
  to   { top: 100%; }
}

/* Dark section base */
.tw-dark {
  background: var(--grad-dark);
  color: #fff;
  position: relative;
}
.tw-dark .section-title { color: #fff; }
.tw-dark .section-lead  { color: rgba(255,255,255,0.65); }

/* Hero Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 7rem);
  position: relative;
  z-index: 2;
  flex: 1;
}
.hero-grid > div:first-child {
  max-width: 42rem;
  padding: 0;
}

.tw-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
  line-height: .98;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  max-width: 16ch;
  color: #fff;
  margin-bottom: 1.75rem;
}
.tw-hero-em { color: var(--brand-400); }

/* Hero badges strip */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 2rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.875rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--duration), border-color var(--duration), color var(--duration);
  backdrop-filter: blur(8px);
}
.hero-badge svg { width: 0.9rem; height: 0.9rem; color: var(--brand-300); }
.hero-badge:hover { background: rgba(0,201,167,0.15); border-color: rgba(0,201,167,0.35); color: #fff; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* Hero video panel */
.hero-media-panel {
  position: relative;
  border-radius: 2.25rem 0.75rem 2.25rem 0.75rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,201,167,0.15);
}
.hero-media-panel video,
.hero-media-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-media-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,201,167,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.media-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(4,31,30,0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,201,167,0.2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-300);
}

/* Hero specs bar */
.hero-specs {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(8px);
}
.hero-specs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.hero-specs-grid > div {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.hero-specs-grid > div:last-child { border-right: none; }

/* ==========================================================================
   11. TRUST STRIP
   ========================================================================== */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: clamp(1.5rem, 2.8vw, 2rem) clamp(1.25rem, 2.8vw, 2rem);
  border-right: 1px solid var(--muted-200);
  transition: background var(--duration);
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: var(--muted-50); }
.trust-item svg { width: 1.65rem; height: 1.65rem; color: var(--brand-500); flex-shrink: 0; }
.trust-item .t {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.trust-item .s {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted-600);
  margin-top: 0.15rem;
}

/* ==========================================================================
   12. FEATURE CARDS
   ========================================================================== */
.tw-feature {
  background: var(--surface-0);
  border: 1px solid var(--muted-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.65rem, 3vw, 2.25rem);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration);
  position: relative;
  overflow: hidden;
}
.tw-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--duration);
}
.tw-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200);
}
.tw-feature:hover::before { opacity: 1; }
.tw-feature-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}
.tw-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-600);
  transition: background var(--duration), border-color var(--duration);
}
.tw-feature-icon svg { width: 1.35rem; height: 1.35rem; }
.tw-feature:hover .tw-feature-icon { background: var(--brand-100); border-color: var(--brand-200); }
.tw-feature .num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted-400);
  letter-spacing: 0.1em;
  font-weight: 500;
}
.tw-feature h3 {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}
.tw-feature p {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.025rem;
  color: var(--muted-700);
  line-height: 1.68;
  font-weight: 500;
}

/* ==========================================================================
   13. PRODUCT CARDS
   ========================================================================== */
.product-card {
  position: relative;
  background: var(--surface-0);
  border: 1px solid var(--muted-200);
  border-radius: var(--radius-xl, 1.25rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 18px rgba(10, 26, 24, 0.04);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-400), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 122, 103, 0.16), 0 2px 8px rgba(10, 26, 24, 0.04);
  border-color: var(--brand-300);
}
.product-card:hover::before {
  opacity: 1;
}

/* Featured / Flagship Badge styling on First Card */
.product-card.is-featured {
  border-color: rgba(0, 201, 167, 0.45);
  box-shadow: 0 8px 24px -6px rgba(0, 201, 167, 0.14);
}
.product-card.is-featured::before {
  opacity: 1;
  background: linear-gradient(90deg, var(--brand-400), var(--teal-600));
}

.card-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--muted-100);
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}
.product-card:hover .card-photo img {
  transform: scale(1.08);
}
.card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 31, 30, 0.28) 0%, transparent 45%, rgba(4, 31, 30, 0.18) 100%);
  transition: opacity 0.35s ease;
}

.card-tags {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  z-index: 1;
}
.card-tags span {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  letter-spacing: 0.03em;
  background: rgba(4, 31, 30, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #40c9b8;
  border: 1px solid rgba(64, 201, 184, 0.35);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.card-tags .badge-featured {
  background: linear-gradient(135deg, var(--teal-900), var(--brand-700));
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.card-body {
  padding: 1.5rem 1.4rem 1.65rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.card-body h3 {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  line-height: 1.3;
}
.card-body p {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.02rem;
  color: var(--muted-700);
  line-height: 1.65;
  font-weight: 500;
  flex: 1;
  margin: 0;
}
.card-body .eyebrow {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--brand-700);
  margin-bottom: 0.2rem;
}

.card-view {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--muted-150, #e8f0ef);
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--teal-800);
  transition: color var(--duration) var(--ease);
}
.card-arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--surface-100);
  border: 1px solid var(--muted-200);
  color: var(--teal-800);
  transition: all var(--duration) var(--ease);
}
.card-arrow-circle svg {
  width: 0.85rem;
  height: 0.85rem;
  transition: transform var(--duration) var(--ease);
}
.product-card:hover .card-view {
  color: var(--brand-700);
}
.product-card:hover .card-arrow-circle {
  background: var(--teal-800);
  border-color: var(--teal-800);
  color: #ffffff;
  transform: translateX(4px);
}

/* Remote brochure-fill images should fail quietly while keeping the layout intact. */
img.media-failed {
  min-height: 12rem;
  object-fit: contain;
  padding: 2rem;
  background: var(--brand-50);
  opacity: 1 !important;
}

/* ==========================================================================
   14. COMPARISON TABLE
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--muted-200);
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  background: var(--surface-0);
}
.compare-table th, .compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--muted-100);
  white-space: nowrap;
}
.compare-table th {
  background: var(--surface-100);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--muted-600);
  text-transform: uppercase;
}
.compare-table .col-torvis { background: rgba(0,201,167,0.06); }
.compare-table .cell-torvis { background: rgba(0,201,167,0.04); font-weight: 600; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: var(--muted-50); }
.compare-table.compact th, .compare-table.compact td { padding: 0.75rem 1rem; }

.ic-yes { display: inline-flex; color: var(--brand-500); }
.ic-no  { display: inline-flex; color: var(--muted-300); }
.ic-yes svg, .ic-no svg { width: 1.15rem; height: 1.15rem; }

.table-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted-400);
  text-align: right;
  margin-top: 0.75rem;
}
.table-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted-600);
  transition: color var(--duration);
}
.table-toggle svg { width: 1rem; height: 1rem; transition: transform var(--duration); }
.table-toggle:hover { color: var(--ink-900); }
.table-toggle.is-open svg { transform: rotate(180deg); }
#workBody { display: none; }
#workBody.is-open { display: block; }

/* ==========================================================================
   15. SPEC LIST / TECH DATA
   ========================================================================== */
.spec-list { border: 1px solid var(--muted-200); border-radius: var(--radius-lg); overflow: hidden; }
.spec-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--muted-100);
  transition: background var(--duration);
}
.spec-row:last-child { border-bottom: none; }
.spec-row:hover { background: var(--muted-50); }
.spec-row .name {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-900);
}
.spec-row .std {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-400);
  letter-spacing: 0.06em;
}
.spec-row .val {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-600);
  text-align: right;
}

/* ==========================================================================
   16. STAT CARDS
   ========================================================================== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
.stat-card {
  background: var(--surface-0);
  border: 1px solid var(--muted-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-card .idx {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted-400);
  margin-bottom: 1rem;
  display: block;
}
.stat-card .big {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  line-height: 1;
}
.stat-card .lbl {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted-600);
  margin-top: 0.65rem;
  line-height: 1.45;
}

/* ==========================================================================
   17. SPLIT FEATURE
   ========================================================================== */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.split-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  background: var(--muted-100);
  position: relative;
}
.split-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,201,167,0.12) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}
.split-media:hover img { transform: scale(1.04); }

/* ==========================================================================
   18. HERO (page inner pages)
   ========================================================================== */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 5vw, 4rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 2;
}
.page-hero-grid h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1rem;
}
.page-hero-grid p {
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  max-width: 36rem;
}
.page-hero-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-xl);
  background: var(--teal-800);
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.75;
}
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }

/* ==========================================================================
   19. FILTER TABS (products page)
   ========================================================================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  padding: 0.4rem;
  background: var(--surface-100);
  border-radius: var(--radius-lg);
  border: 1px solid var(--muted-200);
  width: fit-content;
  max-width: 100%;
}
.filter-tab {
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted-600);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}
.filter-tab:hover { color: var(--ink-900); background: var(--surface-0); }
.filter-tab.active {
  background: var(--surface-0);
  color: var(--brand-600);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 768px) {
  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    gap: 0.4rem;
    padding: 0.35rem;
  }
  .filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .filter-tab {
    flex: 0 0 auto;
    padding: 0.5rem 1.1rem;
    font-size: 0.88rem;
  }
}
.filter-panel { display: none; }
.filter-panel.active { display: block; animation: fadeIn 0.3s var(--ease); }

/* ==========================================================================
   20. COLOUR SWATCHES
   ========================================================================== */
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 1.25rem;
}
.swatch { text-align: center; cursor: pointer; }
.swatch-chip {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  margin-bottom: 0.6rem;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration), border-color var(--duration);
  box-shadow: var(--shadow-sm);
}
.swatch:hover .swatch-chip { transform: scale(1.06); box-shadow: var(--shadow-md); }
.swatch p {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted-700);
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
}

/* ==========================================================================
   21. CHIPS / PILLS
   ========================================================================== */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background var(--duration), border-color var(--duration);
}
.chip svg { width: 0.9rem; height: 0.9rem; color: var(--brand-500); }
.chip.on-dark {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
}

/* ==========================================================================
   22. CHECK LIST
   ========================================================================== */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted-700);
  line-height: 1.7;
}
.check-list li strong {
  color: var(--ink-900);
  font-weight: 700;
}
.check-list li svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--brand-500);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* ==========================================================================
   23. CTA BAND
   ========================================================================== */
.cta-band-inner {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,201,167,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.cta-band-inner p {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  color: rgba(255,255,255,0.8);
  font-size: 1.025rem;
  font-weight: 500;
  line-height: 1.7;
  max-width: 38rem;
}
.cta-band-inner .actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   24. FEATURE GROUPS (why-torvis)
   ========================================================================== */
.feature-group {
  margin-bottom: 3rem;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--surface-0);
  border: 1px solid var(--muted-200);
  border-radius: var(--radius-xl);
}
.feature-group > h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--muted-100);
}
.feature-group .count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted-400);
  font-weight: 500;
}

/* ==========================================================================
   25. VERSUS CARDS (for-carpenters)
   ========================================================================== */
.versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.75rem;
  align-items: center;
  margin-top: 2rem;
}
.versus-card {
  background: var(--surface-0);
  border: 1px solid var(--muted-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.65rem, 3vw, 2.25rem);
  transition: box-shadow var(--duration);
}
.versus-card.win {
  background: linear-gradient(135deg, #e6f7f5, #fff);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}
.versus-card h4 {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 0.65rem;
}
.versus-card.win h4 { color: var(--brand-700); }
.versus-card p {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.025rem;
  color: var(--muted-700);
  line-height: 1.68;
  font-weight: 500;
}
.versus-mid {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted-400);
  letter-spacing: 0.12em;
  text-align: center;
  flex-shrink: 0;
}

/* ==========================================================================
   26. LEAD PANEL
   ========================================================================== */
.lead-panel {
  background: var(--surface-0);
  border: 1px solid var(--muted-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow var(--duration), border-color var(--duration);
}
.lead-panel:hover { box-shadow: var(--shadow-sm); border-color: var(--brand-200); }

/* ==========================================================================
   27. QUOTE BLOCK
   ========================================================================== */
.quote-block {
  border-left: 4px solid var(--brand-400);
  padding: 1.35rem 2rem;
  background: rgba(0,201,167,0.06);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  display: inline-block;
}
.quote-block .q {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.015em;
  font-style: italic;
}
.quote-block .em { color: var(--brand-300); }

/* ==========================================================================
   28. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--teal-950);
  color: rgba(255,255,255,0.75);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: clamp(4rem, 8vw, 6.5rem);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-400), var(--accent-400), var(--brand-400));
}
.site-footer::after {
  content: 'TORVIS';
  position: absolute;
  right: clamp(-2rem, 2vw, 2rem);
  bottom: 2rem;
  color: rgba(255,255,255,.035);
  font: 800 clamp(5rem, 16vw, 13rem)/.8 var(--font-display);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  position: relative;
  z-index: 1;
}
.footer-brand-col { }
.footer-logo-link { display: inline-flex; align-items: center; justify-content: center; padding: .65rem .95rem; background: #ffffff; border-radius: .6rem; margin-bottom: 1.35rem; transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease); }
.footer-logo-link:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.footer-logo { height: 2.5rem; width: auto; display: block; }
.footer-brand-col > p {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.975rem;
  line-height: 1.75;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  max-width: 24rem;
}
.footer-col { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-col h4 {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #ffffff;
  margin-bottom: 1.15rem;
}
.footer-col a, .footer-col p {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.975rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  padding: 0.35rem 0;
  transition: color var(--duration);
}
.footer-col a:hover { color: var(--brand-300); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  position: relative;
  z-index: 1;
}
.footer-bottom .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--brand-400);
  font-weight: 600;
}

/* ==========================================================================
   29. CHAT BUBBLE
   ========================================================================== */
.chat-bubble {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.625rem;
  animation: float 6s var(--ease) infinite;
}
.chat-msg {
  background: var(--surface-0);
  border: 1px solid var(--muted-200);
  border-radius: var(--radius-lg) var(--radius-lg) 0 var(--radius-lg);
  padding: 0.875rem 1rem;
  font-size: 0.8rem;
  color: var(--muted-700);
  box-shadow: var(--shadow-md);
  max-width: 16rem;
  position: relative;
}
.chat-close {
  position: absolute;
  top: 0.25rem;
  right: 0.5rem;
  font-size: 1rem;
  color: var(--muted-400);
  line-height: 1;
  transition: color var(--duration);
}
.chat-close:hover { color: var(--ink-900); }
.chat-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.chat-avatar svg { width: 1.25rem; height: 1.25rem; color: #fff; }

@media (max-width: 768px) {
  .chat-bubble {
    bottom: 1rem;
    right: 1rem;
  }
  .chat-msg {
    display: none;
  }
  .chat-avatar {
    width: 2.35rem;
    height: 2.35rem;
  }
  .chat-avatar svg {
    width: 1.1rem;
    height: 1.1rem;
  }
}

/* ==========================================================================
   30. LIGHTBOX
   ========================================================================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(4,31,30,0.95);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.lightbox-overlay.is-open { opacity: 1; pointer-events: auto; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: background var(--duration);
  cursor: pointer;
  border: none;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* Zoomable affordance */
.zoomable { cursor: zoom-in; position: relative; }
.card-photo.zoomable::after {
  content: '';
  position: absolute;
  inset: auto 0.625rem 0.625rem auto;
  width: 1.75rem; height: 1.75rem;
  border-radius: 50%;
  background: rgba(4,31,30,0.65) center/0.9rem no-repeat;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M20 20l-4.5-4.5M11 8v6M8 11h6'/></svg>");
  opacity: 0;
  transition: opacity 0.25s;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.card-photo.zoomable:hover::after { opacity: 1; }

/* ==========================================================================
   31. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-specs-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-specs-grid > div:nth-child(3) { border-right: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 3rem; gap: 2rem; }
  .hero-grid > div:last-child { display: block; }
  .hero-media-panel { max-width: 42rem; margin-inline: auto; width: 100%; }
  .split-feature { grid-template-columns: 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3) { border-right: 1px solid var(--muted-200); }
  .trust-item:nth-child(4) { border-right: none; }
  .trust-item:nth-child(1),
  .trust-item:nth-child(2) { border-bottom: 1px solid var(--muted-200); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand-col { grid-column: 1 / -1; }
  .versus { grid-template-columns: 1fr; }
  .versus-mid { display: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 4.5rem; }
  .nav { display: none; }
  .header-cta .btn:not(.nav-toggle) { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { margin-left: auto; padding-left: 1rem; }
  .brand-logo-link { width: 9.25rem; }
  .hero-grid > div:first-child { padding: 0; }
  .hero-media-panel { aspect-ratio: 16 / 10; }
  .tw-hero-title { max-width: 100%; }
  .hero-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-specs-grid > div:nth-child(2n) { border-right: none; }
}

/* ========================================================================
   CONTACT PAGE: editorial enquiry studio
   ======================================================================== */
.contact-main {
  min-height: 100svh;
  background: linear-gradient(135deg, #021210 0%, #062926 45%, #0a453f 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
}
.contact-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(0,201,167,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(0,201,167,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.contact-main .tw-page { position: relative; z-index: 1; }
.contact-main .contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 1.15fr);
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-main .contact-title {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}
.contact-main .contact-lead {
  color: rgba(255,255,255,.8);
  font-size: 1.025rem;
  line-height: 1.7;
  margin-bottom: 1.35rem;
}
.contact-main .tw-kicker {
  color: var(--brand-300);
  margin-bottom: 0.65rem;
}
.contact-main .loc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
@media (min-width: 480px) {
  .contact-main .loc-grid { grid-template-columns: 1fr 1fr; }
}
.contact-main .loc-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
}
.contact-main .loc-card .tw-spec-label {
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.contact-main .loc-card .name {
  color: #fff;
  font-weight: 700;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.125rem;
}
.contact-main .loc-card .sub {
  color: rgba(255,255,255,.8);
  font-size: 0.95rem;
  margin-top: 0.35rem;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-weight: 500;
  line-height: 1.6;
}
.contact-main .loc-card a {
  color: var(--brand-300);
  text-decoration: none;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-weight: 600;
  font-size: 0.95rem;
}
.contact-main .loc-card a:hover { text-decoration: underline; }
.contact-main .loc-card > svg { color: var(--brand-300); width: 1.35rem; height: 1.35rem; margin-bottom: 0.4rem; }
.contact-main .loc-map { opacity: .9; margin-bottom: 1rem; }
.contact-main .loc-map text { fill: #fff; }
.contact-main .note-eco {
  background: rgba(0,201,167,.1);
  border: 1px solid rgba(0,201,167,.25);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.contact-main .note-eco svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; color: var(--brand-300); margin-top: 0.1rem; }
.contact-main .note-eco p {
  color: rgba(255,255,255,.88);
  font-size: 0.95rem;
  line-height: 1.68;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-weight: 500;
}
.contact-main .form-card {
  background: #ffffff;
  border: 1px solid var(--muted-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
}
.contact-main .xv-toggle-chip {
  border-radius: 999px;
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.92rem;
  font-weight: 600;
}
.contact-main .xv-toggle-chip[aria-pressed="true"] { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
@media (max-width: 767px) {
  .contact-main .contact-section { grid-template-columns: 1fr; padding-top: 1rem; gap: 2rem; }
  .contact-main .contact-title { max-width: 100%; font-size: clamp(1.75rem, 5.5vw, 2.1rem); }
  .contact-main .form-card { box-shadow: 0 10px 30px rgba(0,0,0,.2); }
}

@media (max-width: 640px) {
  .hero-specs-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--muted-200); }
  .trust-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-specs-grid { grid-template-columns: 1fr; }
  .hero-specs-grid > div { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
}

/* ==========================================================================
   32. CONTAINER PADDING
   ========================================================================== */
@media (min-width: 1280px) {
  .container { padding-inline: 2.5rem; }
}

/* ==========================================================================
   33. SCROLL BAR
   ========================================================================== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--muted-100); }
::-webkit-scrollbar-thumb { background: var(--muted-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted-400); }
