/* Shared styles for /work/ and its category pages (documentary, events, photography,
   sports-coverage). Loaded before /work/details.css. */
:root {
  --bg: #f4f1ea;
  --surface: #fbfaf7;
  --text: #171717;
  --muted: #66625b;
  --soft: #8a857d;
  --line: rgba(23, 23, 23, 0.13);
  --line-strong: rgba(23, 23, 23, 0.27);
  --shadow: 0 28px 80px rgba(23, 23, 23, 0.08);
  --header-bg: rgba(244, 241, 234, 0.86);
  --surface-rgb: 251, 250, 247;
  --surface-hover: #ffffff;
  --radius: 24px;
  --max: 1120px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-h: 67px;
}

/* Dark theme: same layout, palette shared with /styles.css and the Art pages. */
:root[data-theme="dark"] {
color-scheme: dark;
--bg: #141414;
--surface: #1e1d1c;
--text: #e2d8c8;
--muted: #b1a595;
--soft: #958b7c;
--line: rgba(226, 216, 200, 0.13);
--line-strong: rgba(226, 216, 200, 0.3);
--shadow: 0 30px 110px rgba(0, 0, 0, 0.56);
--header-bg: rgba(20, 20, 20, 0.88);
  --surface-rgb: 18, 16, 14;
  --surface-hover: #232221;
}

/* Embeds keep the light scheme so browsers don't paint a white backdrop behind them. */
:root[data-theme="dark"] iframe {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-synthesis: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
iframe {
  max-width: 100%;
}

.wrap {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: var(--header-h);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand-text {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
}

.nav a {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 600;
  transition: color 160ms ease;
}

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

.nav a[aria-current="page"] {
  color: var(--text);
}

.nav-contact {
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text) !important;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 160ms ease;
}

.theme-toggle:hover {
  border-color: var(--text);
}

.theme-toggle:focus-visible {
  outline: 2px solid #5a7dab;
  outline-offset: 4px;
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
}

/* Without the head script there is no theme to toggle. */
:root:not([data-theme]) .theme-toggle,
.theme-toggle-sun,
:root[data-theme="dark"] .theme-toggle-moon,
.theme-toggle-label {
  display: none;
}

:root[data-theme="dark"] .theme-toggle-sun {
  display: block;
}

/* Aperture toggle: stopped down in light, wide open in dark; the blades turn as it changes. */
.theme-toggle svg {
  width: 20px;
  height: 20px;
}

/* Header (pages with the theme toggle): aligned to the page's content width, the personal
   mark beside the name and quiet links. */
:root[data-theme] .site-header {
  min-height: 72px;
  padding-block: 14px;
  padding-inline: max(24px, calc((100% - 1120px) / 2));
}

:root[data-theme] .site-header .brand {
  gap: 12px;
}

/* Shows the monogram region (440, 232, 712, 456) of the approved logo, unchanged. */
.brand-mark {
  position: relative;
  display: block;
  width: 44px;
  aspect-ratio: 712 / 456;
  overflow: hidden;
  flex: none;
  mix-blend-mode: multiply;
}

.brand-mark img {
  position: absolute;
  width: 215.730337%;
  max-width: none;
  height: auto;
  left: -61.797753%;
  top: -50.877193%;
  /* Light artwork on black: inverted, it reads as ink on the light page. */
  filter: invert(1);
}

:root[data-theme="dark"] .brand-mark {
  mix-blend-mode: screen;
}

:root[data-theme="dark"] .brand-mark img {
  filter: none;
}

:root[data-theme] .site-header .nav {
  margin-left: auto;
  gap: 28px;
}

:root[data-theme] .site-header .nav a {
  color: var(--muted);
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}

:root[data-theme] .site-header .nav a:hover {
  color: var(--text);
  text-decoration: none;
}

:root[data-theme] .site-header .nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}

/* Contact: a plain link like the others. */
:root[data-theme] .site-header .nav .nav-contact {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--muted) !important;
}

:root[data-theme] .site-header .nav .nav-contact:hover {
  color: var(--text) !important;
}

:root[data-theme] .site-header > .theme-toggle {
  margin-left: -12px;
}

/* The theme button: after Contact on wide screens, pinned to the header's top corner
   when the header stacks or collapses into the phone menu. */
@media (max-width: 900px) {
  :root[data-theme] .site-header > .theme-toggle {
    position: absolute;
    top: 10px;
    right: 24px;
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  :root[data-theme] .site-header {
    position: relative;
  }

  /* Stacked header on phones: one compact row of links. */
  :root[data-theme] .site-header .nav a {
    white-space: nowrap;
  }

  :root[data-theme] body:not(.home-body) .site-header .nav {
    gap: 16px;
  }
}

.theme-switching *,
.theme-switching *::before,
.theme-switching *::after {
  transition: none !important;
}

.professional-page {
  overflow: hidden;
}

.professional-section {
  padding: clamp(68px, 8.5vw, 112px) 0;
  border-bottom: 1px solid var(--line);
}

.professional-muted {
  background: rgba(var(--surface-rgb), 0.26);
}

.professional-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.section-label,
.meta-line,
.selected-video-type,
.recognition-kicker,
.tool-card-label {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.12em;
  font-weight: 650;
  text-transform: uppercase;
}

.professional-title,
.professional-page h2,
.professional-page h3,
.professional-contact h2 {
  margin: 14px 0 0;
  color: var(--text);
  font-size: clamp(34px, 4.8vw, 74px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 620;
}

.professional-title {
  max-width: 840px;
}

.section-intro {
  max-width: 440px;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
  letter-spacing: -0.01em;
  font-weight: 400;
}

/* Default body size only: :where() keeps this at zero specificity,
   so labels, kickers and captions keep their own smaller sizes. */
:where(.professional-page) :where(p, a, span) {
  font-size: 15px;
  line-height: 1.58;
}

.keyfarmer-actions a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
}

.work-hero-section {
  padding: clamp(64px, 6vw, 96px) 0 clamp(32px, 3.4vw, 48px);
  scroll-margin-top: 96px;
}

.work-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  column-gap: clamp(28px, 5vw, 76px);
  row-gap: clamp(24px, 2.5vw, 36px);
  align-items: end;
}

.work-hero .professional-title {
  max-width: none;
}

p.work-hero-intro {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.62;
}

.work-hero-accreditation {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: start;
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--line);
}

p.work-hero-accreditation-line {
  max-width: 420px;
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}

.work-hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px clamp(22px, 3vw, 42px);
  margin: 0;
}

.work-hero-meta div {
  min-width: 0;
}

.work-hero-meta dt,
.work-hero-meta dd {
  margin: 0;
}

.work-hero-meta dt {
  color: var(--soft);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  font-weight: 650;
  text-transform: uppercase;
}

.work-hero-meta dd {
  margin-top: 4px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.selected-video-work {
  padding-top: clamp(28px, 3.4vw, 48px);
}

.coverage-feature {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 104px);
  align-items: center;
  margin-top: 0;
  padding: clamp(20px, 3.2vw, 44px);
  scroll-margin-top: 96px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

/* Video: a poster with a play button becomes the player in place ([data-video]),
   and links marked [data-video-link] open the film in an overlay instead of leaving the site. */
.video-facade {
  position: relative;
}

.video-facade iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.video-play svg {
  width: 26px;
  height: 26px;
  box-sizing: content-box;
  padding: 19px 17px 19px 21px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, background 180ms ease;
}

.video-play:hover svg {
  transform: scale(1.06);
  background: rgba(10, 10, 10, 0.68);
}

.video-play:focus-visible {
  outline: none;
}

.video-play:focus-visible svg {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.video-lightbox {
  width: min(92vw, 1180px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.video-lightbox::backdrop {
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(6px);
}

.video-lightbox-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 82vh;
  margin-inline: auto;
  background: #000;
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.6);
}

.video-lightbox--portrait {
  width: min(92vw, calc(82vh * 9 / 16));
}

.video-lightbox--portrait .video-lightbox-frame {
  aspect-ratio: 9 / 16;
}

.video-lightbox--post {
  width: min(92vw, 560px);
}

.video-lightbox--post .video-lightbox-frame {
  aspect-ratio: auto;
  height: min(82vh, 780px);
  max-height: none;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.video-lightbox-source {
  display: block;
  width: fit-content;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.video-lightbox-source[hidden] {
  display: none;
}

.video-lightbox-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lightbox-close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.video-lightbox-close:hover,
.video-lightbox-close:focus-visible {
  border-color: #fff;
  outline: none;
}

.work-video-portrait {
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  justify-self: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  background: #111;
}

/* The podium frame, cropped to the vertical player around the trophy lift. */
.work-video-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 42% 50%;
}

.work-video-portrait iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.coverage-feature-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 640px;
  padding: clamp(6px, 1.5vw, 18px) 0;
}

.coverage-feature-content h3 {
  margin: 0;
  font-size: clamp(38px, 4.7vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 620;
}

.coverage-feature-location {
  margin: -4px 0 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}

.coverage-feature-description {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.62;
}

.coverage-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.coverage-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: #111;
}

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

.coverage-card-afc .coverage-card-media img {
  /* Left-origin 16:10 derivative retains the visible match and photographer credits. */
  object-fit: cover;
  object-position: left center;
}

.coverage-card-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
}

.coverage-card-kicker,
.coverage-card-credit,
.football-documentaries-head .section-label {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.12em;
  font-weight: 650;
  text-transform: uppercase;
}

.coverage-card h3 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 620;
}

.coverage-card-content > p:not(.coverage-card-kicker):not(.coverage-card-credit) {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.coverage-card-event-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 2px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.coverage-card-event-meta div {
  min-width: 0;
}

.coverage-card-event-meta dt {
  margin: 0;
  color: var(--soft);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.12em;
  font-weight: 650;
  text-transform: uppercase;
}

.coverage-card-event-meta dd {
  margin: 5px 0 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.coverage-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.coverage-card-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
}

/* AFC photographs: swipe or step through in the card's frame; zoom opens them full screen. */
.gallery {
  position: relative;
}

.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.gallery-slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
  cursor: zoom-in;
}

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

/* The first frame keeps its Football360 and photographer credit in view. */
.gallery-slide:first-child img {
  object-position: left center;
}

/* First view of the gallery: a frosted hint and a small nudge show that it moves, then fade. */
.gallery-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.32);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity 400ms ease, transform 400ms ease;
}

.gallery.is-hinting .gallery-hint {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gallery-hint-arrows {
  position: relative;
  display: block;
  width: 48px;
  height: 16px;
}

.gallery-hint-arrows svg {
  width: 48px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

.gallery-hint-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: #fff;
  animation: gallery-hint-dot 1.3s ease-in-out infinite;
}

@keyframes gallery-hint-dot {
  0%, 100% { transform: translateX(-10px); }
  50% { transform: translateX(10px); }
}

@media (max-width: 560px) {
  .gallery-hint {
    gap: 10px;
    padding: 10px 14px;
    font-size: 13px;
  }
}

.gallery.is-nudging .gallery-slide {
  animation: gallery-nudge 1.1s cubic-bezier(0.45, 0, 0.2, 1) 1;
}

@keyframes gallery-nudge {
  0%, 100% { transform: translateX(0); }
  45% { transform: translateX(-56px); }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-hint-dot,
  .gallery.is-nudging .gallery-slide {
    animation: none;
  }
}

.gallery-nav,
.gallery-zoom,
.photo-viewer-nav,
.photo-viewer-close {
  position: absolute;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  transition: background 160ms ease, opacity 160ms ease;
}

.gallery-nav:hover,
.gallery-zoom:hover,
.photo-viewer-nav:hover,
.photo-viewer-close:hover {
  background: rgba(10, 10, 10, 0.75);
}

.gallery-nav svg,
.gallery-zoom svg,
.photo-viewer-nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-nav {
  top: 50%;
  transform: translateY(-50%);
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.gallery-zoom {
  top: 14px;
  right: 14px;
}

.gallery-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.55);
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.photo-viewer {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 8, 8, 0.94);
  overflow: hidden;
}

.photo-viewer::backdrop {
  background: rgba(8, 8, 8, 0.94);
}

.photo-viewer-stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  touch-action: none;
}

.photo-viewer-stage img {
  max-width: 92vw;
  max-height: 86dvh;
  display: block;
  cursor: zoom-in;
  transition: transform 220ms ease;
  user-select: none;
  -webkit-user-drag: none;
}

.photo-viewer.is-zoomed .photo-viewer-stage img {
  transform: scale(2.2);
  cursor: zoom-out;
}

.photo-viewer-nav {
  top: 50%;
  transform: translateY(-50%);
}

.photo-viewer-prev {
  left: clamp(10px, 2vw, 28px);
}

.photo-viewer-next {
  right: clamp(10px, 2vw, 28px);
}

.photo-viewer-close {
  top: 18px;
  right: 18px;
  font-size: 22px;
  line-height: 1;
}

.photo-viewer-count {
  position: absolute;
  left: 50%;
  bottom: 18px;
  margin: 0;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.photo-viewer.is-zoomed .photo-viewer-nav,
.photo-viewer.is-zoomed .photo-viewer-count {
  opacity: 0;
  pointer-events: none;
}

@media (hover: none) {
  .gallery-nav {
    width: 36px;
    height: 36px;
  }
}

.coverage-card-afc,
.coverage-card-event {
  margin-top: clamp(28px, 4vw, 52px);
}

.coverage-card-afc-main,
.coverage-card-event-main {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
}

/* Side by side, the picture fills the card's full height instead of leaving a gap under it. */
@media (min-width: 901px) {
  .coverage-card-afc-main > .coverage-card-media,
  .coverage-card-event-main > .coverage-card-media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 340px;
  }
}

.coverage-card-afc .coverage-card-content,
.coverage-card-event .coverage-card-content {
  justify-content: center;
  border-left: 1px solid var(--line);
}








.football-documentaries-head {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: end;
  margin-top: clamp(58px, 8vw, 108px);
  padding-top: clamp(30px, 4vw, 52px);
  border-top: 1px solid var(--line);
}

.football-documentaries-head h3 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 620;
}

.selected-video-grid {
  margin-top: clamp(36px, 5vw, 62px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.selected-video-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.selected-video-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: var(--surface-hover);
}

.selected-video-card-link {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  color: var(--text);
}

.selected-video-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: #111;
}

.selected-video-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.selected-video-card:hover .selected-video-thumb img {
  transform: scale(1.025);
  opacity: 0.94;
}

.selected-video-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 3vw, 34px);
}

.selected-video-card h3 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 620;
}

.selected-video-card p:not(.selected-video-type) {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.selected-video-card span {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  color: var(--text);
  border-bottom: 1px solid currentColor;
  font-weight: 600;
}

.professional-quote-stack {
  padding: clamp(58px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--line);
  background: rgba(var(--surface-rgb), 0.24);
}

.recognition-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.recognition-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 68px);
  padding: clamp(26px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.recognition-row:last-child {
  border-bottom: 0;
}

.recognition-label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--soft);
}

.recognition-number {
  color: var(--line-strong);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 620;
}

.recognition-copy {
  max-width: 820px;
}

.recognition-title {
  display: block;
  margin: 0 0 10px;
  color: var(--text);
  font-weight: 600;
}

.recognition-copy p {
  max-width: 760px;
  margin: 0 0 12px;
  color: var(--muted);
}

.recognition-note {
  max-width: 780px;
  margin-top: 6px;
  color: var(--soft);
}

.recognition-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.recognition-row a {
  display: inline-flex;
  width: fit-content;
  margin-top: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--text);
  font-weight: 600;
}

.professional-tools {
  background: rgba(var(--surface-rgb), 0.26);
}

.professional-tools h2 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0;
}

.professional-tools .keyfarmer-actions {
  margin-top: 18px;
}

.keyfarmer-panel {
  margin-top: clamp(42px, 6vw, 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.keyfarmer-brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(42px, 6vw, 76px);
  padding: clamp(34px, 4.8vw, 58px);
  border-right: 1px solid var(--line);
  background: rgba(var(--surface-rgb), 0.54);
}

.keyfarmer-top {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.asset-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #111;
  color: #f4f1ea;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.16);
}

.asset-fallback {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(244, 241, 234, 0.8);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.03em;
  font-weight: 650;
  z-index: 1;
}

.asset-shell img {
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity 160ms ease;
}

.asset-shell img.is-loaded {
  opacity: 1;
}

.asset-shell img.is-missing {
  display: none;
}

.keyfarmer-main-logo-shell,
.keyfarmer-main-logo {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  object-fit: contain;
}

.keyfarmer-wordmark {
  display: block;
  color: var(--text);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 620;
}

.keyfarmer-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
}

.keyfarmer-copy h3 {
  max-width: 500px;
  margin: 0 0 16px;
  font-size: clamp(34px, 3.5vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.052em;
  font-weight: 620;
}

.keyfarmer-copy p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
}

.keyfarmer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keyfarmer-tools {
  display: grid;
  grid-template-rows: 1fr 1fr;
  min-width: 0;
}

.tool-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: clamp(18px, 2.8vw, 34px);
  align-items: center;
  min-width: 0;
  padding: clamp(30px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(var(--surface-rgb), 0.24);
}

.tool-card:last-child {
  border-bottom: 0;
}

.tool-icon-shell,
.tool-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: contain;
}

.tool-card h3 {
  max-width: 360px;
  margin: 0 0 10px;
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 620;
}

.tool-card p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
}

.tool-card a {
  display: inline-flex;
  width: fit-content;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
  color: var(--text);
  font-weight: 600;
}

.professional-foundation-clean {
  padding-top: clamp(72px, 9vw, 118px);
  padding-bottom: clamp(72px, 9vw, 118px);
}

.foundation-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.foundation-column {
  display: grid;
  grid-template-rows: 34px 210px 1fr;
  min-height: 704px;
  padding: clamp(34px, 4.2vw, 52px);
}

.foundation-column + .foundation-column {
  border-left: 1px solid var(--line);
  background: rgba(var(--surface-rgb), 0.44);
}

.foundation-column .section-label {
  display: flex;
  align-items: flex-start;
  height: 34px;
  margin: 0;
}

.foundation-column h3 {
  display: block;
  max-width: 440px;
  margin: 0;
  padding: 0;
  font-size: clamp(34px, 3.25vw, 44px);
  line-height: 1.03;
  letter-spacing: -0.052em;
  font-weight: 620;
}

.foundation-credential-list,
.foundation-skill-list {
  display: grid;
  grid-auto-rows: minmax(88px, auto);
  border-top: 1px solid var(--line);
}

.foundation-credential,
.foundation-skill {
  display: grid;
  grid-template-columns: minmax(128px, 0.42fr) minmax(0, 1fr);
  gap: clamp(18px, 2.2vw, 30px);
  align-items: start;
  min-height: 88px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.foundation-credential span,
.foundation-skill span {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.foundation-credential p,
.foundation-skill p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.012em;
}

.professional-contact {
  padding: clamp(76px, 10vw, 120px) 0;
}

.professional-contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.35fr);
  gap: 40px;
  align-items: end;
}

.professional-contact .contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.professional-contact .contact-links a {
  width: fit-content;
  border-bottom: 1px solid currentColor;
  color: var(--text);
  font-weight: 600;
}

.alias-note {
  grid-column: 1 / -1;
  max-width: 780px;
  margin: 26px 0 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .keyfarmer-panel {
    grid-template-columns: 1fr;
  }

  .keyfarmer-brand {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .professional-split,
  .recognition-row,
  .professional-contact-box {
    grid-template-columns: 1fr;
  }

  .selected-video-grid {
    grid-template-columns: 1fr;
  }

  .work-hero,
  .work-hero-accreditation,
  .coverage-feature,
  .coverage-card-afc-main,
  .coverage-card-event-main {
    grid-template-columns: 1fr;
  }

  .coverage-feature {
    gap: 30px;
    scroll-margin-top: 148px;
  }

  .coverage-card-afc .coverage-card-content,
  .coverage-card-event .coverage-card-content {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .football-documentaries-head {
    align-items: start;
    flex-direction: column;
  }

  .work-hero-section {
    scroll-margin-top: 148px;
  }

  .foundation-board {
    grid-template-columns: 1fr;
  }

  .foundation-column {
    grid-template-rows: auto auto auto;
    min-height: auto;
  }

  .foundation-column + .foundation-column {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .foundation-column .section-label {
    height: auto;
    margin-bottom: 18px;
  }

  .foundation-column h3 {
    max-width: 100%;
    margin-bottom: 28px;
  }

  .foundation-skill-list,
  .foundation-credential-list {
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .foundation-skill,
  .foundation-credential {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: auto;
  }

  .tool-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .tool-card a {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(calc(100% - 30px), var(--max));
  }

  .professional-title {
    font-size: clamp(42px, 13vw, 72px);
  }




  .keyfarmer-top {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .keyfarmer-main-logo-shell,
  .keyfarmer-main-logo,
  .tool-icon-shell,
  .tool-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .tool-card {
    grid-template-columns: 1fr;
  }

  .tool-card a {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 0px;
  }

  .coverage-card-event-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-header {
    position: static;
    padding: 16px 15px;
  }

  .nav {
    gap: 13px;
  }

  .work-hero-meta {
    grid-template-columns: 1fr;
  }

}

/* One header on every page: the same size, alignment and colours, fixed to the top while
   scrolling, with the links folded into a menu button on phones. */
html {
  scroll-padding-top: 88px;
}

:root[data-theme] body .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  min-height: 72px;
  margin: 0;
  padding-block: 14px;
  padding-inline: max(24px, calc((100% - 1120px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--text);
}

:root[data-theme] body .site-header .brand,
:root[data-theme] body .site-header .brand-text {
  color: var(--text) !important;
}

:root[data-theme] body .site-header .nav {
  width: auto;
  flex-direction: row;
  align-items: center;
  margin-left: auto;
  padding: 0;
  border: 0;
  overflow: visible;
}

:root[data-theme] body .site-header > .theme-toggle {
  position: static;
  margin-left: 16px;
}

.home-menu-toggle {
  display: none;
}

@media (min-width: 1600px) {
  :root[data-theme] body .site-header {
    padding-inline: max(24px, calc((100% - min(78vw, 1520px)) / 2));
  }
}

@media (max-width: 560px) {
  :root[data-theme] body .site-header {
    flex-wrap: wrap;
    min-height: 64px;
    padding-block: 10px;
    padding-inline: 24px;
  }

  :root[data-theme] body .site-header > .theme-toggle {
    order: 1;
    margin-left: auto;
  }

  .home-menu-toggle:not([hidden]) {
    order: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
  }

  .home-menu-toggle span {
    width: 20px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -6px currentColor, 0 6px currentColor;
  }

  :root[data-theme] body .site-header .nav {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 10px 0 0;
    padding-top: 6px;
    border-top: 1px solid var(--line);
  }

  :root[data-theme] body .site-header .nav[hidden] {
    display: none;
  }

  :root[data-theme] body .site-header .nav a {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    padding: 10px 0;
  }
}

/* Isolated Work sample. Reuse the site's warm palette without changing its global tokens. */
:root { --max: 1040px; }
.professional-page .work-hero-section { padding: 48px 0 32px; }
.work-hero { grid-template-columns: 1.1fr 1fr; gap: 54px; align-items: end; }
.work-hero .professional-title { max-width: 600px; font-size: clamp(40px,4.2vw,56px); }
p.work-hero-intro { max-width: 390px; font-size: 15px; line-height: 1.7; }

/* One continuous gallery, one project at a time. */
.selected-video-work { padding: 0 0 12px; background: var(--surface); }
.selected-video-work [data-project] {
  width: min(calc(100% - 48px),var(--max));
  margin: 0 auto; padding: 34px 0;
  border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; box-shadow: none; background: transparent; overflow: visible;
}
.selected-video-work [data-project]:last-child { border-bottom: 0; }
.coverage-feature,.coverage-card-afc-main,.coverage-card-event-main,.selected-video-card-link {
  display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  grid-template-rows: auto; gap: 54px; align-items: center;
}
.coverage-feature-content,.coverage-card-content,.selected-video-copy {
  padding: 0 !important; border: 0 !important; gap: 12px; min-width: 0;
}
.coverage-feature-content h3,.coverage-card h3,.selected-video-card h3 {
  font-size: clamp(27px,2.8vw,36px); line-height: 1.12;
  letter-spacing: -.035em; font-weight: 550; max-width: 490px;
}
.coverage-feature-description,.coverage-card-content>p:not(.coverage-card-kicker):not(.coverage-card-credit),
.selected-video-card p:not(.selected-video-type) { font-size: 14px; line-height: 1.7; max-width: 440px; }
.coverage-card-kicker,.coverage-card-credit,.selected-video-type {
  font-size: 10px; line-height: 1.55; letter-spacing: .09em;
}
.coverage-feature-location { font-size: 13px; font-weight: 400; }
.coverage-card-event-meta { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 0; margin: 0; border: 0; }
.coverage-card-event-meta dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.coverage-card-event-meta dd { margin: 0; color: var(--soft); font-size: 12px; font-weight: 400; line-height: 1.6; }
.selected-video-card span { margin: 0; color: var(--soft); font-size: 12px; line-height: 1.6; font-weight: 400; border: 0; }
.coverage-card-links { margin-top: 5px; }
.coverage-card-links a { min-height: 28px; padding: 0 0 2px; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; font-size: 12px; font-weight: 500; }
.selected-video-card:hover { transform: none; background: transparent; }
.selected-video-card:hover .selected-video-thumb img { transform: none; opacity: 1; }

/* Respect image proportions rather than placing them inside black fixed-size boxes. */
.coverage-card-event-main>.coverage-card-media,.coverage-card-afc-main>.coverage-card-media,
.selected-video-thumb { width: 100%; min-height: 0; height: auto; aspect-ratio: auto; margin: 0; border: 0; border-radius: 0; background: transparent; overflow: hidden; }
.coverage-card-media img,.selected-video-thumb img,.coverage-card-afc .coverage-card-media img {
  display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain;
  border-radius: 0; transition: none;
}
.coverage-card-event-main>.video-facade,.event-motion { aspect-ratio: 16/9; }
.coverage-card-event-main>.video-facade img { height: 100%; }
.work-video-portrait { width: 180px; aspect-ratio: 9/16; justify-self: center; border: 0; border-radius: 0; background: transparent; }
.work-video-portrait img { border-radius: 0; }
.coverage-card-afc-main>.gallery { aspect-ratio: 1150/719; }
.gallery-track,.gallery-slide { background: transparent; }
.gallery-track .gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.video-play svg { width: 19px; height: 19px; padding: 17px 15px 17px 19px; background: rgba(20,20,20,.58); color: var(--text); border: 1px solid rgba(226,216,200,.45); box-shadow: none; backdrop-filter: blur(5px); }
.gallery-nav,.gallery-zoom { width: 32px; height: 32px; border: 1px solid rgba(226,216,200,.35); background: rgba(20,20,20,.58); color: #e2d8c8; box-shadow: none; }
.gallery-prev { left: 10px; }
.gallery-next,.gallery-zoom { right: 10px; }
.gallery-zoom { top: 10px; }
.gallery-count { right: 10px; bottom: 10px; border-radius: 0; padding: 4px 7px; color: #e2d8c8; font-size: 10px; }

.event-motion { position: relative; }
.event-motion video { display: block; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.event-play { display: grid; place-items: center; position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.event-play svg { width: 54px; height: 54px; padding: 16px; border-radius: 50%; border: 1px solid rgba(226,216,200,.45); color: #e2d8c8; background: rgba(20,20,20,.58); backdrop-filter: blur(5px); }
.event-play:hover svg,.event-play:focus-visible svg { background: rgba(20,20,20,.85); border-color: #e2d8c8; }
.event-play:focus-visible { outline: 2px solid var(--text); outline-offset: 5px; }
.event-play[hidden],.event-preview-label[hidden] { display: none; }
.event-preview-label { position: absolute; bottom: 10px; left: 10px; padding: 4px 7px; color: #e2d8c8; background: rgba(20,20,20,.58); font-size: 10px; letter-spacing: .025em; pointer-events: none; }

.work-award { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.work-award .section-label { margin-bottom: 7px; }
.work-award h2 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -.025em; font-weight: 500; }
.work-award a { max-width: 430px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.work-more { margin-top: 0; padding: 22px 0; border-bottom: 1px solid var(--line); }
.work-more>summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; list-style: none; font-size: 14px; color: var(--muted); cursor: pointer; }
.work-more>summary::-webkit-details-marker { display: none; }
.work-more[open]>summary { margin-bottom: 22px; }
.work-more .wrap { width: 100%; max-width: none; }
.work-more .professional-section,.work-more .professional-quote-stack { padding: 26px 0; }
.work-more .recognition-row,.work-more .foundation-board { padding: 24px; }
.work-more .work-hero-accreditation { margin-top: 0; padding-top: 0; padding-bottom: 24px; }
.professional-contact { padding: 38px 0; }
.professional-contact-box { gap: 20px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.professional-contact h2 { max-width: 700px; margin-bottom: 14px; font-size: 30px; line-height: 1.2; letter-spacing: -.035em; }
.alias-note { margin-top: 0; font-size: 11px; max-width: 900px; }
@media(max-width:900px){
 .coverage-feature,.coverage-card-afc-main,.coverage-card-event-main,.selected-video-card-link,.work-hero { gap: 32px; }
 .work-video-portrait { width: 165px; }
 .coverage-feature-content h3,.coverage-card h3,.selected-video-card h3 { font-size: 28px; }
}
@media(max-width:650px){
 .professional-page .work-hero-section { padding: 32px 0 26px; }
 .work-hero { grid-template-columns: 1fr; gap: 18px; }
 .work-hero .professional-title { font-size: 42px; }
 .coverage-feature,.coverage-card-afc-main,.coverage-card-event-main,.selected-video-card-link { grid-template-columns: 1fr; gap: 22px; }
 .selected-video-work [data-project] { padding: 28px 0; }
 .work-video-portrait { width: 175px; justify-self: center; }
 .coverage-feature-content h3,.coverage-card h3,.selected-video-card h3 { font-size: 28px; }
 .work-award { align-items: start; flex-direction: column; gap: 14px; }
 .work-more>summary { font-size: 13px; }
 .professional-contact h2 { font-size: 28px; }
}

.work-category-row { padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.work-category-row:last-child { border-bottom: 0; }
.work-category-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 32px 0; color: var(--text); text-decoration: none; }
.work-category-heading h2 { font-size: 25px; font-weight: 500; line-height: 1.2; letter-spacing: -.025em; margin: 0 0 8px; }
.work-category-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.work-category-heading>span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.work-category-heading>span>span { display: inline-block; margin-left: 8px; transition: transform 180ms ease; }
.work-category-heading:hover>span { color: var(--text); }
.work-category-heading:focus-visible { outline: 1px solid var(--text); outline-offset: 6px; }
.work-category-row [data-project] { border: 0; padding-top: 24px; padding-bottom: 12px; }
.work-photo-action { border-top: 1px solid var(--line); }
.work-photo-action button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 65px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
/* The live clock stays on the image, clear of the native playback controls. */
.event-preview-label,.youtube-motion>.event-preview-label { inset: 11px 11px auto auto; padding: 5px 8px; border: 1px solid var(--line-strong); border-radius: 3px; background: color-mix(in srgb,var(--surface) 92%,transparent); color: var(--text); font-family: inherit; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .025em; line-height: 1.5; backdrop-filter: blur(6px); pointer-events: none; }
@media(max-width:650px){
 .work-category-heading { align-items: flex-start; padding-top: 27px; gap: 14px; }
 .work-category-heading h2 { font-size: 23px; }
 .work-category-heading p { font-size: 11px; }
 .work-category-heading>span { font-size: 10px; padding-top: 6px; }
 .work-category-row [data-project] { padding-top: 22px; }
}
@media(prefers-reduced-motion:reduce) { .work-category-heading>span>span { transition: none; } }
.youtube-motion,.selected-video-thumb.youtube-motion,.coverage-card-event-main>.coverage-card-media.youtube-motion { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.youtube-motion>img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.youtube-motion>.youtube-player,.youtube-motion>iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.youtube-motion>.event-play { z-index: 1; }
.youtube-motion>.event-preview-label { z-index: 2; }
.gallery-browse-hint { position: absolute; left: 50%; top: 50%; z-index: 2; display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 10px 13px; border: 1px solid rgba(226,216,200,.36); border-radius: 999px; background: rgba(20,20,20,.34); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); color: #e2d8c8; font: 500 11px/1.2 var(--font); letter-spacing: .015em; white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(-50%,-50%) scale(.97); transition: opacity 400ms ease,transform 400ms ease; }
.gallery.is-browse-hinting .gallery-browse-hint { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.gallery-browse-hint .gallery-hint-dot { background: currentColor; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; }
@media(prefers-reduced-motion:reduce) { .gallery-browse-hint { transition: opacity 150ms linear; } }
/* Recognition belongs to the named work and stays part of the editorial layout. */
.work-project-recognition { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; color: var(--text); text-decoration: none; }
.selected-video-copy>.work-project-recognition { margin-top: 8px; padding: 12px 0 0; border-top: 1px solid var(--line); }
.work-project-recognition strong { color: var(--text); font-size: 14px; line-height: 1.5; font-weight: 500; }
.work-recognition-label,.selected-video-card .work-recognition-label { margin: 0 0 5px; color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.6; letter-spacing: .06em; text-transform: uppercase; }
.work-recognition-source,.selected-video-card .work-recognition-source { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; font-weight: 400; }
.work-project-recognition:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.work-project-recognition:focus-visible { outline: 1px solid var(--text); outline-offset: 5px; }
.work-photography-recognition { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: start; gap: 54px; padding-block: 22px; border-top: 1px solid var(--line); }
.work-recognised-project { margin: 0 0 7px; color: var(--text); font-size: 14px; line-height: 1.6; }
@media(max-width:650px){
 .work-photography-recognition { grid-template-columns: 1fr; gap: 14px; }
 .work-project-recognition strong { font-size: 13px; }
}
/* One quiet, shared play-and-time dock, clear of faces and titles. */
.work-media-controls {
 position:absolute; inset:auto auto 14px 14px; z-index:3;
 display:flex; align-items:center; gap:0; height:48px; max-width:calc(100% - 28px);
 border:1px solid color-mix(in srgb,var(--text) 28%,transparent); border-radius:999px;
 background:color-mix(in srgb,var(--surface) 82%,transparent); color:var(--text);
 -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
 pointer-events:none; transition:bottom 300ms ease,height 300ms ease,background 300ms ease;
}
.work-media-controls>.event-play {
 position:static; inset:auto; display:grid; place-items:center; flex:0 0 46px;
 width:46px; height:46px; padding:0; border:0; border-radius:50%; background:transparent;
 color:inherit; pointer-events:auto; transition:opacity 250ms ease,width 300ms ease,flex-basis 300ms ease;
}
.work-media-controls>.event-play svg {
 box-sizing:border-box; width:46px; height:46px; padding:15px;
 border:0; border-radius:0; background:transparent; color:inherit; backdrop-filter:none; transform:none;
}
.work-media-controls>.event-play:hover { background:color-mix(in srgb,var(--text) 12%,transparent); }
.work-media-controls>.event-play:focus-visible { outline:2px solid var(--text); outline-offset:3px; }
.work-media-controls>.event-preview-label {
 position:static; inset:auto; display:block; padding:0 15px 0 13px;
 border:0; border-left:1px solid color-mix(in srgb,var(--text) 24%,transparent); border-radius:0;
 color:inherit; background:transparent; font:500 11px/1.2 var(--font);
 font-variant-numeric:tabular-nums; letter-spacing:.035em; white-space:nowrap; backdrop-filter:none;
}
.has-played>.work-media-controls { height:30px; }
.has-played>.work-media-controls>.event-play { opacity:0; width:0; flex-basis:0; pointer-events:none; overflow:hidden; }
.has-played>.work-media-controls>.event-preview-label { border-left:0; padding-inline:12px; }
.event-motion.has-played>.work-media-controls { bottom:52px; }
.is-loading>.work-media-controls>.event-play { opacity:.45; cursor:progress; }
.youtube-motion>img { z-index:1; transition:opacity 350ms ease; }
.youtube-motion>.youtube-player,.youtube-motion>iframe { opacity:0; transition:opacity 350ms ease; }
/* Playback state takes precedence over the documentary card hover effect. */
[data-youtube-preview].youtube-motion.is-ready>img { opacity:0; }
.youtube-motion.is-ready>.youtube-player,.youtube-motion.is-ready>iframe { opacity:1; }
/* Provider controls remain usable. The live clock moves just beneath their frame. */
[data-youtube-preview].youtube-motion.is-ready { overflow:visible; margin-bottom:40px; }
.youtube-motion.is-ready>.work-media-controls { bottom:-38px; }
.youtube-motion.youtube-portrait { width:220px; max-width:100%; aspect-ratio:9/16; }
@media(prefers-reduced-motion:reduce) {
 .work-media-controls,.work-media-controls>.event-play,.youtube-motion>img,.youtube-motion>iframe { transition:none; }
}

/* A slightly tighter Salzburg poster; playback keeps its original framing. */
[data-youtube-preview="NrcAz121gEM"]>img { transform:scale(1.08); transform-origin:left top; }


/* Let decoded photographs arrive with a barely perceptible fade. */
.selected-video-work img { transition:opacity 220ms ease-out; }
.selected-video-work [data-project] img.work-image-pending { opacity:0; }
@media(prefers-reduced-motion:reduce) { .selected-video-work img { transition:none; } }


/* A near-invisible entrance, with content available from the first frame. */
@keyframes site-content-arrive { from { opacity:.96; } to { opacity:1; } }
@keyframes site-header-arrive { from { opacity:.98; } to { opacity:1; } }
@media(prefers-reduced-motion:no-preference) {
 body>main { animation:site-content-arrive 220ms ease-out; }
 body>.site-header { animation:site-header-arrive 180ms ease-out; }
}

/* Showreel: the first row of the Work page, opening the same player as the homepage. */
.work-showreel-row .work-category-heading { pointer-events: none; }
.work-showreel-thumb { position: relative; display: block; color: inherit; }
.work-showreel-thumb .event-play { pointer-events: none; }
.work-showreel-card .selected-video-copy .work-showreel-note { font-size: 13px; }
.work-showreel-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* More documentaries: two smaller films under the featured one. */
.work-doc-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.work-doc-card { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); align-items: center; gap: 18px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.work-doc-card:hover { transform: translateY(-2px); border-color: var(--line-strong); background: var(--surface-hover); }
.work-doc-card:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.work-doc-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: #111; }
.work-doc-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 220ms ease; }
.work-doc-card:hover .work-doc-thumb img { transform: scale(1.03); }
.work-doc-thumb .event-play { pointer-events: none; }
.work-doc-thumb .event-play svg { width: 40px; height: 40px; padding: 11px; }
.work-doc-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.work-doc-copy strong { font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.work-doc-copy > span:last-child { color: var(--muted); font-size: 13px; line-height: 1.55; }
@media (max-width: 900px) {
  .work-doc-more { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .work-doc-card { grid-template-columns: 1fr; gap: 12px; }
}
.work-showreel-thumb .event-play { display: grid; width: 100%; margin: 0; border: 0; }

/* Before a film starts: one round play button in the middle of the frame and a small running
   time in the corner, the way video players are read. Once playing, the dock above takes over. */
:not(.has-played):not(.is-ready)>.work-media-controls {
 inset:0; height:auto; max-width:none; border:0; border-radius:0; background:transparent;
 -webkit-backdrop-filter:none; backdrop-filter:none;
}
:not(.has-played):not(.is-ready)>.work-media-controls>.event-play {
 position:absolute; top:50%; left:50%; width:64px; height:64px; flex:none;
 transform:translate(-50%,-50%); border-radius:50%;
 transition:transform 260ms cubic-bezier(.2,.7,.2,1),opacity 250ms ease;
}
:not(.has-played):not(.is-ready)>.work-media-controls>.event-play svg,
.work-showreel-thumb .event-play svg,.work-doc-thumb .event-play svg,.event-linkout .event-play svg,
.event-motion>.event-play svg {
 box-sizing:border-box; width:64px; height:64px; padding:21px 19px 21px 23px;
 border:1px solid rgba(242,236,226,.5); border-radius:50%;
 background:rgba(12,12,12,.42); color:#f2ece2;
 -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
 box-shadow:0 8px 30px rgba(0,0,0,.25);
 transition:background 200ms ease,border-color 200ms ease,transform 260ms cubic-bezier(.2,.7,.2,1);
}
:not(.has-played):not(.is-ready)>.work-media-controls>.event-play:hover { background:transparent; transform:translate(-50%,-50%) scale(1.06); }
:not(.has-played):not(.is-ready)>.work-media-controls>.event-play:hover svg,
.selected-video-card:hover .event-play svg,.coverage-card:hover .event-play svg,.work-doc-card:hover .event-play svg {
 background:rgba(12,12,12,.62); border-color:#f2ece2;
}
:not(.has-played):not(.is-ready)>.work-media-controls>.event-preview-label {
 position:absolute; inset:auto 12px 12px auto; padding:4px 8px; border:0; border-radius:3px;
 background:rgba(12,12,12,.55); color:#f2ece2; font:500 11px/1.3 var(--font);
 font-variant-numeric:tabular-nums; letter-spacing:.04em;
 -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
.work-doc-thumb .event-play svg { width:44px; height:44px; padding:14px 12px 14px 16px; }
/* Thumbnails fill their 16:9 frame instead of sitting in bars. */
.youtube-motion>img { object-fit:cover; }
.work-showreel-thumb img { object-position: left center; }

/* Showreel row: the title card runs the full width as the page's opening image, uncropped,
   with the words beneath in two columns. */
.work-showreel-card .selected-video-card-link { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 22px 54px; align-items: start; }
.work-showreel-card .work-showreel-thumb { grid-column: 1 / -1; aspect-ratio: 1200 / 630; }
.work-showreel-card .work-showreel-thumb img { object-position: center; }
.work-showreel-card .work-showreel-thumb .event-play { justify-items: center; }
.work-showreel-card .selected-video-copy { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 54px; row-gap: 10px; align-items: start; }
.work-showreel-card .selected-video-copy h3 { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
.work-showreel-card .selected-video-copy p { grid-column: 2; }
.work-showreel-card .selected-video-copy > p:first-of-type { grid-row: 1; padding-top: 6px; }
.work-showreel-card .selected-video-copy .work-showreel-note { grid-row: 2; }
@media (max-width: 760px) {
  .work-showreel-card .selected-video-copy { grid-template-columns: 1fr; }
  .work-showreel-card .selected-video-copy > * { grid-column: 1 !important; grid-row: auto !important; }
}

/* More documentaries: no boxes, the same quiet language as the rows above. */
.work-doc-more { margin-top: clamp(28px,4vw,44px); padding-top: clamp(22px,3vw,30px); border-top: 1px solid var(--line); gap: clamp(20px,3vw,40px); }
.work-doc-card { padding: 0; border: 0; border-radius: 0; background: transparent; gap: 18px; }
.work-doc-card:hover { transform: none; border: 0; background: transparent; }
.work-doc-card:hover strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
/* On phones the project rows line up with the headings, header and page title (15px gutter). */
@media (max-width: 760px) {
  .selected-video-work [data-project], .work-doc-more { width: min(calc(100% - 30px), var(--max)); }
}

/* ---- Work index (2026-10-24): the showreel, then one calm grid of selected work. ---- */
.work-reel { padding: clamp(28px,4vw,48px) 0 clamp(48px,6vw,72px); background: var(--surface); }
.work-reel-media { position: relative; display: block; aspect-ratio: 1200 / 630; overflow: hidden; border-radius: 4px; background: #0c0c0b; color: #f2ece2; }
.work-reel-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.2,.7,.2,1); }
.work-reel-media:hover img { transform: scale(1.015); }
.work-reel-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid rgba(242,236,226,.55); border-radius: 50%; background: rgba(12,12,12,.38); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background 200ms ease, transform 260ms cubic-bezier(.2,.7,.2,1); }
.work-reel-play svg { width: 24px; height: 24px; margin-left: 3px; }
.work-reel-media:hover .work-reel-play { background: rgba(12,12,12,.6); transform: translate(-50%,-50%) scale(1.05); }
.work-reel-media:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.work-reel-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.work-reel-caption p { margin: 0; }
.work-reel-caption strong { color: var(--text); font-weight: 600; margin-right: 6px; }
.work-reel-caption a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.work-index { padding: clamp(48px,6vw,72px) 0 clamp(64px,8vw,96px); border-top: 1px solid var(--line); background: var(--surface); }
.work-index-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 14px 32px; margin-bottom: clamp(28px,4vw,40px); }
.professional-page .work-index-head h2 { margin: 0; font-size: 25px; font-weight: 500; line-height: 1.2; letter-spacing: -.025em; }
.work-index-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.work-index-nav a { color: var(--muted); font-size: 13px; text-decoration: none; transition: color 160ms ease; }
.work-index-nav a:hover, .work-index-nav a:focus-visible { color: var(--text); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(44px,5vw,64px) clamp(24px,3vw,36px); }
.work-card { display: block; color: var(--text); text-decoration: none; }
.work-card-media { margin: 0 0 18px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: #141414; }
.work-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.work-card:hover .work-card-media img { transform: scale(1.03); }
.work-card:focus-visible { outline: 2px solid var(--text); outline-offset: 6px; border-radius: 4px; }
.work-card-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.work-card-badge { padding: 2px 8px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); font-size: 10px; letter-spacing: .08em; }
.professional-page .work-card-title { margin: 0; font-size: clamp(21px,2vw,25px); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.work-card:hover .work-card-title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.work-card-line { max-width: 48ch; margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 760px) {
  .work-grid { grid-template-columns: 1fr; }
  /* The cover's title fills the middle on a phone, so the button moves to the free corner. */
  .work-reel-play { top: auto; left: auto; right: 12px; bottom: 12px; transform: none; width: 48px; height: 48px; }
  .work-reel-media:hover .work-reel-play { transform: none; }
  .work-reel-play svg { width: 18px; height: 18px; }
  .work-index-nav { flex-wrap: nowrap; gap: 16px; overflow-x: auto; scrollbar-width: none; }
  .work-index-nav a { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .work-reel-media img, .work-card-media img { transition: none; }
}
/* A gallery card says up front that more photos wait behind it. */
.work-card-media { position: relative; }
.work-card-hint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid rgba(226,216,200,.36); border-radius: 999px; background: rgba(20,20,20,.42); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); color: #f2ece2; font-size: 12px; font-weight: 500; line-height: 1.2; }
.work-card-hint svg { width: 22px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Phone pass (2026-10-24). A film with no listed length shows no clock (the CSS display rule beat [hidden]). */
.event-preview-label[hidden] { display: none !important; }
@media (max-width: 760px) {
  /* The LinkedIn link already sits under each event; on a phone the frame keeps just the play button. */
  a.event-linkout.event-linkout .event-linkout-label { display: none; }
}
/* The AFC card is the gallery itself: swipe or step through right on the Work page; the title leads to Photography. */
.work-card-gallery .gallery-track { height: 100%; }
.professional-page .work-card-gallery .work-card-title a { color: inherit; font: inherit; letter-spacing: inherit; text-decoration: none; }
.work-card-gallery .work-card-title a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.work-card-gallery:hover .work-card-media img { transform: none; }
