/* ===========================================================
   TCL × iAgency — Partnership Review
   Design tokens
=========================================================== */
:root{
  --red: #d2000d;
  --red-dim: #a5000a;
  --red-bright: #ff2233;
  --gray: #666666;
  --gray-mid: #8a8a8a;
  --gray-soft: #b7b7b7;
  --gray-line: #dcdcdc;
  --ink: #131313;
  --charcoal: #1b1b1d;
  --charcoal-2: #262628;
  --white: #ffffff;
  --offwhite: #f4f3f2;

  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --font-mono: 'Montserrat', sans-serif;

  --ease: cubic-bezier(.22,.68,.36,1);
  --ease-in: cubic-bezier(.5,0,.75,0);
  --dur-s: .25s;
  --dur-m: .5s;
  --dur-l: .9s;

  --header-h: 100px;
  --header-h-scrolled: 82px;
  --radius: 18px;
  --radius-sm: 12px;

  --theme-bg: var(--white);
  --theme-fg: var(--ink);
  --theme-fg-soft: var(--gray);
  --theme-line: rgba(102,102,102,.16);
  --theme-card: var(--white);
  --theme-card-border: rgba(102,102,102,.14);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar{ display: none; width: 0; height: 0; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  padding-top: var(--header-h);
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: padding-top var(--dur-m) var(--ease);
}
body.header-scrolled{ padding-top: var(--header-h-scrolled); }

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
button{ font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection{ background: var(--red); color: #fff; }

/* focus visibility */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===========================================================
   Section theming
=========================================================== */
.section{
  position: relative;
  padding: 16px 0 70px;
  background: var(--theme-bg);
  color: var(--theme-fg);
  transition: background var(--dur-l) var(--ease);
  scroll-margin-top: 0;
}
.section:not(.section--hero){ scroll-margin-top: calc(var(--header-h-scrolled) + 20px); }
[id*="/"]{ scroll-margin-top: calc(var(--header-h-scrolled) + 20px); }
.section-inner{
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

.section[data-theme="white"]{
  --theme-bg: var(--white); --theme-fg: var(--ink); --theme-fg-soft: var(--gray);
  --theme-line: rgba(102,102,102,.16); --theme-card: #ffffff; --theme-card-border: rgba(102,102,102,.14);
}
.section[data-theme="offwhite"]{
  --theme-bg: var(--offwhite); --theme-fg: var(--ink); --theme-fg-soft: var(--gray);
  --theme-line: rgba(102,102,102,.18); --theme-card: #ffffff; --theme-card-border: rgba(102,102,102,.12);
}
.section[data-theme="charcoal"]{
  --theme-bg: var(--charcoal); --theme-fg: #ffffff; --theme-fg-soft: #a7a7a7;
  --theme-line: rgba(255,255,255,.12); --theme-card: var(--charcoal-2); --theme-card-border: rgba(255,255,255,.09);
}
.section[data-theme="black"]{
  --theme-bg: #0c0c0d; --theme-fg: #ffffff; --theme-fg-soft: #9b9b9b;
  --theme-line: rgba(255,255,255,.12); --theme-card: #17171818; --theme-card-border: rgba(255,255,255,.1);
}
.section[data-theme="red"]{
  --theme-bg: var(--red); --theme-fg: #ffffff; --theme-fg-soft: rgba(255,255,255,.78);
  --theme-line: rgba(255,255,255,.25); --theme-card: rgba(255,255,255,.09); --theme-card-border: rgba(255,255,255,.22);
  background-image: radial-gradient(120% 140% at 12% 0%, var(--red-bright) 0%, var(--red) 55%, var(--red-dim) 100%);
}
.section[data-theme="red"] .chapter-title{ color: #ffffff; }
.section[data-theme="red"] .chapter-subtitle{ color: rgba(255,255,255,.85); }
.section[data-theme="red"] .subsection-tag{ color: #ffffff; }
.section[data-theme="red"] .story-tag{ color: #ffffff; }
.section[data-theme="red"] .eyebrow{ color: #ffffff; }

/* Chapter marker + subsection dividers — how white-on-white sections stay legible as distinct chapters */
.chapter-head{ margin-bottom: 36px; }
.chapter-title{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--red);
  margin-bottom: 12px;
}
.chapter-subtitle{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 20px);
  line-height: 1.4;
  color: var(--ink);
  max-width: 100%;
}

.subsection{
  margin-top: 60px;
}
.subsection-head{ margin-bottom: 24px; }
.subsection-tag{
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.subsection-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  max-width: 100%;
}
.subsection-head .section-lede{ margin: 16px 0 0; }

/* ===========================================================
   Typography
=========================================================== */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
  display: inline-block;
}
.eyebrow--light{ color: #ff5b63; }

.section-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.12;
  letter-spacing: -.01em;
  max-width: 100%;
  margin-bottom: 56px;
}
.section-title em{ font-style: normal; color: var(--red); }
.section-title--light em{ color: #ff5b63; }

.subhead{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin: 64px 0 28px;
}

.section-lede{
  font-size: 18px;
  line-height: 1.65;
  color: var(--theme-fg-soft);
  max-width: 100%;
  margin-bottom: 32px;
  text-align: justify;
}

/* ===========================================================
   Reveal-on-scroll
=========================================================== */
[data-reveal]{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-l) var(--ease), transform var(--dur-l) var(--ease);
}
[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================================
   Cards — every content block lives in one
=========================================================== */
.card{
  background: var(--theme-card);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}

.card--text{
  padding: 36px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--theme-fg-soft);
}
.card--text p{ text-align: justify; }
.card--text p + p{ margin-top: 16px; }
.card--text-full{ margin-bottom: 16px; }

.expertise-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.card--expertise{
  padding: 28px 22px;
  transition: border-color var(--dur-s) var(--ease), transform var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
}
.card--expertise:hover{
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,.08);
}
.expertise-icon{
  width: 42px; height: 42px;
  color: var(--red);
  margin-bottom: 18px;
}
.expertise-icon svg{ width: 100%; height: 100%; }
.card--expertise h4{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.4;
}

.pillars-grid{
  display: grid;
  grid-template-columns: 1fr 148px 1fr;
  grid-template-rows: repeat(2, auto);
  column-gap: 40px;
  row-gap: 20px;
}
.pillar-01{ grid-column: 1; grid-row: 1; }
.pillar-02{ grid-column: 3; grid-row: 1; }
.pillar-03{ grid-column: 1; grid-row: 2; }
.pillar-04{ grid-column: 3; grid-row: 2; }
.card--pillar{
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}
.card--pillar:hover{ border-color: var(--red); transform: translateY(-4px); }
.pillar-index{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--red);
  display: block;
  margin-bottom: 22px;
}
.card--pillar h3{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
}
.card--pillar p{ color: var(--theme-fg-soft); font-size: 14px; line-height: 1.6; text-align: justify; }

/* Center badge floating in the gutter between the four pillar cards */
.pillars-center{
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pillars-center span{
  position: relative;
  width: 100%;
  padding: 12px 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
}
.pillars-center span:not(:last-child)::after{
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 28px; height: 1px;
  background: var(--theme-line);
}

/* Brands / infinite logo ribbon — two rows drifting in opposite directions */
.logo-ribbon{
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 8px;
  background: var(--red);
  background-image: radial-gradient(120% 200% at 15% 0%, var(--red-bright) 0%, var(--red) 45%, var(--red-dim) 100%);
  overflow: hidden;
  padding: 44px 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.logo-ribbon__track{
  display: flex;
  align-items: center;
  width: max-content;
  gap: 72px;
  animation: logo-marquee 100s linear infinite;
}
.logo-ribbon__track--row2{ animation-direction: reverse; animation-duration: 86s; }
.logo-ribbon:hover .logo-ribbon__track{ animation-play-state: paused; }
.logo-ribbon__item{ flex-shrink: 0; display: flex; align-items: center; }
.logo-ribbon__item img{
  height: 64px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  opacity: .94;
}
@keyframes logo-marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .logo-ribbon__track{ animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
}

/* Journey / Timeline */
.timeline-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.card--timeline{ padding: 22px 18px; }
.timeline-date{
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--theme-fg);
  margin-bottom: 12px;
}
.card--timeline p{
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--theme-fg-soft);
  text-align: justify;
}
.card--timeline strong{ color: var(--theme-fg); font-weight: 700; }
.timeline-list{ margin-top: 8px; padding-left: 18px; list-style: disc; }
.timeline-list li{ font-size: 13.5px; line-height: 1.7; color: var(--theme-fg-soft); }

.pending-label{
  font-size: 14px;
  color: var(--theme-fg-soft);
  line-height: 1.6;
}
/* Case studies — full-bleed red band, breaks out of the section's white theme */
.stories-band{
  position: relative;
  left: 50%; right: 50%;
  width: 100vw;
  margin-left: -50vw; margin-right: -50vw;
  margin-top: 60px;
  background: var(--red);
  background-image: radial-gradient(120% 140% at 12% 0%, var(--red-bright) 0%, var(--red) 55%, var(--red-dim) 100%);
  padding: 60px 0;
}
.stories-band .subsection-title{ color: #fff; }
.card--stories-hero{
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
  margin-bottom: 32px;
}
.card--stories-hero--spaced{ margin-top: 28px; }
.stories-hero-video{ width: 100%; height: 100%; object-fit: cover; display: block; }
.stories-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.story-item{ display: flex; flex-direction: column; gap: 12px; }
.story-item--wide{ grid-column: span 2; }
.story-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  color: #fff;
}
.card--story{
  aspect-ratio: 9/16;
  overflow: hidden;
  background: #111;
  transition: transform var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
}
.card--story:hover{ transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.card--story img,
.card--story video{ width: 100%; height: 100%; object-fit: cover; display: block; }
.card--story-original{ aspect-ratio: 16/9; }
.card--story-original video{ object-fit: contain; }
.story-tag{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
}
.story-tag--lg{ font-size: 15px; font-weight: 700; }

/* Team — organizational chart, single image filling the container */
.team-org-chart{
  width: 100%;
}
.team-org-chart img{
  display: block;
  width: 100%;
  height: auto;
}

/* Workflow */
.workflow-steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.card--step{
  padding: 36px 30px;
  position: relative;
}
.step-index{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  color: var(--red);
  display: block;
  line-height: 1;
  margin-bottom: 18px;
}
.card--step h3{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 6px;
}
.step-dept{
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--theme-fg-soft);
  margin-bottom: 18px;
}
.card--step ul{ display: flex; flex-direction: column; gap: 12px; }
.card--step li{ font-size: 14px; line-height: 1.55; color: var(--theme-fg-soft); text-align: justify; }
.card--step li strong{ color: var(--theme-fg); font-weight: 600; }

/* Results / KPIs */
.kpi-block{ margin-bottom: 40px; }
.kpi-block:last-child{ margin-bottom: 0; }
.kpi-block__head{ max-width: 100%; margin-bottom: 20px; }
.kpi-block__head h3{ font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 8px 0 12px; }
.kpi-block__head p{ font-size: 16px; line-height: 1.65; color: var(--theme-fg-soft); text-align: justify; }
.kpi-row{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.card--kpi{ padding: 28px 24px; }
.kpi-number{
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  color: var(--red);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.kpi-label{ display: block; font-size: 13.5px; color: var(--theme-fg-soft); margin-top: 6px; }
.kpi-note{ display: block; font-size: 12px; color: var(--theme-fg-soft); margin-top: 4px; font-family: var(--font-mono); }
.kpi-markets{ font-family: var(--font-mono); font-size: 12.5px; color: var(--theme-fg-soft); margin-bottom: 20px; }
.card--kpi-markets{ display: flex; flex-direction: column; }
.kpi-markets-card__title{
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--red);
  line-height: 1.2;
}
.kpi-media{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.kpi-media img{
  width: 100%; height: 260px; object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--theme-card-border);
}

/* Social Media block — metrics stacked in one column, videos beside them */
.kpi-split{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.kpi-split__metrics{ display: flex; flex-direction: column; gap: 14px; }
.kpi-split__videos{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.kpi-split__videos--single{ grid-template-columns: 1fr; max-width: 260px; margin: 0 auto; }
.card--kpi-video{
  aspect-ratio: 9/16;
  overflow: hidden;
  background: #111;
}
.card--kpi-video video{ width: 100%; height: 100%; object-fit: cover; display: block; }

/* PR & KOL campaigns table */
.campaigns-table-wrap{ margin-top: 36px; }
.campaigns-table-scroll{
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--theme-card-border);
  border-radius: var(--radius-sm);
  -webkit-overflow-scrolling: touch;
}
.campaigns-table{
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  font-size: 13px;
}
.campaigns-table th, .campaigns-table td{
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--theme-line);
}
.campaigns-table th{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--theme-fg-soft);
  background: var(--offwhite);
  white-space: normal;
}
.campaigns-table td{ color: var(--theme-fg); font-variant-numeric: tabular-nums; }
.campaigns-table td:nth-child(4){ white-space: normal; min-width: 220px; }
.campaigns-table tbody tr:last-child td{ border-bottom: none; }
.campaigns-table tbody tr:hover{ background: var(--offwhite); }

/* Right column showing media at native aspect ratio (no forced crop) */
.kpi-split__media-original{ display: flex; flex-direction: column; gap: 16px; }
.kpi-split__media-original img{
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--theme-card-border);
}

/* Tier chips (PR) */
.tier-row{ display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.card--kpi-markets .tier-row{ margin-bottom: 0; margin-top: 4px; }
.tier-chip{
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--theme-fg-soft);
  background: var(--offwhite);
  border: 1px solid var(--theme-card-border);
  padding: 7px 14px;
  border-radius: 100px;
}
.tier-chip strong{ color: var(--theme-fg); font-weight: 700; margin-left: 5px; }

/* On-going pipeline panel (KOLs / PR) */
.ongoing-panel{
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--theme-line);
}
.ongoing-panel__tag{
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.ongoing-panel__stats{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ongoing-panel__stats--center{ display: flex; flex-wrap: wrap; justify-content: center; }
.ongoing-panel__stats--center .ongoing-stat{ flex: 0 1 220px; }
.ongoing-stat{
  padding: 16px 14px;
  border: 1px solid var(--theme-card-border);
  border-radius: var(--radius-sm);
}
.ongoing-stat__num{
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--theme-fg);
  font-variant-numeric: tabular-nums;
}
.ongoing-stat__label{ display: block; font-size: 12px; color: var(--theme-fg-soft); margin-top: 4px; }
.ongoing-panel__note{ font-size: 12.5px; color: var(--theme-fg-soft); margin-top: 14px; line-height: 1.6; }

/* Community / voice */
.voice-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card--voice{ padding: 30px 30px 0; overflow: hidden; display: flex; flex-direction: column; }
.voice-index{ font-family: var(--font-mono); font-size: 12.5px; color: var(--gray); }
.card--voice h3{ font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 10px 0 10px; }
.card--voice > p{ font-size: 14px; line-height: 1.6; color: var(--theme-fg-soft); margin-bottom: 18px; text-align: justify; }
.voice-quotes{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.voice-quotes span{
  font-size: 13px; font-style: italic;
  color: var(--red-dim);
  background: rgba(210,0,13,.06);
  border: 1px solid rgba(210,0,13,.2);
  padding: 6px 12px;
  border-radius: 100px;
}
.card--voice img{
  width: calc(100% + 60px);
  margin-left: -30px;
  border-top: 1px solid var(--theme-card-border);
  max-height: 220px;
  object-fit: cover;
  object-position: top;
}

/* Community — negative themes: real comment screenshots + categorized band */
.community-negative{ margin-top: 40px; }
.community-negative__comments{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.community-negative__col{ display: flex; flex-direction: column; gap: 14px; }
.community-negative__col img{
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--theme-card-border);
}
.community-negative__band{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(210,0,13,.06);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.community-negative__item{
  padding: 26px 22px;
  border-left: 1px solid rgba(210,0,13,.15);
}
.community-negative__item:first-child{ border-left: none; }
.community-negative__item h4{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: 14px;
}
.community-negative__item > p{ font-size: 13.5px; line-height: 1.6; color: var(--theme-fg-soft); text-align: justify; margin-bottom: 14px; }
.community-negative__item .opportunity-note{ background: transparent; border: none; padding: 0; }

/* Opportunities / social listening — reuses .card--pillar in a 2-col grid */
.insights-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.opportunity-note{
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--red-dim);
  background: rgba(210,0,13,.06);
  border: 1px solid rgba(210,0,13,.2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: left;
}
.opportunity-note strong{ color: var(--red); }

/* Roadmap — Gantt-style chart, centered within the card */
.card--roadmap{ padding: 32px; }
.card--roadmap h3{ font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: 26px; text-align: center; }
.gantt{
  display: grid;
  grid-template-columns: minmax(150px, 210px) repeat(6, 1fr);
  grid-auto-rows: minmax(56px, auto);
  max-width: 980px;
  margin: 0 auto;
  background: #fdf1ee;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.gantt-header{
  grid-row: 1;
  background: #6f8b98;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .03em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  border-right: 2px solid #fdf1ee;
}
.gantt-header--label{ background: #6f8b98; }
.gantt-label{
  grid-column: 1;
  grid-row: 2 / 6;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--theme-fg);
  line-height: 1.4;
}
.gantt-bar{
  align-self: center;
  margin: 6px 10px;
  padding: 12px 14px;
  background: #c8c9f0;
  border-radius: 8px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: #1f2040;
  line-height: 1.6;
}

/* ===========================================================
   Hero — full-bleed video, no copy
=========================================================== */
.section.section--hero{
  padding: 0;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}

/* ===========================================================
   AI impact moment — full-bleed video, no copy
=========================================================== */
.section.section--video-impact{
  position: relative;
  padding: 60px 24px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.video-impact-container{
  position: relative;
  width: 100%;
  max-width: 1260px;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #fff;
}
.video-impact-media{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.sound-toggle-btn{
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 5;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(8px);
  transition: color var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease), background var(--dur-s) var(--ease);
}
.sound-toggle-btn:hover{ color: var(--red); border-color: var(--red); background: rgba(0,0,0,.55); }
.sound-toggle-btn svg{ width: 20px; height: 20px; }
.sound-toggle-btn .icon-unmuted{ display: none; }
.sound-toggle-btn.is-unmuted .icon-muted{ display: none; }
.sound-toggle-btn.is-unmuted .icon-unmuted{ display: block; }
@media (max-width: 900px){
  .sound-toggle-btn{ right: 16px; bottom: 20px; width: 40px; height: 40px; }
}
.hero-video{ width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }

/* Closing */
.section--closing{
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.closing-glow{
  position: absolute;
  left: 50%; top: 50%;
  width: 70vw; height: 70vw;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(210,0,13,.09) 0%, transparent 62%);
  pointer-events: none;
}
.closing-inner{ position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.closing-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 10vw, 128px);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 22px;
}
.closing-title em{ font-style: normal; color: var(--red); }
.closing-title--all-red{ color: var(--red); }
.closing-sub{ font-size: 17px; color: var(--gray); margin-bottom: 42px; }
.closing-cta{
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 16px 34px;
  border: 1px solid var(--red);
  border-radius: 100px;
  color: var(--ink);
  transition: background var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
}
.closing-cta:hover{ background: var(--red); color: #fff; }

/* ===========================================================
   Header
=========================================================== */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px) saturate(1.4);
  transition: background var(--dur-m) var(--ease), border-color var(--dur-m) var(--ease), height var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled{
  height: var(--header-h-scrolled);
  border-bottom-color: var(--gray-line);
  box-shadow: 0 6px 24px rgba(0,0,0,.05);
}
.site-header__inner{
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-mark{
  display: flex;
  align-items: center;
}
.brand-mark__logo{ width: auto; object-fit: contain; }
.brand-mark__logo--tcl{ margin-right: 12.5px; }
.brand-mark__x{ margin: 0; }
.brand-mark__logo--iagency{ margin-left: -9.5px; }
.brand-mark__logo--tcl{ height: 54px; }
.brand-mark__logo--iagency{ height: 62px; }
.brand-mark__x{ font-family: var(--font-display); font-size: 14px; color: var(--gray-line); }

.main-nav__list{ display: none; gap: 34px; }
.main-nav__list a{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gray);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--dur-s) var(--ease);
}
.main-nav__list a::after{
  content: '';
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px;
  background: var(--red);
  transition: right var(--dur-m) var(--ease);
}
.main-nav__list a:hover{ color: var(--ink); }
.main-nav__list a:hover::after,
.main-nav__list a.is-active::after{ right: 0; }
.main-nav__list a.is-active{ color: var(--ink); }

.main-nav__toggle{ display: none; flex-direction: column; gap: 5px; padding: 6px; }
.main-nav__toggle span{ width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--dur-s) var(--ease), opacity var(--dur-s) var(--ease); }

.header-actions{ display: flex; align-items: center; gap: 10px; }
.fullscreen-btn{
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--gray);
  border: 1px solid var(--gray-line);
  transition: color var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease), background var(--dur-s) var(--ease);
}
.fullscreen-btn:hover{ color: var(--red); border-color: var(--red); background: rgba(210,0,13,.06); }
.fullscreen-btn svg{ width: 16px; height: 16px; }
.fullscreen-btn .icon-compress{ display: none; }
.fullscreen-btn.is-fullscreen .icon-expand{ display: none; }
.fullscreen-btn.is-fullscreen .icon-compress{ display: block; }

/* ===========================================================
   Scroll progress — pill stack, right edge, unlabeled
=========================================================== */
.progress-pills{
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 65;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.progress-pill{
  width: 6px;
  height: 30px;
  border-radius: 100px;
  background: var(--gray-line);
  overflow: hidden;
  position: relative;
  transition: background var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}
.progress-pill:hover{ background: var(--gray-soft); }
.progress-pill.is-active{ transform: scaleX(1.5); }
.progress-pill__fill{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 0%;
  background: var(--red);
  border-radius: 100px;
  transition: height .12s linear;
}

@media (max-width: 900px){
  .progress-pills{ display: none; }
}

/* ===========================================================
   Header nav (right-aligned pills, top bar)
=========================================================== */
.header-right{ display: flex; align-items: center; gap: 22px; }
.header-nav{ display: flex; align-items: center; gap: 8px; }
.header-nav .pill{
  padding: 8px 16px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid var(--gray-line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  color: var(--gray);
  box-shadow: 0 6px 16px rgba(0,0,0,.07);
  white-space: nowrap;
  transition: border-color var(--dur-s) var(--ease), color var(--dur-s) var(--ease), background var(--dur-s) var(--ease), transform var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
}
.header-nav .pill:hover{ border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.header-nav .pill.is-active{
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(210,0,13,.32);
}

/* ===========================================================
   Responsive
=========================================================== */
@media (max-width: 1080px){
  :root{ --header-h: 78px; --header-h-scrolled: 64px; }
  .brand-mark__logo--tcl{ height: 36px; margin-right: 9px; }
  .brand-mark__logo--iagency{ height: 41px; margin-left: -5px; }
  .expertise-grid{ grid-template-columns: repeat(3, 1fr); }
  .pillars-grid{ grid-template-columns: 1fr 110px 1fr; column-gap: 24px; }
  .pillars-center span{ font-size: 10.5px; padding: 8px 0; }
  .stories-grid{ grid-template-columns: repeat(2, 1fr); }
  .workflow-steps{ grid-template-columns: 1fr; }
  .kpi-row{ grid-template-columns: repeat(3, 1fr); }
  .kpi-media{ grid-template-columns: 1fr 1fr; }
  .kpi-split{ grid-template-columns: 1fr; }
  .kpi-split__videos{ max-width: 360px; }
  .voice-grid{ grid-template-columns: 1fr; }
  .insights-grid{ grid-template-columns: 1fr; }
  .community-negative__comments{ grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .community-negative__band{ grid-template-columns: repeat(2, 1fr); }
  .community-negative__item:nth-child(odd){ border-left: none; }
  .ongoing-panel__stats{ grid-template-columns: repeat(2, 1fr); }
  .timeline-grid{ grid-template-columns: repeat(3, 1fr); }

  .header-nav{ display: none; }
  .main-nav__list{
    display: flex;
    position: fixed;
    top: var(--header-h-scrolled); left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(16px);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur-m) var(--ease);
    box-shadow: 0 12px 24px rgba(0,0,0,.06);
  }
  .main-nav.is-open .main-nav__list{ max-height: 480px; }
  .main-nav__list a{
    display: block;
    padding: 18px 30px;
    border-bottom: 1px solid var(--gray-line);
  }
  .main-nav__toggle{ display: flex; }
  .main-nav__toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .main-nav__toggle.is-open span:nth-child(2){ opacity: 0; }
  .main-nav__toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 720px){
  .section{ padding: 96px 0 80px; }
  .section-inner{ padding: 0 22px; }
  .site-header__inner{ padding: 0 20px 0 30px; }
  .expertise-grid{ grid-template-columns: repeat(2, 1fr); }
  .pillars-grid{ grid-template-columns: 1fr; }
  .pillar-01, .pillar-02, .pillar-03, .pillar-04{ grid-column: 1; grid-row: auto; }
  .pillars-center{
    grid-column: 1; grid-row: auto;
    flex-direction: row; justify-content: center; gap: 20px;
    margin-bottom: 20px;
  }
  .pillars-center span{ padding: 0; }
  .pillars-center span:not(:last-child)::after{
    left: auto; right: -11px; bottom: 50%; transform: translateY(50%);
    width: 1px; height: 12px;
  }
  .stories-grid{ grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .timeline-grid{ grid-template-columns: 1fr; }
  .logo-ribbon{ padding: 26px 0; gap: 18px; }
  .logo-ribbon__track{ gap: 40px; }
  .logo-ribbon__item img{ height: 38px; max-width: 170px; }
  .kpi-row{ grid-template-columns: 1fr; }
  .kpi-media{ grid-template-columns: 1fr; }
  .kpi-split__videos{ grid-template-columns: 1fr; max-width: 220px; margin: 0 auto; }
  .ongoing-panel__stats{ grid-template-columns: 1fr; }
  .community-negative__comments{ grid-template-columns: 1fr; }
  .community-negative__band{ grid-template-columns: 1fr; }
  .community-negative__item{ border-left: none; border-top: 1px solid rgba(210,0,13,.15); }
  .community-negative__item:first-child{ border-top: none; }
  .gantt{ overflow-x: auto; min-width: 0; }
  .gantt > *{ min-width: 90px; }
  .gantt-label{ min-width: 130px; }
  .card--text, .card--roadmap{ padding: 28px; }
  .card--voice img{ width: calc(100% + 40px); margin-left: -20px; }
  .card--voice{ padding: 24px 20px 0; }
}
