/* PBV Agency website
   Brand: People. Brand. Vision. Colours and fonts from the PBV brand identity. */

@font-face{font-family:'Inter';font-style:normal;font-weight:300;font-display:swap;src:url('/assets/fonts/inter-300.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/inter-400.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/inter-500.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/inter-600.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/inter-700.woff2') format('woff2');}
@font-face{font-family:'DM Serif Display';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/dm-serif-display-400.woff2') format('woff2');}
@font-face{font-family:'DM Serif Display';font-style:italic;font-weight:400;font-display:swap;src:url('/assets/fonts/dm-serif-display-400-italic.woff2') format('woff2');}

:root {
  --white: #FBFAF7;      /* Editorial White, page background */
  --paper: #FFFFFF;      /* Strategic White */
  --black: #212121;      /* Focus Black */
  --citrus: #FFCF5A;     /* Citrus Spark: Brand */
  --human: #F2B9B4;      /* Human Touch: People */
  --violet: #B564F7;     /* Vision Violet: Vision */
  --grey: #F2F0EC;
  --line: #E2DFD8;
  --muted: #66635D;

  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1200px;
  --section: clamp(56px, 8vw, 112px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* Nothing may push the page wider than the screen, so it never shifts sideways on phones */
body { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
/* Make saving photos less easy: no dragging, no long-press save menu on phones */
main img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

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

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--black); color: var(--white);
  font-family: var(--sans); font-weight: 500; font-size: 15px;
  padding: 13px 26px; border-radius: 0; border: 1.5px solid var(--black); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: transparent; color: var(--black); }
.btn-citrus { background: var(--citrus); border-color: var(--citrus); color: var(--black); }
.btn-citrus:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.btn-light { background: var(--citrus); border-color: var(--citrus); color: var(--black); }
.btn-light:hover { background: transparent; border-color: var(--citrus); color: var(--citrus); }
.btn-blush { background: var(--human); border-color: var(--human); color: var(--black); }
.btn-blush:hover { background: transparent; border-color: var(--human); color: #E0918A; }
.btn-small { padding: 9px 18px; font-size: 14px; }
.btn-outline { background: transparent; color: var(--black); }
.btn-outline:hover { background: var(--violet); border-color: var(--violet); color: var(--white); }
.btn::after { content: ""; display: inline-block; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin-left: 12px; transition: transform .2s ease; }
.btn:hover::after { transform: translateX(3px) rotate(45deg); }
.btn-small::after, .cookie .btn::after, .contact-form .btn::after { display: none; }

.text-link {
  display: inline-block; font-weight: 500; text-decoration: none; padding-bottom: 4px;
  background: linear-gradient(var(--violet), var(--violet)) left bottom / 0 1.5px no-repeat,
              linear-gradient(var(--black), var(--black)) left bottom / 100% 1.5px no-repeat;
  transition: background-size .45s cubic-bezier(.6, 0, .2, 1), color .3s ease;
}
.text-link::after { content: "\2192"; display: inline-block; margin-left: 8px; transition: transform .3s ease; }
.text-link:hover { color: var(--violet); background-size: 100% 1.5px, 100% 1.5px; }
.text-link:hover::after { transform: translateX(4px); }

.link-button { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }

.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -0.01em;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
/* The header uses the full window width, so the logo sits in the corner on any screen */
.site-header .header-inner { max-width: none; padding-left: clamp(20px, 3vw, 48px); padding-right: clamp(20px, 3vw, 48px); }
.brand { display: block; line-height: 0; }
.brand img { width: 28px; height: auto; transition: transform .3s ease; }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.site-nav ul { display: flex; gap: clamp(20px, 3vw, 40px); }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--black); }
.nav-toggle { display: none; }

/* Hero: full-bleed photo under a see-through header */
.home .site-header { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (min-width: 761px) {
  .home .site-header:not(.is-scrolled) .site-nav > ul > li > a { color: var(--paper); }
  .home .site-header:not(.is-scrolled) .site-nav > ul > li > a:hover { border-bottom-color: var(--paper); }
}
.home .site-header:not(.is-scrolled) .nav-toggle { color: var(--paper); }
.home .site-header:not(.is-scrolled) .nav-toggle-bars, .home .site-header:not(.is-scrolled) .nav-toggle-bars::before { background: var(--paper); }
.home .site-header.is-scrolled { background: rgba(251, 250, 247, 0.96); }
.home .site-header:not(.is-scrolled):has(.nav-toggle[aria-expanded="true"]) { background: var(--white); }
.home .site-header:not(.is-scrolled):has(.nav-toggle[aria-expanded="true"]) .nav-toggle { color: var(--black); }
.home .site-header:not(.is-scrolled):has(.nav-toggle[aria-expanded="true"]) .nav-toggle-bars,
.home .site-header:not(.is-scrolled):has(.nav-toggle[aria-expanded="true"]) .nav-toggle-bars::before { background: var(--black); }

.hero-photo { position: relative; height: 100vh; height: 100svh; min-height: 520px; max-height: 1000px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transform-origin: 50% 60%; }
.js .hero-photo img { animation: hero-settle 2.6s cubic-bezier(.2, .7, .2, 1) both; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20, 20, 20, .35) 0%, rgba(20, 20, 20, .1) 30%, rgba(20, 20, 20, .25) 70%, rgba(20, 20, 20, .5) 100%); }
.hero-overlay { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title {
  font-family: var(--serif); font-weight: 400; color: var(--paper);
  font-size: clamp(27px, 8.4vw, 80px); line-height: 1.06; letter-spacing: -0.02em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .2);
}
.hero-title span { display: block; white-space: nowrap; }
.js .hero-title { animation: rise 1.1s .25s cubic-bezier(.2, .7, .2, 1) both; }
.hero-scroll { position: absolute; z-index: 1; bottom: 32px; left: 50%; margin-left: -14px; width: 28px; height: 44px; border: 1.5px solid rgba(255, 255, 255, .8); display: flex; justify-content: center; padding-top: 8px; }
.hero-scroll span { width: 2px; height: 8px; background: var(--paper); animation: scroll-hint 1.8s ease-in-out infinite; }
@keyframes hero-settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes scroll-hint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Intro: the quote and the paragraph */
.intro { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: var(--section); padding-bottom: var(--section); }
.intro-quote { margin: 0; padding-left: clamp(20px, 2.4vw, 32px); border-left: 4px solid var(--citrus); }
.intro-quote p { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.015em; }
.intro-text p { color: #3d3b37; font-size: 17px; margin-bottom: 28px; }

/* Logo banner */
.logo-band { padding: 36px 0 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.logo-band-label { font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 24px; text-align: center; }
.marquee { display: flex; width: max-content; will-change: transform; backface-visibility: hidden; }
.marquee-track { display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); padding-right: clamp(48px, 6vw, 88px); flex-shrink: 0; }
.js .marquee { animation: marquee 38s linear infinite; }
@media (max-width: 760px) { .js .marquee { animation-duration: 14s; } }
/* Pause on hover only with a real mouse: on phones a touch would leave it stuck */
@media (hover: hover) and (pointer: fine) { .marquee:hover { animation-play-state: paused; } }
.marquee-track img { width: auto; max-width: none; opacity: .85; }
.marquee-link { display: block; text-decoration: none; color: inherit; transition: opacity .2s ease, transform .2s ease; }
.marquee-link:hover { transform: translateY(-2px); }
.marquee-link:hover img { opacity: 1; }
.marquee-word { font-family: var(--serif); font-size: 34px; line-height: 1; white-space: nowrap; letter-spacing: -0.01em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Thesis */
.thesis { background: var(--grey); padding: var(--section) 0; }
.thesis-inner { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.thesis-title em { font-style: italic; color: var(--violet); }
.thesis-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -0.015em;
}
.thesis-text p { color: #3d3b37; }
.thesis-text p + p { margin-top: 1em; }

/* Services teaser */
.services-teaser { padding-top: var(--section); padding-bottom: var(--section); }
.service-rows { margin: 40px 0 36px; }
.service-rows li {
  display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: baseline;
  padding: 26px 0; border-top: 2px solid var(--citrus);
}
.service-rows li:last-child { border-bottom: 2px solid var(--citrus); }
.service-rows h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 2.0vw, 26px); line-height: 1.15; }
.service-rows p { color: #3d3b37; font-size: 16px; }

/* Work carousel */
.work-teaser { padding-bottom: var(--section); }
.work-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 36px; }
.carousel-controls { display: flex; gap: 10px; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 0;
  border: 1.5px solid var(--black); background: transparent; cursor: pointer;
  display: grid; place-items: center;
}
.carousel-btn:hover { background: var(--black); color: var(--white); }
.carousel-btn:disabled { opacity: .3; cursor: default; background: transparent; color: var(--black); }
.carousel {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 8px;
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
/* Sized so the photo and the title fit on screen together */
.case-card { flex: 0 0 min(78vw, 340px, max(240px, calc((100svh - 340px) * .8))); scroll-snap-align: start; }
.case-card a { text-decoration: none; display: block; }
.case-media {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; position: relative;
  display: grid; place-items: center;
}
.case-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center); scale: var(--zoom, 1); transform-origin: var(--focus, center); transition: transform .6s ease; }
.case-card a:hover .case-media img { transform: scale(1.03); }
.case-media-name { font-family: var(--serif); font-size: 29px; line-height: 1.1; padding: 32px; text-align: center; }
.tone-citrus { background: var(--citrus); }
.tone-human { background: var(--human); }
.tone-violet { background: var(--violet); color: var(--paper); }
.preview-flag {
  position: absolute; top: 14px; left: 14px; right: 14px;
  background: var(--black); color: var(--white); font-size: 13px; padding: 8px 12px; border-radius: 4px;
}
.case-media-label { position: absolute; left: 14px; bottom: 14px; background: var(--paper); color: var(--black); font-size: 13px; font-weight: 500; padding: 6px 11px; }
.case-body { padding-top: 20px; }
.case-label { font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.case-body h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; }
.case-sub { font-size: 15px; font-weight: 500; margin: 6px 0 12px; }
.case-teaser { color: #3d3b37; font-size: 16px; }
.case-card a:hover h3 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* People. Brand. Vision. */
.pbv { padding-bottom: var(--section); display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.pbv-heart { width: clamp(84px, 9vw, 120px); height: auto; margin-bottom: 28px; }
.pbv-title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 49px); line-height: 1.02; margin-bottom: 16px; }
.pbv-intro p { color: #3d3b37; max-width: 30ch; }
.pbv-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar { border-radius: var(--radius); padding: 28px 24px 32px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(25px, 2.5vw, 34px); line-height: 1; }
.pillar p { font-size: 16px; line-height: 1.45; }
.pillar-people { background: var(--human); }
.pillar-brand { background: var(--citrus); }
.pillar-vision { background: var(--violet); color: var(--black); }

/* About teaser */
.about-teaser { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-bottom: var(--section); }
.photo-placeholder {
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--grey);
  display: grid; place-items: center; color: var(--muted); font-size: 15px;
}
.about-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% center; border-radius: var(--radius); width: 100%; }
.about-lead { font-family: var(--serif); font-size: clamp(20px, 2.0vw, 28px); line-height: 1.25; margin-bottom: 24px; }
.about-text p:not(.about-lead) { color: #3d3b37; margin-bottom: 28px; max-width: 56ch; }

/* Closing and footer */
.closing { background: var(--black); color: var(--white); padding: var(--section) 0 calc(var(--section) * .8); }
.closing-title { font-family: var(--serif); font-weight: 400; font-size: clamp(31px, 4.4vw, 66px); line-height: 1.04; letter-spacing: -0.015em; max-width: 16ch; margin-bottom: 44px; }

.site-footer { background: var(--black); color: rgba(251, 250, 247, .78); padding: 0 0 40px; }
.footer-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 40px 64px;
}
.footer-inner::before { content: ''; grid-column: 1 / -1; height: 1px; background: rgba(251, 250, 247, .14); }
.footer-heart { width: 40px; height: auto; margin-bottom: 18px; }
.footer-pbv { font-family: var(--serif); color: var(--white); font-size: 22px; margin-bottom: 8px; }
.footer-line { max-width: 44ch; font-size: 15px; }
.footer-nav { display: flex; gap: 64px; font-size: 15px; }
.footer-nav ul { display: grid; gap: 8px; align-content: start; }
.footer-nav a, .footer-nav .link-button { text-decoration: none; color: inherit; }
.footer-nav a:hover, .footer-nav .link-button:hover { color: var(--white); text-decoration: underline; }
.footer-legal { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; color: rgba(251, 250, 247, .55); }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a, .footer-legal-links .link-button { color: inherit; text-decoration: none; font-size: 13px; font-family: inherit; }
.footer-legal-links a:hover, .footer-legal-links .link-button:hover { color: var(--white); text-decoration: underline; }

/* Cookie banner */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 60; max-width: 380px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 20px 22px; font-size: 15px; line-height: 1.5;
  box-shadow: 0 12px 40px rgba(33, 33, 33, .12);
}
.cookie-actions { display: flex; gap: 10px; margin: 14px 0 10px; }
.cookie-actions .btn { flex: 1; }
.cookie-link { font-size: 14px; color: var(--muted); }

/* Tablet and mobile */
@media (max-width: 900px) {
  .hero-foot, .thesis-inner, .pbv, .about-teaser { grid-template-columns: 1fr; }
    .hero-foot { flex-direction: column; align-items: flex-start; }
  .pbv { align-items: start; }
  .about-photo { max-width: 420px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 0; padding: 8px 0; cursor: pointer; font-weight: 500; font-size: 15px;
  }
  .nav-toggle-bars, .nav-toggle-bars::before {
    display: block; width: 20px; height: 1.5px; background: var(--black); position: relative;
    transition: transform .2s ease;
  }
  .nav-toggle-bars::before { content: ''; position: absolute; top: 6px; }
  .nav-toggle-bars { top: -3px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { transform: translateY(3px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(-6px) rotate(-90deg); }
  /* backdrop-filter would trap the fixed menu panel inside the header, so it is off on phones */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
  .site-nav {
    position: fixed; inset: 64px 0 0 0; background: var(--white); overflow-y: auto;
    padding: 32px var(--gutter); display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 6px; }
  .site-nav a { font-family: var(--serif); font-size: 34px; font-weight: 400; border: 0; }
  .proof-row, .service-rows li { grid-template-columns: 1fr; gap: 8px; }
  .proof-list { gap: 6px 24px; }
  .pbv-pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 0; gap: 28px; }
  .work-head { align-items: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { gap: 40px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

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

/* ---------- Inner pages ---------- */
.page-hero { padding-top: clamp(48px, 8vw, 112px); padding-bottom: clamp(48px, 7vw, 96px); }
.page-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 4.9vw, 72px); line-height: 1.02; letter-spacing: -0.02em; max-width: 18ch;
}
.page-intro { max-width: 62ch; margin-top: 32px; margin-left: auto; margin-right: 8%; }
.page-intro p { color: #3d3b37; font-size: 16px; }
.page-intro p + p { margin-top: 1em; }
.page-intro-line { font-family: var(--serif); font-size: clamp(18px, 1.8vw, 23px) !important; line-height: 1.25; color: var(--black) !important; }
.small-title { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 14px; }
.back-link { display: inline-block; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; margin-bottom: 28px; }
.back-link::before { content: '\2190\00a0'; }
.back-link:hover { color: var(--black); }
.preview-banner { background: var(--black); color: var(--white); font-size: 14px; padding: 10px var(--gutter); max-width: none; }

/* Work index */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 28px; padding-bottom: var(--section); }
@media (max-width: 1000px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work-item a { text-decoration: none; display: block; }
.work-item .case-media { aspect-ratio: 4 / 5; }
.work-item h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.1; }
@media (min-width: 1001px) { .work-item h2 { white-space: nowrap; } }
.work-item a:hover h2 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.work-item a:hover .case-media img { transform: scale(1.03); }

/* Case study */
.case-hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: 40px; }
.case-title { max-width: none; }
@media (min-width: 761px) { .case-title { white-space: nowrap; } }
.case-hero-label { font-size: 15px; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.case-hero-sub { font-size: 17px; font-weight: 500; margin-top: 18px; }
.case-hero-media { margin: 0 0 var(--section); }
.case-hero-media img { width: 100%; height: clamp(320px, 62vh, 720px); object-fit: cover; object-position: var(--focus, center); }
.case-intro { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); padding-bottom: var(--section); }
.case-intro-text p { font-family: var(--serif); font-size: clamp(18px, 1.8vw, 24px); line-height: 1.3; }
.case-intro-text p + p { margin-top: 1em; }
.case-capabilities dl { margin: 0; }
.case-capabilities dl > div { padding: 16px 0; border-top: 1px solid var(--line); }
.case-capabilities dt { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.case-capabilities dd { margin: 0; color: #3d3b37; font-size: 16px; }
.case-projects { padding-bottom: var(--section); }
.project { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 64px; border-top: 1px solid var(--line); }
.project.has-image { grid-template-columns: 5fr 6fr; align-items: center; }
.project.has-image:nth-child(even) .project-media { order: 2; }
.project.has-image:nth-child(even) { grid-template-columns: 6fr 5fr; }
.project-media { margin: 0; overflow: hidden; border-radius: var(--radius); }
.project-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--focus, center); scale: var(--zoom, 1); transform-origin: var(--focus, center); }
.project-text { max-width: 640px; }
.project-label { font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 10px; }
.project-title { font-family: var(--serif); font-weight: 400; font-size: clamp(25px, 2.6vw, 36px); line-height: 1.08; margin-bottom: 20px; }
.project-desc { color: #3d3b37; margin-bottom: 32px; }
/* Results: one per row, the change in big numbers, the before and after underneath */
.stats { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; max-width: 520px; }
.stats li { display: grid; grid-template-columns: minmax(96px, 30%) 1fr; gap: 18px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.stats li:last-child { border-bottom: 1px solid var(--line); }
.stat-value { font-family: var(--serif); font-size: clamp(30px, 2.8vw, 40px); line-height: 1; letter-spacing: -0.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stats li:nth-child(3n+1) .stat-value { color: var(--black); box-shadow: inset 0 -0.32em 0 rgba(255, 207, 90, .55); }
.stats li:nth-child(3n+2) .stat-value { box-shadow: inset 0 -0.32em 0 rgba(242, 185, 180, .6); }
.stats li:nth-child(3n+3) .stat-value { box-shadow: inset 0 -0.32em 0 rgba(181, 100, 247, .28); }
.stat-value { justify-self: start; padding: 0 2px; }
.stat-text { display: block; }
.stat-label { display: block; font-size: 15px; line-height: 1.4; color: var(--black); font-weight: 500; }
.stat-detail { display: block; font-size: 14px; line-height: 1.4; color: var(--muted); margin-top: 2px; }
/* The bar starts at the before value and grows (or shrinks) to the after value */
.stat-bar { display: block; position: relative; height: 4px; margin-top: 10px; background: var(--line); max-width: 260px; overflow: hidden; }
.stat-bar span { position: absolute; left: 0; top: 0; bottom: 0; width: var(--to); background: var(--black); }
.js .stat-bar span { width: var(--from); transition: width 1.4s cubic-bezier(.2, .7, .2, 1) .25s; }
.js .stat-bar.is-grown span { width: var(--to); }
.stats li:nth-child(3n+1) .stat-bar span { background: #e0a92a; }
.stats li:nth-child(3n+2) .stat-bar span { background: #e0918a; }
.stats li:nth-child(3n+3) .stat-bar span { background: var(--violet); }
/* The cover photo zooms slightly on scroll, so it gets its own clipped frame and the photo credit sits below it */
.case-hero-frame { overflow: hidden; }
.case-hero-media img { will-change: transform; transform-origin: center 40%; }
.capabilities-title { display: inline-block; font-family: var(--sans); font-size: 14px; font-weight: 600; background: var(--human); color: var(--black); padding: 6px 12px; margin-bottom: 14px; }
.stats + .impact { margin-top: 20px; }
.photo-credit { font-size: 13px; color: var(--muted); padding-top: 10px; }
.impact li { padding: 12px 0 12px 28px; border-top: 1px solid var(--line); position: relative; font-size: 16px; }
.impact li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.impact li:last-child { border-bottom: 1px solid var(--line); }

/* Services page */
.service-list { padding-bottom: var(--section); }
.service { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(24px, 5vw, 80px); padding: 48px 0; border-top: 2px solid var(--citrus); scroll-margin-top: 100px; }
.service-head { position: relative; padding-left: 30px; }
.service-dot { position: absolute; left: 0; top: 14px; width: 14px; height: 14px; border-radius: 50%; }
.service-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(25px, 2.5vw, 34px); line-height: 1.08; margin-bottom: 12px; }
.service-line { font-size: 16px; font-weight: 500; max-width: 34ch; }
.service-body p { color: #3d3b37; }
.service-outputs { margin-top: 20px; font-size: 15px; }
.service-outputs span { display: block; font-weight: 600; color: var(--black); margin-bottom: 4px; }
.starts { background: var(--grey); padding: var(--section) 0; }
.starts-intro { max-width: 60ch; color: #3d3b37; margin: 20px 0 48px; font-size: 16px; }
.start-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: start; }
.start { background: var(--paper); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; position: relative; }
.start::after { content: ''; position: absolute; left: 26px; right: 26px; top: 0; height: 4px; border-radius: 0 0 3px 3px; }
.start:nth-child(1)::after { background: var(--human); }
.start:nth-child(2)::after { background: var(--citrus); }
.start:nth-child(3)::after { background: var(--violet); }
.start h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; margin: 8px 0 14px; }
.start p { color: #3d3b37; font-size: 16px; }
.start-time { margin-top: auto; padding-top: 20px; font-weight: 600; color: var(--black) !important; }
.start-custom {
  margin-top: 16px; background: var(--violet); color: var(--paper); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
}
.start-custom > div { max-width: 60ch; }
.start-custom h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 2.0vw, 26px); margin-bottom: 6px; }
.start-custom p { color: var(--paper); font-size: 17px; font-weight: 500; }
.start-custom .btn-citrus:hover { background: var(--paper); border-color: var(--paper); color: var(--black); }

/* About */
.about-title span { display: block; }
.about-title { max-width: none; font-size: clamp(31px, 4.3vw, 62px); }
.about-story { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: var(--section); }
.about-story .about-photo { position: sticky; top: 110px; }
.about-copy p { color: #3d3b37; margin-bottom: 1.1em; max-width: 60ch; }
.about-copy .about-lead { color: var(--black); }
.about-pbv { font-family: var(--serif); font-size: clamp(20px, 2.0vw, 26px); line-height: 1.25; color: var(--black) !important; margin-top: 1.5em; }
.about-facts { padding-bottom: var(--section); }
.about-facts ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.about-facts li { padding: 16px 0; border-top: 1px solid var(--line); }
.off-duty { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding-bottom: var(--section); }
.off-duty-text p { color: #3d3b37; margin: 16px 0 24px; max-width: 36ch; }
.off-duty-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.off-duty-photos img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); width: 100%; }

/* Gallery */
.gallery { padding-bottom: var(--section); }
/* Three rows of photos; more columns sit to the right. The arrows on either side move one
   screen at a time and loop back to the start. Place and year appear on hover. */
/* Nine photos fit on one laptop screen: the width follows the window height */
.gallery-frame { position: relative; max-width: min(100%, calc(150vh - 220px)); max-width: min(100%, calc(150svh - 220px)); margin: 0 auto; }
.gallery-page .page-hero { padding-bottom: clamp(28px, 3.5vw, 48px); }
.gallery-grid {
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, auto);
  grid-auto-columns: calc((100% - 40px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.gallery-grid::-webkit-scrollbar { display: none; }
.gallery-grid:focus-visible { outline-offset: 6px; }
.gallery-item { min-width: 0; scroll-snap-align: start; }
.gallery-item a { display: block; position: relative; overflow: hidden; cursor: zoom-in; }
.gallery-item img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px;
  color: var(--paper); font-size: 14px; font-weight: 500;
  background: linear-gradient(to top, rgba(20, 20, 20, .6), rgba(20, 20, 20, 0));
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease;
}
.gallery-item a:hover .gallery-caption, .gallery-item a:focus-visible .gallery-caption { opacity: 1; transform: none; }
.gallery-arrow { position: absolute; top: 50%; margin-top: -22px; z-index: 2; background: var(--paper); }
.gallery-prev { left: -68px; }
.gallery-next { right: -68px; }
.gallery-count { text-align: center; font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 20px; }
/* Phones and tablets: arrows sit under the photos, either side of the counter */
@media (max-width: 1100px) {
  .gallery-frame { padding-bottom: 60px; }
  .gallery-arrow { top: auto; bottom: 0; margin-top: 0; }
  .gallery-prev { left: calc(50% - 92px); }
  .gallery-next { right: calc(50% - 92px); }
  .gallery-count { margin-top: -44px; line-height: 44px; height: 44px; }
}
@media (hover: none) { .gallery-caption { display: none; } }
@media (max-width: 560px) { .gallery-grid { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; } }
.gallery-item a:hover img { transform: scale(1.02); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 20, 20, .9); }
.lightbox img { -webkit-user-drag: none; -webkit-touch-callout: none; user-select: none; max-width: 94vw; max-height: 84vh; width: auto; height: auto; border-radius: 4px; }
.lightbox-caption { color: var(--white); font-size: 15px; margin-top: 12px; text-align: center; }
.lightbox-nav { position: fixed; top: 50%; margin-top: -24px; width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 1.5px solid rgba(255, 255, 255, .8); color: var(--white); cursor: pointer; }
.lightbox-nav:hover { background: var(--white); color: var(--black); }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
@media (max-width: 700px) { .lightbox-nav { top: auto; bottom: 24px; margin-top: 0; width: 42px; height: 42px; } .lightbox-prev { left: calc(50% - 52px); } .lightbox-next { right: calc(50% - 52px); } .lightbox-caption { margin-bottom: 64px; } }
.lightbox-close { position: fixed; top: 18px; right: 22px; background: none; border: 1.5px solid var(--white); color: var(--white); border-radius: 0; padding: 8px 18px; cursor: pointer; font-size: 14px; }

/* Journal */
.journal-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 64px; }
.journal-cat { border-top: 1px solid var(--line); padding-top: 18px; }
.journal-cat h2 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin-bottom: 6px; }
.journal-cat p { color: #3d3b37; font-size: 16px; }
.journal-list { padding-bottom: var(--section); }
.journal-list ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
.journal-item a { text-decoration: none; display: block; }
.journal-thumb img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); width: 100%; margin-bottom: 16px; }
.journal-meta { font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.journal-item h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; margin-bottom: 8px; }
.journal-item p:not(.journal-meta) { color: #3d3b37; font-size: 16px; }
.empty-note { font-family: var(--serif); font-size: 24px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 32px; }
.article-head { padding-top: clamp(40px, 6vw, 80px); padding-bottom: 40px; max-width: 980px; }
.article-cover { margin: 0 auto 56px; max-width: 1100px; }
.article-cover img { width: 100%; border-radius: var(--radius); }
.article-body { max-width: 680px; margin: 0 auto; padding: 0 var(--gutter); font-size: 17px; line-height: 1.7; }
.article-body p, .article-body ul, .article-body ol { margin-bottom: 1.2em; }
.article-body ul { list-style: disc; padding-left: 1.2em; }
.article-body h2 { font-family: var(--serif); font-weight: 400; font-size: 29px; line-height: 1.15; margin: 1.6em 0 .6em; }
.article-body blockquote { margin: 1.6em 0; font-family: var(--serif); font-size: 24px; line-height: 1.3; border-left: 4px solid var(--citrus); padding-left: 24px; }
.article-foot { max-width: 680px; margin: 64px auto var(--section); padding: 32px var(--gutter) 0; border-top: 1px solid var(--line); }
.article-foot p { font-family: var(--serif); font-size: 24px; margin-bottom: 20px; }
.related { padding-bottom: var(--section); }
.related ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.related a { text-decoration: none; display: block; border-top: 1px solid var(--line); padding-top: 18px; }
.related h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; }

/* Contact */
.contact-page { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); padding-top: clamp(48px, 7vw, 104px); padding-bottom: var(--section); }
.contact-side p { color: #3d3b37; margin-top: 18px; max-width: 44ch; }
.contact-side .contact-lead { font-size: 17px; color: var(--black); margin-top: 32px; }
.contact-direct { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-direct p { margin-top: 8px; }
.contact-direct span { display: block; font-size: 14px; color: var(--muted); }
.contact-direct a { font-weight: 500; }
.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: clamp(24px, 4vw, 44px); }
.field { margin: 0 0 22px; border: 0; padding: 0; }
.field label, .field legend { display: block; font-weight: 500; font-size: 15px; margin-bottom: 8px; padding: 0; }
.optional { font-weight: 400; color: var(--muted); font-size: 14px; margin-left: 6px; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--black);
  background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--violet); outline-offset: 0; border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; transition: background .15s ease, border-color .15s ease; }
.chip input:checked + span { background: var(--black); border-color: var(--black); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.form-note { font-size: 14px; color: var(--muted); margin-top: 16px; }
.hp { position: absolute; left: -9999px; }

/* Simple and legal pages */
.simple-page { padding-top: clamp(64px, 10vw, 140px); padding-bottom: var(--section); min-height: 50vh; }
.simple-page p { font-size: 17px; color: #3d3b37; margin-top: 18px; max-width: 52ch; }
.simple-actions { display: flex; gap: 24px; align-items: center; margin-top: 36px; flex-wrap: wrap; }
.legal-page { padding-top: clamp(48px, 7vw, 104px); padding-bottom: var(--section); }
.legal-body { max-width: 680px; margin-top: 40px; }
.legal-body h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 40px 0 12px; }
.legal-body p, .legal-body li { color: #3d3b37; }
.legal-body p + p { margin-top: 1em; }
.legal-body ul { display: grid; gap: 8px; }
.legal-updated { font-size: 14px; color: var(--muted) !important; margin-top: 40px !important; }

@media (max-width: 900px) {
  .case-intro, .project.has-image, .service, .about-story, .off-duty, .contact-page { grid-template-columns: 1fr; }
  .project.has-image:nth-child(even) .project-media { order: 0; }
  .project.has-image:nth-child(even) { grid-template-columns: 1fr; }
  .project-media { max-width: 520px; }
  .about-story .about-photo { position: static; max-width: 420px; }
  .start-steps, .journal-cats, .journal-list ul { grid-template-columns: 1fr; }
  .page-intro { margin-right: 0; }
}
@media (max-width: 760px) {
  .work-grid, .about-facts ul, .related ul { grid-template-columns: 1fr; }
  .project { padding-top: 48px; padding-bottom: 48px; }
  .off-duty-photos { gap: 8px; }
}

/* Colored page bands (People pink, Brand citrus, Vision violet) */
.band-human { background: var(--human); }
.band-citrus { background: var(--citrus); }
.band-violet { background: var(--violet); color: var(--paper); }
.band .page-intro p, .band .contact-side p { color: var(--black); }
.band .contact-direct { border-top-color: rgba(33, 33, 33, .2); }
.band .contact-direct span { color: rgba(33, 33, 33, .7); }
.band-citrus + .service-list { padding-top: 24px; }
.band-citrus + .service-list .service:first-child { border-top: 0; }

/* Work dropdown in the main menu */
.site-nav .has-sub { position: relative; }
.sub-nav {
  position: absolute; top: 100%; left: -20px; min-width: 240px; padding: 10px 0;
  background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--citrus);
  border-radius: 0 0 8px 8px; box-shadow: 0 12px 32px rgba(33, 33, 33, .08);
  display: flex; flex-direction: column; gap: 0 !important;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.site-nav .has-sub:hover .sub-nav, .site-nav .has-sub:focus-within .sub-nav { opacity: 1; visibility: visible; transform: none; }
.sub-nav a { display: block; padding: 9px 20px !important; font-size: 15px; font-weight: 400 !important; border: 0 !important; white-space: nowrap; }
.sub-nav a:hover { background: var(--grey); }
.sub-nav .sub-all a { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .sub-nav { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; background: none; padding: 0 0 12px; min-width: 0; }
  .site-nav .sub-nav a { font-family: var(--sans); font-size: 16px; padding: 6px 0 6px 4px !important; color: #3d3b37; }
  .sub-nav .sub-all { display: none; }
}

/* Chips in the contact form, square like the buttons */
.chip span { border-radius: 0; }

/* Social icons in the footer */
.footer-social { display: flex !important; gap: 14px !important; }
.social-icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(251, 250, 247, .25); color: rgba(251, 250, 247, .85); transition: background .2s ease, color .2s ease; }
.social-icon:hover { background: var(--citrus); color: var(--black) !important; border-color: var(--citrus); text-decoration: none !important; }

/* Scroll reveal: elements rise in gently as they come into view */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), background-color .25s ease, color .25s ease, border-color .25s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Sideways rows (work carousel, phone swipe rows, gallery): they move left and right only.
   Without this, a card rising in or lifting on tap gives the row a few pixels of height to
   scroll, and a swipe wobbles up, down and sideways before it settles. */
.carousel, .gallery-grid { overflow-y: hidden; overscroll-behavior-x: contain; }
/* Inside those rows, cards fade in without rising */
.js .carousel > [data-reveal], .js .gallery-grid > [data-reveal] { transform: none; }
@media (max-width: 700px) {
  .swipe { overflow-y: hidden; }
  .js .swipe > [data-reveal] { transform: none; }
}

/* Pillars lift a little on hover */
.pillar { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) and (pointer: fine) { .pillar:hover { transform: translateY(-6px); } }

@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero-photo { min-height: 480px; }
  .hero-scroll { bottom: 24px; }
  .marquee-word { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .marquee { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track[aria-hidden] { display: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); row-gap: 28px; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero-photo img, .js .hero-title { animation: none; }
}

/* Phones: rows you swipe through instead of one long stack */
.swipe-progress { display: none; }
@media (max-width: 700px) {
  .hero-photo { height: 68vh; height: 68svh; min-height: 420px; }
  .swipe {
    display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
    padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding-left: var(--gutter);
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 var(--swipe-w, 78%); scroll-snap-align: start; min-width: 0; }
  .pbv-pillars { --swipe-w: 66%; }
  .pillar { min-height: 220px; }
  /* The work grid is its own page-width block, so it keeps the page margin on the left */
  .work-grid.swipe { --swipe-w: 68%; gap: 14px; padding-bottom: 0; margin: 0 0 12px; }
  .work-grid .case-body h2 { font-size: 21px; }
  .work-grid .case-teaser { font-size: 15px; }
  .work-grid .case-body h2 { white-space: normal; }
  .start-steps { --swipe-w: 82%; }
  .off-duty-photos { --swipe-w: 64%; gap: 10px; }
  .case-intro > *, .case-capabilities { min-width: 0; }
  .case-capabilities dl { --swipe-w: 74%; margin: 4px calc(-1 * var(--gutter)) 0; }
  .case-capabilities dl > div { border: 1px solid var(--line); border-top: 2px solid var(--citrus); background: var(--white); padding: 18px 18px 22px; border-radius: var(--radius); }
  .swipe-progress { display: block; height: 2px; background: var(--line); margin: 18px 0 0; position: relative; overflow: hidden; }
  .swipe-progress span { position: absolute; top: 0; bottom: 0; left: 0; background: var(--black); transition: transform .1s linear; }
  .swipe-progress[hidden] { display: none; }
  .work-grid + .swipe-progress { margin: 0 var(--gutter) var(--section); }
  .carousel + .swipe-progress { margin: 18px var(--gutter) 0; }

  /* Services open one at a time */
  .service.is-collapsible { padding: 22px 0; }
  .service.is-collapsible .service-head { cursor: pointer; padding-right: 36px; }
  .service.is-collapsible .service-head::after {
    content: ""; position: absolute; right: 4px; top: 10px; width: 12px; height: 12px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg); transition: transform .3s ease;
  }
  .service.is-collapsible.is-open .service-head::after { transform: rotate(-135deg); top: 16px; }
  .service.is-collapsible .service-line { margin-bottom: 0; }
  .service.is-collapsible .service-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
  .service.is-collapsible { gap: 0; }
  .service.is-collapsible .service-body > * { overflow: hidden; min-height: 0; }
  .service.is-collapsible .service-body-inner > :first-child { margin-top: 18px; }
  .service.is-collapsible.is-open .service-body { grid-template-rows: 1fr; }
}

/* Phones: a small Let's talk button that follows you once you are past the top of the page */
.float-cta { display: none; }
@media (max-width: 700px) {
  .float-cta {
    display: inline-flex; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
    padding: 11px 18px; font-size: 14px; box-shadow: 0 8px 24px rgba(33, 33, 33, .18);
    opacity: 0; transform: translateY(14px); pointer-events: none;
    transition: opacity .3s ease, transform .3s ease, background-color .25s ease, color .25s ease;
  }
  .float-cta.is-shown { opacity: 1; transform: none; pointer-events: auto; }
  .float-cta:hover { background: var(--human); color: var(--black); }
}

/* Staging label: only on the staging version, never on pbvagency.com */
.staging-label { position: fixed; right: 12px; bottom: 12px; z-index: 9999; background: var(--violet); color: var(--paper); font-size: 12px; font-weight: 500; padding: 6px 10px; pointer-events: none; }
