/* ============================================================
   Akra Vision — rebuild stylesheet
   Tokens and layout measured from the live Divi site so the
   look carries over 1:1.
   ============================================================ */

:root {
  --bg: #1c1c1c;
  --bg-black: #000000;
  --text: #666666;
  --text-light: #a3a3a3;
  --white: #ffffff;
  --border: #636363;
  --radius: 6px;
  --tile-radius: 12px;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Epilogue", Helvetica, Arial, sans-serif;
  --font-mono: "DM Mono", monospace;

  --content-width: 1480px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-light);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--white); text-decoration: none; }

img, video { max-width: 100%; display: block; }

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

h1, .h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 0.4em;
}

/* Centered italic section headings — LATEST PROJECTS, SERVICES,
   MULTI-MEDIA PROJECTS, THE ARCHIVES */
.section-heading {
  font-family: var(--font-sans);
  font-weight: 700;
  font-style: italic;
  font-size: 36px;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  margin: 0;
  padding: 44px 0 28px;
}

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

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  background: var(--bg-black);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 22px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: var(--white);
  color: var(--bg-black);
  border-color: var(--white);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-black);
  transition: opacity 0.5s ease;
}

/* Watch mode hides the nav bar along with the hero content */
body.watching-film .site-header {
  opacity: 0;
  pointer-events: none;
}

.site-header .container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 36px;
  height: 57px;
  max-width: none;
  padding: 0 28px;
}

.site-header .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.site-header .logo img { height: 34px; width: auto; }

.site-nav { display: flex; gap: 26px; }

.site-nav a {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
}

.site-nav a:hover { opacity: 0.75; }

.site-header .btn {
  margin-left: auto;
  font-size: 12px;
  padding: 5px 14px;
}

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle svg { width: 24px; height: 24px; }

.nav-toggle .icon-close { display: none; }

body.nav-open .nav-toggle .icon-open { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

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

  .site-header .container { gap: 12px; padding: 0 16px; }

  .site-nav { display: none; }

  body.nav-open .site-nav {
    display: flex;
    position: fixed;
    top: 57px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: var(--bg-black);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
  }

  body.nav-open .site-nav a {
    font-family: var(--font-sans);
    font-weight: 700;
    font-style: italic;
    font-size: 26px;
    letter-spacing: 0.02em;
  }
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-black);
  /* Match the video's aspect ratio so the full frame is never cropped */
  aspect-ratio: 16 / 9;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradient measured off the live section: fades the video into the
   page background toward the bottom. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(1deg, #1c1c1c 5%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.hero .hero-content {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  padding: 0 30px 70px;
  max-width: 640px;
}

.hero h1 { margin-bottom: 0.25em; }

.hero p {
  color: var(--text-light);
  margin: 0 0 24px;
  max-width: 560px;
}

/* Hero video controls */

.hero-media-controls {
  position: absolute;
  right: 28px;
  bottom: 66px;
  z-index: 1;
  display: flex;
  gap: 12px;
  transition: opacity 0.5s ease;
}

.hero.watching .hero-media-controls {
  opacity: 0;
  pointer-events: none;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--white);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.icon-btn svg { width: 18px; height: 18px; }

.icon-btn svg[hidden] { display: none; }

.icon-btn:hover {
  background: var(--white);
  color: var(--bg-black);
  border-color: var(--white);
}

/* Fade the text/buttons (and the bottom gradient) away in watch mode */
.hero-content,
.hero::after {
  transition: opacity 0.5s ease;
}

.hero.watching .hero-content,
.hero.watching::after {
  opacity: 0;
  pointer-events: none;
}

.hero-close {
  position: absolute;
  top: 26px;
  right: 28px;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.hero.watching .hero-close {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Tile grids (Latest Projects, Archives, project media rows) ---------- */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 15px 30px;
}

.tile {
  display: block;
  border-radius: var(--tile-radius);
  overflow: hidden;
}

.tile img,
.tile video {
  width: 100%;
  aspect-ratio: 471 / 265;
  object-fit: cover;
  transition: transform 0.3s ease;
}

a.tile:hover img { transform: scale(1.03); }

/* ---------- Services button row ---------- */

.services-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 15px 30px;
}

.services-row a {
  display: block;
  border-radius: var(--tile-radius);
  overflow: hidden;
}

.services-row img {
  width: 100%;
  transition: transform 0.3s ease;
}

.services-row a:hover img { transform: scale(1.04); }

/* ---------- Multi-media project banners ----------
   The background photo runs behind BOTH the intro row and the
   media tiles, exactly like the live site. */

.project-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 44px 0 24px;
  margin-bottom: 95px;
}

/* Same fade as the hero, so the media tiles stand out over the photo. */
.project-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(1deg, #1c1c1c 5%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.project-banner .banner-head,
.project-banner .tile-grid {
  position: relative;
  z-index: 1;
}

.project-banner .banner-head {
  display: grid;
  grid-template-columns: 380px 1fr;
  align-items: center;
  gap: 30px;
  max-width: var(--content-width);
  margin: 0 auto 40px;
  padding: 0 15px;
}

.project-banner .banner-head .logo { justify-self: center; }

.project-banner h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 28px;
  color: var(--white);
  margin: 0 0 8px;
}

.project-banner .tile-grid { padding-bottom: 0; }

.project-banner .meta {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  max-width: 360px;
  margin: 0 0 20px;
}

/* ---------- Archives heading band ---------- */

.archives-band {
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.archives-band .section-heading { padding: 24px 0; }

#archives .tile-grid { padding-top: 30px; }

/* ---------- Reveal micro-animations ----------
   .reveal is added by js/blocks.js (so no-JS keeps everything visible);
   .in-view fires as elements enter the viewport. */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

/* ---------- Closing CTA band ---------- */

.cta-band {
  text-align: center;
  padding: 96px 24px 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
}

.cta-band h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 44px);
  color: var(--white);
  margin: 0 0 12px;
}

.cta-band p {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text-light);
  margin: 0 0 30px;
}

.cta-band .cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.cta-email {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--white);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.cta-email:hover { border-color: var(--white); }

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

.site-footer {
  background: var(--bg-black);
  padding: 36px 0 44px;
  text-align: center;
}

.footer-services {
  font-family: var(--font-mono);
  font-size: 13px;
  margin: 0 0 26px;
}

.footer-services a {
  color: var(--white);
  margin: 0 14px;
  white-space: nowrap;
}

.footer-services a:hover { text-decoration: underline; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-links a {
  font-family: var(--font-sans);
  font-weight: 700;
  font-style: italic;
  font-size: 26px;
  text-transform: uppercase;
  color: var(--white);
}

.footer-links a:hover { opacity: 0.75; }

.footer-loc {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  margin: 30px 0 0;
}

/* ---------- Inner pages ---------- */

.section { padding: 88px 0; }

/* ============================================================
   Project-page blocks — the kit of parts every project page is
   assembled from. Mix and match per project.
   ============================================================ */

/* Block: project hero — full-bleed photo, logo, title, intro,
   optional jump labels along the bottom */
.project-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 70px 0 0;
}

/* Same grey fade as the home hero, so the section below blends in */
.project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(1deg, #1c1c1c 5%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.project-hero .container,
.project-hero .jump-labels {
  position: relative;
  z-index: 1;
}

.project-hero .container { max-width: 1400px; }

.project-hero .client-logo {
  max-width: 320px;
  margin-bottom: 10px;
}

.project-hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(34px, 3.6vw, 52px);
  color: var(--white);
  margin: 0 0 18px;
}

.project-hero .intro {
  font-family: var(--font-mono);
  color: var(--white);
  max-width: 560px;
  margin: 0 0 40px;
}

/* Block: jump labels + tiles — anchor links into the page's sections */
.jump-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.jump-labels span, .jump-labels a {
  font-family: var(--font-sans);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(16px, 1.8vw, 26px);
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  padding-bottom: 16px;
}

.jump-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px 50px;
}

.jump-row .tile { border-radius: var(--tile-radius); overflow: hidden; }

/* Block: black heading band (section divider) */
.band {
  background: var(--bg-black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Block: light showcase section — white ground for brand work.
   .dark-section is the same rhythm on the page background. */
.light-section {
  background: #fff;
  padding: 50px 0;
}

.dark-section { padding: 50px 0; }

.collage-row {
  display: grid;
  gap: 15px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto 15px;
  padding: 0 15px;
}

.collage-row:last-child { margin-bottom: 0; }

.collage-row img,
.collage-row video {
  width: 100%;
  border-radius: var(--tile-radius);
}

/* Modifier: uniform cropped tiles for mixed-ratio image grids —
   crops with object-fit instead of stretching. */
.collage-row.crop-tiles img {
  aspect-ratio: 400 / 284;
  object-fit: cover;
}

/* Block: lightbox — .lightbox img opens fullscreen (wired in blocks.js) */
.lightbox img { cursor: zoom-in; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-overlay .lb-close {
  position: absolute;
  top: 24px;
  right: 28px;
}

.lightbox-overlay .lb-prev { position: absolute; left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-overlay .lb-next { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); }

.lightbox-overlay .lb-count {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-light);
}

/* Block: archive hero — black, centered title + intro (older projects) */
.archive-hero {
  background: var(--bg-black);
  text-align: center;
  padding: 34px 24px 150px;
}

.archive-hero h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 30px;
  color: var(--white);
  margin: 0 0 14px;
}

.archive-hero p {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
}

/* Block: text column for split rows */
.split-text h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1c1c1c;
  margin: 0 0 16px;
}

.split-text p {
  font-family: var(--font-mono);
  font-size: 15px;
  color: #666;
  margin: 0;
  max-width: 560px;
}

.dark-section .split-text h3 { color: var(--white); }
.dark-section .split-text p { color: var(--text-light); }

/* Block: full-bleed row — edge-to-edge images, no gaps or rounding */
.full-bleed-row {
  display: grid;
  gap: 0;
}

.full-bleed-row img { width: 100%; display: block; border-radius: 0 !important; }

.light-section .no-radius,
.no-radius { border-radius: 0 !important; }

/* Block: portrait video (reels, phone-format) */
.video-portrait {
  max-height: 640px;
  width: auto !important;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

/* Block: carousel — paged gallery with arrows + dots */
.carousel {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.carousel .slides { position: relative; overflow: hidden; border-radius: var(--tile-radius); }

.carousel .slides img {
  width: 100%;
  display: none;
}

.carousel .slides img:not(.active) { display: none !important; }

.carousel .slides img.active { display: block; }

.carousel .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.carousel .arrow.prev { left: 26px; }
.carousel .arrow.next { right: 26px; }

.carousel .dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 0;
}

.carousel .dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #b5b5b5;
  cursor: pointer;
}

.carousel .dots button.active { background: #1c1c1c; }

/* Carousels on dark grounds */
.band + .light-section .carousel .dots button { background: #c9c9c9; }

@media (max-width: 767px) {
  .jump-labels, .jump-row { grid-template-columns: 1fr; }
  .jump-labels { display: none; }
  .collage-row { grid-template-columns: 1fr !important; }
}

/* ============================================================
   Service-page blocks
   ============================================================ */

/* Block: service switcher — the five buttons, current page highlighted */
.service-switcher {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px 26px;
}

.service-switcher a {
  display: block;
  border-radius: var(--tile-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  opacity: 0.85;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.service-switcher a:hover { opacity: 1; }

.service-switcher a.active {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.85);
}

.service-switcher img { width: 100%; display: block; }

/* Block: service intro — serif title + copy left, "start here" card right */
.service-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 20px 56px;
}

.service-intro h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(32px, 3.2vw, 46px);
  color: var(--white);
  margin: 0 0 14px;
}

.service-intro .lede {
  font-family: var(--font-mono);
  font-size: 15px;
  color: #d5d5d5;
  max-width: 640px;
  margin: 0;
}

.start-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 34px 30px;
  color: #1c1c1c;
}

.start-card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  color: #1c1c1c;
  margin: 0 0 10px;
}

.start-card p {
  font-family: var(--font-mono);
  font-size: 14px;
  color: #555;
  margin: 0 0 18px;
}

.start-card .btn { border-color: var(--bg-black); }

/* Block: deliverable cards — dark bordered cards under the band */
.deliverable-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 34px;
  max-width: 1160px;
  margin: -8px auto 0;
  padding: 0 20px 60px;
}

.deliverable-cards .card {
  background: #0c0c0c;
  border: 1px solid #3a3a3a;
  border-radius: 12px;
  text-align: center;
  padding: 34px 26px;
}

.deliverable-cards .card svg {
  width: 44px;
  height: 44px;
  color: var(--white);
  margin-bottom: 14px;
}

.deliverable-cards .card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 19px;
  text-transform: lowercase;
  color: var(--white);
  margin: 0 0 14px;
}

.deliverable-cards .card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.deliverable-cards .card li {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.85;
  color: #d5d5d5;
}

/* Block: example row — list/text one side, media the other */
.example-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 44px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.example-row:first-of-type { border-top: none; }

.example-row h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 21px;
  color: var(--white);
  margin: 0 0 14px;
}

.example-row p {
  font-family: var(--font-mono);
  font-size: 14px;
  color: #c9c9c9;
  margin: 0 0 12px;
}

.example-row ul { margin: 0; padding-left: 18px; }

.example-row li {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.8;
  color: #c9c9c9;
}

.example-row .media img,
.example-row .media video {
  width: 100%;
  border-radius: var(--tile-radius);
  display: block;
}

.example-row .media .video-portrait { margin: 0 auto; }

/* Block: process cards — numbered step cards on the band */
.process-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 26px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 8px 20px 54px;
}

.process-cards .card {
  background: #0c0c0c;
  border: 1px solid #3a3a3a;
  border-radius: 12px;
  text-align: center;
  padding: 30px 22px;
}

.process-cards .card svg {
  width: 34px;
  height: 34px;
  color: var(--white);
  margin-bottom: 12px;
}

.process-cards .card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  margin: 0 0 10px;
}

.process-cards .card p {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: #c9c9c9;
  margin: 0;
}

/* Block: pill grid — bordered label boxes in columns */
.pill-columns {
  display: grid;
  grid-template-columns: 1fr repeat(3, 1.1fr);
  gap: 40px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 30px;
}

.pill-columns .intro-col h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 21px;
  color: var(--white);
  margin: 0 0 12px;
}

.pill-columns .intro-col p {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: #c9c9c9;
  margin: 0;
}

.pill-columns h4 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--white);
  margin: 0 0 18px;
}

.pill-columns .pill {
  font-family: var(--font-mono);
  font-size: 14px;
  text-align: center;
  color: #e5e5e5;
  border: 1px solid #4a4a4a;
  padding: 12px 10px;
  margin-bottom: 16px;
}

/* Block: see it in action — project proof tiles on service pages */
.proof-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0 64px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
}

.proof-grid a { display: block; }

.proof-grid img {
  width: 100%;
  aspect-ratio: 471 / 265;
  object-fit: cover;
  border-radius: var(--tile-radius);
  transition: transform 0.3s ease;
}

.proof-grid a:hover img { transform: scale(1.03); }

.proof-grid span {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #c9c9c9;
  margin-top: 10px;
  transition: color 0.2s ease;
}

.proof-grid a:hover span { color: var(--white); }

/* Block: next project strip — keeps visitors moving through the work */
.next-project {
  display: block;
  background: var(--bg-black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

.next-project .inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 34px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.next-project .label {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin: 0 0 8px;
}

.next-project .name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 32px);
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}

.next-project .name .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.next-project:hover .name .arrow { transform: translateX(8px); }

.next-project img {
  width: 320px;
  aspect-ratio: 471 / 265;
  object-fit: cover;
  border-radius: var(--tile-radius);
  transition: transform 0.3s ease;
}

.next-project:hover img { transform: scale(1.03); }

@media (max-width: 980px) {
  .service-switcher { grid-template-columns: repeat(3, 1fr); }
  .service-intro { grid-template-columns: 1fr; gap: 28px; }
  .example-row { grid-template-columns: 1fr; gap: 24px; }
  .pill-columns { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .proof-grid { grid-template-columns: 1fr; }
  .next-project img { display: none; }
}

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

@media (max-width: 980px) {
  .services-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .project-banner .banner-head { grid-template-columns: 1fr; }
  .project-banner .banner-head .logo { justify-self: start; }
}

@media (max-width: 767px) {
  .tile-grid { grid-template-columns: 1fr; }
  .services-row { grid-template-columns: repeat(2, 1fr); }
  /* Portrait screens: 16:9 is too short for the text, so let the hero
     grow and accept the video cropping (same as the live site). */
  .hero { aspect-ratio: auto; }
  .hero .hero-content { position: relative; z-index: 1; padding: 200px 24px 90px; }
  .footer-links { flex-direction: column; gap: 10px; }
  .section { padding: 64px 0; }
  .section-heading { font-size: 26px; padding: 36px 16px 22px; }
  .full-bleed-row { grid-template-columns: 1fr !important; }
  .footer-services a { margin: 0 8px; font-size: 12px; }
  .project-hero .client-logo { max-width: 220px; }
  .banner-head .logo { max-width: 200px; }
  .carousel .arrow.prev { left: 12px; }
  .carousel .arrow.next { right: 12px; }
}

@media (max-width: 600px) {
  .service-switcher { grid-template-columns: repeat(2, 1fr); }
}
