/* ==========================================================================
   TESSMA HOLDINGS — Corporate Website
   Design system: dark navy / electric blue / purple / soft cyan / gold accent
   Type: Sora (display) · Inter (body) · IBM Plex Mono (utility & data)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Surfaces */
  --navy-950: #04060D;
  --navy-900: #070A16;
  --navy-850: #0A0E1F;
  --navy-800: #0E1329;
  --navy-700: #141B3A;
  --navy-600: #1C2450;

  /* Light */
  --blue: #2E6BFF;
  --blue-bright: #4C86FF;
  --cyan: #4FD8FF;
  --purple: #7B5CFF;
  --purple-deep: #4A2FB8;
  --gold: #C9A24B;

  /* Ink */
  --white: #FFFFFF;
  --ink-100: #EEF2FF;
  --ink-70: rgba(233, 238, 255, 0.70);
  --ink-55: rgba(228, 234, 255, 0.55);
  --ink-40: rgba(222, 230, 255, 0.40);
  --ink-22: rgba(220, 230, 255, 0.22);
  --ink-12: rgba(220, 230, 255, 0.12);
  --ink-07: rgba(220, 230, 255, 0.07);

  /* Glass */
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.075);
  --glass-line: rgba(255, 255, 255, 0.10);

  /* Type */
  --f-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Rhythm */
  --shell: 1320px;
  --shell-narrow: 940px;
  --gutter: 40px;
  --sec-y: 132px;
  --nav-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --radius: 18px;
  --radius-lg: 26px;
}

/* ---------- 2. Reset & base ---------- */
.tcw *, .tcw *::before, .tcw *::after { box-sizing: border-box; }

.tcw {
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

.tcw {
  margin: 0;
  background: var(--navy-950);
  color: var(--ink-100);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.tcw.nav-locked { overflow: hidden; }

.tcw img, .tcw svg, .tcw video { display: block; max-width: 100%; }
.tcw a { color: inherit; text-decoration: none; }
.tcw button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.tcw ul, .tcw ol { margin: 0; padding: 0; list-style: none; }

.tcw ::selection { background: var(--blue); color: var(--white); }

.tcw :focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.tcw .skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 18px;
  border-radius: 10px; font-size: 14px; font-weight: 600;
  transition: top .2s var(--ease);
}
.tcw .skip:focus { top: 16px; }

.tcw .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3. Typography ---------- */
.tcw h1, .tcw h2, .tcw h3, .tcw h4, .tcw h5 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.032em;
  margin: 0;
  color: var(--white);
  text-wrap: balance;
}

.tcw .t-hero { font-size: clamp(46px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -0.042em; }
.tcw .t-display { font-size: clamp(38px, 4.1vw, 62px); letter-spacing: -0.038em; }
.tcw .t-section { font-size: clamp(32px, 3.1vw, 48px); letter-spacing: -0.034em; }
.tcw .t-card { font-size: 22px; line-height: 1.22; letter-spacing: -0.024em; }
.tcw .t-sub { font-size: 19px; line-height: 1.55; letter-spacing: -0.02em; font-weight: 500; }

.tcw p { margin: 0 0 18px; color: var(--ink-70); max-width: 62ch; }
.tcw p:last-child { margin-bottom: 0; }
.tcw .lead { font-size: 20px; line-height: 1.6; color: var(--ink-70); max-width: 56ch; letter-spacing: -0.014em; }
.tcw .small { font-size: 15px; line-height: 1.6; color: var(--ink-55); }

.tcw .grad {
  background: linear-gradient(104deg, var(--white) 8%, var(--cyan) 46%, var(--purple) 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.tcw .eyebrow {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
}
.tcw .eyebrow::before {
  content: ""; width: 26px; height: 1px; flex: none;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.tcw .eyebrow.gold { color: var(--gold); }
.tcw .eyebrow.gold::before { background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- 4. Layout ---------- */
.tcw .shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.tcw .shell-narrow { width: 100%; max-width: var(--shell-narrow); margin: 0 auto; padding: 0 var(--gutter); }

/* Decorative light layers are allowed to bleed past their section, never past the page. */
.tcw section, .tcw .ftr { position: relative; overflow: hidden; overflow: clip; }
.tcw .sec { padding: var(--sec-y) 0; position: relative; }
.tcw .sec-tight { padding: calc(var(--sec-y) * 0.62) 0; }

.tcw .hairline { height: 1px; background: linear-gradient(90deg, transparent, var(--ink-12) 18%, var(--ink-12) 82%, transparent); border: 0; margin: 0; }

.tcw .head { max-width: 720px; margin-bottom: 62px; }
.tcw .head.centre { margin-left: auto; margin-right: auto; text-align: center; }
.tcw .head.centre .eyebrow { justify-content: center; }
.tcw .head.centre p { margin-left: auto; margin-right: auto; }
.tcw .head p { margin-top: 22px; }

/* ---------- 5. Ambient light ---------- */
.tcw .glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: .55;
  z-index: 0;
}
.tcw .glow-blue { background: radial-gradient(circle, rgba(46,107,255,.55), transparent 68%); }
.tcw .glow-purple { background: radial-gradient(circle, rgba(123,92,255,.42), transparent 68%); }
.tcw .glow-cyan { background: radial-gradient(circle, rgba(79,216,255,.30), transparent 68%); }

.tcw .grid-lines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, var(--ink-07) 1px, transparent 1px),
    linear-gradient(to bottom, var(--ink-07) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 78%);
}

/* ---------- 6. Buttons ---------- */
.tcw .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  position: relative;
}
.tcw .btn svg { flex: none; transition: transform .35s var(--ease); }
.tcw .btn:hover svg { transform: translateX(4px); }

.tcw .btn-primary {
  background: linear-gradient(96deg, var(--blue), var(--purple));
  color: var(--white);
  box-shadow: 0 12px 34px -12px rgba(46,107,255,.75), inset 0 1px 0 rgba(255,255,255,.22);
}
.tcw .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 46px -14px rgba(76,134,255,.85), inset 0 1px 0 rgba(255,255,255,.3); }

.tcw .btn-ghost {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  color: var(--ink-100);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.tcw .btn-ghost:hover { background: var(--glass-strong); border-color: rgba(79,216,255,.42); transform: translateY(-2px); }

.tcw .btn-sm { padding: 11px 20px; font-size: 14px; }

.tcw .btn-text {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600; color: var(--cyan);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.tcw .btn-text:hover { gap: 14px; color: var(--white); }

.tcw .actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 38px; }

/* ---------- 7. Header ---------- */
.tcw .hdr {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.tcw .hdr.solid {
  background: rgba(6, 9, 20, 0.78);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-bottom-color: var(--ink-12);
}
.tcw .hdr-in { display: flex; align-items: center; gap: 30px; width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }

.tcw .logo { display: flex; align-items: center; gap: 11px; flex: none; }
.tcw .logo-mark { width: 30px; height: 30px; flex: none; }
.tcw .logo-txt { display: flex; flex-direction: column; line-height: 1; }
.tcw .logo-name { font-family: var(--f-display); font-size: 18.5px; font-weight: 700; letter-spacing: 0.05em; color: var(--white); }
.tcw .logo-sub { font-family: var(--f-mono); font-size: 8.5px; letter-spacing: 0.3em; color: var(--ink-40); text-transform: uppercase; margin-top: 4px; }

.tcw .nav { display: flex; align-items: center; gap: 2px; margin-left: auto; flex: none; }
.tcw .nav a {
  padding: 9px 11px; border-radius: 9px; white-space: nowrap;
  font-size: 14.5px; font-weight: 500; color: var(--ink-70);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.tcw .nav a:hover { color: var(--white); background: var(--ink-07); }
.tcw .nav a.on { color: var(--white); }
.tcw .nav a.on::after {
  content: ""; display: block; height: 2px; margin-top: 6px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
}
.tcw .hdr-cta { display: flex; gap: 8px; flex: none; margin-left: 10px; white-space: nowrap; }
.tcw .hdr-cta .btn-sm { padding: 10px 16px; font-size: 13.5px; }

.tcw .burger {
  display: none; flex: none; width: 44px; height: 44px;
  border-radius: 12px; border: 1px solid var(--glass-line); background: var(--glass);
  margin-left: auto; position: relative;
}
.tcw .burger span {
  position: absolute; left: 13px; width: 18px; height: 1.6px; border-radius: 2px;
  background: var(--ink-100); transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.tcw .burger span:nth-child(1) { top: 17px; }
.tcw .burger span:nth-child(2) { top: 22px; }
.tcw .burger span:nth-child(3) { top: 27px; }
.tcw .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.tcw .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tcw .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.tcw .drawer {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 99;
  background: rgba(4, 6, 13, 0.97);
  backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
  padding: 30px var(--gutter) 44px;
  overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.tcw .drawer.open { opacity: 1; transform: none; visibility: visible; }
.tcw .drawer a.d-link {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--f-display); font-size: 26px; font-weight: 600; letter-spacing: -0.03em;
  padding: 17px 0; border-bottom: 1px solid var(--ink-07); color: var(--ink-100);
}
.tcw .drawer a.d-link span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; color: var(--ink-40); }
.tcw .drawer a.d-link.on { color: var(--cyan); }
.tcw .drawer .btn { width: 100%; margin-top: 30px; }
.tcw .drawer-foot { margin-top: 34px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--ink-40); text-transform: uppercase; }

/* ---------- 8. Hero ---------- */
.tcw .hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 70px) 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.tcw .hero-media { position: absolute; inset: 0; z-index: -2; }
.tcw .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.tcw .hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(96deg, rgba(4,6,13,.96) 0%, rgba(4,6,13,.86) 34%, rgba(4,6,13,.42) 62%, rgba(4,6,13,.72) 100%),
    linear-gradient(to top, var(--navy-950) 1%, transparent 46%);
}
.tcw .hero-in { position: relative; z-index: 2; width: 100%; }
.tcw .hero-copy { max-width: 700px; }
.tcw .hero-copy .lead { margin-top: 26px; font-size: 21px; max-width: 52ch; }

.tcw .hero-tag {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 7px 8px 7px 14px; margin-bottom: 30px;
  border: 1px solid var(--glass-line); border-radius: 999px;
  background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-70);
}
.tcw .hero-tag b { color: var(--white); font-weight: 500; }
.tcw .hero-tag i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex: none;
  box-shadow: 0 0 0 4px rgba(79,216,255,.18);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.tcw .hero-rail {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; margin-top: 78px;
  border: 1px solid var(--glass-line); border-radius: var(--radius);
  background: var(--glass-line); overflow: hidden;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.tcw .hero-rail div { background: rgba(7,10,22,.66); padding: 24px 26px; }
.tcw .hero-rail dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 10px; }
.tcw .hero-rail dd { margin: 0; font-family: var(--f-display); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--white); }

.tcw .scroll-cue {
  position: absolute; left: 50%; bottom: 30px; z-index: 3;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-40);
}
.tcw .scroll-cue i { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--cyan), transparent); }

/* Page hero (interior pages) */
.tcw .phero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h) + 108px) 0 96px;
}
.tcw .phero-media { position: absolute; inset: 0; z-index: -2; }
.tcw .phero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.tcw .phero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(4,6,13,.95) 4%, rgba(4,6,13,.80) 44%, rgba(4,6,13,.55) 100%),
    linear-gradient(to top, var(--navy-950) 2%, transparent 52%);
}
.tcw .phero-in { position: relative; z-index: 2; max-width: 780px; }
.tcw .phero .lead { margin-top: 24px; }

.tcw .crumb { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 20px; }
.tcw .crumb a:hover { color: var(--cyan); }
.tcw .crumb i { color: var(--ink-22); font-style: normal; margin: 0 8px; }

/* ---------- 9. Cards & glass ---------- */
.tcw .glasscard {
  position: relative;
  background: linear-gradient(168deg, rgba(255,255,255,.06), rgba(255,255,255,.018));
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform .5s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
  overflow: hidden;
}
.tcw .glasscard::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(79,216,255,.11), transparent 62%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.tcw .glasscard:hover { transform: translateY(-5px); border-color: rgba(79,216,255,.34); }
.tcw .glasscard:hover::before { opacity: 1; }
.tcw .glasscard h3 { margin-bottom: 13px; }
.tcw .glasscard p { font-size: 15.5px; line-height: 1.62; }

.tcw .ico {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 22px;
  display: grid; place-items: center; flex: none;
  background: linear-gradient(150deg, rgba(46,107,255,.28), rgba(123,92,255,.16));
  border: 1px solid rgba(79,216,255,.22);
  color: var(--cyan);
}
.tcw .ico svg { width: 21px; height: 21px; }

.tcw .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcw .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tcw .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Numbered / lettered list */
.tcw .steps { display: grid; gap: 0; }
.tcw .step {
  display: grid; grid-template-columns: 92px 1fr; gap: 30px;
  padding: 34px 0; border-top: 1px solid var(--ink-12);
  transition: background .4s var(--ease);
}
.tcw .step:last-child { border-bottom: 1px solid var(--ink-12); }
.tcw .step-n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em; color: var(--cyan); padding-top: 6px; }
.tcw .step h3 { margin-bottom: 12px; }
.tcw .step p { font-size: 16px; }

/* Feature list */
.tcw .ticks { display: grid; gap: 14px; margin-top: 30px; }
.tcw .ticks li { display: flex; gap: 13px; font-size: 16px; color: var(--ink-70); align-items: flex-start; }
.tcw .ticks li::before {
  content: ""; flex: none; width: 17px; height: 17px; margin-top: 5px; border-radius: 50%;
  background: rgba(79,216,255,.13); border: 1px solid rgba(79,216,255,.4);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234FD8FF' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}

/* Chips */
.tcw .chips { display: flex; flex-wrap: wrap; gap: 9px; }
.tcw .chip {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--glass-line); background: var(--glass); color: var(--ink-70);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.tcw .chip:hover { border-color: rgba(79,216,255,.4); color: var(--white); }

/* Placeholder marker — no invented facts */
.tcw .tbc {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 8px;
  border: 1px dashed rgba(201,162,75,.55); background: rgba(201,162,75,.07); color: var(--gold);
  white-space: nowrap;
}
.tcw .tbc::before { content: "⌁"; font-size: 13px; line-height: 1; }
.tcw .tbc-block { display: block; padding: 22px 24px; border-radius: var(--radius); white-space: normal; letter-spacing: .04em; text-transform: none; font-size: 13px; line-height: 1.6; }

/* ---------- 10. Split media sections ---------- */
.tcw .split { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.tcw .split.wide-media { grid-template-columns: 0.86fr 1.14fr; }
.tcw .split.flip .split-media { order: -1; }

.tcw .split-media { position: relative; }
.tcw .frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--glass-line);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.03) inset;
  background: var(--navy-900);
}
.tcw .frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.tcw .frame.tall img { aspect-ratio: 4 / 5; }
.tcw .frame.wide img { aspect-ratio: 16 / 9; }
.tcw .frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(4,6,13,.62), transparent 52%);
}
.tcw .frame-glow { position: absolute; inset: -14% -10%; z-index: -1; }

/* ---------- Browser-window screenshot mockup (real product captures) ---------- */
.tcw .browser-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-line);
  background: var(--navy-850);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.75);
}
.tcw .browser-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px;
  background: var(--navy-900);
  border-bottom: 1px solid var(--ink-07);
}
.tcw .browser-dots { display: flex; gap: 7px; flex: none; }
.tcw .browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-22); }
.tcw .browser-url {
  flex: 1; font-family: var(--f-mono); font-size: 12px; color: var(--ink-40);
  background: rgba(255,255,255,.04); border: 1px solid var(--ink-07);
  border-radius: 8px; padding: 6px 12px; letter-spacing: .01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tcw .browser-body { max-height: 640px; overflow-y: auto; overflow-x: hidden; background: #fff; }
.tcw .browser-body img { display: block; width: 100%; height: auto; }
.tcw .browser-body.letterbox {
  height: 240px; max-height: none; overflow: hidden;
  background: #fff; padding: 18px 0; text-align: center;
}
.tcw .browser-body.letterbox img { display: inline-block; width: 92%; height: auto; max-width: 92%; }
.tcw .browser-body::-webkit-scrollbar { width: 9px; }
.tcw .browser-body::-webkit-scrollbar-track { background: var(--navy-900); }
.tcw .browser-body::-webkit-scrollbar-thumb { background: var(--ink-22); border-radius: 6px; }
.tcw .browser-caption {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-40); margin-top: 14px;
}
.tcw .browser-caption .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex: none; }

/* ---------- A2Z tutorial module rows ---------- */
.tcw .module-row {
  display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 60px; align-items: start;
  padding: 56px 0; border-bottom: 1px solid var(--ink-07);
}
.tcw .module-row:last-child { border-bottom: none; }
.tcw .module-row.flip .module-copy { order: 2; }
.tcw .module-row.flip .module-shot { order: 1; }
.tcw .module-n {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: var(--cyan);
  margin-bottom: 14px; display: block;
}
.tcw .module-copy h3 { font-size: 25px; margin-bottom: 14px; }
.tcw .module-copy p { font-size: 15.5px; line-height: 1.68; color: var(--ink-70); }
.tcw .module-copy ul.ticks { margin-top: 18px; }
@media (max-width: 900px) {
  .tcw .module-row, .tcw .module-row.flip { grid-template-columns: 1fr; gap: 26px; }
  .tcw .module-row.flip .module-copy, .tcw .module-row.flip .module-shot { order: unset; }
  .tcw .browser-body { max-height: 420px; }
}

/* Floating stat panel over media */
.tcw .float-panel {
  position: absolute; z-index: 3;
  background: rgba(8,11,24,.82);
  border: 1px solid var(--glass-line);
  border-radius: 15px; padding: 18px 21px;
  backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 26px 52px -22px rgba(0,0,0,.85);
  max-width: 250px;
}
.tcw .float-panel.br { right: -22px; bottom: -22px; }
.tcw .float-panel.bl { left: -22px; bottom: -22px; }
.tcw .float-panel.tr { right: -22px; top: -22px; }
.tcw .float-panel dt { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 8px; }
.tcw .float-panel dd { margin: 0; font-family: var(--f-display); font-size: 15px; font-weight: 600; color: var(--white); letter-spacing: -0.02em; line-height: 1.3; }

/* ---------- 11. Band (tagline strip) ---------- */
.tcw .band { position: relative; overflow: hidden; isolation: isolate; padding: 118px 0; text-align: center; }
.tcw .band-media { position: absolute; inset: 0; z-index: -2; }
.tcw .band-media img { width: 100%; height: 100%; object-fit: cover; }
.tcw .band-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--navy-950) 0%, rgba(4,6,13,.72) 34%, rgba(4,6,13,.72) 66%, var(--navy-950) 100%);
}
.tcw .band-line {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(34px, 4.6vw, 68px); line-height: 1.12; letter-spacing: -0.038em;
  color: var(--white);
}
.tcw .band-line b { font-weight: 600; display: block; }
.tcw .band .small { margin: 28px auto 0; max-width: 46ch; }

/* ---------- 12. Ecosystem constellation (signature) ---------- */
.tcw .eco { position: relative; }
.tcw .eco-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.tcw .eco-stage { position: relative; aspect-ratio: 1 / 1; max-width: 620px; margin: 0 auto; width: 100%; }
.tcw .eco-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tcw .eco-ring { fill: none; stroke: var(--ink-12); stroke-width: 1; }
.tcw .eco-links.spin { animation: eco-spin 62s linear infinite; }
@keyframes eco-spin { to { transform: rotate(360deg); } }
.tcw .eco-link { stroke: rgba(79,216,255,.16); stroke-width: 1; transition: stroke .4s var(--ease), stroke-width .4s var(--ease); }
.tcw .eco-link.lit { stroke: rgba(79,216,255,.75); stroke-width: 1.6; }
.tcw .eco-node { cursor: pointer; pointer-events: auto; }
.tcw .eco-node circle.hit, .tcw .eco-node rect.hit { fill: transparent; }
.tcw .eco-node text { pointer-events: none; }
.tcw .eco-node circle.dot {
  fill: var(--navy-800); stroke: rgba(79,216,255,.45); stroke-width: 1.2;
  transition: fill .35s var(--ease), stroke .35s var(--ease), r .35s var(--ease);
}
.tcw .eco-node text {
  font-family: var(--f-mono); font-size: 9.6px; letter-spacing: .12em; text-transform: uppercase;
  fill: var(--ink-55); transition: fill .35s var(--ease);
}
.tcw .eco-node:hover circle.dot, .tcw .eco-node.on circle.dot { fill: var(--cyan); stroke: var(--cyan); r: 6.4; }
.tcw .eco-node:hover text, .tcw .eco-node.on text { fill: var(--white); }
.tcw .eco-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 40%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 16px;
  background: radial-gradient(circle at 34% 26%, rgba(46,107,255,.42), rgba(123,92,255,.16) 58%, transparent 74%);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.tcw .eco-core b { font-family: var(--f-display); font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--white); display: block; }
.tcw .eco-core span { font-family: var(--f-mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-40); margin-top: 7px; display: block; }
.tcw .eco-readout { min-height: 148px; }
.tcw .eco-readout .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.tcw .eco-readout h3 { font-size: 30px; letter-spacing: -0.03em; margin-bottom: 14px; }
.tcw .eco-readout p { font-size: 16.5px; }
.tcw .eco-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tcw .eco-list button {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 7px; border: 1px solid var(--ink-12);
  background: transparent; color: var(--ink-55); transition: all .3s var(--ease);
}
.tcw .eco-list button:hover { border-color: rgba(79,216,255,.4); color: var(--white); }
.tcw .eco-list button.on { border-color: var(--cyan); color: var(--white); background: rgba(79,216,255,.1); }

/* ---------- 13. Audience cards (image cards) ---------- */
.tcw .aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcw .aud-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--glass-line); min-height: 430px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 34px; isolation: isolate;
  transition: transform .55s var(--ease), border-color .4s var(--ease);
}
.tcw .aud-card:hover { transform: translateY(-6px); border-color: rgba(79,216,255,.34); }
.tcw .aud-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tcw .aud-card:hover img { transform: scale(1.055); }
.tcw .aud-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(4,6,13,.96) 4%, rgba(4,6,13,.62) 42%, rgba(4,6,13,.18) 100%);
}
.tcw .aud-card .k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.tcw .aud-card h3 { font-size: 25px; margin-bottom: 12px; }
.tcw .aud-card p { font-size: 15.5px; color: var(--ink-70); }
.tcw .aud-card .btn-text { margin-top: 20px; }

/* ---------- 14. Metric / capability strips ---------- */
.tcw .strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--ink-12); border: 1px solid var(--ink-12); border-radius: var(--radius); overflow: hidden;
}
.tcw .strip > div { background: var(--navy-900); padding: 30px 28px; }
.tcw .strip dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 12px; }
.tcw .strip dd { margin: 0; font-size: 15.5px; color: var(--ink-70); line-height: 1.55; }
.tcw .strip dd strong { display: block; font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--white); letter-spacing: -0.024em; margin-bottom: 8px; }

/* ---------- 15. Accordion ---------- */
.tcw .acc { border-top: 1px solid var(--ink-12); }
.tcw .acc-item { border-bottom: 1px solid var(--ink-12); }
.tcw .acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 27px 0; text-align: left;
  font-family: var(--f-display); font-size: 19px; font-weight: 600; letter-spacing: -0.024em; color: var(--white);
}
.tcw .acc-btn i {
  flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--ink-22);
  position: relative; transition: border-color .3s var(--ease), transform .4s var(--ease);
}
.tcw .acc-btn i::before, .tcw .acc-btn i::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--cyan);
  transform: translate(-50%,-50%); transition: opacity .3s var(--ease);
}
.tcw .acc-btn i::before { width: 10px; height: 1.4px; }
.tcw .acc-btn i::after { width: 1.4px; height: 10px; }
.tcw .acc-item.open .acc-btn i { border-color: var(--cyan); transform: rotate(90deg); }
.tcw .acc-item.open .acc-btn i::after { opacity: 0; }
.tcw .acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.tcw .acc-item.open .acc-body { grid-template-rows: 1fr; }
.tcw .acc-body > div { overflow: hidden; }
.tcw .acc-body p { padding-bottom: 27px; font-size: 16px; max-width: 74ch; }

/* ---------- 16. Forms ---------- */
.tcw .form { display: grid; gap: 20px; }
.tcw .fld { display: grid; gap: 9px; }
.tcw .fld.half-set { grid-template-columns: 1fr 1fr; gap: 20px; }
.tcw .fld label { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-55); }
.tcw .fld input, .tcw .fld select, .tcw .fld textarea {
  width: 100%; padding: 15px 17px;
  background: rgba(255,255,255,.035); border: 1px solid var(--glass-line); border-radius: 12px;
  color: var(--ink-100); font-family: var(--f-body); font-size: 16px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.tcw .fld textarea { min-height: 128px; resize: vertical; }
.tcw .fld input:focus, .tcw .fld select:focus, .tcw .fld textarea:focus {
  outline: none; border-color: rgba(79,216,255,.55); background: rgba(255,255,255,.055);
}
.tcw .fld input::placeholder, .tcw .fld textarea::placeholder { color: var(--ink-40); }
.tcw .fld select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234FD8FF' stroke-width='2.4' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 16px; padding-right: 44px; }
.tcw .fld select option { background: var(--navy-800); color: var(--ink-100); }
.tcw .form-note { font-size: 13.5px; color: var(--ink-40); line-height: 1.6; }
.tcw .form-msg {
  display: none; padding: 16px 18px; border-radius: 12px; font-size: 15px;
  border: 1px solid rgba(79,216,255,.4); background: rgba(79,216,255,.08); color: var(--ink-100);
}
.tcw .form-msg.show { display: block; }

/* ---------- 17. CTA ---------- */
.tcw .cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 140px 0; text-align: center;
}
.tcw .cta-media { position: absolute; inset: 0; z-index: -2; }
.tcw .cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
.tcw .cta-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--navy-950) 0%, rgba(4,6,13,.80) 40%, rgba(4,6,13,.88) 100%);
}
.tcw .cta .actions { justify-content: center; }
.tcw .cta .lead { margin: 26px auto 0; }

/* ---------- 18. Footer ---------- */
.tcw .ftr { position: relative; border-top: 1px solid var(--ink-12); background: var(--navy-900); padding: 84px 0 34px; overflow: hidden; }
.tcw .ftr-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 44px; }
.tcw .ftr-brand .logo { margin-bottom: 22px; }
.tcw .ftr-brand p { font-size: 15px; max-width: 34ch; }
.tcw .ftr-tag { font-family: var(--f-display); font-size: 15px; font-weight: 600; letter-spacing: -0.02em; color: var(--white); margin-top: 20px; }
.tcw .ftr-tag span { color: var(--cyan); }
.tcw .ftr-col h4 { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-40); margin-bottom: 18px; }
.tcw .ftr-col li { margin-bottom: 11px; }
.tcw .ftr-col a { font-size: 14.5px; color: var(--ink-70); transition: color .25s var(--ease); }
.tcw .ftr-col a:hover { color: var(--cyan); }
.tcw .ftr-bot {
  margin-top: 62px; padding-top: 26px; border-top: 1px solid var(--ink-07);
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--ink-40);
}
.tcw .ftr-bot .legal { display: flex; flex-wrap: wrap; gap: 20px; }
.tcw .ftr-bot a:hover { color: var(--cyan); }

/* Mobile sticky action bar */
.tcw .mbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(5,8,17,.93);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--ink-12);
  gap: 10px;
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.tcw .mbar.up { transform: none; }
.tcw .mbar .btn { flex: 1; padding: 14px 16px; font-size: 14.5px; }

/* ---------- 19. Reveal motion ---------- */
.tcw [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.tcw [data-rv].in { opacity: 1; transform: none; }
.tcw [data-rv-d="1"] { transition-delay: .09s; }
.tcw [data-rv-d="2"] { transition-delay: .18s; }
.tcw [data-rv-d="3"] { transition-delay: .27s; }
.tcw [data-rv-d="4"] { transition-delay: .36s; }

.tcw .par { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .tcw { scroll-behavior: auto; }
  .tcw *, .tcw *::before, .tcw *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .tcw [data-rv] { opacity: 1; transform: none; }
  .tcw .par { transform: none !important; }
  .tcw .eco-links.spin { animation: none; }
}

/* ==========================================================================
   RESPONSIVE — each breakpoint composed independently
   ========================================================================== */

/* ---- Large desktop trim ---- */
@media (max-width: 1240px) {
  :root { --gutter: 32px; --sec-y: 112px; }
  .tcw .nav a { padding: 9px 10px; font-size: 14px; }
  .tcw .hdr-in { gap: 18px; }
}

/* ---- TABLET LANDSCAPE / small laptop: 1024px ----
   Raised from the original 1080px cutoff: the header CTA is now two
   buttons (Hotel Partners / Agent Partners) instead of one, so the
   full nav + both buttons need more room before folding into the
   hamburger menu, or the last nav item and second button get clipped. */
@media (max-width: 1180px) {
  :root { --sec-y: 104px; --nav-h: 70px; }

  .tcw .nav, .tcw .hdr-cta { display: none; }
  .tcw .burger { display: block; }

  /* Tablet: hero becomes a stacked cinematic panel with full-bleed media behind copy */
  .tcw .hero { min-height: auto; padding: calc(var(--nav-h) + 64px) 0 72px; }
  .tcw .hero-media img { object-position: 58% 44%; }
  .tcw .hero-media::after {
    background:
      linear-gradient(to bottom, rgba(4,6,13,.86) 0%, rgba(4,6,13,.62) 40%, rgba(4,6,13,.92) 100%),
      linear-gradient(to top, var(--navy-950) 2%, transparent 44%);
  }
  .tcw .hero-copy { max-width: 640px; }
  .tcw .hero-rail { grid-template-columns: repeat(2, 1fr); margin-top: 52px; }

  /* Tablet: split becomes stacked with media leading, generous breathing room */
  .tcw .split, .tcw .split.wide-media { grid-template-columns: 1fr; gap: 46px; }
  .tcw .split.flip .split-media { order: 0; }
  .tcw .split-copy { max-width: 640px; }
  .tcw .frame img, .tcw .frame.tall img { aspect-ratio: 16 / 9; }
  .tcw .float-panel { max-width: 220px; }
  .tcw .float-panel.br { right: 16px; bottom: 16px; }
  .tcw .float-panel.bl { left: 16px; bottom: 16px; }
  .tcw .float-panel.tr { right: 16px; top: 16px; }

  /* Tablet: ecosystem stacks — stage first at comfortable size */
  .tcw .eco-wrap { grid-template-columns: 1fr; gap: 48px; }
  .tcw .eco-stage { max-width: 520px; order: -1; }
  .tcw .eco-readout { min-height: auto; }

  .tcw .grid-3, .tcw .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tcw .aud { grid-template-columns: repeat(2, 1fr); }
  .tcw .aud-card { min-height: 380px; }
  .tcw .aud-card:nth-child(3) { grid-column: 1 / -1; min-height: 320px; }
  .tcw .strip { grid-template-columns: repeat(2, 1fr); }
  .tcw .phero { padding: calc(var(--nav-h) + 78px) 0 74px; }
  .tcw .band { padding: 96px 0; }
  .tcw .cta { padding: 112px 0; }
  .tcw .step { grid-template-columns: 68px 1fr; gap: 22px; }
}

/* ---- TABLET PORTRAIT: 820px ---- */
@media (max-width: 860px) {
  :root { --gutter: 26px; --sec-y: 88px; }
  .tcw { font-size: 16.5px; }

  .tcw .t-hero { font-size: clamp(40px, 7.4vw, 56px); }
  .tcw .lead, .tcw .hero-copy .lead { font-size: 18.5px; }

  .tcw .head { margin-bottom: 46px; }
  .tcw .grid-2 { grid-template-columns: 1fr; }
  .tcw .ftr-top { grid-template-columns: 1fr 1fr; gap: 38px; }
  .tcw .ftr-brand { grid-column: 1 / -1; }
  .tcw .fld.half-set { grid-template-columns: 1fr; }
}

/* ---- MOBILE: 640px and below — composed for one thumb ---- */
@media (max-width: 640px) {
  :root { --gutter: 20px; --sec-y: 72px; --nav-h: 64px; --radius: 15px; --radius-lg: 20px; }
  .tcw { font-size: 16px; line-height: 1.6; }

  /* Mobile type scale is set explicitly, not scaled down from desktop */
  .tcw .t-hero { font-size: 37px; line-height: 1.06; letter-spacing: -0.036em; }
  .tcw .t-display { font-size: 30px; letter-spacing: -0.03em; }
  .tcw .t-section { font-size: 27px; letter-spacing: -0.028em; }
  .tcw .t-card { font-size: 20px; }
  .tcw .lead, .tcw .hero-copy .lead { font-size: 17px; line-height: 1.6; }
  .tcw p { font-size: 15.5px; }
  .tcw .eyebrow { font-size: 10.5px; letter-spacing: .18em; margin-bottom: 16px; }

  .tcw .logo-mark { width: 26px; height: 26px; }
  .tcw .logo-name { font-size: 16.5px; }
  .tcw .logo-sub { font-size: 7.5px; letter-spacing: .26em; }
  .tcw .burger { width: 40px; height: 40px; }
  .tcw .burger span { left: 11px; }
  .tcw .drawer { padding: 22px var(--gutter) 120px; }
  .tcw .drawer a.d-link { font-size: 21px; padding: 14px 0; }

  /* Mobile hero: portrait crop, copy first, compact rail as 2×2 */
  .tcw .hero { min-height: auto; padding: calc(var(--nav-h) + 44px) 0 56px; }
  .tcw .hero-media img { object-position: 64% 40%; }
  .tcw .hero-media::after {
    background:
      linear-gradient(to bottom, rgba(4,6,13,.90) 0%, rgba(4,6,13,.70) 34%, rgba(4,6,13,.96) 100%);
  }
  .tcw .hero-tag { margin-bottom: 22px; font-size: 10px; padding: 6px 7px 6px 12px; }
  .tcw .hero-rail { grid-template-columns: 1fr 1fr; margin-top: 38px; border-radius: 14px; }
  .tcw .hero-rail div { padding: 16px 15px; }
  .tcw .hero-rail dt { font-size: 9.5px; margin-bottom: 7px; }
  .tcw .hero-rail dd { font-size: 14px; }
  .tcw .scroll-cue { display: none; }

  .tcw .actions { gap: 11px; margin-top: 28px; }
  .tcw .actions .btn { flex: 1 1 100%; }
  .tcw .btn { padding: 15px 22px; }

  .tcw .phero { padding: calc(var(--nav-h) + 52px) 0 56px; }
  .tcw .phero-media img { object-position: 54% 38%; }

  .tcw .sec, .tcw .sec-tight { padding: var(--sec-y) 0; }
  .tcw .split, .tcw .split.wide-media { gap: 30px; }
  .tcw .frame img, .tcw .frame.tall img, .tcw .frame.wide img { aspect-ratio: 4 / 3; }

  /* Panels move inside the frame on mobile so nothing clips the viewport */
  .tcw .float-panel { position: static; max-width: none; margin-top: 14px; border-radius: 13px; padding: 15px 17px; }
  .tcw .float-panel.br, .tcw .float-panel.bl, .tcw .float-panel.tr { right: auto; left: auto; top: auto; bottom: auto; }

  .tcw .glasscard { padding: 24px 22px; }
  .tcw .grid-3, .tcw .grid-4, .tcw .grid-2, .tcw .aud { grid-template-columns: 1fr; gap: 14px; }
  .tcw .aud-card { min-height: 340px; padding: 26px 22px; }
  .tcw .aud-card:nth-child(3) { grid-column: auto; min-height: 340px; }

  .tcw .strip { grid-template-columns: 1fr; }
  .tcw .strip > div { padding: 22px 20px; }

  /* Ecosystem on mobile: stage shrinks, node labels hidden, list becomes the control */
  .tcw .eco-stage { max-width: 340px; }
  .tcw .eco-node text { display: none; }
  .tcw .eco-core b { font-size: 13px; }
  .tcw .eco-core span { font-size: 8px; }
  .tcw .eco-readout h3 { font-size: 23px; }
  .tcw .eco-list { gap: 6px; }
  .tcw .eco-list button { font-size: 9.5px; padding: 6px 9px; }

  .tcw .step { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .tcw .step-n { padding-top: 0; }
  .tcw .band { padding: 74px 0; }
  .tcw .band-line { font-size: 29px; }
  .tcw .cta { padding: 88px 0; }

  .tcw .acc-btn { font-size: 17px; padding: 22px 0; gap: 16px; }
  .tcw .acc-body p { font-size: 15.5px; padding-bottom: 22px; }

  .tcw .ftr { padding: 60px 0 26px; }
  .tcw .ftr-top { grid-template-columns: 1fr; gap: 32px; }
  .tcw .ftr-bot { margin-top: 42px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .tcw .ftr-bot .legal { gap: 16px; }

  .tcw .mbar { display: flex; }
  .tcw { padding-bottom: 0; }
  .tcw .ftr { padding-bottom: 96px; }
  .tcw .glow { filter: blur(64px); opacity: .42; }
  .tcw .grid-lines { background-size: 54px 54px; }
}

/* ---- Small mobile ---- */
@media (max-width: 380px) {
  .tcw .t-hero { font-size: 33px; }
  .tcw .hero-rail { grid-template-columns: 1fr; }
  .tcw .eco-stage { max-width: 290px; }
}

/* ---- Print ---- */
@media print {
  .tcw .hdr, .tcw .drawer, .tcw .mbar, .tcw .scroll-cue, .tcw .glow, .tcw .grid-lines { display: none !important; }
  .tcw { background: #fff; color: #000; }
  .tcw .frame img { max-height: 300px; }
}

/* ---- "Chat with TESSMA" (WhatsApp) — PRODUCTION REPAIR 07-08-2026 ----
   Mounted in _app.tsx, outside any single page's .tcw wrapper, so these
   rules are deliberately NOT .tcw-scoped (unlike everything above). */
.tcw-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 150; /* above .mbar (95), below the cookie banner (500) — belt and
                   braces on top of WhatsAppChat.js hiding itself outright
                   while the cookie banner is visible. */
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px 13px 14px;
  background: var(--navy-900);
  border: 1px solid var(--ink-22);
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--f-body);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(4, 6, 13, 0.45);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.tcw-whatsapp svg { color: var(--gold); flex: none; }
.tcw-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(4, 6, 13, 0.55); background: var(--navy-800); }

/* Tablet — same widget, touch-friendly target already satisfied by the
   13px/18px padding above (>= 44px tap height). */
@media (max-width: 1024px) {
  .tcw-whatsapp { bottom: 20px; }
}

/* Mobile — compact, icon-only, and raised clear of the full-width .mbar
   sticky action bar (fixed bottom:0 on this breakpoint — see .tcw .mbar
   above) so it never covers those buttons or the cookie banner. */
@media (max-width: 640px) {
  .tcw-whatsapp {
    right: 14px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    padding: 12px;
    border-radius: 50%;
  }
  .tcw-whatsapp-label { display: none; }
}

@media print {
  .tcw-whatsapp { display: none !important; }
}

/* ══════════════════════════════════════════════════════════════════════
   GROUP STRUCTURE SECTION — uses the approved reference image directly,
   simply aligned and made responsive, rather than reconstructed as
   separate HTML/CSS components.
   ══════════════════════════════════════════════════════════════════════ */
.tcw .grp-image-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--glass-line);
}
.tcw .grp-image-wrap img { width: 100%; height: auto; display: block; }

.tcw .vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.tcw .grp-text-fallback {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 22px;
}
.tcw .grp-text-fallback h3 { font-family: var(--f-display); font-size: 17px; font-weight: 700; color: var(--white); margin: 0 0 6px; }
.tcw .grp-text-fallback p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.85); margin: 0; }

@media (max-width: 640px) {
  .tcw .grp-text-fallback { grid-template-columns: 1fr; }
}

@media print {
  .tcw-whatsapp { display: none !important; }
}
