:root {
  /* Brand guide */
  --primary: #023047;
  --secondary: #e5e5e5;
  --accent-gold: #e7a951;
  --accent-teal: #00b4d8;
  /* UI */
  --ink: #0b0b0b;
  --muted: #666;
  --bg: #ffffff;
  --panel: #ffffff;
  --max: 1150px;
  --radius: 16px;
  --halo: 0 14px 42px rgba(2, 48, 71, .08);
  --section-pad: clamp(40px, 6vw, 80px);
  --focus: #005a8c;
}

/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; overflow-x: hidden; }

/* Smooth scroll for anchors */
html { 
  height: auto; 
  scroll-padding-top: 100px; 
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 "Lexend Deca", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: 64px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }

/* Layout helpers */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
.center { text-align: center; }

/* Spacing */
.section-tight { padding-block: clamp(24px, 4vw, 40px); }
.section-normal { padding-block: clamp(40px, 5vw, 70px); }
.section-spacious { padding-block: clamp(60px, 6vw, 90px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 1.2rem;
}

/* Buttons (Lift & Glow) */
.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary);
  background: var(--primary);
  color: #fff;
  padding: .9rem 1.6rem; 
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  min-height: 48px; 
  min-width: 44px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  z-index: 1;
}
.btn:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -6px rgba(2, 48, 71, 0.4); }
.btn:active { transform: translateY(-1px); box-shadow: 0 4px 8px -4px rgba(2, 48, 71, 0.4); filter: brightness(0.95); }
.btn.gold { background: var(--accent-gold); border-color: var(--accent-gold); color: #332400; }
.btn.gold:hover { box-shadow: 0 14px 28px -8px rgba(231, 169, 81, 0.6); }
.btn.teal { background: var(--accent-teal); border-color: var(--accent-teal); color: #003244; }
.btn.teal:hover { box-shadow: 0 14px 28px -8px rgba(0, 180, 216, 0.6); }
.btn.alt { background: #fff; color: var(--primary); border-color: #e5e5e5; }
.btn.alt:hover { border-color: var(--primary); box-shadow: 0 12px 24px -6px rgba(0,0,0,0.15); }

/* Selection */
::selection { background: var(--accent-gold); color: #332400; }

/* Skip link */
.skip-link {
  position: fixed; left: 12px; top: 8px; z-index: 1001;
  background: #fff; color: #000; padding: .5rem .75rem; border-radius: 8px;
  border: 1px solid var(--secondary); box-shadow: var(--halo);
  transform: translateY(-150%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* Top nav */
nav.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 1000;
  background: #fff; border-bottom: 1px solid var(--secondary);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
nav.nav.nav--scrolled { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06); border-color: rgba(0, 0, 0, 0.04); }
nav.nav.nav--hidden { transform: translateY(-100%); box-shadow: none; }

.nav-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .2px; color: var(--primary); text-decoration: none; }
.logo img { width: auto; height: auto; max-height: 70px; padding: 0; }
.logo-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.0; font-weight: 900; letter-spacing: .2px; font-size: clamp(.75rem, 1.8vw, .95rem); }
.logo-text > span + span { margin-top: 2px; }
.nav-cta { display: flex; gap: 10px; }

/* Nav Link Swoop */
nav.nav a:not(.btn):not(.logo) { position: relative; font-weight: 600; }
nav.nav a:not(.btn):not(.logo)::after { content: ''; position: absolute; width: 100%; transform: scaleX(0); height: 2px; bottom: -4px; left: 0; background-color: var(--primary); transform-origin: bottom right; transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1); }
nav.nav a:not(.btn):not(.logo):hover::after { transform: scaleX(1); transform-origin: bottom left; }

/* HERO */
header.hero {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(100px, 12vw, 160px); 
  padding-inline: 24px;
  position: relative;
  z-index: 1;
  background: radial-gradient(circle at center, #ffffff 0%, #f2f4f6 100%);
}
header.hero::before {
  content: "";
  position: absolute; 
  inset: 0; 
  opacity: 0.15; 
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}
header.hero h1 {
  position: relative; margin: 0 auto 24px; font-size: clamp(3rem, 8vw, 5.2rem); line-height: 0.95; letter-spacing: -0.03em; text-align: center;
  background: linear-gradient(180deg, var(--primary) 20%, #1a4a63 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; padding-bottom: 10px;
}
header.hero .subhead { position: relative; font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--ink); font-weight: 500; max-width: 55ch; margin: 0 auto 32px; text-align: center; }
.cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
header.hero .lead { margin: clamp(24px, 3vw, 36px) auto; text-align: center; font-size: clamp(1.0625rem, 2.4vw, 1.25rem); max-width: 60ch; color: var(--muted); position: relative; z-index: 1; }
.hero-fx { z-index: 0; }
.hero-head { transform-origin: top center; opacity: 1; }
@media (max-width: 480px) { header.hero #book { flex-direction: column; gap: 10px; } header.hero #book .btn { inline-size: 100%; min-inline-size: 0; } }

/* FEATURED WORK STRIP */
.work-band { 
  background: #14141a; transform: rotate(-2deg) scale(1.02); transform-origin: center; margin-top: -4vw; margin-bottom: 40px; padding-block: clamp(24px, 4vw, 36px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); position: relative; z-index: 2; overflow: hidden; 
}
.work-band::before, .work-band::after { content: ""; position: absolute; left: 0; right: 0; height: 40px; pointer-events: none; z-index: 2; }
.work-band::before { top: 0; background: linear-gradient(to bottom, #14141a, transparent); }
.work-band::after { bottom: 0; background: linear-gradient(to top, #14141a, transparent); }
.work-band .wrap { max-width: none; padding-inline: 0; }
.work-strip { max-width: 100%; margin: 0 auto; position: relative; }
.work-strip-viewport { position: relative; overflow: hidden; padding-block: clamp(4px, 1.4vw, 8px); -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); }
.work-strip-track {
  display: flex;
  gap: clamp(14px, 1.4vw, 22px);
  width: max-content;
  animation: scroll-left 45s linear infinite;
  will-change: transform; 
}
.work-strip-track:hover { animation-play-state: paused; }
.work-strip-track.off-screen { animation-play-state: paused !important; }
@keyframes scroll-left { to { transform: translateX(-50%); } }
.work-card { flex: 0 0 23vw; max-width: 280px; min-width: 160px; margin-inline: 0; padding: 18px 0; position: relative; }
.work-card img { border-radius: 14px; transform-origin: center center; transition: transform .28s ease, box-shadow .28s ease; width: 100%; height: auto; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.work-card:hover img { transform: scale(1.05); }
@media (max-width: 400px) { .work-card { flex: 0 0 45vw; } }

/* DIRECT RESPONSE */
.manifesto-box { max-width: 800px; margin: 0 auto 60px; }
.manifesto-box h2 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.02em; margin-bottom: 30px; text-align: center; }
.manifesto-box .highlight { font-weight: 400; font-style: italic; font-family: serif; color: var(--muted); }
.manifesto-text { display: flex; flex-direction: column; align-items: center; gap: 20px; font-size: 1.25rem; line-height: 1.6; color: #444; text-align: center; }
.manifesto-text strong { color: var(--primary); background: rgba(231, 169, 81, 0.2); padding: 0 4px; }
.divider { width: 2px; height: 40px; background: var(--accent-gold); margin: 10px 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 34px; content-visibility: auto; contain-intrinsic-size: 500px 400px; }
@media (max-width: 980px) { .features { grid-template-columns: 1fr; } }

/* FLIP CARDS */
.features-flip { perspective: 1200px; }
.features.features-flip { overflow: visible; content-visibility: visible; contain-intrinsic-size: auto; padding-block: 6px; padding-inline: 4px; justify-items: center; }
.feat.flip-card { 
  position: relative; margin: 12px; padding: 0; background: #ffffff; border-radius: 16px; border: 1px solid var(--secondary); box-shadow: 0 6px 18px rgba(0,0,0,0.06); overflow: hidden; transition: box-shadow 0.15s ease, transform 0.15s ease; width: 100%; max-width: 360px; min-height: 400px; 
}
.feat.flip-card:hover, .feat.flip-card:focus-within { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.12); }
.feat.flip-card .feat-inner { position: relative; width: 100%; height: 100%; min-height: 400px; transform-style: preserve-3d; transition: transform 0.55s cubic-bezier(.22, .61, .36, 1); cursor: pointer; outline: none; }
.feat.flip-card:hover .feat-inner, .feat.flip-card:focus-within .feat-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; padding: 18px; background: #ffffff; display: flex; flex-direction: column; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-front { align-items: center; text-align: center; justify-content: center; }
.flip-front h3 { margin: 0 0 24px; font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.feat-icon { display: block; width: 180px; height: 180px; object-fit: contain; margin: 0 auto; border-radius: 0; background: transparent; }
.flip-back { transform: rotateY(180deg); align-items: center; justify-content: center; text-align: center; padding: 30px; }
.flip-back h3 { margin-bottom: 20px; font-size: 1.3rem; font-weight: 800; color: var(--primary); position: static; clip: auto; width: auto; height: auto; white-space: normal; overflow: visible; }
.flip-back p { font-size: 1.1rem; line-height: 1.6; color: #444; margin: 0; }
@media (prefers-reduced-motion: reduce) { .feat.flip-card .feat-inner { transform: none !important; transition: none !important; } .flip-back { display: none; } }

/* JOURNEY TIMELINE */
.journey-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.journey-head { position: sticky; top: 100px; }
.journey-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 10px; line-height: 1.1; }
.journey-head .lead-text { color: var(--muted); font-size: 1.15rem; max-width: 30ch; margin-top: 16px; }
.journey-steps { border-left: 2px solid #e5e5e5; padding-left: 40px; display: flex; flex-direction: column; gap: 50px; }
.j-step { position: relative; }
.j-marker { position: absolute; left: -61px; top: 0; width: 40px; height: 40px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; border: 4px solid #fff; box-shadow: 0 0 0 2px #e5e5e5; }
.j-content h3 { margin: 0 0 10px; font-size: 1.4rem; color: var(--primary); }
.j-content p { margin: 0; color: #555; line-height: 1.6; font-size: 1.05rem; }
@media (max-width: 768px) { .journey-layout { grid-template-columns: 1fr; } .journey-head { position: relative; top: auto; margin-bottom: 40px; } }

/* CASE STUDIES (Expanded Layout) */
.tabs-wrapper { max-width: 100%; margin: 0 auto; }
.tab-list { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn { background: none; border: none; cursor: pointer; font-family: inherit; font-size: 1.1rem; font-weight: 600; padding: 10px 20px; border-radius: 99px; color: var(--muted); transition: all 0.2s ease; }
.tab-btn:hover { color: var(--primary); background: #f0f4f8; }
.tab-btn.active { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(2,48,71,0.15); }

/* --- FIX FOR JUMP GLITCH --- */
.tab-content { 
  min-height: 700px; /* Adjust to slightly more than your longest case study */
  position: relative;
  overflow: hidden;
}

.tab-panel { 
  opacity: 0; 
  transform: translateY(10px); 
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
  width: 100%;
}

/* While fading out, panels should not affect layout */
.tab-panel:not(.active) {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.tab-panel.active { 
  opacity: 1; 
  transform: translateY(0);
  position: relative; /* Only active panel defines the container height */
}

.tab-panel[hidden] { 
  display: none; 
}

/* Scroll To Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  width: 50px;
  height: 50px;
  background: var(--accent-gold); /* Matches your gold buttons */
  color: #332400;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* State when visible */
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Hover effects */
.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(231, 169, 81, 0.5);
}

.scroll-top:active {
  transform: translateY(-1px);
}

/* Hide on mobile if preferred, or adjust size */
@media (max-width: 600px) {
  .scroll-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

/* New Layout Structure */
.case-study-layout { background: #fff; border: 1px solid var(--secondary); border-radius: 24px; padding: 0; overflow: hidden; box-shadow: var(--halo); }
.case-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px; align-items: center; }
@media (max-width: 768px) { .case-top { grid-template-columns: 1fr; gap: 20px; padding: 24px; } }

.case-info h3 { margin-top: 0; font-size: 2rem; color: var(--primary); line-height: 1.1; margin-bottom: 16px; }
.case-desc { font-size: 1.1rem; color: #555; line-height: 1.6; margin-bottom: 24px; }
.case-quote { margin: 0; padding: 0; font-style: italic; border-left: 4px solid var(--accent-gold); padding-left: 20px; color: #444; font-size: 1.05rem; line-height: 1.6; }
.case-quote footer { margin-top: 12px; font-style: normal; font-size: 0.9rem; color: var(--primary); border: none; padding: 0; }

.case-visual-box { margin: 0; width: 100%; aspect-ratio: 4/3; background: #f2f2f2; border-radius: 16px; overflow: hidden; }
.case-visual-box img { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder { width: 100%; height: 100%; background: linear-gradient(45deg, #eee 25%, #f5f5f5 25%, #f5f5f5 50%, #eee 50%, #eee 75%, #f5f5f5 75%, #f5f5f5 100%); background-size: 20px 20px; }

/* Stats Strip */
.case-stats-grid { background: var(--primary); color: #fff; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; }
.stat-card { padding: 32px; text-align: center; position: relative; }
.stat-card:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: rgba(255,255,255,0.15); }
@media (max-width: 768px) { .case-stats-grid { grid-template-columns: 1fr; } .stat-card:not(:last-child)::after { display: none; } .stat-card { border-bottom: 1px solid rgba(255,255,255,0.1); } }

.stat-card strong { display: block; font-size: 2.5rem; color: #fff; margin-bottom: 8px; line-height: 1; }
.stat-card span { display: block; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; color: rgba(255,255,255,0.9); }
.stat-card p { margin: 0; font-size: 0.95rem; color: rgba(255,255,255,0.7); line-height: 1.4; max-width: 30ch; margin-inline: auto; }

/* VIDEO TESTIMONIALS */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 768px) { .video-grid { grid-template-columns: 1fr; } }
.video-card { background: #fff; padding: 24px; border-radius: 16px; border: 1px solid rgba(0,0,0,0.06); transition: transform 0.2s; display: flex; flex-direction: column; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.video-thumb { width: 100%; aspect-ratio: 16/9; background: #333; border-radius: 12px; margin-bottom: 20px; position: relative; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.play-btn { width: 64px; height: 64px; font-size: 24px; background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; border: 1px solid rgba(255,255,255,0.4); transition: transform 0.2s; will-change: transform; transform: translateZ(0);}
.video-thumb:hover .play-btn { transform: scale(1.1); background: var(--primary); border-color: var(--primary); }
.video-caption { font-weight: 500; color: var(--primary); margin: 0 0 16px; font-size: 1.15rem; line-height: 1.5; font-style: italic; }
.video-author { margin-top: auto; font-size: 0.95rem; color: var(--ink); line-height: 1.4; }
.video-author strong { display: block; font-weight: 800; color: var(--primary); font-size: 1rem; }
.video-author span { color: var(--muted); }

/* FLEXIBLE DEALS */
.dark-mode { background: var(--primary); color: #fff; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 850px) { .split-layout { grid-template-columns: 1fr; gap: 40px; } }
.highlight-box { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); padding: 40px; border-radius: 24px; backdrop-filter: blur(10px); will-change: transform; transform: translateZ(0);}
.highlight-box strong { color: var(--accent-gold); }

/* FAQ */
.faq-container { max-width: 800px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--secondary); margin-bottom: 16px; padding-bottom: 16px; }
.faq-item[open] { border-bottom-color: var(--primary); }
.faq-item summary { list-style: none; font-weight: 700; font-size: 1.2rem; color: var(--primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }
.faq-item summary::after { content: "+"; font-weight: 300; font-size: 1.5rem; color: var(--accent-teal); }
.faq-item[open] summary::after { content: "−"; }
.faq-body { color: #555; line-height: 1.6; padding-top: 8px; max-width: 65ch; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; margin-top: -10px; } to { opacity: 1; margin-top: 0; } }

/* FINAL CTA */
.final { 
  background: radial-gradient(circle at top right, #054461 0%, var(--primary) 60%);
  border: 1px solid rgba(231, 169, 81, 0.3); 
  border-radius: 24px; 
  padding: clamp(40px, 6vw, 80px); 
  box-shadow: 0 30px 60px -10px rgba(2, 48, 71, 0.3); 
  position: relative;
  overflow: hidden;
  color: #fff; 
}
.final::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15; 
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: soft-light; 
  z-index: 0;
}
.final::before {
  content: "";
  position: absolute;
  top: -50%; left: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.final > * { position: relative; z-index: 1; }
.final h2 { margin-top: 16px; margin-bottom: 20px; font-size: clamp(2rem, 5vw, 3.2rem); color: #ffffff; line-height: 1.1; }
.final .eyebrow { color: var(--accent-gold); }
.final .lead { margin-bottom: 40px; max-width: 60ch; margin-inline: auto; font-size: 1.2rem; color: rgba(255, 255, 255, 0.85); }
.final .btn { padding: 1.1rem 2.8rem; font-size: 1.15rem; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3); }

/* Footer */
footer { padding: 36px 0; color: #7b7b7b; text-align: center; border-top: 1px solid var(--secondary); }

/* BRANDS */
#brands { position: relative; z-index: 5; }
#brands .brands-panel { 
  background-color: #111D28;
  background-image: linear-gradient(163.82deg, #111D28 18%, #1D3143 73%);
  border-radius: var(--radius); box-shadow: 0 4px 27.4px 7px rgba(0, 0, 0, .25); 
  color: #fff; padding: clamp(28px, 6vw, 60px) clamp(18px, 5vw, 48px); text-align: center; 
  position: relative; overflow: hidden;
}
#brands .brands-headline { margin: 0 0 18px; font-weight: 600; font-size: clamp(1.8rem, 5vw, 3.25rem); line-height: 1.18; letter-spacing: -.01em; }
#brands .brands-headline .muted { opacity: .9; }
#brands .prefix { display: block; margin-top: 6px; margin-bottom: 4px; }
#brands .term-viewport { display: block; text-align: center; margin-top: 4px; line-height: 1.25; padding-bottom: 2px; white-space: normal; overflow-wrap: break-word; }
#brands .term { display: inline; transition: opacity 260ms ease; white-space: normal; }
#brands .term-gradient { background: linear-gradient(90deg, #c68b3a 0%, #e7a951 35%, #f3c87c 65%, #e7a951 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; }
#brands .brands-graphic { display: block; width: 100%; max-width: min(var(--max), 1100px); margin: clamp(10px, 3vw, 18px) auto clamp(6px, 2vw, 12px); }
#brands .brands-support { margin: clamp(12px, 3vw, 18px) auto 0; max-width: 72ch; color: rgba(255, 255, 255, .86); font-weight: 300; font-size: clamp(1rem, 2.2vw, 1.2rem); }

@media (max-width: 600px) {
  .tab-btn { font-size: 0.85rem; padding: 8px 14px; flex: 1 1 auto; text-align: center;}
}
@media (max-width: 400px) { #brands .brands-headline { font-size: clamp(1.6rem, 6vw, 2.2rem); } #brands .brands-support { font-size: 0.95rem; } }