/* ============================================================
   Xperience Unlimited Group — drafting-room system
   Sibling of the VXU site, deliberately separated: a wide technical display
   face (Archivo) instead of VXU's condensed Anton, and a blueprint grid motif.
   The brand gradient runs through every accent word, as on VXU — what is
   hero-only here is the movement (the tilt and the giggle). Ink Blue
   (--accent / --accent-bright) is the drawing layer, not the headline accent.
   Black:  #0A0A0B  (canvas)
   Coal:   #131315  (raised surfaces)
   Line:   #2A2A2E  (hairlines)
   White:  #FFFFFF  (type, controls)
   Dim:    #9A9AA2  (secondary type)
   Type:   Anton (display caps) / Instrument Sans / Spline Sans Mono
   ============================================================ */

:root {
  --black: #0A0A0B;
  --coal: #131315;
  --line: #2A2A2E;
  --white: #FFFFFF;
  --dim: #9A9AA2;

  /* drafting accents — the blue end of the XUG logo gradient */
  --accent: #4383B4;
  --accent-bright: #6BA9D6;
  --grid: rgba(255, 255, 255, 0.045);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", -apple-system, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, monospace;

  --max-w: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--white); }

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* ============ Image placeholders ============
   Each .media-ph stands in for a real image. Swap the div for
   <img class="media-img" src="..." alt="..."> when assets exist.
   The gradients are deliberately vivid: colour belongs to imagery. */

.media-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.25rem;
}

.media-ph span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.55);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

.media-ph-hero  { background: radial-gradient(120% 90% at 15% 10%, #BE6297 0%, transparent 55%), radial-gradient(100% 80% at 85% 20%, #4383B4 0%, transparent 55%), radial-gradient(120% 100% at 50% 100%, #E3A654 0%, transparent 60%), #14060F; }
.media-ph-brand { background: radial-gradient(110% 100% at 20% 0%, #E3A654 0%, transparent 60%), radial-gradient(120% 100% at 90% 100%, #BE543A 0%, transparent 55%), #170B03; }
.media-ph-a     { background: radial-gradient(120% 120% at 20% 20%, #4383B4 0%, transparent 60%), radial-gradient(100% 100% at 90% 90%, #BE6297 0%, transparent 55%), #0A0714; }
.media-ph-b     { background: radial-gradient(120% 120% at 80% 15%, #53A275 0%, transparent 55%), radial-gradient(110% 110% at 15% 90%, #E2C461 0%, transparent 55%), #06110B; }
.media-ph-c     { background: radial-gradient(120% 120% at 25% 85%, #E2C461 0%, transparent 55%), radial-gradient(110% 110% at 85% 15%, #BE543A 0%, transparent 60%), #150A04; }

.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ Header / nav ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 0.88rem;
}

.nav-links a:hover { color: var(--dim); }

.nav-cta {
  border: 1px solid var(--white);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--white);
  color: var(--black) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* ============ Buttons ============ */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-solid { background: var(--white); color: var(--black); }
.btn-solid:hover { background: #D9D9DE; }

.btn-outline {
  color: var(--white);
  border: 1px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--black); }

.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* ============ Type helpers ============ */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1.4rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(1.9rem, 3.9vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  max-width: 24ch;
  margin-bottom: 1.6rem;
}

.section-lede {
  font-size: 1.18rem;
  line-height: 1.65;
  max-width: 62ch;
  color: var(--dim);
  margin-bottom: 3rem;
}

.tm {
  font-size: 0.4em;
  vertical-align: super;
  font-family: var(--font-body);
  font-weight: 600;
}

/* ============ Hero ============ */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

/* The XUG hero image is a drawing-to-build transition and is bright on the left,
   where the copy sits — so the scrim darkens that column as well as the base. */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 11, 0.6) 0%, rgba(10, 10, 11, 0.12) 30%, rgba(10, 10, 11, 0.92) 78%, rgba(10, 10, 11, 0.97) 100%),
    linear-gradient(90deg, rgba(10, 10, 11, 0.8) 0%, rgba(10, 10, 11, 0.3) 46%, rgba(10, 10, 11, 0) 72%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 9rem 1.5rem 5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(2.4rem, 6.1vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 15ch;
  margin-bottom: 1.75rem;
  text-wrap: balance;
}

/* Accent word — the hero's gradient, carried through every heading that uses it.
   What stays hero-only is the movement: the tilt and the giggle. One playful
   moment at the top, then the drafting room. */
.fun-word {
  display: inline-block;
  /* same hues, same order as the hero ramp, so a heading reads as the hero word
     held still. The saturated red sits between magenta and orange to stop the
     middle of a long word drifting into pale tan on the black canvas. */
  background: linear-gradient(100deg, #4383B4 0%, #BE6297 24%, #BE543A 48%, #E3A654 66%, #53A275 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-headline .fun-word,
.mission .fun-word { transform: rotate(-2.5deg); }

/* The light end of the gradient (orange, yellow) has no contrast on the white
   contact panel. Same hues, deepened, so the word still holds against white. */
.section-contact .fun-word {
  background: linear-gradient(100deg, #35719E 0%, #A34D7E 42%, #9C452F 72%, #3E8259 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.fun-stop { color: inherit; }

/* hero only: the gradient flows through "fun", and every few seconds it giggles.
   At 260% only a third of the ramp was on screen at a time, so the word spent
   part of every cycle sitting in the pale orange and washing out against the
   scrim. 200% keeps two or three hues in the word at all times, and the pale
   stop is bracketed by the deeper red and green. */
.hero-headline .fun-word {
  background: linear-gradient(100deg, #4383B4 0%, #BE6297 20%, #BE543A 40%, #E3A654 58%, #53A275 78%, #4383B4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 200% 100%;
  background-position: 30% 0;
  animation: fun-flow 7s linear infinite, fun-giggle 6s ease-in-out infinite;
}

@keyframes fun-flow {
  /* with background-size 200%, a 200% position shift shifts exactly one tile,
     so the loop is seamless */
  from { background-position: 0% 0; }
  to   { background-position: 200% 0; }
}

@keyframes fun-giggle {
  0%, 62%  { transform: rotate(-2.5deg) scale(1, 1); }
  68%      { transform: rotate(2.5deg) scale(1.12, 0.92); }
  74%      { transform: rotate(-5deg) scale(0.95, 1.08); }
  80%      { transform: rotate(-1.5deg) scale(1.04, 0.98); }
  86%, 100% { transform: rotate(-2.5deg) scale(1, 1); }
}

.hero-sub {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  max-width: 54ch;
  margin-bottom: 2.25rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* the eyebrow is --dim by default, which loses against a photographic hero */
.hero .eyebrow { color: rgba(255, 255, 255, 0.88); }

/* marquee strip */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--black);
}

.strip-track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--white);
}

.strip-track .dot { color: var(--dim); font-size: 0.55rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ Sections ============ */

.section { padding: 7rem 1.5rem; }

.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section-line-top { border-top: 1px solid var(--line); }

/* ============ Pillars ============ */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pillar {
  background: var(--coal);
  border: 1px solid var(--line);
  padding: 2.25rem 2rem;
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1;
  color: var(--white);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.1rem;
  margin-bottom: 1.4rem;
}

.pillar h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.pillar p { color: var(--dim); font-size: 1rem; }

/* ============ Journey (Sofa-to-Sofa) ============ */

.journey {
  position: relative;
  margin: 3.5rem 0 5rem;
}

.journey-svg { width: 100%; height: auto; display: block; }

.journey-line {
  stroke: var(--white);
  stroke-width: 3;
  stroke-dasharray: 10 14;
  opacity: 0.9;
}

.journey.in-view .journey-line {
  animation: dash-flow 1.4s linear infinite;
}

@keyframes dash-flow {
  from { stroke-dashoffset: 24; }
  to   { stroke-dashoffset: 0; }
}

.journey-stops {
  list-style: none;
  position: absolute;
  inset: 0;
}

.stop {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  width: 168px;
}

.stop-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--black);
  border: 3px solid var(--white);
  margin-top: -8px; /* centre the dot itself on the path anchor */
  transition: border-color 0.2s ease, background 0.2s ease;
}

.stop-dot-end { background: var(--white); }

.stop-icon {
  width: 32px;
  height: 32px;
  color: var(--white);
  margin-top: 0.2rem;
  /* springy overshoot gives the icons a cartoon "boing" on hover */
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

.stop-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* hand-placed sticker tilts — each icon sits a little askew */
.stop:nth-child(1) .stop-icon { transform: rotate(-5deg); }
.stop:nth-child(2) .stop-icon { transform: rotate(4deg); }
.stop:nth-child(3) .stop-icon { transform: rotate(-3deg); }
.stop:nth-child(4) .stop-icon { transform: rotate(5deg); }
.stop:nth-child(5) .stop-icon { transform: rotate(-4deg); }

.stop:hover .stop-icon { transform: rotate(-9deg) scale(1.22) !important; }

/* each stop pops its own brand colour on hover */
.stop:nth-child(1):hover .stop-dot { border-color: #E2C461; }
.stop:nth-child(1):hover .stop-icon { color: #E2C461; }
.stop:nth-child(2):hover .stop-dot { border-color: #4383B4; }
.stop:nth-child(2):hover .stop-icon { color: #4383B4; }
.stop:nth-child(3):hover .stop-dot { border-color: #BE6297; }
.stop:nth-child(3):hover .stop-icon { color: #BE6297; }
.stop:nth-child(4):hover .stop-dot { border-color: #E3A654; }
.stop:nth-child(4):hover .stop-icon { color: #E3A654; }
.stop:nth-child(5):hover .stop-dot { border-color: #53A275; background: #53A275; }
.stop:nth-child(5):hover .stop-icon { color: #53A275; }

.stop-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 100%;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.stop-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--dim);
  line-height: 1.4;
}

.journey-footnote {
  font-size: 0.95rem;
  color: var(--dim);
  max-width: 58ch;
  margin-top: 2.5rem;
}

/* ============================================================
   Drafting room — the XUG-only layer
   A faint grid behind the section and crop marks on the cards put the
   design studio on the page and separate this site from VXU's.
   ============================================================ */

.section-drafting {
  position: relative;
  background:
    linear-gradient(to right, var(--grid) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--black);
}

/* the grid should fade out at the edges rather than stop dead */
.section-drafting::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% 40%, transparent 40%, var(--black) 100%);
}

.section-drafting > * { position: relative; }

/* ============ Concept elevation figure ============ */

/* The drawing is supplied artwork on a near-black sheet (#0F0E13), and it
   carries its own title block and caption strip — hence no figcaption here.
   The frame is set just above the sheet colour so the edge reads as a border
   rather than the drawing bleeding into the section. */
.figure {
  margin: 3rem 0 1rem;
  border: 1px solid var(--line);
  background: #0F0E13;
  line-height: 0;
}

.figure .media-img { height: auto; }

/* a full-width image band inside a section, captioned like the showcase tiles */
.figure-band { margin: 3rem 0 0; background: none; }

.figure figcaption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line);
}

/* ============ Three retained directors ============ */

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.role {
  position: relative;
  background: var(--coal);
  border: 1px solid var(--line);
  padding: 2rem 1.75rem 2.25rem;
}

/* crop marks, like a trimmed drawing */
.role::before,
.role::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid var(--accent);
  opacity: 0.55;
}

.role::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.role::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.role-ref {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent-bright);
  margin-bottom: 0.9rem;
}

.role h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1.22rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.role-what {
  color: var(--white);
  font-size: 1rem;
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.role ul { list-style: none; display: grid; gap: 0.55rem; }

.role li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--dim);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* a drawing tick rather than a bullet */
.role li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 1px;
  background: var(--accent);
}

/* ============ Capacity table ============ */

.capacity {
  margin-top: 3.5rem;
  border-top: 1px solid var(--white);
}

.capacity table { width: 100%; border-collapse: collapse; }

.capacity caption {
  text-align: left;
  color: var(--dim);
  font-size: 0.95rem;
  max-width: 66ch;
  padding: 1.5rem 0 1.75rem;
}

.capacity th,
.capacity td {
  border-bottom: 1px solid var(--line);
  padding: 1rem 1rem 1rem 0;
  text-align: left;
  vertical-align: middle;
}

.capacity thead th {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  width: 26%;
}

.capacity tbody th {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--white);
  width: 22%;
}

/* the bar is the value; the word next to it names it */
.weight { display: flex; align-items: center; gap: 0.75rem; }

.weight-bar {
  flex: 0 0 auto;
  width: var(--w);
  height: 8px;
  background: var(--line);
}

.weight-lead .weight-bar { background: var(--accent-bright); }

.weight-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.weight-lead .weight-label { color: var(--accent-bright); }

/* ============ Retained-team benefits ============ */

.gains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.gain-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--accent-bright);
  margin-bottom: 0.4rem;
}

.gain h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.gain p { color: var(--dim); font-size: 0.95rem; line-height: 1.5; }

/* ============ Partners ============ */

.partner-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--white);
}

.partner-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--line);
}

.partner-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--white);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.partner-head h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1.35rem;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 20ch;
}

.partner-body p { color: var(--dim); }

/* ============ Licensor marks ============ */

/* Deliberately small — roughly the height of the header logo, so they read as
   credentials rather than as the page's main event. Fixed-size chips keep the
   row even despite the three marks having very different proportions. */
.licensors {
  grid-column: 1 / -1;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.licensors-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1rem;
}

.licensor-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.licensor {
  flex: 0 0 auto;
  width: 104px;
  height: 60px;          /* matches .logo-img in the header */
  background: #FFFFFF;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.65rem;
}

/* contain, never crop — the marks must not be distorted */
.licensor img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Tonka and Hasbro are square, Play-Doh is nearly 2:1, so one height cap makes
   the wide mark look undersized. These even them up by eye. */
.licensor:nth-child(1) img { max-height: 100%; }  /* Tonka — square */
.licensor:nth-child(2) img { max-height: 92%; }   /* Hasbro — square */
.licensor:nth-child(3) img { max-height: 78%; }   /* Play-Doh — 1.9:1 */

/* ============ Our brands ============ */

/* Two columns of copy, so the text spans the same width as the full-bleed
   render below it. A single 62ch column left the right half of the page empty
   and made the image look dropped in rather than laid out. */
.work-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
}

.work-copy p { color: var(--dim); }

.work-copy strong { color: var(--white); }

.work-cta { margin-top: 2.5rem; }

/* showcase strip */
.showcase-head {
  max-width: var(--max-w);
  margin: 4.5rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.showcase-head .eyebrow { margin-bottom: 0.6rem; }

.showcase-note {
  color: var(--dim);
  font-size: 1rem;
  margin-bottom: 1.75rem;
}

.showcase {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.show-tile { transition: transform 0.2s ease; }

.show-tile:hover { transform: translateY(-4px) rotate(-0.4deg); }

.show-tile {
  border: 1px solid var(--line);
  background: var(--coal);
}

.show-tile .media-ph,
.show-tile .media-img {
  aspect-ratio: 16 / 10;
  height: auto;
}

.show-tile figcaption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line);
}

/* ============ Mission ============ */

.section-mission { padding: 8rem 1.5rem; }

.mission {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mission p {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(1.35rem, 2.7vw, 2.2rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.mission cite {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ============ Contact ============ */

.section-contact {
  background: var(--white);
  color: var(--black);
}

.section-contact .eyebrow { color: #6B6B74; }

.section-contact .section-lede { color: #45454D; }

.section-contact .btn-solid { background: var(--black); color: var(--white); }
.section-contact .btn-solid:hover { background: #2E2E33; }

.contact-inner { text-align: center; }

.contact-logo {
  height: 132px;
  width: auto;
  display: block;
  margin: 0 auto 1.75rem;
}

.contact-inner .section-title,
.contact-inner .section-lede { margin-left: auto; margin-right: auto; }

.contact-actions { margin-top: 1rem; }

/* ============ Footer ============ */

.site-footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  height: 56px;
  width: auto;
  align-self: flex-start;
  margin-bottom: 0.75rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-note { color: var(--dim); font-size: 0.95rem; }

.footer-legal { color: #5C5C64; font-size: 0.8rem; margin-top: 1rem; max-width: 72ch; }

/* ============ Reveal on scroll ============ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ============ Responsive ============ */

@media (max-width: 900px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .work-copy { grid-template-columns: 1fr; gap: 1.25rem; }
  .role-grid { grid-template-columns: 1fr; }
  .licensors { margin-top: 1.75rem; padding-top: 1.5rem; }

  /* Three fixed 104px chips overflow a 375px screen and wrap 2+1. Letting
     them share the row keeps all three on one line at any phone width. */
  .licensor { flex: 1 1 0; width: auto; max-width: 104px; }

  .gains { grid-template-columns: 1fr 1fr; }

  /* the capacity matrix stops being a grid and becomes stacked records */
  .capacity thead { display: none; }
  .capacity table, .capacity tbody, .capacity tr, .capacity th, .capacity td { display: block; width: auto; }
  /* a table-caption inside a block-display table shrink-wraps to nothing */
  .capacity caption { display: block; }
  .capacity tbody tr { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
  .capacity tbody th { border: 0; padding: 0 0 0.75rem; }
  .capacity td { border: 0; padding: 0.3rem 0; }
  .capacity td::before {
    content: attr(data-stage);
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 0.3rem;
  }
  .partner-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .showcase { grid-template-columns: 1fr; }

  .journey { margin-top: 2rem; margin-bottom: 4.5rem; }
  .stop { width: 110px; }
  .stop:last-child { width: 84px; }
  .stop-note { display: none; }
  .stop-label { font-size: 0.82rem; }
  .stop-dot { width: 12px; height: 12px; border-width: 2.5px; margin-top: -6px; }
  .stop-icon { width: 24px; height: 24px; margin-top: 0.1rem; }
  .traveller-inner { transform: scale(1.55); } /* keeps the ball and its face visible at mobile scale */
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--black);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.5rem 1rem;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1.05rem;
  }

  .nav-cta {
    display: inline-block !important;
    margin-top: 0.5rem;
    padding: 0.5rem 1.2rem !important;
  }

  .gains { grid-template-columns: 1fr; }
  .figure { margin-left: -0.5rem; margin-right: -0.5rem; }

  .logo-img { height: 46px; }
  .contact-logo { height: 96px; }

  .hero { min-height: 80vh; }
  .hero-inner { padding-top: 6rem; }
  .section { padding: 4.5rem 1.5rem; }
}

/* ============ Utility ============ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
