/* ============================================================
   TERMINAL X | FOX GROUP — Corporate Site
   Inditex-inspired: monochrome, oversized type, full-bleed imagery
   ============================================================ */

:root {
  --ink: #0e0e0e;
  --paper: #ffffff;
  --stone: #f5f4f1;
  --line: #e6e3de;
  --grey: #6f6c68;

  /* Brand accent — Terminal X yellow.
     Yellow is bright: it reads beautifully as INK on dark surfaces, but is
     illegible as text on white. The rule across this stylesheet is therefore
     "yellow as ink on dark, yellow as FILL on light" — on light backgrounds an
     accented label gets a yellow chip/underline behind ink text instead of
     yellow letterforms. `--red` is kept as an alias so older rules still work. */
  /* RETIRED 2026-10-15, at the client's request: "take the yellow out of
     everything". It was the site's only accent and it appeared forty-four
     times — every heading, every plus, every bullet — which is what made the
     page feel loud next to the Inditex reference. Kept defined, and unused,
     so that anything still pointing at it renders as ink rather than as an
     unresolved variable. Do not reintroduce it without asking. */
  --accent: var(--ink);
  --card-radius: clamp(8px, 0.7vw, 12px);
  --red: var(--ink);

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --header-h: 76px;
  --pad: clamp(20px, 5vw, 72px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--ink); color: var(--paper); }

/* ---------- Type scale ---------- */

.display-xl {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 9vw, 8rem);
  line-height: 1.02;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.display-lg {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.display-md {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--grey);
}

/* A solid yellow tick replaces the old "//" glyph: thin yellow letterforms
   disappear on white, but a filled block reads on light and dark alike. */
.eyebrow::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 7px;
  background: var(--ink);
  margin-right: 12px;
  position: relative;
  top: -1px;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 300;
  line-height: 1.65;
}

.lead strong, .lead b { font-weight: 600; }

/* ---------- Layout helpers ---------- */

.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
/* 150px top and bottom meant ~300px of empty page between two sections, which
   read as a gap rather than as breathing room. */
.section { padding: clamp(58px, 6.8vw, 104px) 0; }
.section-tight { padding: clamp(48px, 6vw, 90px) 0; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
  background: transparent;
}

/* The scrim behind the transparent header.

   The hero film was sampled frame by frame: white type against the strip
   behind the header measures 6.2 to one on an average frame but 1.49 at
   2.2 seconds, and 1.12 to 1.41 against the brightest regions at every
   moment sampled. The nav links are 12.8px and need 4.5. An image average
   is not a contrast guarantee - the type has to survive the worst frame,
   and which frame is showing is not ours to choose.

   White needs the backdrop under luminance 0.183 to reach 4.5; the
   brightest sample was 0.888, so the overlay takes about 80% of it where
   the type sits. It fades out by 130px, so it reads as a vignette at the
   top of the film rather than a bar across it.

   Not needed once scrolled: the header is white at 96% with black marks
   and ink links there, which is 19.3 to one. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 130px;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.82) 45%,
    rgba(0,0,0,0.50) 72%,
    rgba(0,0,0,0) 100%);
  transition: opacity 0.35s ease;
}

/* the scrim belongs to the transparent state only */
.site-header.scrolled::before { opacity: 0; }

/* and the bar itself has to sit above it */
.site-header .wrap { position: relative; z-index: 1; }

.site-header .wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: clamp(10px, 1.1vw, 16px);
}

/* Terminal X | Fox Group. Both marks are supplied black-on-transparent — the
   Fox one was repainted to match, since Fox publishes it white for their own
   dark site — so the single .brand-logo rule below drives both. */
/* The lockup names the relationship rather than drawing a rule and leaving
   the reader to infer it. Small, uppercase and quiet: it is connective
   tissue between two marks, not a third mark. currentColor so it inverts
   with the rest of the lockup over the dark hero. */
.brand-of {
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.52rem, 0.72vw, 0.62rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.6;
  white-space: nowrap;
}


/* Supplied wordmark is solid black. It is flattened to ink on light headers and
   inverted to white while the header is transparent over a dark hero. */
.brand .brand-logo {
  display: block;
  height: clamp(17px, 2.1vw, 22px);
  width: auto;
  filter: brightness(0);
  transition: filter 0.35s ease;
}

/* Secondary by design, and it must come AFTER .brand .brand-logo. Both
   selectors have the same specificity and the Fox mark carries both classes,
   so source order decides — while this rule sat above, the Fox mark silently
   took the primary 22px and rendered taller and heavier than the Terminal X
   wordmark beside it on Terminal X's own site. */
.brand .brand-fox { height: clamp(11px, 1.35vw, 14px); }

body.header-dark .site-header:not(.scrolled) .brand .brand-logo { filter: brightness(0) invert(1); }

/* mobile menu is a white sheet under the header — the mark goes back to ink */
body.menu-open .brand .brand-logo { filter: brightness(0); }

.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); }

.main-nav > li { position: relative; }

.main-nav a.nav-link {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 0;
  position: relative;
}

.main-nav a.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.main-nav a.nav-link:hover::after,
.main-nav a.nav-link.active::after { width: 100%; }

.nav-ext { opacity: 0.85; }
.nav-ext .ext-arrow { font-size: 0.7rem; margin-left: 6px; }

/* Dropdown */
.dropdown .drop-panel {
  position: absolute;
  top: 100%; left: -18px;
  min-width: 220px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
}

.dropdown:hover .drop-panel,
.dropdown:focus-within .drop-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.drop-panel a {
  display: block;
  padding: 10px 22px;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.drop-panel a:hover { background: var(--stone); color: var(--red); }

/* Header states */
body.header-dark .site-header { color: #fff; }
.site-header.scrolled,
body.header-dark .site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(8px);
}

/* Burger */
.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 34px; height: 26px;
  position: relative;
  z-index: 130;
  color: inherit;
}
.burger span {
  position: absolute;
  left: 0; width: 100%; height: 2px;
  background: currentColor;
  transition: all 0.3s ease;
}
.burger span:nth-child(1) { top: 4px; }
.burger span:nth-child(2) { top: 12px; }
.burger span:nth-child(3) { top: 20px; }
body.menu-open .burger span:nth-child(1) { top: 12px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 12px; transform: rotate(-45deg); }
body.menu-open .burger { color: var(--ink); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  /* below the header so the burger stays clickable to close */
  z-index: 95;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 3rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.sub { font-size: 1.1rem; font-family: var(--font-body); letter-spacing: 0.2em; opacity: 0.7; }
.mobile-menu a:hover { color: var(--red); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  /* Not 100vh. At full height the film ended exactly at the fold and the
     page looked like it ended with it - nothing below was visible at all,
     so there was no reason to scroll.

     The phone solved this already and the answer there is the one to copy:
     show the Who We Are heading itself, not a strip of the block under the
     film. A strip of blank paper is not a signal people read.

     A plain percentage will not do it. 74vh left six pixels of the heading
     showing on a 900 viewport - that is not clearance, it is luck - and at
     70vh with a 540 floor, a 1366x768 laptop, which is one of the commonest
     screens there is, came out at five. The reserve has to be stated in the
     units the heading is actually measured in: the lead above it is 150px
     and the heading is 78, so 280 leaves about fifty either side of the
     rounding. 70vh then only caps it on tall screens, and the floor drops to
     400 because on a short one the whole point is to let the film give way.
     The phone keeps its own 68vh below 861px. */
  height: min(70vh, calc(100vh - 280px));
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  /* the video carries no poster, so this is what shows for the frame or two
     before it paints — black reads as the film starting, white as a fault */
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* extend below the frame so baked-in campaign captions at the
     bottom of source images are cropped out of view */
  bottom: -24%;
  background-size: cover;
  background-position: center top;
  transform: scale(1.06);
  transform-origin: top center;
  animation: heroZoom 9s ease-out forwards;
}

@keyframes heroZoom { to { transform: scale(1); } }

/* Hero video. The shipped file is already text-free (see README — the
   original ad had a title card, a TERMINALX.COM watermark, Hebrew captions
   and a SHOP NOW end card, all removed by re-encoding), so no CSS crop is
   needed here. */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.08) 40%, rgba(0,0,0,0.62) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(56px, 9vh, 120px);
}

.hero .eyebrow { color: rgba(255,255,255,0.85); }
.hero .eyebrow::before { color: #fff; }

.hero h1 { margin: 18px 0 22px; }

/* Off-screen but still read by screen readers and search engines. The hero
   carries no visible type any more, so the page's h1 lives here. */
/* ---------- Skip link (WCAG 2.4.1, Level A) ----------
   Off-screen until focused, then it lands in the top-left as a solid chip.
   It is the first focusable thing on the page, so the first Tab offers a way
   past a header that is otherwise repeated on all ten pages. */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
  transform: translateY(-120%);
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.18s ease;
}
.skip-link:focus { transform: translateY(0); outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- The hero film can be stopped (WCAG 2.2.2, Level A) ----------
   Built by main.js, so it only exists when it can actually work. It sits
   bottom-right of the hero, clear of the centred scroll cue, and is sized to
   the 44px minimum touch target rather than to the glyph inside it. */
.film-toggle {
  position: absolute;
  right: clamp(16px, 2.4vw, 32px);
  bottom: clamp(16px, 2.4vw, 32px);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(14, 14, 14, 0.42);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.film-toggle:hover { background: rgba(14, 14, 14, 0.72); border-color: #fff; }
.film-toggle:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }

/* Two bars for pause; the same element becomes a triangle for play, so there
   is one glyph to style and no icon font or second asset. */
.film-toggle-icon {
  display: block;
  width: 10px;
  height: 12px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}
.film-toggle.is-paused .film-toggle-icon {
  width: 0;
  height: 0;
  border-left: 11px solid currentColor;
  border-right: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.hero .hero-sub {
  max-width: 560px;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.92);
}

.scroll-cue {
  position: absolute;
  right: var(--pad);
  bottom: 40px;
  z-index: 2;
  width: 1px;
  height: 72px;
  background: rgba(255,255,255,0.35);
  overflow: hidden;
}

/* On a phone the hero filled the whole screen with nothing but film, and a
   1px hairline in the corner was not enough of a signal that the page
   continues. Two changes: the hero stops short of full height so the next
   section peeks in, and the cue becomes a labelled arrow in the centre. */
@media (max-width: 860px) {
  /* 68vh, not 84. At 84 the next section only peeked in, and a strip of the
     following block is not a signal people read — on a phone the page still
     looked like it ended at the film. At 68 the Who We Are heading itself
     clears the fold on every common phone height, which is a signal nobody
     has to interpret. */
  .hero { height: 68vh; min-height: 420px; }

  .scroll-cue {
    right: 50%;
    transform: translateX(50%);
    bottom: 22px;
    width: auto;
    height: auto;
    background: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }
  .scroll-cue::before {
    content: "Scroll";
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
  }
  .scroll-cue::after {
    content: "";
    position: static;
    width: 9px;
    height: 9px;
    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(45deg);
    background: none;
    animation: cueNudge 1.8s ease-in-out infinite;
  }
  @keyframes cueNudge {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.55; }
    50%      { transform: rotate(45deg) translate(3px, 3px); opacity: 1; }
  }
}
.scroll-cue::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: #fff;
  animation: cueDrop 2.2s ease-in-out infinite;
}
@keyframes cueDrop { 0% { top: -50%; } 100% { top: 110%; } }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(60px, 10vw, 130px)) 0 clamp(48px, 7vw, 100px);
}
.page-hero.dark {
  background: var(--ink);
  color: #fff;
}
.page-hero h1 { margin-top: 16px; }
.page-hero .lead { max-width: 720px; margin-top: 28px; color: inherit; }

/* ---------- Buttons / links ---------- */

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  transition: gap 0.3s ease, color 0.3s ease;
}
.btn-line:hover { gap: 20px; color: var(--red); }
.btn-line .arr { font-size: 1rem; }

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 18px 36px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  transition: all 0.3s ease;
}
.btn-solid:hover { background: transparent; color: var(--ink); }
.dark .btn-solid { background: #fff; color: var(--ink); border-color: #fff; }
.dark .btn-solid:hover { background: transparent; color: #fff; }

/* ---------- Intro split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}

.split .split-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.split .split-media .media-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: left center;
  transition: transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.split .split-media:hover .media-img { transform: scale(1.05); }

.split h2 { margin: 18px 0 26px; }

/* Offset diptych — a tall shot with a smaller landscape one overlapping it.
   The white ring on the lower image is what separates the two. */
.media-duo {
  position: relative;
  aspect-ratio: 4 / 5;
}

.media-duo .duo-a,
.media-duo .duo-b {
  position: absolute;
  background-size: cover;
  background-position: center;
  transition: transform 1.1s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.media-duo .duo-a {
  top: 0;
  right: 0;
  width: 76%;
  height: 80%;
}

.media-duo .duo-b {
  bottom: 0;
  left: 0;
  width: 54%;
  height: 42%;
  box-shadow: 0 0 0 10px var(--paper);
}

.media-duo:hover .duo-a { transform: scale(1.03); }
.media-duo:hover .duo-b { transform: scale(1.04); }

/* ---------- Figures band ---------- */

/* Was ink with white type. The client asked for the Inditex register —
   white and beige rather than black — and this band was the page's one
   large dark surface besides the film. --stone carries it; the hero keeps
   its darkness because that is photography, not a painted surface. */
.figures {
  background: var(--stone);
  color: var(--ink);
}

.figures .figures-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(48px, 6vw, 90px);
  flex-wrap: wrap;
}

.figures .eyebrow { color: rgba(255,255,255,0.6); }

.fig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.14);
  border-top: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.fig {
  background: var(--ink);
  padding: clamp(28px, 3.5vw, 56px) clamp(20px, 2.5vw, 44px);
}

.fig .fig-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.fig .fig-num .unit { font-size: 0.55em; letter-spacing: 0.04em; }

.fig .fig-label {
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}

.fig-note {
  margin-top: 26px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
}

/* Narrative copy above the figure grid in the group section */
.group-copy {
  max-width: 900px;
  margin-bottom: clamp(44px, 5vw, 76px);
}

/* Light variant */
.figures.light { background: var(--stone); color: var(--ink); }
.figures.light .fig { background: var(--stone); }
.figures.light .fig-grid { background: var(--line); border-color: var(--line); }
.figures.light .fig .fig-label { color: var(--grey); }
.figures.light .eyebrow { color: var(--grey); }

/* ---------- Category tiles ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.tile {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
}

.tile .tile-img {
  position: absolute;
  inset: 0;
  /* crop out baked-in captions at the bottom of source images */
  bottom: -26%;
  background-size: cover;
  background-position: center top;
  transition: transform 1s cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* Clean originals need no caption crop — they fill the frame exactly */
.tile .tile-img.clean { bottom: 0; background-position: center; }

.tile:hover .tile-img { transform: scale(1.07); }

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%);
}

.tile .tile-label {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---------- Brand marquee ---------- */

.marquee-section { overflow: hidden; }

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover { animation-play-state: paused; }

.marquee .mq-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.marquee .mq-item {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1rem, 1.9vw, 1.6rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 26px;
  color: var(--ink);
}

.marquee .mq-dot { color: var(--ink); font-size: 1.2rem; }

/* One full set, not half the track. The track holds three identical sets, so
   -50% lands a set and a half along and the loop visibly jumped every cycle;
   -1/3 is exactly one period. This matters more now that the items are no
   longer all the same width. */
@keyframes marquee { to { transform: translateX(-33.3333%); } }

/* ---------- Brand wall ---------- */

.brand-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.brand-wall li {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 20px;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  cursor: default;
}

.brand-wall li:hover {
  background: var(--ink);
  color: #fff;
  letter-spacing: 0.2em;
}

.brand-wall li.more {
  color: var(--red);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
}
.brand-wall li.more:hover { background: var(--red); color: #fff; }

/* ---------- Leadership ---------- */

.leader-featured {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  background: var(--stone);
  padding: clamp(30px, 4vw, 64px);
}

.leader-portrait {
  position: relative;
  aspect-ratio: 1;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  letter-spacing: -0.04em;
  overflow: hidden;
}

/* photo sits above the monogram; if the file is missing the
   img removes itself (onerror) and the initials show instead */
.leader-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.leader-featured h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

.leader-featured .role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.leader-card {
  background: var(--stone);
  padding: clamp(28px, 3vw, 46px);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background 0.3s ease;
}

.leader-card:hover { background: #eceae5; }

.leader-card .mono {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: auto;
  color: var(--grey);
}

.leader-card h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.leader-card .role {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey);
}

.leader-card .soon {
  margin-top: 14px;
  font-size: 0.72rem;
  color: var(--grey);
  letter-spacing: 0.08em;
}

/* Named executive card — portrait (or monogram fallback) above the name */
.leader-person {
  background: var(--stone);
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease;
}

.leader-person:hover { background: #eceae5; }

/* Matching the Inditex leadership treatment: a 3:4 portrait frame rather than
   a square avatar, and a soft low-contrast black-and-white rather than a
   punchy one. The frame shape is what does most of the work. */
.leader-person .portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: -0.04em;
  overflow: hidden;
}

/* The portraits arrive from a dozen different shoots — studio colour, B&W
   headshots, outdoor campaign frames. Rendering them all black-and-white with
   a common contrast is what makes the wall read as one set instead of a
   scrapbook. Applied in CSS, so the original files stay untouched. */
.leader-person .portrait img,
.leader-featured .leader-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(1) brightness(1.06) contrast(0.94);
}

.leader-person .pbody { padding: clamp(22px, 2.4vw, 34px); }

.leader-person h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.leader-person .role {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
}

/* Chairman and CEO sit side by side, then stack on tablet down */
.featured-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

/* narrower columns than a full-width featured card, so the portrait shrinks */
.featured-pair .leader-featured { grid-template-columns: minmax(120px, 200px) 1fr; }

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

/* Chairman + CEO sit on their own row above the rest, centred. Nudging the
   first card to column 2 centres the pair in the 4-up grid while keeping the
   cards exactly the same size as everyone else's. Below 1025px the grid is
   already 2-up, so the pair fills the row and is centred without help. */
@media (min-width: 1025px) {
  .people-grid.lead-row > :first-child { grid-column-start: 2; }
}

/* ---------- Subsidiaries ---------- */

.subs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.sub-card {
  background: var(--stone);
  padding: clamp(26px, 2.6vw, 42px) clamp(20px, 2vw, 32px);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease, color 0.3s ease;
}

.sub-card:hover { background: var(--ink); color: #fff; }

.sub-card .sub-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
}

.sub-card .sub-desc {
  margin-top: 14px;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--grey);
}
.sub-card:hover .sub-desc { color: rgba(255,255,255,0.75); }

.sub-card .sub-link {
  margin-top: auto;
  padding-top: 26px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  gap: 8px;
}

.sub-card .sub-link .arr { transition: transform 0.3s ease; }
.sub-card:hover .sub-link .arr { transform: translateX(5px); }

/* ---------- Three pillars (e-commerce / retail / wholesale) ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pillar {
  background: var(--paper);
  padding: clamp(30px, 3.4vw, 56px) clamp(24px, 2.6vw, 46px);
  display: flex;
  flex-direction: column;
  transition: background 0.35s ease, color 0.35s ease;
}

.pillar:hover { background: var(--stone); }

.pillar .pillar-no {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--red);
}

.pillar h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 22px 0 16px;
}

.pillar p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--grey);
}

/* Dark variant, used on about.html */
.pillars.dark { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.14); }
.pillars.dark .pillar { background: var(--ink); color: #fff; }
.pillars.dark .pillar:hover { background: #171717; }
.pillars.dark .pillar p { color: rgba(255,255,255,0.68); }

/* ---------- The Who We Are band ----------

   The group facts sit *inside* the brands: the same six marks run as one
   moving ribbon above the facts and again below them. Boxing one logo per
   fact made six unrelated marks look pasted into a table; running them as
   continuous bands says "this is the company we keep" without pretending each
   brand proves a particular statistic.

   The markup repeats the six-mark set six times per band. The track animates
   translateX(-50%), so only half of it covers the viewport at the end of a
   cycle — half must therefore be wider than the widest screen, or a gap opens
   at the trailing edge. Six copies gives roughly 3,100px of cover.

   Every mark arrives from foxgroup.co.il as white-on-transparent at a common
   200x112 canvas. brightness(0) drives the paint to black and leaves alpha
   alone, so they flatten to ink and the shared canvas keeps them optically
   even without any per-logo tuning. */

/* One strip. Two competing bands were noisy, and a boxed strip with rules top
   and bottom read as a widget stuck onto the page. This one has no frame at
   all: it sits on stone, the marks are quiet, and a generous edge fade lets it
   dissolve into the margins rather than stopping at a hard line. */
.logo-strip {
  overflow: hidden;
  background: var(--stone);
  padding: clamp(24px, 2.6vw, 38px) 0;
  /* no bottom margin: the strip now closes the section, and .section's own
     padding already provides the space below it */
  margin: clamp(40px, 4.4vw, 66px) 0 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
}

.lmq-track {
  display: flex;
  width: max-content;
  animation: marquee 54s linear infinite;
}

.logo-strip:hover .lmq-track { animation-play-state: paused; }

.lmq-set {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

/* Sizing rule: equal cap height, not equal box.
 *
 * Every mark used to sit in an identical 172px box and fit inside it. That
 * looks like normalisation and is the opposite of it, for two reasons. The
 * files carried wildly different amounts of transparent margin — 87% on
 * American Eagle against 36% on Nike — and `object-fit: contain` scales the
 * whole canvas, margin included, so the margin became a hidden shrink factor.
 * And fitting by the longest side punishes wide wordmarks: at 12.8:1, American
 * Eagle filled the box's width and came out 10px tall next to Nike's 48px.
 *
 * The files are now cropped tight to their ink (see tools/), which removes the
 * first problem, and the size is driven by HEIGHT here, which removes the
 * second. The item has no fixed width — each one is as wide as its own mark
 * needs, so the strip reads as a row of logos rather than a row of cells.
 */
.lmq-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 0 clamp(18px, 2vw, 34px);
  flex: 0 0 auto;
}

.lmq-item img {
  height: clamp(30px, 3.2vw, 44px);
  width: auto;
  /* The damping. A 12.8:1 wordmark would need ~380px to reach the same cap
     height as Nike and would swallow the strip; capping the width lets it come
     up short in height instead, and object-fit centres what remains. Marks at
     ordinary proportions never reach this cap and so all share one height. */
  max-width: clamp(190px, 18.5vw, 264px);
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

/* hovering the strip dims the field and lifts the one under the cursor */
.logo-strip:hover .lmq-item img { opacity: 0.28; }
.lmq-item:hover img { opacity: 1; }

/* ---- the facts, as a ledger ----
   All six statements are quantities, so the figure leads and the sentence
   explains it. Six equal-weight paragraphs gave the eye nowhere to land; this
   matches how figures are set everywhere else on the site. */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 4.4vw, 72px) clamp(32px, 3.6vw, 60px);
}

.fact { margin: 0; }

.fact-fig {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 4.4vw, 4.1rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.fact-fig .unit { font-size: 0.5em; vertical-align: super; margin-left: 2px; }

/* Sized up against the figure above it: at 0.92rem the sentence read as a
   caption and the ledger looked top-heavy. It is the content, not a footnote. */
.fact-line {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.7;
  color: var(--ink);
  text-wrap: pretty;
}

/* yellow as a rule under ink text, never as the text colour itself — see the
   accent-legibility note earlier in this file */
.fact-link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--ink);
  transition: box-shadow 0.25s ease;
}

.fact-link:hover { box-shadow: inset 0 -3px 0 var(--ink); }
.fact-link .arr { margin-left: 5px; }

/* the animation is decorative; honour a stated preference for stillness */
@media (prefers-reduced-motion: reduce) {
  .lmq-track { animation: none; }
}

/* ---------- Editorial break ----------
   Two photographs as one composition, built to the proportions Inditex uses
   for its own editorial grid (measured off their homepage): equal cells at
   0.75-0.80 portrait, a hairline gap of a few pixels, and page margins rather
   than full bleed.

   Both sources were normalised to 4:5 before they got here, so the two cells
   are genuinely identical — that equality is what makes the pair read as one
   considered pane rather than two pictures that happen to be adjacent. */
.break-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.break-img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
}

@media (max-width: 560px) {
  /* still two-up: side by side is the composition, and a 4:5 pair survives a
     phone at roughly 160px per cell */
  .break-pair { gap: 6px; }
}

/* ---------- Capabilities grid ---------- */

/* Eight tiles in three columns leaves one cell empty on the last row. The
   hairlines used to come from a background showing through a 1px gap, so that
   empty cell rendered as a grey square. Each tile now draws its own hairline
   with an outline instead: adjacent outlines meet in the gap and read exactly
   the same, but a cell with no tile in it draws nothing. */
/* The 1px gap was the trick that drew a grid of boxes: cells with a dark
   background showing through as hairlines. That is what read as square.
   Real space between the cells instead, and the rule that separates them
   is a single hairline on top of each one. */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 48px) clamp(32px, 3.6vw, 64px);
}

/* A three-tile group is the three channels, and they are one idea — they
   stay on one row at every width. A four-tile group was running three up
   and one orphaned underneath. */
.cap-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cap-grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.cap {
  background: transparent;
  padding: clamp(18px, 1.8vw, 26px) 0 clamp(20px, 2vw, 30px);
  border-top: 1px solid var(--line);
  transition: border-color 0.35s ease;
}

/* The tile no longer repaints itself on hover or when open: on a light
   surface a filled state reads as a box, which is the thing being removed.
   The hairline that separates the tiles darkens instead. */
.cap:hover { border-top-color: var(--ink); }

.cap h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.1vw, 1.95rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* The yellow block that sat above each heading is gone. Twenty of them on
   one screen was the bulk of what the client meant by "all this yellow". */

.cap p {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.75;
  color: var(--grey);
}

/* ---------- Logo wall (Terminal X + subsidiaries) ----------
   Real brand logos, sourced from each brand's own site. They arrive in
   assorted colours (white, black, navy); `filter: brightness(0)` flattens
   every one to solid ink so the wall stays monochrome like the rest of the
   site. Transparency is preserved. */

.logo-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

/* Terminal X leads the wall full-width; the six subsidiaries sit below in 3×2 */
.logo-wall .lcard.wide { grid-column: 1 / -1; min-height: 260px; }

.lcard {
  background: var(--paper);
  min-height: 300px;
  padding: clamp(28px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background 0.35s ease;
}

.lcard:hover { background: var(--stone); }

.lcard .lcard-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 26px;
}

.lcard .lcard-logo img {
  max-height: 62px;
  max-width: 72%;
  width: auto;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.88;
  transition: opacity 0.35s ease;
}

.lcard:hover .lcard-logo img { opacity: 1; }

/* Square/emblem logos need more height than wordmarks to carry equal weight */
.lcard .lcard-logo img.sq { max-height: 94px; }

/* Photo variant — used where the brand has supplied real campaign imagery.
   Same grid cell, so photo and logo-only cards line up. */
/* The photograph is a block with the words underneath it, not a backdrop
   with words lying on top.

   It was the second: white type over the image, held up by a gradient that
   reached 70% black at mid-height and 97% at the foot. On these cards the
   type runs from 27% to 88% of the height — it covers nearly the whole
   card — so the gradient had to cover nearly the whole card too, and the
   result was a black square with a caption. Lifting the gradient was tried
   first and dropped the contrast under the brand names to 1.35:1, which is
   unreadable. There was no veil that was both light enough to see the
   photograph and dark enough to carry text across two thirds of it.

   So the text came off the picture. Ink on the page below it needs no veil
   at all, reads at full contrast, and the photograph is finally visible. */
.lcard.has-photo {
  position: relative;
  overflow: hidden;
  /* paper, not transparent: the wall behind these cards is --line showing
     through a 1px grid gap, so a transparent card is a grey card. */
  background: var(--paper);
  color: var(--ink);
  justify-content: flex-start;
  align-items: stretch;
  text-align: left;
  padding: 0 0 clamp(18px, 2vw, 26px);
  /* the card is now as tall as its contents; the 300px floor was for the
     logo-only cards, which still have it */
  min-height: 0;
}

/* in flow, with its own proportion, rather than filling the card */
.lcard.has-photo .lcard-photo {
  /* display: block matters. This is a <span>, and it was only ever
     rectangular because position: absolute blockified it. Switched to
     relative it went back to inline, where height is ignored — the card
     then sized to 127px around a photograph it believed was 205px and
     clipped it. */
  display: block;
  position: relative;
  inset: auto;
  width: 100%;
  /* A height, not a ratio. 4/3 looked right until the wide Terminal X card
     is 1079px across, where it made an 809px-tall photograph inside a 260px
     card — overflow: hidden clipped it and took the text with it. A height
     is the same on every card width, which is what a row of cards wants. */
  height: clamp(150px, 16vw, 230px);
  flex: none;
  margin-bottom: clamp(14px, 1.6vw, 20px);
}

/* no veil: there is nothing to see through and nothing to hold up */
.lcard.has-photo::after { display: none; }

.lcard.has-photo > :not(.lcard-photo) { padding: 0 clamp(14px, 1.6vw, 20px); }

/* Brand cards read as a monochrome wall and bloom into colour on hover —
   the colour is the reward for engaging, and the greyscale keeps six very
   different campaign palettes from fighting each other. */
.lcard.has-photo .lcard-photo {
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
  transition: transform 1s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.65s ease;
}

.lcard.has-photo:hover .lcard-photo,
.lcard.has-photo:focus-visible .lcard-photo { filter: grayscale(0); }

@media (hover: none) {
  /* touch devices get colour straight away — there is no hover to reward */
  .lcard.has-photo .lcard-photo { filter: grayscale(0); }
}

/* The brand name has to survive over sand, white studio walls and blown-out
   sky, so it gets weight and a shadow on top of the scrim rather than
   relying on the gradient alone. */
.lcard.has-photo .lcard-name {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.26em;
  color: var(--ink);
}

.lcard.has-photo .lcard-name,
.lcard.has-photo .lcard-desc,
.lcard.has-photo .lcard-more { text-shadow: none; }

.lcard.has-photo .lcard-desc { color: var(--grey); }

.lcard.has-photo > * { position: relative; z-index: 2; }
/* No hover zoom: the photograph is a band at the top of the card now
   rather than its background, so scaling it pushed it over the text. */

.lcard.has-photo .lcard-logo { flex: 0 0 auto; width: auto; margin-bottom: 16px; }
.lcard.has-photo .lcard-logo img { filter: brightness(0); max-height: 40px; opacity: 1; }
.lcard.has-photo .lcard-logo img.sq { max-height: 62px; }
.lcard.has-photo .lcard-desc { color: var(--grey); max-width: none; }
.lcard.has-photo .lcard-more { color: var(--grey); }
.lcard.has-photo:hover .lcard-more { color: var(--ink); }

/* Fallback wordmark for a brand with no logo file yet */
.lcard .lcard-logo .lcard-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lcard .lcard-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.lcard .lcard-desc {
  margin-top: 10px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--grey);
  max-width: 26ch;
}

.lcard .lcard-more {
  margin-top: 20px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--grey);
  display: inline-flex;
  gap: 9px;
  transition: color 0.3s ease, gap 0.3s ease;
}

.lcard:hover .lcard-more { color: var(--red); gap: 16px; }

/* ---------- Brand showcase (Terminal X + subsidiaries) ---------- */

.brand-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* Terminal X leads the grid at double width */
.brand-showcase .bcard.wide { grid-column: span 2; }

.bcard {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: var(--ink);
}

.brand-showcase .bcard.wide { aspect-ratio: 8 / 5; }

.bcard .bcard-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.1s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.bcard:hover .bcard-img { transform: scale(1.06); }

.bcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.72) 100%);
  transition: background 0.4s ease;
}

.bcard:hover::after { background: linear-gradient(180deg, rgba(0,0,0,0.2) 20%, rgba(0,0,0,0.8) 100%); }

.bcard .bcard-body {
  position: relative;
  z-index: 2;
  padding: clamp(22px, 2.4vw, 40px);
}

/* Typographic wordmark. Swap for <img class="bcard-logo" src="…"> when
   real subsidiary logo files are supplied. */
.bcard .bcard-mark {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2.6rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.1;
}

.bcard .bcard-logo { max-height: 46px; width: auto; margin-bottom: 4px; }

.bcard .bcard-desc {
  margin-top: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.8);
  max-width: 32ch;
}

.bcard .bcard-more {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  transition: gap 0.3s ease, border-color 0.3s ease;
}

.bcard:hover .bcard-more { gap: 18px; border-color: #fff; }

/* ---------- Brand detail page ---------- */

/* Most brand covers are portrait campaign frames. A short, very wide hero
   crops them to a letterbox slice, so the band is tall enough to keep a
   usable amount of the picture. */
.brand-hero {
  position: relative;
  min-height: clamp(520px, 82vh, 860px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  padding-top: var(--header-h);
}

/* Heroes are much wider than the source photos, so a centred crop eats the
   top of people's heads. Biasing upward keeps faces in frame. */
.brand-hero .brand-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 22%;
}

/* The gradient itself is NOT set here. A second .brand-hero::after further
   down the file (search "more weight at the foot") overrides it at equal
   specificity, and a background declared here is simply dead. It carried a
   different, lighter gradient for a long time and read as though it were the
   live one. */
.brand-hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* A brand hero already carries its own scrim, so the header does not need the
   heavy one tuned for the home page's bright video. Measured across all seven
   brand heroes at 1500x700: white header type stays at 4.73:1 or better
   against the brightest patch of every photograph, so this still clears AA. */
body.brand-page .site-header::before {
  background: linear-gradient(180deg,
    rgba(0,0,0,0.56) 0%,
    rgba(0,0,0,0.36) 55%,
    rgba(0,0,0,0) 100%);
}

/* A brand with no usable cover photography gets a plain ink panel rather than
   a weak stand-in image. Shorter, because there is no picture to show. */
.brand-hero.no-image {
  background: var(--ink);
  min-height: clamp(340px, 46vh, 460px);
}

.brand-hero.no-image::after { background: none; }

.brand-hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(40px, 6vw, 80px); }

.brand-hero .brand-hero-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 14px 0 18px;
}

/* Real brand logo, flattened to white so it reads over the hero photo */
.brand-hero .brand-hero-logo {
  max-height: clamp(52px, 7vw, 92px);
  max-width: min(420px, 70vw);
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* square emblems need more height than wordmarks to carry the same weight */
.brand-hero .brand-hero-logo.sq { max-height: clamp(86px, 11vw, 140px); }

.brand-hero .brand-hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  max-width: 560px;
}

/* Two headline banners rather than a row of small stats. Only Terminal X has
   figures worth this much room, and at two-up each one can be set large enough
   to carry the section on its own. */
.brand-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: clamp(40px, 5vw, 70px) 0;
}

.brand-facts .bfact {
  background: var(--stone);
  padding: clamp(34px, 3.6vw, 58px);
  transition: background 0.35s ease;
}

.brand-facts .bfact:hover { background: #eeece7; }

.brand-facts .bfact .bnum {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.brand-facts .bfact .bnum .unit { font-size: 0.42em; vertical-align: super; margin-left: 2px; }

@media (max-width: 560px) {
  .brand-facts { grid-template-columns: 1fr; }
  .brand-facts .bfact { padding: 26px 22px; }
  .brand-facts .bfact .bnum { font-size: 2.8rem; }
}

/* Text-valued fact (category / owner / storefront) rather than a figure */
.brand-facts .bfact .btext {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

.brand-facts .bfact .blabel {
  margin-top: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey);
}

/* Uniform grid — every shot the same size, as the client asked. Faces stay
   intact because `object-position: center 25%` biases the crop to the upper
   part of the frame, where heads sit in fashion photography. */
/* One row, however many frames there are. In a three-column grid a gallery of
   five left a half-empty second row, and the odd frame out looked like a
   mistake. auto-flow: column puts them all on one line at equal width, so the
   count stops mattering. */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 10px;
}

.gallery .shot {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.gallery .shot:hover { transform: scale(1.03); }

/* ---------- Investor: stock widgets ----------

   The three listed companies sit side by side, once for the share cards and
   again for the ownership pies. Stacking them made the page enormous and made
   TRX look more important than the other two, which isn't the point — the
   point is that the group has three listed companies. */

.co-grid {
  display: grid;
  /* auto-fit, not a hard count: the page carried three listed companies
     and now carries two, and a fixed three-column rule would have left the
     row with a hole rather than sharing the width. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(10px, 1vw, 16px);
}

.co-card,
.pie-card {
  border: 1px solid var(--line);
  padding: clamp(24px, 2.4vw, 38px);
  display: flex;
  flex-direction: column;
}

.co-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  letter-spacing: 0.02em;
  margin: 0 0 8px;
}

.co-blurb {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--grey);
  margin: 0 0 auto;
  padding-bottom: 20px;
}

/* Two widgets per card — today's quote, then the 12-month line — each under
   its own small label so it's obvious which is which at a glance. */
.tv-block { margin-bottom: 20px; }

.tv-block h4 {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.co-card .tv-holder { margin-bottom: 0; }

.co-card .stock-links { margin-top: 0; }

/* three links in a narrow column read better stacked than wrapped */
.co-card .stock-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* pies are small here, so pie and legend stack instead of sitting side by side */
.pie-card .ownership {
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 22px;
}

.pie-card .ownership .pie { max-width: 190px; margin: 0 auto; }

.pie-card .pie-legend { gap: 14px; }
.pie-card .pie-legend li { padding-bottom: 12px; gap: 12px; }
.pie-card .pie-legend .pct { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
.pie-card .pie-legend .lbl { font-size: 0.68rem; letter-spacing: 0.14em; }

.pie-card .pie-source { margin-top: auto; padding-top: 22px; }

.stock-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  align-items: stretch;
}

.stock-card {
  border: 1px solid var(--line);
  padding: clamp(24px, 2.6vw, 40px);
  display: flex;
  flex-direction: column;
}

.stock-card h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.stock-card .tv-holder { flex: 1; min-height: 200px; }

.stock-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 30px;
}

.stock-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.stock-links a:hover { color: var(--red); border-color: var(--red); }

/* ---------- Investor: reports & presentations ---------- */

.report-year {
  border-top: 1px solid var(--line);
  padding: clamp(22px, 2.4vw, 34px) 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: start;
}

.report-year:last-child { border-bottom: 1px solid var(--line); }

.report-year .ryear {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1;
  letter-spacing: 0.04em;
}

.report-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
}

.report-list a,
.report-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--stone);
  padding: 16px 20px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  transition: background 0.25s ease, color 0.25s ease;
}

.report-list a:hover { background: var(--ink); color: #fff; }

.report-list a .arr { color: var(--red); }
.report-list a:hover .arr { color: #fff; }

.report-list span { color: var(--grey); }

/* ---------- Investor: shareholder-composition pie ----------
   Three slices in the site palette — ink, brand yellow, stone-grey — rather
   than the blues Maya uses. Slice geometry is drawn by main.js from
   js/ownership.js, so the markup carries no numbers. */

.ownership {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.ownership .pie {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

/* A fine ring rather than a filled pie. Same data, but wedges read as a
   spreadsheet and a ring reads like the rest of the site. Arcs start at 12
   o'clock, hence the rotation, and each is shortened by a couple of degrees so
   there is air between them instead of a hard butt joint. */
.ownership .arc {
  fill: none;
  stroke-width: 9;
  stroke-linecap: butt;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: opacity 0.3s ease, stroke-width 0.3s ease;
}

/* A tonal ramp in the site's own warm neutrals, not ink + yellow + grey. The
   yellow is the brand accent and shouting it across a third of a chart made
   the whole page look like a dashboard; three steps of the same neutral read
   as a considered chart and keep the accent rare. */
.ownership .arc-0 { stroke: var(--ink); }
.ownership .arc-1 { stroke: #8c8880; }
.ownership .arc-2 { stroke: #ddd9d1; }

.ownership:hover .arc { opacity: 0.35; }
.ownership .arc:hover { opacity: 1; stroke-width: 13; }

.ownership .pie-centre {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.08em;
  fill: var(--ink);
  text-anchor: middle;
  dominant-baseline: central;
}

.pie-legend { display: flex; flex-direction: column; gap: 20px; }

.pie-legend li {
  display: grid;
  grid-template-columns: 16px auto 1fr;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

/* short rules rather than colour squares — they echo the ring's stroke */
.pie-legend .key {
  width: 16px;
  height: 3px;
  align-self: center;
}

.pie-legend .key-0 { background: var(--ink); }
.pie-legend .key-1 { background: #8c8880; }
.pie-legend .key-2 { background: #ddd9d1; }

.pie-legend .pct {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.pie-legend .lbl {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

.pie-source {
  margin-top: clamp(28px, 3vw, 44px);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--grey);
}

.pie-source a { box-shadow: inset 0 -2px 0 var(--ink); color: var(--ink); }

.holder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(34px, 4vw, 56px);
}

.holder-group { background: var(--paper); padding: clamp(22px, 2.4vw, 34px); }

.holder-group h5 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 18px;
}

.holder-group .holder {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 9px 0;
  font-size: 0.86rem;
  border-bottom: 1px solid var(--line);
}

.holder-group .holder:last-child { border-bottom: 0; }

.holder-group .holder b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

/* ---------- Investor: pending-data note & disclaimer ---------- */

.note {
  border-left: 2px solid var(--red);
  background: var(--stone);
  padding: clamp(22px, 2.4vw, 34px) clamp(24px, 2.6vw, 40px);
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--grey);
}

.note strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}

.disclaimer {
  background: var(--stone);
  padding: clamp(40px, 5vw, 72px) 0;
  border-top: 1px solid var(--line);
}

.disclaimer h5 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 20px;
}

.disclaimer p {
  max-width: 1000px;
  font-size: 0.78rem;
  line-height: 1.9;
  color: var(--grey);
}

/* ---------- Contact / partner band ---------- */

.contact-band {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.contact-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-inner h2 { margin: 16px 0 20px; }

.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.contact-cta .btn-solid { margin-top: 0; }

/* Address shown under the button, as a fallback to the mailto */
.contact-mail {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  letter-spacing: 0.16em;
  text-transform: lowercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-mail:hover { color: var(--red); border-color: var(--red); }

/* ---------- Fox Group band ---------- */

.fox-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.fox-band .fox-mark {
  position: absolute;
  right: -2%;
  bottom: -22%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(12rem, 28vw, 26rem);
  line-height: 1;
  color: rgba(255,255,255,0.05);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
}

.fox-band .eyebrow { color: rgba(255,255,255,0.6); }

.fox-band h2 { margin: 18px 0 26px; max-width: 860px; }

.fox-band .lead { max-width: 720px; color: rgba(255,255,255,0.85); }

/* ---------- Ticker cards ---------- */

.ticker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ticker-card {
  border: 1px solid var(--line);
  padding: clamp(30px, 3.5vw, 54px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.ticker-card:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.ticker-card .tase {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
}
.ticker-card:hover .tase { color: rgba(255,255,255,0.6); }

.ticker-card .sym {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.ticker-card .co {
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--grey);
}
.ticker-card:hover .co { color: rgba(255,255,255,0.75); }

.ticker-card .view {
  margin-top: 26px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  display: inline-flex;
  gap: 10px;
}

.ticker-card .view .arr { transition: transform 0.3s ease; }
.ticker-card:hover .view .arr { transform: translateX(6px); }

/* ---------- Placeholder docs ---------- */

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.doc-card {
  background: var(--stone);
  padding: clamp(28px, 3vw, 44px);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.doc-card .doc-type {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
}

.doc-card h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 40px;
}

.doc-card .soon { font-size: 0.74rem; color: var(--grey); margin-top: 8px; letter-spacing: 0.08em; }

/* ---------- Section headers ---------- */

.sec-head { margin-bottom: clamp(40px, 5vw, 80px); }
.sec-head h2 { margin-top: 16px; }
.sec-head .lead { max-width: 760px; margin-top: 24px; }

.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--stone);
  color: var(--ink);
  padding: clamp(60px, 8vw, 110px) 0 40px;
}

/* Three columns since the monogram block came out — the old 2fr lead column
   was holding the mark, and leaving it would have opened a gap on the left. */
.footer-grid {
  display: grid;
  /* auto-fit, not a hard three: the Contact Us column is gone and a fixed
     count would leave the row with an empty slot where it used to be. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(30px, 5vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

/* Supplied TX monogram, already white — sits on the dark footer as-is */
.footer-mono {
  display: block;
  height: clamp(46px, 6vw, 64px);
  width: auto;
}

.footer-tag {
  margin-top: 18px;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey);
}

/* h2, not h5. The footer columns were h5 under an h1 or h2, which skips
   three levels - a screen reader reading by heading hears the structure
   collapse at the footer on every page. They are top-level sections of the
   footer landmark, so h2 is the honest level; .footer-head keeps the size,
   which was never the thing that was wrong. */
.footer-col .footer-head {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 22px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  font-weight: 300;
  padding: 7px 0;
  color: var(--ink);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-col a:hover { color: var(--ink); padding-left: 6px; }

/* The footer now carries the same eight destinations as the side menu, and
   the same two levels. Indentation does the work in both places, so the
   second level is styled to match .sub-nav a.deep rather than inventing a
   different idiom for the same relationship. The hover nudge is suppressed
   on these: a 6px shift on an already-indented child reads as the item
   jumping between levels. */
.footer-col a.deep {
  padding-left: 14px;
  opacity: 0.6;
  font-size: 0.8rem;
}
.footer-col a.deep:hover { padding-left: 14px; opacity: 1; }

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 32px;
  flex-wrap: wrap;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--grey);
}

/* ---------- Accent legibility ----------
   Yellow letterforms disappear on white. Everything accented on a LIGHT
   surface therefore becomes ink-on-yellow (a chip or a rule); accented text
   is only left yellow where it sits on ink. */

/* Small accent labels → ink text on a yellow chip */
.doc-card .doc-type,
.pillar .pillar-no {
  display: inline-block;
  align-self: flex-start;
  color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 5px 11px;
}

/* Leadership roles stay plain — a yellow chip behind every name read as
   highlighter pen rather than as design. */
.leader-featured .role { color: var(--ink); background: none; padding: 0; }
.leader-person .role { color: var(--grey); background: none; padding: 0; }

/* Accent links → ink text with a yellow rule */
.btn-line:hover { color: var(--ink); border-color: var(--ink); border-bottom-width: 2px; }
.figures .btn-line:hover,
.fox-band .btn-line:hover,
.hero .btn-line:hover,
.page-hero .btn-line:hover { color: var(--paper); border-color: var(--paper); }

.lcard:hover .lcard-more { color: var(--ink); }
.stock-links a:hover,
.contact-mail:hover { color: var(--ink); border-color: var(--ink); border-bottom-width: 2px; }
/* Nav selection is black, not yellow */
.drop-panel a:hover { background: var(--ink); color: var(--paper); }
.mobile-menu a:hover { color: var(--ink); background: none; }
.report-list a .arr { color: var(--ink); }
.report-list a:hover .arr { color: var(--paper); }
.note a { color: var(--ink) !important; box-shadow: inset 0 -2px 0 var(--ink); }

/* Marquee separator: a filled block reads where a yellow glyph would not */
.marquee .mq-dot { font-size: 0; padding: 0 4px; }
.marquee .mq-dot::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--ink);
  vertical-align: middle;
}

.brand-wall li.more { background: var(--ink); color: var(--paper); }
.brand-wall li.more:hover { background: var(--ink); color: var(--paper); }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1);
}

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

.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; transform: none; }
  .marquee { animation-duration: 200s; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .fig-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .leader-grid, .ticker-grid, .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .subs-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-showcase { grid-template-columns: repeat(2, 1fr); }
  .brand-showcase .bcard.wide { grid-column: span 2; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .stock-grid { grid-template-columns: 1fr; }
  /* three share cards won't hold their widget at tablet width */
  .co-grid { grid-template-columns: 1fr; }
  .pie-card .ownership { grid-template-columns: minmax(180px, 240px) 1fr; align-items: center; }
  .pie-card .ownership .pie { margin: 0; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .burger { display: block; }
  /* The control sits at the start of the row, before the lockup. With the
     nav hidden, space-between would push the two remaining children to
     opposite edges and strand the logo against the right rail — so the row
     packs from the start and the lockup takes the slack instead. */
  .site-header .wrap { justify-content: flex-start; gap: clamp(12px, 3vw, 18px); }
  .brand { margin-right: auto; }
  .split { grid-template-columns: 1fr; }
  .split .split-media { aspect-ratio: 16 / 10; order: -1; }
  .split .media-duo { aspect-ratio: 1 / 1; order: -1; }
  .leader-featured,
  .featured-pair,
  .featured-pair .leader-featured { grid-template-columns: 1fr; }
  .leader-portrait { max-width: 260px; }
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .report-year { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 700px) {
  .hero-bg { background-position: 32% top; }
}

@media (max-width: 560px) {
  /* Keep two columns wherever the content is a tile rather than prose —
     one column here made the pages several screens longer than they need
     to be. Only cards that actually hold sentences drop to a single column. */
  /* minmax(0,…) — plain 1fr lets a wide child push the columns uneven */
  .fig-grid,
  .tiles,
  .logo-wall,
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0,1fr)); }

  .leader-grid, .ticker-grid, .doc-grid, .subs-grid, .brand-showcase { grid-template-columns: 1fr; }
  /* Two-up, not three. At 375 a third of the row is a 99px cell and
     "Merchandising," is 126px of unbreakable word — it ran straight
     through the tile border. Two columns give 155px and it fits; it also
     stops E-Commerce breaking as "E-" / "Commerce". Two-up is what the
     documented phone rule says tiles should do anyway. */
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* The three channels stay together on a phone as well, at the client's
     request. Three across a 375 screen is a 99px cell, which fits the three
     names at the same size every other tile name uses — the only one that
     wraps is E-Commerce, and it breaks at its own hyphen. The four-tile
     groups cannot do this: "Merchandising," alone needs 126px. */
  /* A tight column gap here, because the gap is what was starving the type.
     At the shared 32px column gap a third of a 375 screen is a 78px cell,
     and "Wholesale" needs 84px even at 16px — nothing fitted on one line at
     any readable size. At an 8px gap the cell is 94px and the names carry
     18px. The three are close together anyway; they are one idea. */
  .cap-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cap-grid.is-3 { column-gap: 8px; }
  /* No tracking and a tighter tile: at a 94px cell the padding and the
     letter-spacing together were worth 26px, and 'Commerce' needs 74 of the
     80 that leaves. It was overflowing by 4.7px before this. */
  .cap-grid.is-3 .cap .cap-title { font-size: 1.12rem; letter-spacing: 0; }
  .door-body .cap-grid.is-3 .cap { padding-inline: 7px; }

  /* The two Acquisitions headings keep "Acquisitions" on the same line as
     the group name, at the client's request. The full string needs 349px of
     a 285px row at the shared heading size, so these two — and only these
     two — are set smaller. They were previously broken across two lines,
     which kept the size but split the phrase. */
  /* 0.78rem was far too small, and shrinking was the wrong lever twice over.
     At the shared heading size the string needs 349px of a 285px row — but
     83px of that is letter-spacing, 0.12em across 29 characters. Take the
     tracking off and it fits at very nearly full size. */
  /* Raised again now the topics around it are 25.6px: at 1.12rem this pair
     sat seven points below its own siblings. The longer of the two needs
     278px of the 299px column at 1.3rem, so one line still holds with room
     to spare, and the two levels stop looking like different levels. */
  .subs-pair .strip-title {
    font-size: 1.3rem;
    letter-spacing: 0;
    /* No nowrap. It was here to keep "Acquisitions" on the group name's
       line, but taking the tracking off is what actually made it fit - at
       1.3rem the longer of the two needs 279px of a 299px column and holds
       one line on its own. The nowrap was then doing nothing at normal size
       and breaking WCAG 1.4.4 at 200% text, where it forced 557px of text
       through a 320px viewport. A reader who scales text now gets two lines
       instead of a horizontal scrollbar. */
  }
  .cap-grid.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Two columns at 375 give each name about 105px of text. Tracking and
     padding are the cheapest width on the page, so they go first - the type
     size stays where the client asked for it. */
  .cap-grid.is-4 .cap .cap-title { letter-spacing: 0.01em; }
  .cap-grid.is-4 .cap-toggle { gap: 10px; }

  /* A tile that is open takes the whole row on a phone.

     Three names fit across 375 comfortably. Three open PANELS do not: the
     bullets inside get a 99px column and the sentences break mid-word —
     "dedicc", "websit", "experie". The row is the right place for the names
     and the wrong place for the prose, so the tile widens when it has prose
     to show and returns to its third of the row when it does not. */
  .cap-grid .cap.is-open { grid-column: 1 / -1; }
  /* facts hold sentences, so they go single-column on a phone */
  /* still noticeably larger than body copy, just not desktop-sized */
  /* two-up at phone width: the figure is short and the sentence is short, so
     one column would waste most of the screen */
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  .fact-fig { font-size: 2rem; padding-bottom: 12px; margin-bottom: 12px; }
  .fact-line { font-size: 0.78rem; line-height: 1.65; }
  /* two tiles per row at phone width, so the padding and type come down to
     suit a ~165px cell rather than a full-width one */
  .cap { padding: 20px 16px; }
  .cap h3 { font-size: 1rem; letter-spacing: 0.06em; margin-bottom: 10px; }
  .cap h3::before { width: 18px; height: 7px; margin-bottom: 12px; }
  .cap p { font-size: 0.78rem; line-height: 1.65; }
  /* no width here either — the item follows its own mark; see .lmq-item */
  .lmq-item { height: 54px; padding: 0 14px; }
  .lmq-item img { height: 26px; max-width: 148px; }
  .logo-strip { padding: 20px 0; margin: 32px 0 36px; }
  /* fewer marks fit on a narrow screen, so speed the loop up to match */
  .lmq-track { animation-duration: 34s; }
  /* the pie has no room to sit beside its legend on a phone */
  .pie-card .ownership { grid-template-columns: 1fr; }
  .pie-card .ownership .pie { margin: 0 auto; }

  .sub-card { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-wall { grid-template-columns: repeat(2, 1fr); }
  .brand-wall li { padding: 18px 14px; font-size: 0.7rem; }
  .brand-showcase .bcard.wide { grid-column: span 1; aspect-ratio: 4 / 5; }

  /* tighten the two-up tiles so they stay readable at ~165px wide */
  .fig { padding: 22px 16px; }
  .fig .fig-num { font-size: 2rem; }
  .fig .fig-label { font-size: 0.63rem; letter-spacing: 0.14em; margin-top: 10px; }

  .lcard { min-height: 190px; padding: 22px 14px; }
  .lcard .lcard-logo { margin-bottom: 18px; }
  .lcard .lcard-logo img { max-height: 40px; max-width: 80%; }
  .lcard .lcard-logo img.sq { max-height: 58px; }
  .lcard .lcard-name { font-size: 0.8rem; letter-spacing: 0.18em; }
  .lcard .lcard-desc { font-size: 0.7rem; }
  .lcard .lcard-more { font-size: 0.6rem; letter-spacing: 0.18em; margin-top: 14px; }

  .leader-person .pbody { padding: 16px 12px; }
  .leader-person h4 { font-size: 0.95rem; letter-spacing: 0.04em; }
  .leader-person .role { font-size: 0.6rem; letter-spacing: 0.12em; padding: 4px 8px; }

  .tile .tile-label { padding: 14px; font-size: 0.85rem; letter-spacing: 0.14em; }

  .contact-inner { gap: 26px; }
  .contact-cta { width: 100%; }
  .contact-cta .btn-solid { width: 100%; justify-content: center; padding: 16px 20px; }

  .report-list { grid-template-columns: 1fr; }
  .stock-card { padding: 20px 16px; }

  .ownership { grid-template-columns: 1fr; gap: 32px; }
  .ownership .pie { max-width: 260px; margin: 0 auto; }
  .pie-legend .pct { font-size: 1.4rem; }
}

/* Very narrow phones only (below the common 375pt width) */
@media (max-width: 340px) {
  .fig-grid, .tiles { grid-template-columns: 1fr; }
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ---------- Gallery lightbox ----------
   Opened by js/main.js when a gallery frame is clicked. The overlay is ink at
   96% rather than pure black so it reads as the site's own dark rather than a
   generic viewer, and the photograph is capped at 88vh so the controls and the
   counter always have room. */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 32px);
  padding: clamp(16px, 4vw, 56px);
  background: rgba(14, 14, 14, 0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s;
}

.lightbox.in { opacity: 1; visibility: visible; }

body.lb-open { overflow: hidden; }

.lb-stage {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.lb-stage img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.lb-count {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
}

.lb-nav,
.lb-close {
  flex: 0 0 auto;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.lb-nav:hover,
.lb-close:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.lb-nav:focus-visible,
.lb-close:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.lb-close {
  position: absolute;
  top: clamp(14px, 3vw, 34px);
  right: clamp(14px, 3vw, 34px);
  font-size: 1.5rem;
}

/* the frames themselves now advertise that they do something */
.gallery .shot { cursor: zoom-in; }
.gallery .shot:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

@media (max-width: 700px) {
  /* arrows move under the picture — at the sides they crowd it on a phone */
  .lightbox { flex-wrap: wrap; align-content: center; }
  .lb-stage { order: 1; flex-basis: 100%; }
  .lb-prev { order: 2; }
  .lb-next { order: 3; }
  .lb-stage img { max-height: 68vh; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox { transition: none; }
}

/* ---------- Page hero with a photograph (investors) ----------
   Same idea as the brand heroes: the picture is a background layer under a
   scrim, so the type sits on it without a filter over the whole section. */

.page-hero.has-image { position: relative; overflow: hidden; }

.page-hero.has-image .page-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

/* Scrim weighted to the bottom-left, where the type sits. The photograph is
   bright and the headline is white, so without this the lead copy in
   particular drops below a readable contrast. */
.page-hero.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(14,14,14,0.86) 0%, rgba(14,14,14,0.55) 38%, rgba(14,14,14,0.12) 70%, rgba(14,14,14,0.05) 100%),
    linear-gradient(to right, rgba(14,14,14,0.55) 0%, rgba(14,14,14,0.1) 55%, transparent 100%);
}

.page-hero.has-image > .wrap { position: relative; z-index: 2; }

/* Height is set by an aspect ratio, not a short min-height. At ~640px tall on
   a 1900px screen the frame was 3:1 and threw away more than half a 4:3
   photograph — re-cropping the source could not fix that, because the
   container was the thing doing the cropping. At 2:1 roughly two thirds of the
   frame survives, which is enough to read the street rather than just a face. */
.page-hero.has-image {
  aspect-ratio: 2 / 1;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(44px, 5vw, 76px);
}

@media (max-width: 860px) {
  /* narrower screen, so the frame can be squarer and show more again */
  .page-hero.has-image { aspect-ratio: 4 / 3; min-height: 400px; }
  .page-hero.has-image .page-hero-img { background-position: center 22%; }
}

/* ---------- Portfolio block (Terminal X) ----------
   Two headline figures across the top at full size, and the brands they refer
   to running full width beneath them inside the same border. One block,
   because "400+ brands" and the names are one statement — but the figures get
   a half each rather than a narrow column, since squeezing them beside the
   list is what stopped them reading as headlines.

   Names are set inline with a multiplication sign between them, not as a
   wrapped list: 24 names in a plain list read as a directory. */

.portfolio-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: clamp(40px, 5vw, 70px) 0;
}

.portfolio-block .bfact {
  background: var(--stone);
  padding: clamp(34px, 3.6vw, 58px);
  transition: background 0.35s ease;
}

.portfolio-block .bfact:hover { background: #eeece7; }

.portfolio-block .bnum {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.portfolio-block .bnum .unit { font-size: 0.42em; vertical-align: super; margin-left: 2px; }

.portfolio-block .blabel {
  margin-top: 16px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

/* Spanning both columns is what attaches the names to the 400+ above them,
   and they run as one moving line rather than a wrapped block: across several
   rows 24 names read as a directory, on a single track they read as a
   roll-call. Same mechanism as the homepage strip. */
.pb-names {
  grid-column: 1 / -1;
  background: var(--paper);
  padding: clamp(24px, 2.6vw, 36px) 0;
  overflow: hidden;
  /* dissolve into the block's edges instead of stopping at a hard cut */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
}

.pb-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.pb-names:hover .pb-track { animation-play-state: paused; }

.pw-list {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: clamp(14px, 1.5vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0 clamp(7px, 0.75vw, 12px);
}

.pw-list li {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.5vw, 24px);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.82rem, 1.05vw, 1rem);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.78;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

/* × after every name, including across the seam between repeats — on a loop
   there is no "last" one */
.pw-list li::after {
  content: "\00D7";
  font-size: 0.72em;
  color: var(--grey);
  opacity: 0.5;
}

.pb-names:hover .pw-list li { opacity: 0.3; }
.pw-list li:hover { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .pb-track { animation: none; }
}

@media (max-width: 560px) {
  .portfolio-block { grid-template-columns: 1fr; }
  .portfolio-block .bfact { padding: 24px 20px; }
  .portfolio-block .bnum { font-size: 2.9rem; }
  .portfolio-block .blabel { font-size: 0.62rem; letter-spacing: 0.14em; margin-top: 12px; }
  .pb-names { padding: 18px 0; }
  .pw-list { gap: 12px; padding: 0 6px; }
  .pw-list li { font-size: 0.7rem; letter-spacing: 0.09em; gap: 12px; }
  /* fewer names fit on a narrow screen, so speed the loop up to match */
  .pb-track { animation-duration: 38s; }
}

/* ---------- Shareholder composition, set as type ----------
   A pie and a ring were both tried and both rejected, and both were the wrong
   instrument: three values that only need comparing against each other don't
   need geometry. The percentage carries the information at display size, and
   the hairline under it is scaled to the value so the comparison is still
   visible at a glance. Nothing here reads as a chart widget. */

.own-list {
  list-style: none;
  margin: clamp(26px, 3vw, 40px) 0 0;
  padding: 0;
}

.own-row + .own-row {
  margin-top: clamp(22px, 2.4vw, 34px);
  padding-top: clamp(22px, 2.4vw, 34px);
  border-top: 1px solid var(--line);
}

.own-pct {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 3.1vw, 2.9rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.own-pct .own-sym { font-size: 0.42em; vertical-align: super; margin-left: 1px; }

.own-bar {
  display: block;
  height: 3px;
  margin: 14px 0 10px;
  background: var(--line);
}

.own-fill {
  display: block;
  height: 100%;
  background: var(--ink);
  transform-origin: left center;
  transition: opacity 0.3s ease;
}

/* the largest slice takes the accent — one emphasis per card, not three */
.own-0 .own-fill { background: var(--ink); }
.own-1 .own-fill { background: #8c8880; }
.own-2 .own-fill { background: #c8c4bc; }

.own-lbl {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  line-height: 1.6;
}

.pie-card .co-name { margin-bottom: 4px; }

@media (max-width: 560px) {
  .own-pct { font-size: 1.9rem; }
  .own-lbl { font-size: 0.6rem; letter-spacing: 0.14em; }
  .own-row + .own-row { margin-top: 18px; padding-top: 18px; }
}

/* ---------- Share price: period tabs ----------
   Two buttons instead of two stacked charts. Both widgets stay embedded and
   the tab only toggles which is shown, so switching costs nothing. */

.period-tabs {
  display: flex;
  gap: 0;
  margin: 20px 0 18px;
  border: 1px solid var(--line);
}

.period-tab {
  flex: 1;
  background: none;
  border: 0;
  padding: 11px 8px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  transition: background 0.25s ease, color 0.25s ease;
}

.period-tab + .period-tab { border-left: 1px solid var(--line); }
.period-tab:hover { color: var(--ink); }
.period-tab.is-on { background: var(--ink); color: #fff; }
.period-tab:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

.period-pane { display: none; }
.period-pane.is-on { display: block; }

/* ---------- Shareholder composition: donut ----------
   Back to a pie, as a donut. What made the first one ugly was three saturated
   wedges meeting at hard edges — this is one ring with a hairline of paper
   between segments, in the site's warm neutrals plus a single muted gold, and
   the largest holding called out in the hole. */

/* The ring fills the card's width rather than sitting as a small medallion in
   the middle of it — at 230px inside a ~400px card it looked like an
   afterthought floating above the numbers. */
.donut-wrap {
  margin: clamp(22px, 2.6vw, 34px) auto clamp(24px, 2.6vw, 34px);
  width: 100%;
  max-width: 300px;
}

.donut { width: 100%; height: auto; display: block; overflow: visible; }

.donut .dseg {
  fill: none;
  stroke-linecap: butt;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: opacity 0.3s ease;
}

/* ink, a muted gold that nods to the accent without shouting it, warm stone */
.donut .dseg-0 { stroke: #14140f; }
.donut .dseg-1 { stroke: #b8a76a; }
.donut .dseg-2 { stroke: #ddd9d0; }

.donut-wrap:hover .dseg { opacity: 0.3; }
.donut .dseg:hover { opacity: 1; }

.donut .dcentre-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  fill: var(--ink);
  text-anchor: middle;
}

.donut .dcentre-cap {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  fill: var(--grey);
  text-anchor: middle;
}

.donut-legend { list-style: none; margin: 0; padding: 0; }

/* Dot, label, then the percentage hard right. The percentage used to sit in
   the middle column, which left every number at a different horizontal
   position depending on how long its label was — that is what read as
   lopsided. Right-aligned and tabular, the three figures line up. */
.dleg {
  display: grid;
  grid-template-columns: 9px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.dleg .dkey {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dleg-0 .dkey { background: #14140f; }
.dleg-1 .dkey { background: #b8a76a; }
.dleg-2 .dkey { background: #ddd9d0; }

/* min-width, not just text-align: each row is its own grid, so an `auto`
   column is measured per row — "33.7%" is narrower than "41.99%" and the three
   numbers ended up at three different x positions. A fixed width plus tabular
   figures makes the column identical in every row. */
.dleg .dpct {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
  min-width: 4.4em;
}

.dleg .dlbl {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--grey);
  line-height: 1.45;
  min-width: 0;
}

/* ---------- Section head with a mark above it ---------- */
.sec-head-centred { text-align: center; }
.sec-head-centred .sec-mark {
  display: block;
  height: clamp(22px, 2.6vw, 30px);
  width: auto;
  margin: 0 auto clamp(18px, 2vw, 26px);
  filter: brightness(0);
  opacity: 0.9;
}

/* ---------- Ticker links in the Who We Are facts ---------- */
.fact-line .tick {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--ink);
  transition: box-shadow 0.25s ease;
  white-space: nowrap;
}
.fact-line .tick:hover { box-shadow: inset 0 -3px 0 var(--ink); }

@media (max-width: 560px) {
  .donut-wrap { max-width: 220px; }
  .dleg .dpct { font-size: 0.92rem; }
  .dleg .dlbl { font-size: 0.56rem; letter-spacing: 0.1em; }
  .dleg { gap: 10px; padding: 10px 0; }
  .period-tab { font-size: 0.6rem; letter-spacing: 0.12em; padding: 10px 4px; }
}

/* ---------- Round: US-audience pass ---------- */

/* Terminal X figures band, moved above the prose and given the dark treatment.
   On stone it was a quiet statistics table; the point of these three numbers
   is that they should stop a brand mid-scroll, so they get ink, the accent,
   and room. */
.portfolio-block {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.16);
  border: 0;
}

.portfolio-block .bfact {
  background: var(--ink);
  color: #fff;
  padding: clamp(30px, 3.4vw, 54px);
}

.portfolio-block .bfact:hover { background: #171717; }

.portfolio-block .bnum { color: var(--ink); }

.portfolio-block .blabel { color: rgba(255, 255, 255, 0.62); }

/* the names run on ink too, so the whole block reads as one object */
.pb-names {
  background: var(--ink);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
}

.pb-names .pw-list li { color: rgba(255, 255, 255, 0.82); }
.pb-names .pw-list li::after { color: var(--grey); opacity: 0.65; }
.pb-names:hover .pw-list li { opacity: 0.3; }
.pb-names .pw-list li:hover { opacity: 1; color: #fff; }

@media (max-width: 860px) {
  .portfolio-block { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .portfolio-block { grid-template-columns: 1fr; }
}

/* the mark leads the subsidiaries section, so it grows and the headline gives
   way to it — they were competing at the same weight */
.sec-head-centred .sec-mark { height: clamp(30px, 3.6vw, 44px); }
.sec-head-centred h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); }

/* contact: button and address only, ranged left */
.contact-band .contact-cta {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Back link at the foot of a brand page */
.back-link { margin-top: 0; }
.back-link .arr { margin-right: 8px; margin-left: 0; }

/* the Maya footnote */
.note {
  margin-top: clamp(20px, 2.4vw, 32px);
  font-size: 0.74rem;
  line-height: 1.7;
  color: var(--grey);
  max-width: 640px;
}

/* the footer headings are links now that the sub-lists are gone */
.footer-col .footer-head a { color: inherit; transition: color 0.25s ease; }
.footer-col .footer-head a:hover { color: var(--ink); }

/* The ownership section sits under a full-bleed photograph, so it already has
   a visual break above it — its own top padding was adding a second one. */
.section.section-ownership { padding-top: clamp(40px, 4vw, 64px); }

/* ============================================================
   Group signature, section sub-heading, and the facts as an
   editorial ledger
   ============================================================ */

/* The Fox mark above a section head. The subsidiaries block already opens on
   a centred Terminal X mark; these two group-level sections get the parent
   mark in the same role, but ranged left because their heads are ranged left
   and centring one would pull the whole section out of alignment. */
.sec-mark-lead {
  display: block;
  height: clamp(24px, 2.5vw, 34px);
  width: auto;
  margin-bottom: clamp(18px, 2vw, 26px);
  filter: brightness(0);
  opacity: 0.9;
}

/* What We Do sits on ink, so the mark inverts to white instead of black */
.sec-mark-lead.on-dark { filter: brightness(0) invert(1); opacity: 0.85; }

/* "Trusted by Global Brands" demoted from the second line of the headline to a
   sub-heading under it, so the claim reads as support for "Scale Without
   Limits." rather than competing with it at the same size. */
.sec-sub {
  margin-top: clamp(14px, 1.4vw, 20px);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.9vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---- the facts, as an editorial ledger ----
 *
 * The figures were set in Oswald, the same condensed face as every heading on
 * the site, which made them read as more headings. A fashion book sets its
 * numbers in a high-contrast serif and hangs them off a hairline; that is the
 * register this page wants, and Playfair is already loaded for it.
 *
 * The rule moves above the figure rather than below it. A line under a number
 * underlines it — a line over it opens a column, and six of them across three
 * columns build a grid the eye reads as a table of figures.
 */
.fact {
  border-top: 1px solid var(--ink);
  padding-top: clamp(16px, 1.7vw, 24px);
}

.fact-fig {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(3rem, 5.6vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: clamp(14px, 1.5vw, 22px);
}

/* The + is an annotation on the figure, not part of it: smaller, lifted, and
   in the body face so it does not pick up the serif's thick-thin contrast at a
   size where that only makes it look broken. */
.fact-fig .unit {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.3em;
  vertical-align: super;
  margin-left: 3px;
  letter-spacing: 0;
}

@media (max-width: 700px) {
  .fact-fig { font-size: clamp(2.4rem, 11vw, 3.2rem); margin-bottom: 12px; }
  .fact { padding-top: 14px; }
}

/* Stacked marks — a symbol over a wordmark, so near square. Equal cap height
   under-serves them: at the same height as a 6:1 wordmark they carry a third
   of the ink and read as half the size, and their second line goes to mush.
   They get the height their area needs instead. */
.lmq-item.is-tall img { height: clamp(42px, 4.6vw, 62px); }
@media (max-width: 560px) { .lmq-item.is-tall img { height: 38px; } }

/* ============================================================
   Round 8-26
   ============================================================ */

/* ---- Terminal X figures band, between the capabilities and Scaling D2C ----
   Four across rather than the three the group ledger uses, and on stone so the
   two ledgers read as separate statements rather than one long table. */
.section-tx-figures { background: var(--stone); }
.section-tx-figures .sec-head { margin-bottom: clamp(28px, 3vw, 44px); }
.fact-grid.fact-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .fact-grid.fact-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Item 14: the brand tagline over the hero photograph ----
   It was body copy at 90% white over a gradient, which on the paler covers
   (Sde Bar's harbour, ADAH's white studio) left it barely present. It is the
   line that says what the brand IS, so it now gets the display face, full
   white, and a shadow of its own rather than relying on the scrim. */
.brand-hero .brand-hero-sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.9vw, 1.6rem);
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,0.75);
  max-width: 720px;
}

/* The one live scrim for a brand hero. Weighted at the foot, where the mark
   and the tagline both sit.

   The 0% stop was 0.5. Stacked on the header's own scrim it crushed the top of
   the photograph: on Seestarz, whose model's head is against the top edge, her
   face composited to near-black against RGB(165,141,118) in the file. Dropped
   to 0.20. The 40 / 78 / 100 stops are untouched, so the band carrying the
   mark and the tagline is exactly as it was. */
.brand-hero::after {
  background: linear-gradient(180deg,
    rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.22) 40%, rgba(0,0,0,0.72) 78%, rgba(0,0,0,0.88) 100%);
}

/* ---- Item 17: a hero for a photograph that is wider than it is tall ----
   `cover` fills the box, so a tall box crops a wide picture at the sides.
   Ainker's cover is three men edge to edge at 1.83:1; in the standard hero the
   outer two lost an arm each. Shorter and wider means the crop lands on the
   bar shelves and the floor instead. */
.brand-hero.hero-wide { min-height: clamp(420px, 58vh, 660px); }
/* Anchored to the top, not the middle. The wide frame means the crop is now
   vertical — the full width survives, which was the point — but at 42% it was
   taking the slice out of the middle and cutting the bucket hat off the man on
   the left, who stands right at the top edge of the source. Top-anchored keeps
   all three heads and spends the crop on their legs instead. */
.brand-hero.hero-wide .brand-hero-img { background-position: center top; }
@media (max-width: 860px) {
  /* on a phone the frame is portrait whatever we do, so hold the centre and
     accept the side crop rather than shrinking the hero to a letterbox */
  .brand-hero.hero-wide { min-height: clamp(380px, 52vh, 520px); }
}

/* ---- Item 17, homepage card: centre the subjects, not the frame ----
   The two men occupy the left two thirds of brand-ainker.jpg; a centred crop
   put the wall and the plant in the middle of the card. */
.lcard[href="brand-ainker.html"] .lcard-photo { background-position: 36% center; }

/* ---- Item 26: same treatment on a phone and on a desktop ----
   The cards were greyscale until hover, with a `hover: none` rule handing
   touch devices colour immediately. That is two different sites: on a phone
   every card was in colour, on a laptop every card was grey. The reveal can
   never fire on touch, so the desktop behaviour was the odd one out and the
   colour wins — it is campaign photography for a fashion group. */
.lcard.has-photo .lcard-photo { filter: none; }
.lcard.has-photo:hover .lcard-photo,
.lcard.has-photo:focus-visible .lcard-photo { filter: none; }

/* ---- Item 22: five ranges instead of two ----
   The buttons carry "TODAY 1M 3M 6M 12M" now, so the old 0.68rem at 0.18em
   letterspacing overflowed a ~360px card. Tighter type, tighter padding, and
   the row is allowed to be a row of five. */
.period-tabs { margin: 18px 0 16px; }
.period-tab { padding: 10px 4px; font-size: 0.62rem; letter-spacing: 0.1em; }
@media (max-width: 1024px) { .period-tab { font-size: 0.58rem; letter-spacing: 0.06em; } }

/* The panes are mounted lazily, so an unmounted one has no height. Reserve it,
   or the card jumps the first time a range is opened. */
.period-pane.is-on { min-height: 190px; }

/* ---- Item 23: no TradingView attribution ----
   The widget injects a "Track all markets on TradingView" link under every
   chart. Fifteen of those on one page is fifteen outbound links away from an
   investor page. NOTE: TradingView's embed terms ask for that attribution to
   stay — worth a look from whoever signs off the page before launch. */
.tradingview-widget-copyright,
.tv-holder .tradingview-widget-copyright { display: none !important; }

/* ---- Item 25: leader lines instead of a centre figure and a legend ----
   The ring used to carry the largest slice as a big number in the hole, with a
   three-row legend beneath it. The number read as though it described the
   whole ring, and the legend meant looking from a colour to a word to a
   figure in three separate places. Naming each slice at the end of its own
   line collapses that into one. */
.donut-wrap { max-width: 360px; }

.donut .dlead {
  fill: none;
  stroke: var(--grey);
  stroke-width: 1;
  opacity: 0.55;
}

.donut .dlead-pct {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  fill: var(--ink);
}

.donut .dlead-lbl {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: var(--grey);
}

/* the hover dim applies to the arcs only — dimming the labels made the ring
   look broken rather than focused */
.donut-wrap:hover .dlead,
.donut-wrap:hover .dlead-pct,
.donut-wrap:hover .dlead-lbl { opacity: 1; }

/* ============================================================
   Round 27
   ============================================================ */

/* The section marks are centred now, in all three places, so the group
   signature reads the same way every time it appears. The heads under them
   stay ranged left — that is the page's column, and pulling the copy to the
   centre as well would restyle three whole sections rather than move a mark. */
.sec-mark-lead.is-centred { margin-left: auto; margin-right: auto; }

/* The Terminal X mark carries a whole section on its own here, as it does over
   Scaling D2C, so it is set at that size rather than the smaller signature
   size the Fox mark uses over a head with an eyebrow and a headline. */
.section-tx-figures .sec-mark-lead { height: clamp(30px, 3.6vw, 44px); }
.section-tx-figures .sec-head { margin-bottom: clamp(34px, 3.6vw, 52px); }

/* The portfolio run sits inside the About column now, between the copy and the
   Visit button, so it needs the section's own rhythm rather than the
   full-bleed margins the homepage strip uses. */
.portfolio-run {
  margin: clamp(28px, 3vw, 44px) 0 clamp(4px, 1vw, 12px);
  padding: clamp(16px, 1.8vw, 26px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Strongful's card: the two women stand in the top two thirds of a 1100x1550
   frame, and a centred crop on a near-square card was cutting the tops of
   their heads and showing floor. Biased up. */
.lcard[href="brand-strongful.html"] .lcard-photo { background-position: center 15%; }

/* ---- The donuts were too small ----
   Not because the box was small — because most of the box was label gutter.
   At a 400x200 viewBox with a 100px ring, the drawing was three quarters
   captions. The viewBox is now 440x260, which buys the ring 152px inside the
   same card, and the wrap is allowed to use the card's full width. */
.donut-wrap { max-width: none; }

.donut .dlead-pct { font-size: 18px; }
.donut .dlead-lbl { font-size: 9.5px; letter-spacing: 0.08em; }

/* On a phone the SVG renders at ~0.65 of its viewBox, so desktop type came out
   at 6px. Bigger in units here; the room comes from the smaller ring that
   renderOwnership() switches to at the same breakpoint. */
@media (max-width: 700px) {
  .donut .dlead-pct { font-size: 26px; }
  .donut .dlead-lbl { font-size: 15px; letter-spacing: 0.06em; }
}

/* ---- The brand tagline, again ----
   Setting it in the display face and adding a shadow was not enough: over a
   bright campaign photograph, white type with a soft shadow still competes
   with whatever is behind it, and "Professional makeup" was landing on a lit
   white studio wall. Type alone cannot win that fight, so it stops trying —
   the line now sits on its own ink plate, which guarantees the contrast
   regardless of the picture underneath, and is set larger again.

   inline-block with a fitted plate rather than a full-width band: a band
   across the hero would read as a caption bar and flatten the image. */
.brand-hero .brand-hero-sub {
  display: inline-block;
  font-size: clamp(1.1rem, 2.1vw, 1.85rem);
  letter-spacing: 0.13em;
  padding: 0.5em 0.85em;
  background: rgba(14, 14, 14, 0.58);
  box-shadow: inset 0 -3px 0 var(--paper);
  text-shadow: none;
}

/* ---- The figures go back to Oswald ----
   The Playfair experiment is reverted. The reasoning for it was that a fashion
   book sets its numbers in a high-contrast serif — but that is a reason from a
   different page. On this one every heading is condensed Oswald, and a serif
   numeral next to them read as a font that had wandered in from another site
   rather than as an editorial note. The hairline goes back under the figure
   too, so this is the arrangement that was here before, unchanged.

   Applies to both ledgers — the group figures and the Terminal X band — since
   they share .fact-fig, which is the point of them sharing it. */
.fact {
  border-top: 0;
  padding-top: 0;
}

.fact-fig {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 4.4vw, 4.1rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.fact-fig .unit {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.5em;
  vertical-align: super;
  margin-left: 2px;
  letter-spacing: 0.01em;
}

@media (max-width: 700px) {
  .fact-fig {
    font-size: clamp(2rem, 9vw, 2.6rem);
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
}

/* ============================================================
   Round 28
   ============================================================ */

/* Two links where there was one. The lockup keeps its own layout — .brand is
   still the flex row — but each mark is now its own hit area. */
.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s ease;
}
.brand-link:hover { opacity: 0.62; }
.brand-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* The header is fixed, so an in-page anchor would otherwise land with the
   section's first line tucked underneath it. */
#who-we-are,
#terminal-x,
#our-brands { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---- The subsidiary one-liner ----
   Three versions of this were written for white type over a photograph:
   white, white with a heavy shadow, then white on a 58% ink plate. The
   text is on paper now, so all three are white on white and the plate was
   one of the dark blocks on the card. They are gone; --grey from the rule
   at the top of this section is what ink on paper wants. */

/* ---- The brand-page tagline must not break to a second line ----
   Only above 860px. Below that it genuinely cannot hold: the longest tagline
   the site carries is "Handcrafted jewelry & lifestyle accessories", which at
   a readable size needs more width than a 375px phone has. Forcing nowrap
   there would either overflow the screen or drop the type to about 11px.
   So: one line on any screen wide enough to hold one, and a wrapped plate
   rather than a broken layout on the ones that are not. */
@media (min-width: 861px) {
  .brand-hero .brand-hero-sub { white-space: nowrap; }
}

/* ---- Ownership labels: who first, how much second ----
   The figure used to lead and the name followed in small caps, which made the
   ring read as a chart of numbers that happened to have names attached. A
   reader of an ownership chart is looking for holders, so the holder now leads
   and is the larger of the two. */
.donut .dlead-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  fill: var(--ink);
}

.donut .dlead-pct {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.02em;
  fill: var(--grey);
}

.donut-wrap:hover .dlead-name,
.donut-wrap:hover .dlead-pct { opacity: 1; }

@media (max-width: 700px) {
  .donut .dlead-name { font-size: 17px; letter-spacing: 0.06em; }
  .donut .dlead-pct { font-size: 14.5px; }
}

/* ---- Capability tiles: four points, not a paragraph ----
   The yellow tick is the site's own list mark, reused from .eyebrow::before —
   on the ink tile yellow reads as ink, which is exactly where the accent rule
   says it is allowed. */
.cap-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cap-list li {
  position: relative;
  padding-left: 22px;
  font-size: clamp(0.85rem, 1vw, 0.98rem);
  line-height: 1.5;
  color: var(--grey);
  text-wrap: pretty;
}

.cap-list li + li { margin-top: 12px; }

.cap-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 5px;
  background: var(--ink);
}

@media (max-width: 560px) {
  .cap-list li { font-size: 0.76rem; padding-left: 16px; }
  .cap-list li + li { margin-top: 9px; }
  .cap-list li::before { width: 9px; height: 4px; }
}

/* ============================================================
   Round 29 — Terminal X as a two-branch tree
   ============================================================ */

/* The eyebrow follows the mark above it when that mark is centred. It stays
   ranged left in Who We Are and What We Do, where the headline under it is
   ranged left too — here there is no headline, only a centred diagram. */
.eyebrow.is-centred { text-align: center; }
/* the yellow tick is an inline block before the text, so centring the line
   centres tick and words together — no extra rule needed */

.tx-tree {
  position: relative;
  margin-top: clamp(6px, 1vw, 14px);
}

/* the drop out of the Terminal X mark */
.tx-stem {
  display: block;
  width: 1px;
  height: clamp(26px, 3vw, 40px);
  margin: 0 auto;
  background: var(--line);
}

.tx-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 72px);
  padding-top: clamp(26px, 3vw, 40px);
}

/* The horizontal tie between the two branches. It runs from the centre of the
   first column to the centre of the second — 25% and 75% — rather than the
   full width, so it ends where the drops begin instead of overshooting them
   into empty space. */
.tx-branches::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 1px;
  background: var(--line);
}

.tx-branch { position: relative; text-align: center; }

/* the drop into each branch, and the arrowhead she asked for at the end of it */
.tx-branch::before {
  content: "";
  position: absolute;
  top: calc(-1 * clamp(26px, 3vw, 40px));
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: clamp(26px, 3vw, 40px);
  background: var(--line);
}

.tx-branch::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--grey);
}

.tx-branch-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: clamp(14px, 1.6vw, 22px);
  margin-bottom: clamp(18px, 2vw, 26px);
  border-bottom: 1px solid var(--ink);
}

.tx-figs { list-style: none; margin: 0; padding: 0; }

/* Figure and label on one baseline, ranged from the centre — a two-column
   grid would leave the shorter branch's numbers hanging away from their
   words. */
.tx-figs li {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(10px, 1vw, 16px);
  text-align: left;
}

.tx-figs li + li { margin-top: clamp(14px, 1.6vw, 22px); }

.tx-figs .n {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.tx-figs .t {
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 18ch;
}

/* One column on a phone. The horizontal tie has nothing to tie, so it goes;
   each branch keeps its own drop and arrow, which reads as a sequence rather
   than a split — which is what a single column is. */
@media (max-width: 700px) {
  .tx-branches { grid-template-columns: 1fr; gap: clamp(30px, 8vw, 44px); }
  .tx-branches::before { display: none; }
  .tx-figs .t { max-width: 22ch; }
}

/* ---- The ownership rings were small because the CARD was narrow ----
   The drawing already gives the ring 45% of its own width, which is the same
   share the reference chart uses. The constraint was the column: three cards
   across a 1296px page is ~343px each, and 45% of that is 155px however the
   viewBox is arranged. Shrinking the gutters instead would only have taken the
   room back off the holder names, which are the point of the chart.

   So the three companies stack. Each card gets the full column, the drawing is
   capped and centred inside it so it does not become absurd on a wide screen,
   and the ring roughly doubles. */
.section-ownership .co-grid {
  grid-template-columns: 1fr;
  gap: clamp(30px, 3.2vw, 52px);
}

.section-ownership .donut-wrap {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* the card is wide now, so its own name centres over the drawing rather than
   sitting alone in the top-left corner of a very wide box */
.section-ownership .pie-card { text-align: center; }
/* ============================================================
   Round 30 — three rings across, each as big as its card
   ============================================================ */

/* Across, one column per listed company — auto-fit rather than a hard three,
   since the page now carries two and a fixed count would leave a hole. */
.section-ownership .co-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 2.4vw, 40px);
}

.section-ownership .pie-card { text-align: center; }

/* The drawing is square and takes the card. No cap: there is nothing beside
   the ring to keep in proportion any more, so the only limit is the column. */
.section-ownership .donut-wrap {
  max-width: none;
  width: 100%;
  margin: clamp(18px, 2vw, 28px) auto clamp(20px, 2.2vw, 30px);
}

/* Legend under the ring — swatch, then holder over percentage.
   Ranged left inside a centred block: three rows of centred text would give
   the eye three different starting points to find. */
.donut-legend {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: fit-content;
  text-align: left;
}

.dleg {
  display: grid;
  grid-template-columns: 10px auto;
  align-items: start;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.dleg:first-child { border-top: 0; }

.dleg .dkey {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 4px;
}

/* the same three inks the arcs use, in the same order */
.dleg-0 .dkey { background: #14140f; }
.dleg-1 .dkey { background: #b8a76a; }
.dleg-2 .dkey { background: #ddd9d0; }

.dleg .dtext { display: block; }

.dleg .dname {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--ink);
}

.dleg .dpct {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.9rem, 1.1vw, 1.08rem);
  letter-spacing: 0.02em;
  color: var(--grey);
}

/* hovering the ring dims the other arcs; the legend stays put */
.donut-wrap:hover .dleg { opacity: 1; }

@media (max-width: 860px) {
  .section-ownership .co-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  /* one column on a phone: at three across the ring would be ~90px, which is
     a bullet point rather than a chart */
  .section-ownership .co-grid { grid-template-columns: 1fr; }
  .section-ownership .donut-wrap { max-width: 300px; }
}

/* The holder has to be the larger of the two — it was the other way round on
   first pass, which is exactly the hierarchy this legend replaced. */
.dleg .dname { font-size: clamp(0.92rem, 1.15vw, 1.14rem); letter-spacing: 0.09em; }
.dleg .dpct  { font-size: clamp(0.78rem, 0.92vw, 0.94rem); }
/* ---- Leader lines return, three cards across ----
   The viewBox is 340 wide and the rendered SVG is about 340px, so these font
   sizes are the sizes they render at. 10px is the ceiling: the ring gets
   whatever the word "Institutional" does not need, and every point added here
   comes off the ring at roughly 8px a point. */
.donut .dlead-name { font-size: 10px; letter-spacing: 0.06em; }
.donut .dlead-pct  { font-size: 9px; }

@media (max-width: 700px) {
  .donut .dlead-name { font-size: 13px; letter-spacing: 0.04em; }
  .donut .dlead-pct  { font-size: 11.5px; }
}
/* With the labels parked high and low instead of at the ring's waist there is
   slack in the box, so the type can come up from 10px without the ring paying
   for it one for one. */
.donut .dlead-name { font-size: 12px; letter-spacing: 0.07em; }
.donut .dlead-pct  { font-size: 10.5px; }

@media (max-width: 700px) {
  .donut .dlead-name { font-size: 13.5px; letter-spacing: 0.04em; }
  .donut .dlead-pct  { font-size: 12px; }
}
/* The eyebrow now leads the Terminal X section, so the mark below it needs its
   own breathing room rather than inheriting the eyebrow's. */
.section-tx-figures .eyebrow { margin-bottom: clamp(20px, 2.2vw, 30px); }
.section-tx-figures .sec-mark-lead { margin-bottom: 0; }

/* Labels sit beside the ring now, with no line drawn to them, so the sizes
   are governed by the gutter the ring leaves rather than by an elbow. */
.donut .dlead-name { font-size: 10.5px; letter-spacing: 0.06em; }
.donut .dlead-pct  { font-size: 9.5px; }

@media (max-width: 700px) {
  .donut .dlead-name { font-size: 12.5px; letter-spacing: 0.03em; }
  .donut .dlead-pct  { font-size: 11px; }
}
/* The white frame was doing nothing with its edges. Trimming the card's own
   padding hands those pixels to the drawing, which is the cheapest width the
   ring will ever get. */
.section-ownership .pie-card { padding: clamp(18px, 1.6vw, 24px); }
.section-ownership .donut-wrap { margin-top: clamp(10px, 1.2vw, 16px); margin-bottom: 0; }
/* ---- The portfolio run, as names ----
   Set in the display face with a hairline between each, so twenty-two of them
   read as one continuous line rather than as a list. Same track and the same
   marquee the logo version used, so if the artwork ever arrives the swap is a
   change of contents, not of layout. */
.pr-set {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.pr-name {
  flex: 0 0 auto;
  padding: 0 clamp(18px, 2vw, 34px);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.88rem, 1.15vw, 1.12rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
  opacity: 0.72;
  transition: opacity 0.3s ease;
}

.pr-name + .pr-name { border-left: 1px solid var(--line); }

.logo-strip:hover .pr-name { opacity: 0.34; }
.pr-name:hover { opacity: 1; }
/* ---- The tree stays a tree on a phone ----
   It used to collapse to one column below 700px, which turned a diagram about
   a split — one storefront inside a group of six — into a plain list, and the
   split is the only thing the diagram is there to say. Two branches side by
   side at every width, with the horizontal tie and both arrows intact.

   What gives way instead is the figures: at ~150px a column the number cannot
   sit beside its label, so it sits above it. */
@media (max-width: 700px) {
  .tx-branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 3vw, 18px);
  }
  .tx-branches::before { display: block; }

  .tx-branch-name {
    font-size: clamp(0.72rem, 3.1vw, 0.92rem);
    letter-spacing: 0.08em;
    padding-bottom: 10px;
    margin-bottom: 14px;
  }

  .tx-figs li {
    display: block;
    text-align: center;
  }
  .tx-figs li + li { margin-top: 14px; }
  .tx-figs .n { display: block; font-size: clamp(1.3rem, 6vw, 1.9rem); }
  .tx-figs .t {
    display: block;
    margin: 4px auto 0;
    max-width: none;
    font-size: clamp(0.66rem, 2.9vw, 0.78rem);
    line-height: 1.4;
    text-align: center;
  }

  /* the drop into each branch shortens with everything else */
  .tx-stem { height: 22px; }
  .tx-branches { padding-top: 22px; }
  .tx-branch::before { top: -22px; height: 22px; }
}

/* ---- Capability tiles as disclosures ----
   The heading is a real button so it is focusable and announces its state; the
   panel below it collapses with grid-template-rows rather than max-height, so
   it animates to whatever height the content actually is instead of to a magic
   number that has to be larger than the longest panel. */
.cap-head { margin: 0; }

.cap-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
}

.cap-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }

/* the title keeps the heading's own type — the button is a wrapper, not a
   restyle */
/* A name longer than its cell gets hyphenated, not chopped.

   overflow-wrap: break-word used to sit here as a floor. It was the wrong
   floor: break-word lets the line breaker split anywhere, and a greedy
   breaker takes that permission on every line it can fill - at two columns
   on a phone it produced MERCHANDI / SING and TECHNOLOG / Y. Measured with
   it removed, every name on the page sets whole inside its tile, so the
   permission was buying nothing and costing that. hyphens: auto is the
   honest last resort: it breaks at a syllable or not at all. */
.cap-title {
  -webkit-hyphens: auto;
  hyphens: auto;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: inherit;
  letter-spacing: inherit;
  /* uppercase, not inherit. A bare tile puts its title inside .cap-head and
     inherited the uppercase from it; a foldable tile puts its title in a
     button that is not inside .cap-head, so it inherited none. Twelve tiles
     came out uppercase and one came out title case, next to each other in
     the same grid. */
  text-transform: uppercase;
}

/* A plus that becomes a minus. Two bars, one of which rotates away — cheaper
   than swapping a glyph and it animates. */
.cap-sign {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.cap-sign::before,
.cap-sign::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  background: var(--ink);
  transform: translateY(-50%);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cap-sign::after { transform: translateY(-50%) rotate(90deg); }
.cap.is-open .cap-sign::after { transform: translateY(-50%) rotate(0deg); }

.cap-panel {
  display: grid;
  grid-template-rows: 0fr;
}

/* added by main.js one frame after load, so the six panels do not animate
   shut in front of the reader on first paint */
.cap-panel.can-animate { transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }

.cap-panel.is-open { grid-template-rows: 1fr; }

.cap-panel-inner { overflow: hidden; }

/* the gap between the heading and the first bullet belongs to the panel, or it
   would persist while the panel is shut */
.cap-panel-inner .cap-list { padding-top: clamp(16px, 1.8vw, 24px); }

@media (prefers-reduced-motion: reduce) {
  .cap-panel.can-animate { transition: none; }
  .cap-sign::before, .cap-sign::after { transition: none; }
}

/* ---- The tiles are cards, not a list with plus signs ----
   The +/− was doing the job of saying "this opens", but it said it as a UI
   control bolted onto an editorial page. The card says it instead: the whole
   surface is the target, it lifts on hover, and the yellow bar that already
   sits above each heading stretches — so the thing that signals state is a
   mark the design already owns rather than a glyph imported for the purpose. */
.cap {
  position: relative;
  transition: background 0.35s ease, outline-color 0.35s ease;
}

.cap.is-open { border-top-color: var(--ink); }


/* The whole card is clickable while it is shut. Once it is open the overlay is
   withdrawn, so the copy inside can be selected and only the heading closes it
   again — a full-card target over live text is a trap, not a convenience. */
.cap:not(.is-open) .cap-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  cursor: pointer;
}

/* the indicator: the bar the heading already had, grown */
.cap h3::before,
.cap .cap-head::before { transition: width 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.cap:hover h3::before { width: 44px; }
.cap.is-open h3::before { width: 64px; }

/* bigger type, as asked — heading and bullets both */
.cap .cap-title { font-size: clamp(1.5rem, 2.3vw, 2.15rem); letter-spacing: 0.08em; }

.cap-list li {
  font-size: clamp(0.98rem, 1.15vw, 1.14rem);
  line-height: 1.6;
}

.cap-list li + li { margin-top: 16px; }

@media (max-width: 560px) {
  /* These are the names of the capabilities and they were reading as
     captions. 1.3rem is as large as the narrowest cell takes: at three
     across a 375 screen that cell is 99px, and "Wholesale" measures 78px
     here. */
  .cap .cap-title { font-size: 1.3rem; letter-spacing: 0.04em; }
  .cap-list li { font-size: 0.86rem; line-height: 1.55; }
  .cap-list li + li { margin-top: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .cap h3::before { transition: none; }
}

/* ---- Make it obvious the card is a control ----
   The bar stretching and the background shifting are both things you only
   notice once you are already hovering — they confirm an intention rather than
   invite one. The card lifting is the part you see from across the page, so
   that is what says "press me".
   Only while shut: lifting a card that is already open, with its copy showing,
   is movement for its own sake. */
.cap {
  transition: background 0.35s ease, outline-color 0.35s ease,
              transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.35s ease;
}

.cap:not(.is-open) { cursor: pointer; }

/* No lift and no shadow. Both were written for the tile when it was a dark
   box on a dark band: a 44px shadow at 55% black under a card reads as
   depth. With no box and a light surface it reads as a dirty smear behind
   the type, which is what the client saw when she tapped one. The cue is
   the hairline going to ink, the same as hover. */
.cap:not(.is-open):hover,
.cap:not(.is-open):focus-within { border-top-color: var(--ink); }

/* Touch has no hover, so the lift can never fire there. The resting state
   carries the cue instead: the heading sits above a yellow bar that is wider
   than the one on the static sections, which is the same language the rest of
   the page uses for "there is more here". */
@media (hover: none) {
  .cap:not(.is-open) h3::before { width: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .cap:not(.is-open):hover,
  .cap:not(.is-open):focus-within { transform: none; }
  .cap { transition: background 0.35s ease, outline-color 0.35s ease; }
}

/* ---- Say what the card does, in words ----
   The lift says "I am a control". It does not say what pressing me does, which
   is the gap: a card that opens and a card that navigates look identical while
   they sit there.
   So the card borrows the cue the subsidiary cards already use — small caps,
   wide letterspacing, grey going to accent on hover — with a plus instead of
   an arrow, because these expand rather than go somewhere. A reader who has
   scrolled past "More info →" twice already knows this language.
   The label lives in CSS so it can become "Close" when the card is open. */
.cap-toggle {
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 1.6vw, 20px);
  justify-content: flex-start;
}

.cap-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease, gap 0.3s ease;
}

.cap-more::before { content: "More info"; }
.cap.is-open .cap-more::before { content: "Close"; }

.cap:hover .cap-more,
.cap:focus-within .cap-more { color: var(--ink); gap: 15px; }

/* the sign follows the label's colour, so the two read as one object */
.cap .cap-sign {
  position: relative;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
}

.cap .cap-sign::before,
.cap .cap-sign::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cap .cap-sign::after { transform: translateY(-50%) rotate(90deg); }
.cap.is-open .cap-sign::after { transform: translateY(-50%) rotate(0deg); }

/* No hover on touch, so the cue carries it alone — give it full strength
   rather than the resting grey. */
@media (hover: none) {
  .cap-more { color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  .cap .cap-sign::before, .cap .cap-sign::after { transition: none; }
}

/* ---- The cue is the sign alone ----
   "More info" said it in words, but it was a second thing to read on a card
   whose job is to be scanned, and six of them stacked up as repetition down
   the grid. The sign carries it by itself now.
   It keeps the position the words had — under the heading, ranged left, in the
   flow — rather than the top-right corner it sat in the first time, where it
   read as a widget pinned to the card instead of part of it. And it is accent
   at rest on every device, not only on touch: alone, it is the whole of the
   affordance, so it cannot wait for a hover to become visible. */
.cap-more::before,
.cap.is-open .cap-more::before { content: none; }

.cap-more { color: var(--ink); gap: 0; }
.cap:hover .cap-more,
.cap:focus-within .cap-more { gap: 0; }

.cap .cap-sign {
  width: 15px;
  height: 15px;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cap .cap-sign::before,
.cap .cap-sign::after { height: 2px; }

/* a small turn on hover, so the sign acknowledges the pointer */
.cap:not(.is-open):hover .cap-sign { transform: rotate(90deg); }

@media (prefers-reduced-motion: reduce) {
  .cap .cap-sign { transition: none; }
}

/* A slight radius on the four photo cards — Who We Are and What We Do both
   use .glance, so one rule covers all of them. The toggle carries the radius
   too: it is the element with overflow:hidden, so without it the photograph
   and its gradient would still square off the corners the border rounds.
   One pixel less inside the border, so the two curves sit concentric rather
   than the photo showing a hairline of card at each corner. */
.glance {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--card-radius);
}
.glance-toggle { border-radius: calc(var(--card-radius) - 1px); }
.glance-head { margin: 0; }

/* the whole image is the control, so it carries the cursor and the focus ring */
.glance-toggle {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  color: var(--paper);
  overflow: hidden;
  aspect-ratio: 16 / 11;
}

.glance-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Type sits on photography, so it needs its own floor to stand on rather than
   luck with whatever is behind it. Heavier at the bottom, where the label is. */
.glance-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  /* The veil used to cover the whole card — 34% across the middle and 12%
     even at the very top — so every photograph read darker than it is. It
     now does only the job it exists for: a floor under the type at the
     bottom, clearing completely by 60% so the upper half of the picture is
     the picture. */
  background: linear-gradient(to top,
    rgba(14, 14, 14, 0.82) 0%,
    rgba(14, 14, 14, 0.72) 20%,
    rgba(14, 14, 14, 0.30) 38%,
    rgba(14, 14, 14, 0) 60%);
}

.glance-toggle:hover .glance-photo { transform: scale(1.04); }
.glance-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.glance-label {
  position: absolute;
  left: clamp(20px, 2.2vw, 34px);
  bottom: clamp(20px, 2.2vw, 34px);
  z-index: 1;
  /* Stop short of the plus. The label is positioned from the left and the
     cue from the right, so without this a long sub-line simply runs under
     it — 54px of overlap on both What We Do cards at 375. The reserve is
     the cue's width plus its offset plus a gap. */
  right: clamp(66px, 10vw, 86px);
}

.glance-name {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  line-height: 1.05;
}

.glance-at {
  display: block;
  margin-top: 0.45em;
  font-family: var(--font-body);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(0.66rem, 0.85vw, 0.78rem);
  opacity: 0.8;
}

/* the cue: a plus that loses its upright when the panel is open */
.glance-sign {
  position: absolute;
  right: clamp(20px, 2.2vw, 34px);
  bottom: clamp(22px, 2.3vw, 36px);
  z-index: 1;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.glance-sign::before,
.glance-sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--paper);
  transform: translate(-50%, -50%);
}

.glance-sign::before { width: 13px; height: 1px; }
.glance-sign::after  { width: 1px; height: 13px; transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }

.glance-toggle:hover .glance-sign { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.85); }
.glance-toggle[aria-expanded="true"] .glance-sign::after { transform: translate(-50%, -50%) scaleY(0); }

.glance-panel { display: grid; grid-template-rows: 0fr; }
.glance-panel.can-animate { transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.glance-panel.is-open { grid-template-rows: 1fr; }
.glance-panel-inner { overflow: hidden; }

.glance-panel .fact-fig { font-size: clamp(2rem, 3.4vw, 3rem); }

@media (max-width: 860px) {
  .glance-toggle { aspect-ratio: 16 / 9; }
}

@media (max-width: 560px) {
}

@media (prefers-reduced-motion: reduce) {
  .glance-panel.can-animate { transition: none; }
  .glance-photo, .glance-sign::after { transition: none; }
  .glance-toggle:hover .glance-photo { transform: none; }
}


.door-body {
  padding: clamp(4px, 0.6vw, 10px) clamp(18px, 2.2vw, 30px) clamp(26px, 3vw, 40px);
}

/* Yellow is legible as ink on this dark band — see the accent rule. These
   label the two groups of tiles inside a door, so they must read as smaller
   than the door's own title and larger than a tile's. */
.door-heading {
  margin: clamp(24px, 2.6vw, 36px) 0 clamp(12px, 1.4vw, 18px);
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(0.8rem, 1.05vw, 0.95rem);
  color: var(--ink);
}

.door-body > .door-heading:first-child { margin-top: clamp(14px, 1.6vw, 22px); }

/* Seven partners have artwork and twelve do not yet, so the strip carries both
   until the files arrive. A wordmark has to hold the same optical weight as a
   logo beside it, which means display type at the marks' own cap height — not
   body copy, which would read as a caption that lost its picture. */
.lmq-item.is-word {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: clamp(0.85rem, 1.15vw, 1.05rem);
  color: var(--ink);
  white-space: nowrap;
}

/* ---- The What We Do doors are a pair of photographs, like Who We Are ----
   Triggers in a row, panels full width underneath. The panel cannot sit
   inside its own card here: each holds eight tiles and a marquee, and half
   the page is not enough for that. */
/* Cards and panels are siblings of .door-grid, so the grid can order them.
   A panel spans the full row: each one opens onto a wall of tiles, and half
   the page is not enough for that. */
.door-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
  align-items: start;
}

.door-grid > .glance-panel { grid-column: 1 / -1; }

/* the band is dark, so the card's own light border and paper fill would both
   be wrong here */
.figures .glance {
  border-color: var(--line);
  background: transparent;
}


@media (max-width: 860px) {
}


/* The figures need room inside a panel; their column count is the
   .fact-grid default now that the panel spans the full width. */
.glance-panel .fact-grid {
  padding: clamp(24px, 2.6vw, 38px) 0 clamp(8px, 1vw, 14px);
}

/* ---- Weighting inside a door: group headings lead, tiles follow ----
   The yellow headings were set as small labels and the tiles were sized for a
   full-width section, so the tiles shouted and the headings they belonged to
   whispered. Reversed: the heading is now the biggest thing inside a door and
   the tiles are a denser grid beneath it.

   The tile title is styled on .cap-head rather than .cap h3. The tiles inside
   a door are h4 — they sit under the door's own h3 — so the existing .cap h3
   rule never applied to them and the titles were falling back to the browser
   default. */
.door-body .door-heading {
  /* Space does the grouping: well over twice as much above a topic as below
     it, so the heading reads as belonging to what follows rather than
     floating between two blocks. It was 41 above and 18 below. */
  margin: clamp(48px, 5.4vw, 76px) 0 clamp(14px, 1.5vw, 20px);
  /* The gap under the rule. It used to hold the topic number as well; the
     number is gone and the gap is not, because what it was really doing was
     keeping the title off the rule. */
  padding-top: clamp(26px, 2.9vw, 42px);
  /* The rule is the frame. Four sides would make a box, which the page spent
     a redesign getting away from; one side says the same thing and lets the
     topic breathe into the margin. */
  border-top: 1px solid var(--line);
  /* A topic has to read above its own tiles. It was 29.4px against a tile
     title of 24 - a ratio of 1.23, which is not a step, it is a wobble. The
     tiles do not come down (they were raised twice at the client request);
     the topic goes up, into the room between it and the section title at
     55.8px, which nothing was using. */
  font-size: clamp(1.6rem, 3.5vw, 2.9rem);
  letter-spacing: 0.04em;
  line-height: 1.08;
}




/* The first topic in a door keeps its rule - that is what separates it
   from the door title above - but not the full gap. In the global door the
   first topic is a pair of columns, so the exception has to reach inside
   the pair as well or that door opens with twice the gap the other one has. */
.door-body > .door-heading:first-child,
.door-body > :first-child .door-heading { margin-top: clamp(16px, 1.8vw, 26px); }

.door-body .cap { padding: clamp(22px, 2.3vw, 34px); }

.door-body .cap-head {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.98rem, 1.45vw, 1.28rem);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.2;
}

.door-body .cap-toggle { gap: clamp(10px, 1.2vw, 14px); }

.door-body .cap-list li {
  font-size: clamp(0.82rem, 1vw, 0.93rem);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .door-body .cap { padding: clamp(20px, 4vw, 28px); }
}

/* ---- Global Brand Partners as a wall of light tiles ----
   It was a dark running strip: names slid away before they were read, and on
   an already dark band it closed that part of the page down. A static grid
   fixes both — nineteen partners legible at once, and pale tiles that lift
   the band instead of deepening it.

   auto-fill rather than a fixed column count, because the list will grow as
   artwork arrives and a hand-set count would need revisiting each time. */
/* Bigger. At a 132px tile with the mark capped at 36px the logos read as
   thumbnails on a wall rather than as brands, which is the opposite of what
   this block is for. The tile is wider and shallower now, so the extra room
   goes to the mark rather than to empty space above and below it. */
.brand-tiles {
  display: grid;
  /* 160px, not 340. At 340 the partner wall ran three across and its cells
     were 353px wide, against 167px for the acquisitions pair beside it —
     the same marks at twice the size, which is what read as enormous.

     It also fixed the softness. Five of these files are 200px originals,
     and at a 353px cell Nike was being drawn at 2.94x its own resolution,
     Mango at 2.43x. At 172px they land at 1.39x and 1.15x. A mark cannot
     be sharper than its source, and no CSS makes 200 pixels into 600. */
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  --mark-scale: 1;
  gap: clamp(8px, 0.9vw, 12px);
  margin-top: clamp(4px, 0.6vw, 10px);
}

.btile {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2 / 1;
  padding: clamp(8px, 1.1vw, 12px);
  /* No tile. Nineteen white rectangles on a dark grid read as a sponsor
     board, which is the opposite of what a fashion group should look like.
     The marks now sit straight on the page; the cell still exists as a
     layout box so the equal-ink sizing keeps working, it is just not
     painted. */
  background: transparent;
  transition: opacity 0.3s ease;
  /* A mark is scaled until its INK fills the tile, so the empty margin baked
     into the supplied file hangs over the edge. Clipping it is the point —
     it is what stops a 87%-margin file from rendering as a tiny logo. */
  overflow: hidden;
}

.btile:hover .bmark { opacity: 1; }

/* Every mark the same ink area, whatever its file is shaped like.
   --mw is the image width as a percentage of the tile and --mx/--my shift the
   ink's centre onto the tile's centre; all three are computed per mark from a
   measured ink box in tools/mark-sizing.js. They are numbers, not lengths, so
   a breakpoint can scale the whole set by one factor and the areas stay equal.
   There is deliberately no max-width/max-height: a cap would silently shrink
   the marks whose artwork carries the most margin, which is exactly the
   imbalance this replaces. The tile clips instead. */
.bmark {
  width: calc(var(--mw, 60) * var(--mark-scale, 1) * 1%);
  height: auto;
  flex: none;
  /* the global `img { max-width: 100% }` would clamp every mark whose file
     carries a wide margin back to the tile, undoing the sizing — those are
     precisely the marks this is meant to enlarge */
  max-width: none;
  transform: translate(calc(var(--mx, 0) * 1%), calc(var(--my, 0) * 1%));
}

/* One treatment: darken the artwork. Every mark is black on transparency,
   so nothing needs to be blended into the surface behind it.

   mix-blend-mode: multiply used to hide a white plate on fifteen of these.
   It is gone, and deliberately so: blending resolves inside the nearest
   blending group, and on some mobile browsers that group is the root, whose
   backdrop is white — so the plate came back on a phone while looking
   perfect on a desktop. Nothing here depends on its backdrop any more. */
.bmark { filter: brightness(0); opacity: 0.78; }

/* A name has to hold the same optical weight as a mark beside it, so it is set
   in the display face rather than body copy, which would read as a caption
   that had lost its picture. */
.btile.is-word {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(0.92rem, 1.2vw, 1.12rem);
  line-height: 1.2;
  text-align: center;
  color: var(--ink);
}

@media (max-width: 560px) {
  /* Two tiles is all a phone fits, so the tile cannot grow — the marks have
     to. A deeper tile plus a 1.15 scale lifts a mark from 39px wide to
     something readable, and 1.15 is the most the widest wordmark takes
     before it would hit the 100% cap and break the equal-area balance. */
  .brand-tiles { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); --mark-scale: 1; }
  .btile { aspect-ratio: 3 / 2; padding: clamp(10px, 3vw, 14px); }
}

/* ---- What We Look For, numbered ----
   Four criteria stacked as plain large text read as a leftover paragraph.
   Numbering them says these are filters, in order, and lets them sit four
   across instead of running down the page. The index is the accent — legible
   as ink on this dark band, which is the only place yellow may be type. */
/* Rejected twice as a row of large headings and as four numbered columns.
   Read as a list of conditions instead: one per line, numbered down the left,
   divided by hairlines. It is the only block in a door shaped like this, which
   is the point — these are the terms, not another set of capabilities. */
/* Four qualifying criteria, read as a checklist rather than a list.

   This block has the most to say to the reader — it answers "am I a fit?" —
   and it was the quietest thing on the page: four lines of plain text
   divided by hairlines, running down a single narrow column. Two changes
   fix that without inventing a new component.

   Two abreast, so four short criteria form a block with presence instead of
   a thin column that trails off. auto-fit rather than a hard two, because
   this list has changed length before and a fixed count leaves a hole.

   And a yellow check before each one. The semantics are already a checklist
   — these are conditions to meet — so the tick states plainly what the
   hairlines only implied, and it puts the accent into the one block that
   had none. Yellow is legal here because this band is dark; on white it
   would be the illegible case the palette rule forbids. */
.look-list {
  display: grid;
  /* 400px, not 300: at 300 a third column fits on a desktop and four items
     lay out as 3 + 1, leaving a hole exactly where the eye expects the
     fourth criterion. 400 forces the two-by-two and still collapses to one
     column on a phone. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(16px, 2vw, 26px) clamp(26px, 3.2vw, 56px);
  margin: clamp(14px, 1.6vw, 22px) 0 0;
  padding: 0;
  list-style: none;
}

.look {
  display: flex;
  align-items: flex-start;
  gap: clamp(13px, 1.4vw, 19px);
  padding: clamp(14px, 1.7vw, 22px) 0 0;
  /* the rule moves above each criterion: in a grid a bottom border leaves
     the last row underlined and open, which reads as a missing item */
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

/* Drawn rather than typed: two borders on an empty box, rotated. No glyph,
   no icon font, no asset — and it scales with the type because the nudge
   that centres it on the first line is in em. */
.look::before {
  content: "";
  flex: none;
  width: 17px;
  height: 9px;
  margin-top: 0.42em;
  border-left: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: rotate(-45deg);
}

.look-name {
  font-family: var(--font-display);
  font-weight: 400;
  /* larger, but kept a step under the group heading above it so the
     hierarchy inside a door still reads */
  font-size: clamp(1.3rem, 1.9vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  /* was --paper, from when this band was ink */
  color: var(--ink);
  text-wrap: pretty;
}

@media (max-width: 860px) {
}

@media (max-width: 420px) {
}

/* A fourth ring colour. Terminal X names two of its interested parties
   separately — Fox Group and Horovitz & Angel — so that chart carries four
   slices where the others carry three. Mid-warm grey sits between the gold and
   the pale stone and stays distinct from both at the small sizes these
   segments reach. */
.donut .dseg-3 { stroke: #9a958a; }

/* ---- The closing band says something ----
   It was a button and an email on a quiet strip: the last thing on every page
   and the smallest. Now it opens at display scale.

   The band stays on stone. The footer below it is already ink, so a dark band
   would merge into it and the close would disappear. That also decides the
   accent — yellow is only legible as type on dark, so here the emphasis is ink
   on a yellow fill, the same move .role and .doc-type make. */
.contact-band .contact-cta {
  display: block;
}

.contact-head {
  /* the underline eats into the gap, so it is wider than it looks */
  margin: 0 0 clamp(30px, 3.4vw, 48px);
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 7.4vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  color: var(--ink);
  max-width: 14ch;
}

/* A rule under the word, not a slab behind it.
   The fill was an inline box: its height came from the font size and the
   leading, not from the letters, so at display scale it stood far taller
   than the glyphs and climbed over the line above. It also read as
   highlighter pen, which this palette has already rejected once.

   Drawn as a background gradient so it wraps with the word, sits under the
   glyphs rather than around them, and cannot overlap anything. */
.contact-mark {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--ink);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.1em;
  text-decoration-skip-ink: none;
}

/* the rule at the left is the reference's, and it ties the sentence to the
   headline rather than letting it float under it */
.contact-sub {
  margin: 0 0 clamp(26px, 3vw, 40px);
  padding-left: clamp(14px, 1.4vw, 20px);
  border-left: 2px solid var(--ink);
  max-width: 48ch;
  font-size: clamp(0.98rem, 1.25vw, 1.15rem);
  line-height: 1.65;
  color: var(--grey);
  text-wrap: pretty;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
  flex-wrap: wrap;
}

@media (max-width: 560px) {
  .contact-head { max-width: none; }
}


/* On a phone the grid is one column, and a panel placed after both cards
   opened its content under the OTHER door’s photograph — the client hit
   exactly this. Reordering pairs each panel with its own card:
   card, its panel, card, its panel. The DOM order stays card, card,
   panel, panel, which is the order that makes sense on a wide screen and
   the order a screen reader follows. */
@media (max-width: 860px) {
  .door-grid { grid-template-columns: minmax(0, 1fr); }
  .door-grid > *:nth-child(1) { order: 1; }
  .door-grid > *:nth-child(3) { order: 2; }
  .door-grid > *:nth-child(2) { order: 3; }
  .door-grid > *:nth-child(4) { order: 4; }
}

/* ---- About Us opens a submenu ----
   CSS only: the CSP forbids inline handlers, and a menu that needs a script
   is a menu that does not work until the script lands. :focus-within is what
   makes it reachable by keyboard — hover alone would leave it out.

   The parent link still goes to Who We Are, so the menu adds a shortcut
   without taking away the click that already worked. */
.main-nav .has-sub { position: relative; }

.sub-nav {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  min-width: 190px;
  background: var(--paper);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}

/* a gap between the link and the panel would close the menu as the pointer
   crossed it, so the panel starts flush and the padding sits inside */
.main-nav .has-sub:hover .sub-nav,
.main-nav .has-sub:focus-within .sub-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-nav a {
  display: block;
  padding: 9px 18px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.18s ease;
}

.sub-nav a:hover,
.sub-nav a:focus-visible { background: var(--stone); }

/* the header inverts to white over a dark hero; the dropdown is its own
   light surface and must not invert with it */
body.header-dark .site-header:not(.scrolled) .sub-nav { background: var(--paper); }
body.header-dark .site-header:not(.scrolled) .sub-nav a { color: var(--ink); }

/* the phone menu has no room for a flyout, so the three sit indented under
   About Us as part of the same list */
.mobile-menu a.sub {
  padding-left: 22px;
  font-size: 0.92rem;
  opacity: 0.72;
}


/* ---- A folded strip: the heading is the control ----
   .cap-toggle gives it the behaviour the capability tiles already have, so
   there is one gesture on this page and one place to change it. These two
   rules undo the tile-specific layout that comes with the class: a tile
   stacks its title above its cue, a heading sets them on one line. */
.door-heading .strip-toggle {
  /* A button does not inherit font properties, so the chain has to be
     rejoined here. Without it the inner span inherits the button's defaults
     and the heading loses its letterspacing — identical pixel size, but it
     reads as a smaller word, which is what the client saw. */
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 28px);
  color: inherit;
}

.strip-title { font: inherit; letter-spacing: inherit; text-transform: inherit; }

/* the heading is yellow; its cue has to be readable against the same band */
.door-heading .strip-toggle .cap-sign::before,
.door-heading .strip-toggle .cap-sign::after { background: var(--ink); }

/* ---- Claims: a statement and the sentence that backs it ----
   Two across, because each one is a short title over a full sentence and a
   single column would run the door long while leaving half the width empty.
   The title takes the display face so it reads as a claim rather than as a
   bolded first line of the paragraph under it. */
.claim-grid {
  display: grid;
  /* auto-fit rather than a fixed two: this list has been four and is now
     three, and a hard column count leaves a hole in the last row every time
     the count changes. Three abreast at desktop, one on a phone. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(22px, 2.6vw, 40px) clamp(26px, 3vw, 52px);
  margin-top: clamp(10px, 1.2vw, 18px);
}

.claim-title {
  margin: 0 0 clamp(6px, 0.8vw, 10px);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.2;
  /* was --paper, from when this band was ink */
  color: var(--ink);
}

.claim-line {
  margin: 0;
  font-size: clamp(0.86rem, 1.02vw, 0.98rem);
  line-height: 1.65;
  color: var(--grey);
  text-wrap: pretty;
}

@media (max-width: 860px) {
  .claim-grid { grid-template-columns: minmax(0, 1fr); }
}

/* A tile with no detail behind it. It keeps the surface and the title so the
   grid still reads as one set, but nothing suggests it opens — the plus and
   the hover lift belong to the tiles that do. */
.cap-bare { cursor: default; }
/* No hover state. These tiles do not open, and on a phone :hover latches
   after a tap - this rule filled the tile with --ink and left a black
   square sitting there. */
.cap-bare .cap-head { margin: 0; }

/* a second level inside the menu: the four doors and the criteria sit under
   the section they belong to */
.sub-nav a.deep { padding-left: 32px; opacity: 0.78; font-size: 0.78rem; }
.mobile-menu a.sub.deep { padding-left: 40px; opacity: 0.6; }


/* Three tiles across a phone leaves each about 105px, so the padding and
   the title have to come down with it or the words wrap to four lines. */
@media (max-width: 560px) {
  .door-body .cap { padding: clamp(10px, 3vw, 16px); }

  /* The name gets the whole tile on a phone.

     min-width: 0 so it wraps inside the tile rather than pushing out of
     it - the flex default is min-width: auto, which is why these names
     were overflowing by up to 42px instead of breaking. The sign drops
     to its own row, which is worth 23px of a 111px tile, and the
     tracking comes off, which is worth another 11px on a long name.
     Scoped away from .strip-toggle: the door headings use the same
     button and their sign belongs on the heading line. */
  .door-body .cap-toggle:not(.strip-toggle) { flex-wrap: wrap; }
  .door-body .cap-toggle:not(.strip-toggle) .cap-title { flex: 1 1 100%; }
  .door-body .cap-toggle:not(.strip-toggle) .cap-more { margin-left: auto; }
  .door-body .cap-title { min-width: 0; letter-spacing: 0; }

  /* The Acquisitions pair gets the sign off its line too. Without nowrap the
     heading wraps whenever it needs more room than it has, and it was three
     pixels short: 277 of the 276 left once the sign and its gap took 23 of
     the 299 column. The sign drops, the column is whole, and the phrase
     holds one line at normal size while still being free to wrap when a
     reader scales the text up. */
  .subs-pair .strip-toggle { flex-wrap: wrap; }
  .subs-pair .strip-toggle .strip-title { flex: 1 1 100%; }
  .subs-pair .strip-toggle .cap-more { margin-left: auto; }

  .door-body .cap-head { font-size: clamp(0.72rem, 2.6vw, 0.86rem); letter-spacing: 0.05em; }
  .door-body .cap-list li { font-size: clamp(0.78rem, 3vw, 0.86rem); }
  .door-body .cap-toggle { gap: 8px; }
}

/* ---- Two subsidiary strips side by side ----
   Separate controls on purpose: these are two different companies, not two
   halves of one list, so opening one should not open the other. */
.subs-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 38px);
}

/* The pair no longer needs its own column rule: the base is now the same
   160px minimum, which is what it was overriding to reach. */

@media (max-width: 860px) {
  .subs-pair { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Phone corrections ----
   Most readers open this site on a phone, so these are not polish.

   1. The door sub-lines were rendering at 11px. They carry the two sharpest
      sentences on the page — "the partner of choice…" and "we don't buy
      companies…" — and at 11px nobody reads them.

   2. Both subsidiary grids fell to a single column: the column is ~299px and
      two 150px tiles plus the gap need 312, so auto-fill gave up and stacked
      six logos down 1,200px of scrolling. A smaller minimum restores two up.

   3. The controls were 26px tall. A thumb needs about 44, and these toggles
      are the only way to open anything in a door. */
@media (max-width: 560px) {
  .glance-at {
    font-size: clamp(0.88rem, 3.8vw, 1rem);
    letter-spacing: 0.1em;
    line-height: 1.45;
    opacity: 0.9;
  }

  .subs-pair .brand-tiles {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  }

  .door-heading .strip-toggle,
  .door-body .cap-toggle {
    min-height: 44px;
  }

  .burger {
    min-width: 44px;
    min-height: 44px;
  }
}


/* ---------- Prose (accessibility statement) ----------
   The only page on this site that is a document rather than a composition,
   so it gets a measure and a vertical rhythm instead of the editorial grid.
   65ch is the readable line length; the rest is spacing. */
.prose { max-width: 65ch; margin-top: clamp(28px, 3vw, 44px); }
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: clamp(32px, 3.4vw, 48px) 0 clamp(10px, 1vw, 14px);
}
.prose p, .prose li {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.1vw, 1.02rem);
  line-height: 1.75;
  color: var(--ink);
}
.prose p { margin: 0 0 1em; }
.prose ul { margin: 0 0 1em; padding: 0; }
.prose li { position: relative; padding-left: 20px; margin-bottom: 0.6em; }
/* a square rather than a bullet glyph, to match the tick marks used elsewhere */
.prose li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; background: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- The mark, large, before the footer ----------
   The client asked for the moment Inditex has at the foot of its home page:
   the wordmark set enormous, cropped by the viewport, sitting directly above
   the footer columns. It works there because it is the only thing on the
   screen and it is allowed to run past the edges — a logo that fits politely
   inside the margins reads as a logo, one that does not reads as a signature.

   The artwork is the TX monogram the client supplied: white on transparency,
   4484x3054, so there is resolution to spare at any size. brightness(0)
   turns it to ink for a light surface.

   It is decorative: the company is named in the header lockup, in the footer
   and in the page title, so the monogram carries no information a screen
   reader needs and is hidden from one. */
/* ============ EDITORIAL BAND ============ */
/* Full bleed, and the only element on the page that is allowed to be: it sits
   between the white contact band and the stone mark, so the photograph is its
   own surface and neither neighbour needs to change.

   Cropped by aspect-ratio rather than a fixed height, because the subject is a
   standing figure and the two ends of the breakpoint range want different
   pictures out of the same file. object-position carries her: the vertical
   value keeps her head in a wide crop, and on a phone, where the crop takes
   width as well, the horizontal value follows her off centre. */
.editorial-band {
  line-height: 0;
  background: var(--ink);
}

.editorial-band img {
  display: block;
  width: 100%;
  height: auto;
  /* 18:5, not 21:8. At 21:8 this was 543px tall at 1440, and next to a mark
     that is now 58% of the width it read as one slab shouting over another.
     Inditex run their full-width plates at about 3.66:1 - 1430x391 measured
     on the page the client pointed at - so this is 396px at 1440, a quarter
     shorter. The crop moves down with it: a shallower frame taken from the
     same place would have cut her chin. */
  aspect-ratio: 18 / 5;
  object-fit: cover;
  object-position: 50% 10%;
}

@media (max-width: 860px) {
  .editorial-band img { aspect-ratio: 3 / 2; object-position: 56% 20%; }
}

@media (max-width: 560px) {
  /* A 21:8 slice of a standing figure is a sliver of torso. Go portrait and
     follow her across: she stands right of centre in the frame. */
  .editorial-band img { aspect-ratio: 4 / 5; object-position: 61% 16%; }
}

.bigmark {
  background: var(--stone);
  /* No overflow: hidden any more. It was clipping a mark that ran to 108%
     of the width; at 58% there is nothing to clip, and the growth needs
     room at the top of its arc. */
  line-height: 0;
  padding: clamp(40px, 6vw, 90px) 0 0;
}

.bigmark img {
  display: block;
  /* 58%, measured off inditex.com: their footer wordmark is 843px of a 1440
     viewport, whole and centred. This was 108% at a -4% offset, which put
     the T 57px off the left edge. */
  width: 58%;
  margin: 0 auto;
  height: auto;
  filter: brightness(0);
  opacity: 0.93;
  /* it grows upward out of the footer, not outward from its middle */
  transform-origin: 50% 100%;
}

/* The mark grows as it comes into view and settles at full size.

   --mark-grow is set by the scroll handler in main.js and runs 0 to 1 as
   the mark crosses the lower part of the viewport. A scroll-driven CSS
   animation would be the better tool and need no script, but it could
   not be verified here - the ViewTimeline is built and its currentTime
   stays null - and it would do nothing on the older Safari versions this
   site will mostly be read on. One custom property is the version that
   behaves the same everywhere.

   The fallback value is 1, so with no script at all the mark simply sits
   at its settled size. */
.bigmark img {
  --mark-grow: 1;
  transform: scale(calc(0.62 + 0.38 * var(--mark-grow)));
}

/* The footer sits straight under it with no rule between: the mark is the
   divider. */
.bigmark + .site-footer { padding-top: clamp(28px, 3.4vw, 48px); }

@media (max-width: 860px) {
  /* A phone has no room to hold the mark at 58% and still read it as a word,
     which is the one thing it has to do, so it takes most of the screen
     here. It stays whole either way - it used to be cropped into the middle
     of TERMINAL at 375. */
  .bigmark img { width: 84%; }
}

@media (prefers-reduced-motion: reduce) {
  /* main.js also skips the listener, so --mark-grow stays at its default of
     1; this is here so the mark is settled even before the script runs. */
  .bigmark img { transform: none; }
}