/* Greg Makes Videos: one-page site.
   Brand rules, from the designer's kit and story/carousel templates:
   - Colours: only the kit's orange #FA5234, burgundy #670917, sand #D8C7B1, light #EDEDED,
     skin #D3BDA9 (illustrations) and white.
   - Type: Bungee for headings and labels; Story Script for accent words. Accents take the
     colour of their headline, as "worth" does in the templates.
   - Pairings: orange on burgundy, burgundy on orange, burgundy on sand or light. Orange is
     never used for text on light backgrounds, and small text never sits orange-on-burgundy
     or burgundy-on-orange (under 4.5:1); those pairings are for large type only.
   The kit has no paragraph font, so body copy uses the system sans. */

@font-face {
  font-family: "Bungee";
  src: url("../fonts/Bungee-Regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Story Script";
  src: url("../fonts/StoryScript-Regular.woff2") format("woff2");
  font-display: swap;
}

:root {
  --orange: #fa5234;
  --burgundy: #670917;
  --sand: #d8c7b1;
  --light: #ededed;
  --white: #fff;

  --display: "Bungee", "Arial Black", system-ui, sans-serif;
  --script: "Story Script", "Brush Script MT", cursive;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --gap: 12px;
  --wrap: 1200px;
  --card-h: clamp(320px, 62vh, 720px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html:has(.player[open]) { overflow: hidden; }

body {
  margin: 0;
  background: var(--light);
  color: var(--burgundy);
  font: 18px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: var(--burgundy);
}

/* Story Script accent inside display headings, like "worth" in the templates. */
.script {
  font-family: var(--script);
  text-transform: none;
  color: inherit;
  letter-spacing: 0;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}

.eyebrow {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--burgundy);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--white);
}

.skip-link:focus { top: 12px; }

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

/* Hover colours only where there is a real pointer: phones keep them "stuck" after a tap. */
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }

.btn-burgundy { background: var(--burgundy); color: var(--white); }
@media (hover: hover) { .btn-burgundy:hover { background: var(--orange); color: var(--burgundy); } }

.btn-ghost { border-color: var(--burgundy); color: var(--burgundy); }
@media (hover: hover) { .btn-ghost:hover { background: var(--burgundy); color: var(--white); } }

.btn-small { min-height: 44px; padding: 8px 18px; font-size: 13px; white-space: nowrap; }

.btn-large {
  min-height: 60px;
  padding: 16px 28px;
  /* Bungee is all caps; size the address down on phones so it never breaks mid-word. */
  padding-inline: clamp(18px, 4vw, 28px);
  font-size: clamp(12px, 3.8vw, 20px);
  white-space: nowrap;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--light);
  border-bottom: 1px solid rgb(103 9 23 / 0.08);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 15px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--burgundy);
}

.brand img {
  width: 44px;
  transition: transform 0.6s ease;
}

@media (hover: hover) { .brand:hover img { transform: rotate(-12deg); } }

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--display);
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--burgundy);
}

@media (hover: hover) { .site-nav a:not(.btn):hover { color: var(--orange); } }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-toggle { display: none; }

/* Narrower screens: the logo alone, so the five section links fit beside it. */
@media (max-width: 960px) {
  .brand span { display: none; }
}

/* Phones: the section links fold into a menu that drops down under the header. */
@media (max-width: 720px) {
  .brand span { display: none; }
  .site-nav { gap: 8px; }

  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--burgundy);
    cursor: pointer;
  }

  .nav-toggle svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
  }

  .nav-toggle-close,
  .nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 16px 16px;
    background: var(--light);
    border-bottom: 1px solid rgb(103 9 23 / 0.08);
    box-shadow: 0 18px 30px rgb(103 9 23 / 0.12);
    visibility: hidden;
    opacity: 0;
    translate: 0 -8px;
    transition: opacity 0.2s ease, translate 0.2s ease, visibility 0s 0.2s;
  }

  .site-header.is-open .nav-links {
    visibility: visible;
    opacity: 1;
    translate: 0 0;
    transition: opacity 0.2s ease, translate 0.2s ease;
  }

  .nav-links a:not(.btn) {
    min-height: 56px;
    font-size: 20px;
    border-bottom: 1px solid rgb(103 9 23 / 0.08);
  }

  .nav-links a:last-child { border-bottom: 0; }
}

/* Section links land just below the sticky header. */
.writing,
.about,
.services,
.results,
.contact { scroll-margin-top: 72px; }

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

.hero { padding: clamp(32px, 5vw, 64px) 0 48px; }

/* Luis, the camera guy from the designer's graphic elements, stands beside the greeting. His
   eyes glance left as the page starts to scroll (see "Glancing eyes"). */
.hero-copy { position: relative; }

.hero-art {
  position: absolute;
  top: 0;
  right: 16px;
  width: clamp(160px, 18vw, 230px);
  pointer-events: none;
}

/* Small tablets: the intro paragraph stops short of him. */
@media (min-width: 601px) and (max-width: 819px) {
  .hero-art { width: 21vw; }
  .hero-copy .lead { max-width: calc(100% - 21vw - 24px); }
}

/* Phones: beside the hero button(s), in his own column so nothing runs under him; the
   greeting and paragraph get the full width. */
@media (max-width: 600px) {
  .hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
  }
  .hero-copy > * { grid-column: 1 / -1; }
  .hero-copy > h1 { grid-row: 1; }
  .hero-copy > .lead { grid-row: 2; }
  .hero-copy > .hero-actions { grid-column: 1; grid-row: 3; align-self: center; }
  .hero-art {
    position: static;
    grid-column: 2;
    grid-row: 3;
    align-self: center;
    width: 112px;
  }
}

.hero h1 {
  display: flex;
  flex-direction: column;
  font-size: clamp(52px, 10vw, 136px);
  letter-spacing: -0.01em;
}

.hero h1 .script {
  margin-top: 0.08em;
  font-size: 0.5em;
}

.lead {
  max-width: 34em;
  margin: 24px 0 32px;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.work {
  margin-top: clamp(28px, 6vw, 72px);
  /* "Work" links land with the video row just below the sticky header, not under it. */
  scroll-margin-top: 100px;
}

@media (max-width: 480px) {
  .hero { padding-top: 24px; }
  .hero h1 { font-size: clamp(44px, 14vw, 60px); }
  .lead { margin: 16px 0 20px; font-size: 17px; }
  /* "Let's talk" is already in the header on phones, so the hero offers the videos instead. */
  .hero-actions .btn-burgundy { display: none; }
  /* Now the only button, so it takes the main (filled) style. */
  .hero-actions .btn-ghost { background: var(--burgundy); color: var(--white); }
}

.reel-hint {
  margin-top: 16px;
  font-size: 15px;
  color: var(--burgundy);
}

/* ---------- Sliding video row ---------- */

.reel-row {
  overflow: hidden;
  touch-action: pan-y; /* horizontal touch drags the row; vertical scrolls the page */
  overscroll-behavior-x: contain;
  user-select: none;
  -webkit-user-select: none;
}

.reel-row.is-dragging,
.reel-row.is-dragging * { cursor: grabbing; }

.reel-track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

.reel-card {
  flex: none;
  height: var(--card-h);
  aspect-ratio: 9 / 16;
}

.reel-card.is-source { visibility: hidden; }

.reel-card-button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--burgundy);
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.reel-card-button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: -3px;
}

.reel-card-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  transition: transform 0.4s ease;
}

.reel-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 48px 16px 16px;
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.15;
  text-transform: uppercase;
  background: linear-gradient(transparent, rgb(103 9 23 / 0.8));
}

.reel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.reel-play::after,
.player-paused::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 22px;
  translate: 3px 0;
  background: var(--white);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.reel-card-button:hover img,
.reel-card-button:focus-visible img { transform: scale(1.04); }

.reel-card-button:hover .reel-play,
.reel-card-button:focus-visible .reel-play {
  opacity: 1;
  transform: none;
}

@media (max-width: 600px) {
  :root { --card-h: min(64svh, 600px); }
}

/* ---------- Credits strip ---------- */

/* Still, not scrolling (the video row above already moves): a script label that gives the
   names context, then the names, wrapping onto more lines on phones. Burgundy on orange is
   kept at large sizes. */
.credits {
  padding: clamp(24px, 3vw, 36px) 0;
  background: var(--orange);
  color: var(--burgundy);
}

.credits-label {
  margin: 0 0 6px;
  font-family: var(--script);
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1.2;
}

/* Each name after the first starts with a ✦ in the gutter; the gutter of the first name on
   every line is clipped, so wrapped lines never start with a stray separator. */
.credits-clip { overflow: hidden; }

.credits-list {
  --gutter: 1.6em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline; /* so the script "and many more" sits on the same line as the names */
  row-gap: 4px;
  margin: 0 0 0 calc(-1 * var(--gutter));
  padding: 0;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.25;
  text-transform: uppercase;
}

.credits-list li {
  padding-left: var(--gutter);
  white-space: nowrap;
}

/* A closing "and many more" reads as the end of the sentence: script, after a plain space.
   It drops to its own line (lined up with the names) when the line is full. */
.credits-list .credits-more {
  font-family: var(--script);
  font-size: 1.15em;
  text-transform: none;
  white-space: nowrap;
}

.credits-list .credits-last { white-space: normal; }
.credits-list .credits-more-step { display: none; } /* phones only, see below */

/* Phones: one name per line, each led by a ✦ like a list, so the names don't run together
   as a paragraph. "and many more" follows the last name without a star. */
@media (max-width: 600px) {
  .credits-list {
    --gutter: 1.3em;
    display: block;
    margin-left: 0;
  }
  .credits-list li { display: block; }
  .credits-list li::before { text-align: left; }
  .credits-list li + li { margin-top: 4px; }

  /* With motion allowed (site.js adds .credits-rotate), the label stays put, centred, and the
     names take turns underneath it, one at a time. All of them stay readable to screen
     readers. The slot is as tall as the tallest entry, so nothing jumps. */
  .credits-rotate .credits { text-align: center; }
  .credits-rotate .credits-list { display: grid; }
  .credits-rotate .credits-list li {
    grid-area: 1 / 1;
    align-self: start;
    padding-left: 0;
    white-space: normal;
    opacity: 0;
    translate: 0 10px;
    transition: opacity 0.45s ease, translate 0.45s ease;
  }
  .credits-rotate .credits-list li + li { margin-top: 0; }
  .credits-rotate .credits-list li::before { display: none; }
  .credits-rotate .credits-list li.is-current { opacity: 1; translate: 0 0; }
  .credits-rotate .credits-list .credits-name { margin-right: 0; }
  /* "and many more" takes its own turn (the copy site.js adds) instead of a second line. */
  .credits-rotate .credits-list .credits-last .credits-more { display: none; }
  .credits-rotate .credits-list .credits-more-step { display: block; }
}
/* A fixed gap after the name, since browsers draw the space between them at different widths.
   It trails the line when "and many more" wraps, so it never indents the phrase. */
.credits-list .credits-name { white-space: nowrap; margin-right: 0.3em; }
.credits-list li.credits-more::before { content: none; }

.credits-list li::before {
  content: "✦";
  display: inline-block;
  width: var(--gutter);
  margin-left: calc(-1 * var(--gutter));
  text-align: center;
  color: var(--light);
}

/* ---------- About ---------- */

.about {
  padding: clamp(64px, 7vw, 96px) 0;
  background: var(--sand);
  overflow-x: clip; /* the mic sticker hangs off the photo's edge on phones */
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.about-photo {
  position: relative;
  margin: 0;
}

.about-photo > img:first-child {
  display: block;
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgb(103 9 23 / 0.25);
}

.about-sticker {
  position: absolute;
  right: -6%;
  bottom: -8%;
  width: 34%;
  rotate: 10deg;
}

.about-copy h2 {
  margin-bottom: 34px; /* room for the underline under "real people" */
  font-size: clamp(40px, 6vw, 72px);
}

.about-copy p { margin: 0 0 16px; max-width: 34em; }

.follow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 24px !important;
  font-weight: 600;
}

.follow a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--white);
  font-family: var(--display);
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
}

@media (hover: hover) { .follow a:hover { background: var(--orange); color: var(--burgundy); } }

/* Round icon buttons for Instagram, TikTok and LinkedIn (named for screen readers). */
.follow a.follow-icon {
  justify-content: center;
  width: 44px;
  padding: 0;
}

.follow-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.follow-icon svg .fill { fill: currentColor; stroke: none; }

@media (max-width: 600px) {
  .follow { gap: 10px; }
  .follow a:not(.follow-icon) { padding: 6px 14px; font-size: 12px; }
}

@media (max-width: 800px) {
  /* "About" lands with the photo tucked just under the header, so the heading below it is in
     view too, instead of on the empty band above the photo. */
  .about { scroll-margin-top: -12px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
}

/* ---------- Services ---------- */

/* A little less space on top, so Services follows About closely. */
.services { padding: clamp(44px, 5vw, 72px) 0 clamp(64px, 7vw, 96px); }

.services-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
}

.services h2 { font-size: clamp(40px, 6vw, 72px); }


.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Alternating colourways, like the carousel templates. */
.service {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--burgundy);
  color: var(--white);
}

.service:nth-child(3n + 1) { color: var(--sand); }
/* Burgundy on orange is under 4.5:1, so that card's copy is bold at large-text size. */
.service:nth-child(3n + 2) { background: var(--orange); color: var(--burgundy); }
.service:nth-child(3n + 2) p { font-size: 19px; font-weight: 700; }
.service:nth-child(3n) { background: var(--sand); color: var(--burgundy); }

.service h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  color: inherit;
}

.service:nth-child(3n + 1) h3 { color: var(--orange); }
.service:nth-child(3n + 2) h3 { color: var(--burgundy); }

.service p { margin: 0; }

/* Last tile: an outlined prompt to get in touch, so the grid closes on an action. */
.service.service-cta {
  background: transparent;
  border: 3px dashed var(--burgundy);
  color: var(--burgundy);
}

.service.service-cta h3 { color: var(--burgundy); }
.service-cta .btn { align-self: flex-start; margin-top: 8px; }

/* Camera viewfinder: framing brackets slide into the card's corners, with a blinking
   recording dot. On hover with a mouse; once, as the card scrolls in, on phones (site.js
   adds .is-in). Not on the outlined "Not sure?" card. */
.service { position: relative; --frame: var(--burgundy); }
.service:nth-child(3n + 1) { --frame: var(--orange); }

.service:not(.service-cta)::before,
.service:not(.service-cta)::after {
  content: "";
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, inset 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Rounded corners, like the frame lines in a rangefinder's optical viewfinder: a rounded
   border with only its four corners masked in. */
.service:not(.service-cta)::before {
  inset: 22px;
  border: 2px solid var(--frame);
  border-radius: 12px;
  --corner: linear-gradient(#000 0 0) no-repeat;
  -webkit-mask: var(--corner) top left / 24px 24px, var(--corner) top right / 24px 24px,
    var(--corner) bottom left / 24px 24px, var(--corner) bottom right / 24px 24px;
  mask: var(--corner) top left / 24px 24px, var(--corner) top right / 24px 24px,
    var(--corner) bottom left / 24px 24px, var(--corner) bottom right / 24px 24px;
}

.service:not(.service-cta)::after {
  top: 22px;
  right: 22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--frame);
}

@media (hover: hover) {
  .service:not(.service-cta):hover::before { opacity: 0.85; inset: 10px; }
  .service:not(.service-cta):hover::after { opacity: 1; animation: rec 1.2s steps(1) infinite; }
}

@media (hover: none) {
  .service.is-in:not(.service-cta)::before { animation: frame-once 2.2s ease 0.5s both; }
  .service.is-in:not(.service-cta)::after { animation: rec-once 2.2s steps(1) 0.5s both; }
}

@keyframes rec {
  50% { opacity: 0; }
}

@keyframes frame-once {
  0% { opacity: 0; inset: 22px; }
  20%, 75% { opacity: 0.85; inset: 10px; }
  100% { opacity: 0; inset: 10px; }
}

@keyframes rec-once {
  0%, 30%, 60% { opacity: 0; }
  20%, 45%, 75% { opacity: 1; }
  90%, 100% { opacity: 0; }
}

/* Cards and numbers rise in, one after another, as they scroll into view. site.js adds
   .reveal to <html> (not in the editor or with reduced motion) and .is-in to each item. */
.reveal .service,
.reveal .stat,
.reveal .quotes > li {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.6s ease, translate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--stagger, 0) * 90ms);
}

.reveal .service.is-in,
.reveal .stat.is-in,
.reveal .quotes > li.is-in {
  opacity: 1;
  translate: 0 0;
}

/* Phones: the service cards are a sideways-swipe row, one card at a time with the next
   peeking in. The first time the row comes into view it nudges left and back (site.js adds
   .is-nudging) to show there is more. */
@media (max-width: 600px) {
  .service-grid {
    display: flex;
    gap: 12px;
    margin: 0 -16px;
    padding: 0 16px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 16px;
    scrollbar-width: none;
  }
  .service-grid::-webkit-scrollbar { display: none; }
  .service {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }
  /* The rise-in animation doesn't suit a sideways row, so these cards simply appear. */
  .reveal .service { opacity: 1; translate: none; transition: none; }
  .service-grid.is-nudging > .service { animation: swipe-hint 1.1s ease-in-out 0.3s; }
}

@keyframes swipe-hint {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(-28px); }
  60% { transform: translateX(0); }
  78% { transform: translateX(-10px); }
}

.audience {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
}

.audience::before {
  content: "Made for";
  align-self: center;
  margin-right: 6px;
  font-family: var(--script);
  font-size: 26px;
  color: var(--burgundy);
}

.audience span {
  padding: 8px 16px;
  border: 2px solid var(--burgundy);
  border-radius: 999px;
  font-family: var(--display);
  font-size: 13px;
  text-transform: uppercase;
  color: var(--burgundy);
}

/* Phones: smaller pills so "Made for" and all four fit on two lines. */
@media (max-width: 600px) {
  .audience { gap: 8px 6px; margin-top: 24px; }
  .audience::before { margin-right: 2px; font-size: 20px; }
  .audience span { padding: 6px 8px; font-size: 11px; }
}

/* ---------- Results ---------- */

.results {
  padding: clamp(44px, 5vw, 72px) 0 clamp(64px, 7vw, 96px); /* a little less on top */
  background: var(--burgundy);
  color: var(--white);
}

/* Small text on burgundy stays sand or white; orange is only for the big type. */
.results .eyebrow { color: var(--sand); }

.results h2 {
  font-size: clamp(40px, 6vw, 72px);
  color: var(--orange);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px clamp(24px, 5vw, 64px);
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding: 0;
  list-style: none;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 2px solid rgb(255 255 255 / 0.18);
}

.stat-value {
  font-family: var(--display);
  font-size: clamp(64px, 11vw, 140px);
  line-height: 0.9;
  color: var(--orange);
}

.stat-label {
  max-width: 22em;
  font-size: 18px;
  font-weight: 600;
  color: var(--sand);
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: clamp(48px, 7vw, 88px) 0 0;
  padding: 0;
  list-style: none;
}

.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  height: 100%;
  margin: 0;
  padding: 28px 26px 24px;
  border-radius: var(--radius);
  background: var(--light);
  color: var(--burgundy);
}

.quotes li:nth-child(even) .quote { background: var(--sand); }

/* With a mouse, a quote card hops up and settles slightly raised; it eases back down when
   the pointer leaves. Not on touch screens or with reduced motion. */
.quote { transition: transform 0.35s ease, box-shadow 0.35s ease; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .quote:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgb(0 0 0 / 0.28);
    animation: quote-bounce 0.6s ease-out;
  }
}

@keyframes quote-bounce {
  0% { transform: translateY(0); }
  35% { transform: translateY(-12px); }
  60% { transform: translateY(-3px); }
  80% { transform: translateY(-8px); }
  100% { transform: translateY(-6px); }
}

.quote blockquote {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

/* A big Story Script quote mark above each quote. */
.quote blockquote::before {
  content: "\201C";
  display: block;
  height: 0.55em;
  font-family: var(--script);
  font-size: 72px;
  line-height: 1;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-photo {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--burgundy);
  color: var(--white);
  font-family: var(--display);
  font-size: 17px;
}

.quote-who {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quote-name {
  font-family: var(--display);
  font-size: 15px;
  text-transform: uppercase;
}

.quote-role { font-size: 15px; }

.quote-link {
  align-self: flex-start;
  margin-top: 6px;
  font-family: var(--display);
  font-size: 12px;
  text-transform: uppercase;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.quote-link::after { content: " \2192"; }

@media (hover: hover) { .quote-link:hover { text-decoration-color: transparent; } }

@media (max-width: 900px) {
  .quotes { grid-template-columns: minmax(0, 36em); }
}

/* ---------- Writing ---------- */

/* Article cards: outlet, headline (the link; the whole card is clickable through it), a
   one-line summary, the date and a "Read the story" cue. Computers show a grid (the first
   six until "More stories"); phones swipe sideways like the services. */
/* A little less space on top: it follows straight on from the credits band. */
.writing { padding: clamp(44px, 5vw, 72px) 0 clamp(64px, 7vw, 96px); }

.writing h2 { font-size: clamp(40px, 6vw, 72px); }

/* The walking pen guy from the contact section, smaller and still, beside the heading (as the
   camera guy stands beside Services). */
.writing-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
}

.writing-art {
  width: clamp(84px, 13vw, 170px);
  height: auto;
}

.articles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding: 0;
  list-style: none;
}

.article {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(103 9 23 / 0.12);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--burgundy);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* The article's preview photo across the top, all cropped to the same 16:9 shape. Without a
   photo, the outlet's name on burgundy takes its place. */
.article-image {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--burgundy);
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.5s ease;
}

.article-image span {
  padding: 0 24px;
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  color: var(--orange);
}

.article-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px 24px 22px;
}

.article-outlet {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-title {
  font-family: var(--body);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: none;
}

.article-title a { color: inherit; text-decoration: none; }
.article-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.article-summary { margin: 0; font-size: 16px; line-height: 1.5; }

.article-meta { margin: auto 0 0; padding-top: 6px; font-size: 14px; font-weight: 600; }
.article-meta span::before { content: " \00b7  "; }

.article-read {
  font-family: var(--display);
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.article-read::after { content: " \2192"; }

.article:focus-within { outline: 3px solid var(--orange); outline-offset: 3px; }

@media (hover: hover) {
  .article:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgb(103 9 23 / 0.14); }
  .article:hover .article-read { text-decoration-color: transparent; }
  .article:hover .article-image img { scale: 1.04; }
}

.writing-more { margin-top: 28px; }

@media (min-width: 601px) {
  .writing.is-collapsed .article:nth-child(n + 7) { display: none; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .articles {
    display: flex;
    gap: 12px;
    margin: 32px -16px 0;
    padding: 0 16px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 16px;
    scrollbar-width: none;
  }
  .articles::-webkit-scrollbar { display: none; }
  .article { flex: 0 0 84%; scroll-snap-align: start; }
  .articles.is-nudging > .article { animation: swipe-hint 1.1s ease-in-out 0.3s; }
  .writing-more { display: none; }
}

/* ---------- Story tips ---------- */

/* Sand, not orange: the camera artwork's body is brand orange and vanishes on orange. */
.tips {
  padding: clamp(56px, 6vw, 80px) 0;
  background: var(--sand);
  color: var(--burgundy);
}

.tips-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.tips-art {
  width: 100%;
  max-width: 460px;
  justify-self: center;
}

.tips h2 {
  font-size: clamp(36px, 5vw, 60px);
}

.tips p {
  margin: 16px 0 28px;
  font-size: 20px;
  font-weight: 600;
}

@media (max-width: 720px) {
  .tips-inner { grid-template-columns: 1fr; }
  .tips-art { max-width: 300px; }
}

/* ---------- Contact ---------- */

/* Clip: the spinning badge isn't round, so its corners poke out mid-turn. */
.contact { color: var(--white); overflow-x: clip; }

.contact-top {
  padding: clamp(72px, 8vw, 112px) 0 clamp(64px, 6.5vw, 88px);
  background: var(--burgundy);
}

.contact-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.contact-title {
  display: flex;
  flex-direction: column;
  font-size: clamp(40px, 9.5vw, 128px);
  line-height: 0.92;
  color: var(--orange);
}

.contact-title .script {
  margin: -0.05em 0 0.02em;
  font-size: 1.05em;
  line-height: 0.9;
}

.contact-badge {
  flex: none;
  width: clamp(96px, 16vw, 200px);
  animation: spin 30s linear infinite;
}

@keyframes spin {
  to { rotate: 1turn; }
}

.contact-bottom {
  position: relative;
  padding: clamp(48px, 6vw, 80px) 0 32px;
  background: var(--orange);
  color: var(--burgundy);
}

/* Speech-bubble tail rising into the burgundy, as in the story template. */
.contact-bottom::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 68%;
  width: clamp(70px, 10vw, 120px);
  aspect-ratio: 1.1;
  margin-bottom: -1px;
  background: var(--orange);
  clip-path: polygon(0 100%, 10% 0, 100% 100%);
}

.contact-bottom-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
}

.contact-art {
  width: min(100%, 440px);
  justify-self: center;
  transform-origin: 50% 100%;
  animation: stroll 2.4s ease-in-out infinite;
}

/* A gentle bob, like he's walking. */
@keyframes stroll {
  50% { transform: translateY(-6px) rotate(1.5deg); }
}

/* Top-aligned so the email sits level with his head. */
.contact-details { align-self: start; padding: clamp(16px, 5vw, 72px) 0 24px; }

.contact-details p { margin: 20px 0 0; font-weight: 700; font-size: 20px; }
/* Phone as a pill, matching the email button and social links. */
.contact-details a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--white);
  font-family: var(--display);
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

@media (hover: hover) { .contact-details a[href^="tel:"]:hover { background: var(--white); color: var(--burgundy); } }

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.socials a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--white);
  font-family: var(--display);
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
}

@media (hover: hover) { .socials a:hover { background: var(--white); color: var(--burgundy); } }
/* The email button sits on orange, so it lights up white like the buttons beside it. */
@media (hover: hover) { .contact-details .btn-burgundy:hover { background: var(--white); color: var(--burgundy); } }

/* Icon versions of the contact social links, round like the ones in About. */
.socials a.follow-icon {
  justify-content: center;
  width: 48px;
  min-height: 48px;
  padding: 0;
}

/* Credits stay 19px bold: burgundy on orange is only allowed for large type. */
.contact-details .site-credit { font-size: 19px; }
/* The phone number and the social icons share a row (wrapping on very narrow phones). */
.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.contact-details .contact-row p,
.contact-row .socials { margin: 0; }

.contact-row + .site-credit { margin-top: 36px; }

/* Small phones: a little tighter so the row still fits on one line. */
@media (max-width: 400px) {
  .contact-row,
  .contact-row .socials { gap: 8px; }
  .contact-row a[href^="tel:"] { padding: 10px 18px; }
  .socials a.follow-icon { width: 44px; min-height: 44px; }
}
.contact-details .site-credit + .site-credit { margin-top: 6px; }
.site-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .site-credit a:hover { color: var(--white); } }

.contact-details .copyright {
  margin-top: 12px;
  font-size: 19px;
  font-weight: 700;
}

@media (max-width: 720px) {
  /* Tight on phones so "Let's talk" shows the headline and every contact button at once.
     The badge tucks in beside the short top lines ("Let's", "Make") instead of above them. */
  .contact-top { padding: 32px 0 44px; }
  .contact-top-inner { position: relative; }
  .contact-badge { position: absolute; top: 0; right: 16px; width: clamp(68px, 19vw, 84px); }
  .contact-bottom { padding-top: 32px; }
  .contact-bottom-inner { grid-template-columns: 1fr; }
  .contact-art { width: min(80%, 320px); order: 2; }
  .contact-details { padding: 0; }
}

/* ---------- Player ---------- */

.player {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
  color: var(--white);
  touch-action: none;
}

.player::backdrop { background: transparent; }

/* No backdrop blur: over the moving row it cut the frame rate badly in testing. */
.player-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(103 9 23 / 0.96);
}

.player-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  /* Extra room on top keeps the close button clear of the video. */
  padding: 52px 16px 12px;
  pointer-events: none;
}

.player-stage > * { pointer-events: auto; }
.player.is-closing .player-stage > * { pointer-events: none; }

.player-frame {
  position: relative;
  margin: 0;
  /* All the height left after the top padding, the controls (40px) and the gaps. */
  height: min(calc(100dvh - 114px), calc((100vw - 32px) * 16 / 9));
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 22px;
  background: var(--burgundy);
  box-shadow: 0 30px 80px rgb(103 9 23 / 0.5);
  transform-origin: 0 0;
  cursor: pointer;
}

.player-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 56px 18px 30px;
  font-family: var(--display);
  font-size: 16px;
  text-transform: uppercase;
  background: linear-gradient(transparent, rgb(103 9 23 / 0.8));
  pointer-events: none;
}

/* Seek bar along the bottom edge; click or drag to scrub. */
.player-progress {
  position: absolute;
  inset: auto 0 0;
  height: 18px;
  cursor: pointer;
  touch-action: none;
}

.player-progress::before,
.player-progress span {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
}

.player-progress::before { right: 0; background: rgb(255 255 255 / 0.3); }
.player-progress span { width: 0; background: var(--orange); }

.player-paused {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.player-frame.is-paused .player-paused { opacity: 1; }

.player-bar {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Smaller previous/next buttons, so the video gets the room. */
.player-bar .player-btn { width: 40px; height: 40px; }
.player-bar .player-btn svg { width: 18px; height: 18px; }

.player-count {
  min-width: 4ch;
  text-align: center;
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
}

.player-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: var(--burgundy);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

@media (hover: hover) { .player-btn:hover { background: var(--white); } }

.player-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Small, in the corner above the video (the stage's top padding keeps them apart). */
.player-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 36px;
  height: 36px;
}

.player-close svg { width: 18px; height: 18px; }

/* ---------- Hand-drawn underline ---------- */

/* Under "real people" in About, in the headline's colour. It draws in left to right when
   the heading scrolls into view (site.js adds .is-in); without .reveal it is simply there. */
.scribble {
  position: relative;
  white-space: nowrap;
}

.scribble-line {
  position: absolute;
  left: -1%;
  bottom: -0.16em;
  width: 102%;
  height: 0.22em;
  overflow: visible;
  pointer-events: none;
}

.scribble-line path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3; /* in drawing units: about 5px on desktop, 3px on phones */
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.reveal .scribble-line path { stroke-dashoffset: 1; }

.reveal .scribble.is-in .scribble-line path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.6, 0, 0.3, 1) 0.25s;
}

/* ---------- "Email copied" message ---------- */

/* Shown at the bottom of the screen when an email button copies the address (site.js). */
.copied-note {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  margin: 0;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 12px 30px rgb(103 9 23 / 0.3);
  opacity: 0;
  translate: -50% 12px;
  pointer-events: none;
  transition: opacity 0.25s ease, translate 0.25s ease;
}

.copied-note.is-shown { opacity: 1; translate: -50% 0; }

/* ---------- Glancing eyes ---------- */

/* The camera drawings' pupils glance from right to left: Luis's (top of the page) over the
   first 400px of scrolling, the story-tips camera's as it scrolls past. Browsers without
   scroll-driven animations keep the still drawing. */
.hero-art,
.tips-art { height: auto; }

.hero-art { --glance: -36px; }
.tips-art { --glance: -57px; }

@supports (animation-timeline: view()) {
  .tips-art { view-timeline: --art block; }

  .hero-art .pupil {
    animation: glance linear both;
    animation-timeline: scroll(root);
    animation-range: 0 400px;
  }

  .tips-art .pupil {
    animation: glance linear both;
    animation-timeline: --art;
    animation-range: contain;
  }
}

@keyframes glance {
  to { translate: var(--glance) 0; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service::before,
  .service::after { animation: none !important; transition: none; }
  .hero-art .pupil,
  .tips-art .pupil { animation: none; }
  .reel-row { overflow-x: auto; touch-action: auto; }
  .contact-badge,
  .contact-art { animation: none; }
  .btn,
  .reel-card-button img,
  .reel-play,
  .brand img { transition: none; }
}
