/* =====================================================================
   BLUE WAVE — STYLES
   Design tokens come straight from the brief (section 4).
   ===================================================================== */

:root {
  /* Blue-black palette: mostly black, tinted toward navy. */
  --bg: #050a12;
  --bg-glow: #10263f;
  --bg-glow-2: #0b1c31;
  --bg-top: #081322;
  --surface: #0d1726;
  --hero-surface: #0a1422;
  --footer: #03060b;
  --line: #1a283b;
  --text: #f2f1ec;
  --text-2: #b4bccb;
  --muted: #929bad;
  --dim: #121a2a;
  /* Accent: a clean electric blue. Small text uses the softer tint. */
  --accent: #3b6cff;
  --accent-hover: #5a85ff;
  --accent-soft: #93adff;

  --display: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: 48px;
  --section: 140px;
  --gap: 48px;

  /* "BLUE WAVE" is ~7.2em wide: this makes it span edge to edge. */
  --fs-hero: calc((100vw - 2 * var(--gutter)) / 7.2);
  --fs-cta: clamp(52px, 9.2vw, 160px);
  --fs-h1: clamp(34px, 5vw, 72px);
  --fs-statement: clamp(24px, 2.8vw, 40px);
  --fs-title: clamp(18px, 1.55vw, 22px);
  --fs-body: clamp(15px, 1.25vw, 18px);
  --fs-label: 12px;
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
    --section: 72px;
    --gap: 32px;
    --fs-label: 11px;
  }
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Soft navy gradient that fades into black. Fixed, so it stays put while the page scrolls. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(130% 80% at 20% 0%, var(--bg-glow) 0%, transparent 62%),
    radial-gradient(100% 70% at 100% 100%, var(--bg-glow-2) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 100%);
}

img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

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

::selection { background: var(--accent); color: var(--bg); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--bg); padding: 12px 16px;
}
.skip:focus { left: 16px; top: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

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

.display {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 0.9;
}

.h1 { font-size: var(--fs-h1); }

.label {
  font-family: var(--mono);
  font-size: var(--fs-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.4;
  white-space: nowrap;
}
.label--accent { color: var(--accent-soft); }
.label--muted { color: var(--muted); font-weight: 400; }

.statement {
  font-size: var(--fs-statement);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 24em;
}

/* The one paragraph style used across the site. */
.body-2, .founder__bio p { color: var(--text-2); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; max-width: 36em; }

.link-arrow { transition: color 0.2s; }
.link-arrow:hover { color: var(--accent); }

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

.wrap { padding-inline: var(--gutter); }

.section {
  padding-block: var(--section);
  border-top: 1px solid var(--line);
}
.section--flush-top { border-top: 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: calc(var(--gap) * 1.25);
  flex-wrap: wrap;
}

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

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px var(--gutter);
}
.site-header--overlay { position: absolute; inset: 0 0 auto 0; }

.logo { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; letter-spacing: -0.02em; line-height: 1; }
.logo__mark { width: auto; height: 40px; }
@media (max-width: 760px) { .logo__mark { height: 34px; } .logo { font-size: 18px; gap: 10px; } }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 24px; }
.nav__links a { transition: color 0.2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  padding: 13px 20px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: background 0.25s, transform 0.25s;
}
.btn span[aria-hidden] { display: inline-block; transition: transform 0.25s; }
.btn:hover { background: var(--accent-hover); }
.btn:hover span[aria-hidden] { transform: translateX(3px); }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.menu-btn span:not(.sr-only), .menu-btn span:not(.sr-only)::before {
  display: block; width: 18px; height: 1.5px; background: var(--text);
  position: relative; transition: transform 0.25s;
}
.menu-btn span:not(.sr-only)::before { content: ""; position: absolute; top: 6px; }
.menu-btn span:not(.sr-only) { transform: translateY(-3px); }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 50;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 24px var(--gutter) 32px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu__top .menu-btn { display: inline-flex; }
.mobile-menu__top .menu-btn span:not(.sr-only) { transform: rotate(45deg); }
.mobile-menu__top .menu-btn span:not(.sr-only)::before { top: 0; transform: rotate(-90deg); }
.mobile-menu nav { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.mobile-menu nav a { font-size: clamp(44px, 14vw, 72px); }
.mobile-menu nav a[aria-current="page"] { color: var(--accent); }
.mobile-menu .btn { margin-top: 32px; justify-content: space-between; padding: 18px; }
.mobile-menu .label--muted { margin-top: 24px; }
body.menu-open { overflow: hidden; }

/* ---------- Media + placeholders ---------- */

.media {
  position: relative;
  background: var(--surface);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.media--tall { aspect-ratio: 3 / 4; }
.media--portrait { aspect-ratio: 4 / 5; }
.media > video, .media > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #3a3e47;
  border: 1px solid var(--line);
}
.ph .label { white-space: normal; text-align: center; padding: 0 12px; }

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

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--hero-surface);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(10, 11, 13, 0.35);
}
.hero__bottom { position: relative; z-index: 1; padding: 0 var(--gutter) 28px; }
.hero__meta {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-bottom: 20px;
}
.hero__meta p { white-space: normal; max-width: 34em; }
.hero__meta button { transition: color 0.2s; }
.hero__meta button:hover { color: var(--accent); }
.wordmark {
  font-size: var(--fs-hero);
  line-height: 0.82;
  letter-spacing: -0.035em;
  white-space: nowrap;
  margin-left: -0.04em;
}
.wordmark span { display: inline; }

@media (max-width: 700px) {
  .wordmark span { display: block; }
  .wordmark { font-size: calc((100vw - 2 * var(--gutter)) / 3.7); }
  .hero__meta { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ---------- Clients ---------- */

.clients {
  display: flex; gap: 20px 40px; align-items: center; flex-wrap: wrap;
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}
.clients ul { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; flex: 1; }

/* Logo row: every logo is white, and sized to a similar visual weight
   (wide wordmarks are capped by width, round/square marks by height). */
.clients ul:has(.client-logo) { justify-content: space-between; gap: 28px 44px; }
.clients li.client-logo::before { content: none; }
.client-logo img {
  height: 36px; width: auto; max-width: 130px; object-fit: contain;
  opacity: 0.85; transition: opacity 0.2s;
}
.client-logo img:hover { opacity: 1; }
@media (max-width: 760px) {
  .clients:has(.client-logo) { flex-direction: column; align-items: flex-start; }
  .clients ul:has(.client-logo) { justify-content: flex-start; gap: 26px 32px; width: 100%; }
  .client-logo img { height: 28px; max-width: 104px; }
}
.clients li {
  font-stretch: 125%; font-weight: 700; text-transform: uppercase;
  font-size: 15px; letter-spacing: 0.02em; color: var(--text-2);
}
.clients li + li::before { content: "·"; margin: 0 14px; color: var(--muted); }
.clients--block { border: 0; padding: 0; }
@media (max-width: 760px) {
  .clients ul { gap: 8px 20px; }
  .clients li + li::before { content: none; }
}
.clients--block li { font-size: clamp(18px, 2vw, 28px); color: var(--text); }

/* ---------- Spotlight ---------- */

.spotlight .h1 { margin: 18px 0 calc(var(--gap) * 1.25); }
.spotlight__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 24px var(--gap);
  flex-wrap: wrap; margin-top: 28px;
}
.spotlight__foot .body-2 { max-width: 38em; }
.spotlight__links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.tags { display: flex; flex-wrap: wrap; gap: 8px 18px; align-content: flex-start; }

/* ---------- Case study ---------- */

.case-head .display { font-size: clamp(64px, 13vw, 220px); margin-top: 18px; }
.case-head .statement { color: var(--text-2); margin-top: 12px; }
.case-hero { aspect-ratio: 21 / 9; }
@media (max-width: 760px) { .case-hero { aspect-ratio: 16 / 9; } }
.case-meta {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px var(--gap);
  margin: 32px 0 0; padding-top: 28px; border-top: 1px solid var(--line);
}
.case-meta dd { margin: 10px 0 0; color: var(--text); }
@media (max-width: 900px) { .case-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.case-overview { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap); margin-top: var(--section); }
.case-overview .statement { margin-bottom: 20px; }
@media (max-width: 760px) { .case-overview { grid-template-columns: minmax(0, 1fr); } }
.case-stills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.case-stills__full { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
@media (max-width: 760px) { .case-stills { grid-template-columns: minmax(0, 1fr); gap: 10px; } .case-stills__full { aspect-ratio: 16 / 9; } }
.case-deliverables ol {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap);
}
.case-deliverables li {
  display: flex; align-items: baseline; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: var(--fs-statement); font-weight: 500; letter-spacing: -0.01em;
}
@media (max-width: 760px) { .case-deliverables ol { grid-template-columns: minmax(0, 1fr); } }
.case-film { width: 100%; aspect-ratio: 16 / 9; background: #000; }

/* ---------- Instagram / social ---------- */

.icon { display: inline-block; flex: none; }
.nav__icon { display: inline-flex; padding: 6px; color: var(--text); transition: color 0.2s; }
.nav__icon:hover { color: var(--accent); }
.social-link { display: inline-flex; align-items: center; gap: 10px; transition: color 0.2s; }
.social-link:hover { color: var(--accent); }
.social-link--lg { text-transform: none; letter-spacing: 0.02em; font-size: 15px; color: var(--text); }
.social-link--lg .icon { width: 22px; height: 22px; }

/* ---------- Project grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(var(--gap) * 1.25) var(--gap);
}
@media (max-width: 760px) { .grid { grid-template-columns: minmax(0, 1fr); } }

.card { display: block; text-align: left; width: 100%; }
.card[hidden] { display: none; }
.card .media > video { opacity: 0; transition: opacity 0.35s; }
.card .media > video.is-playing { opacity: 1; }
.card__title {
  font-size: var(--fs-title);
  line-height: 1.05;
  margin-top: 18px;
  transition: color 0.2s;
}
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; }
.card__meta .label:first-child { color: var(--text-2); }
.card__meta .label, .tags, .tags span { white-space: normal; }
button.card:hover .card__title { color: var(--accent); }
.card__play {
  position: absolute; left: 16px; bottom: 14px; z-index: 1;
  opacity: 0; transition: opacity 0.2s;
}
button.card:hover .card__play, button.card:focus-visible .card__play { opacity: 1; }
@media (hover: none) { .card__play { opacity: 1; } }

.empty { color: var(--muted); padding-block: 40px; }

/* ---------- Filters ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; }
.filters button { color: var(--muted); transition: color 0.2s; padding-block: 8px; }
.filters button:hover { color: var(--text); }
.filters button[aria-pressed="true"] { color: var(--accent); }

/* ---------- BTS ---------- */

.bts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bts .media--span2 { grid-column: span 2; aspect-ratio: auto; }
@media (max-width: 760px) { .bts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .bts .media--span2 { aspect-ratio: 4 / 3; } }

/* ---------- Split (about teaser, founder) ---------- */

.split {
  display: grid; grid-template-columns: 5fr 7fr; gap: calc(var(--gap) * 1.5);
  align-items: end;
}
.split__text { display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 760px) { .split { grid-template-columns: minmax(0, 1fr); } }

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

.cta__link {
  display: block;
  font-size: var(--fs-cta);
  margin: 22px 0 28px;
  transition: color 0.2s;
}
.cta__link .arrow { color: var(--accent); display: inline-block; transition: transform 0.25s; }
.cta__link:hover { color: var(--accent); }
.cta__link:hover .arrow { transform: translateX(0.12em); }

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

.site-footer {
  background: var(--footer);
  padding: 72px var(--gutter) 24px;
  overflow: hidden;
}
.footer__logo { display: inline-block; margin-bottom: 56px; }
.footer__logo img { width: 160px; height: auto; }
@media (max-width: 760px) { .footer__logo { margin-bottom: 40px; } .footer__logo img { width: 128px; } }
.footer__cols {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
}
.footer__cols ul { margin-top: 16px; display: grid; gap: 6px; }
.footer__cols a { transition: color 0.2s; }
.footer__cols a:hover { color: var(--accent); }
.footer__cols li { color: var(--text-2); white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 760px) { .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; } }
.footer__mark {
  color: var(--dim);
  font-size: var(--fs-hero);
  line-height: 0.8;
  letter-spacing: -0.035em;
  white-space: nowrap;
  margin: 88px 0 20px -0.04em;
  user-select: none;
}
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Page heads ---------- */

.page-head { padding-top: 64px; padding-bottom: calc(var(--section) * 0.6); }
.page-head .display { font-size: clamp(56px, 11vw, 180px); }

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

.about-open .body-2 { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); max-width: none; }

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

.contact {
  display: grid; grid-template-columns: 7fr 4fr; gap: calc(var(--gap) * 2);
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 64px; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 32px var(--gap); }
.field { display: flex; flex-direction: column; gap: 10px; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 760px) { .form { grid-template-columns: minmax(0, 1fr); } }

.field input, .field textarea, .field select {
  font: inherit;
  font-size: 17px;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0 12px;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A9DA5' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
}
.field select option { background: var(--surface); color: var(--text); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-bottom-color: var(--accent);
}
.field .req { color: var(--accent); }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form__status { color: var(--text-2); }
.form .hp { position: absolute; left: -9999px; }

.contact__aside { display: flex; flex-direction: column; gap: 40px; }
.contact__aside a.statement { font-size: clamp(20px, 1.8vw, 26px); transition: color 0.2s; overflow-wrap: anywhere; }
.contact__aside a.statement:hover { color: var(--accent); }

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(7, 8, 9, 0.96);
  color: var(--text);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(7, 8, 9, 0.9); }
.lightbox__frame { width: min(92vw, calc(84vh * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.lightbox__frame iframe, .lightbox__frame video { width: 100%; height: 100%; border: 0; }
/* Uploaded films keep their own shape (vertical, 4:3, widescreen…). */
.lightbox__frame--native { width: auto; aspect-ratio: auto; background: none; }
.lightbox__frame--native video { width: auto; height: auto; max-width: 92vw; max-height: 84vh; background: #000; }
.lightbox__close {
  position: absolute; top: 20px; right: var(--gutter);
  padding: 12px 0; transition: color 0.2s;
}
.lightbox__close:hover { color: var(--accent); }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

/* ---------- What we do (services list) ---------- */

.services__head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px var(--gap);
  margin-bottom: calc(var(--gap) * 1.5);
}
.services__head { align-items: end; }
.services__head .h1 { font-size: clamp(34px, 4.3vw, 64px); }
@media (max-width: 760px) { .services__head { grid-template-columns: minmax(0, 1fr); } }

.services__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px var(--gap);
  align-items: start; position: relative;
  padding: 40px 0; border-top: 1px solid var(--line);
}
.service__num { position: absolute; top: 44px; left: 0; color: var(--muted); transition: color 0.3s; }
.service__name {
  font-size: clamp(30px, 3.4vw, 52px); line-height: 0.98;
  padding-left: 56px; transition: color 0.3s;
}
.service__body { display: flex; flex-direction: column; gap: 20px; padding-top: 6px; }
.service__body .body-2 { max-width: 34em; }
.service__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; white-space: normal; }
.service__tags li { padding: 7px 12px; border: 1px solid var(--line); transition: border-color 0.3s, color 0.3s; }
.service:hover .service__tags li { border-color: #2a3a52; color: var(--text-2); }
.service:hover .service__name, .service:hover .service__num { color: var(--accent-soft); }
@media (max-width: 760px) {
  .service { grid-template-columns: minmax(0, 1fr); padding: 28px 0; }
  .service__num { top: 32px; }
  .service__name { padding-left: 40px; }
}

/* ---------- Ways to work together (cards) ---------- */

.ways__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.way {
  display: flex; flex-direction: column; gap: 18px; min-height: 380px;
  padding: 32px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 38, 63, 0.35), rgba(13, 23, 38, 0.15));
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.way__num {
  font-size: clamp(64px, 6vw, 96px); line-height: 0.85;
  color: transparent; -webkit-text-stroke: 1px var(--muted);
  transition: -webkit-text-stroke-color 0.3s;
}
.way__name { font-size: clamp(22px, 2vw, 30px); line-height: 1; margin-top: auto; }
.way__text { color: var(--text-2); max-width: 26em; }
.way__link { display: inline-flex; gap: 10px; color: var(--accent-soft); padding-top: 18px; border-top: 1px solid var(--line); }
.way__link span { transition: transform 0.25s; }
.way:hover { border-color: var(--accent); transform: translateY(-4px); }
.way:hover .way__num { -webkit-text-stroke-color: var(--accent-soft); }
.way:hover .way__link span { transform: translateX(4px); }
@media (max-width: 900px) {
  .ways__grid { grid-template-columns: minmax(0, 1fr); }
  .way { min-height: 0; padding: 28px 24px; }
  .way__name { margin-top: 12px; }
}

/* ---------- Founder (About page) ---------- */

.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: calc(var(--gap) * 1.5); align-items: start; }
.founder__photo { position: sticky; top: 32px; }
.founder__text { display: flex; flex-direction: column; gap: 18px; }
.founder__bio { display: flex; flex-direction: column; gap: 22px; margin-top: 18px; padding-top: 32px; border-top: 1px solid var(--line); }
.founder__meta { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.founder__meta p:last-child { font-size: clamp(18px, 1.5vw, 22px); }
@media (max-width: 760px) {
  .founder { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .founder__photo { position: static; }
}

/* ---------- Case study: social reels ---------- */

.reels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.reel { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.reel__media { display: block; aspect-ratio: 9 / 16; border: 1px solid var(--line); transition: border-color 0.3s; }
.reel__title { color: var(--text-2); white-space: normal; transition: color 0.2s; }
.reel:hover .reel__media { border-color: var(--accent); }
.reel:hover .reel__title { color: var(--accent-soft); }
.case-reels__wide { display: flex; flex-direction: column; gap: 12px; margin-top: calc(var(--gap) * 1.5); }
@media (max-width: 900px) {
  /* Swipeable row on phones and tablets */
  .reels {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .reels::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 58%; scroll-snap-align: start; }
}

.founder__link { margin-top: 14px; }

/* ---------- Client logo wall (About page) ---------- */

.clients--block ul:has(.client-logo) {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.clients--block li.client-logo {
  display: flex; align-items: center; justify-content: center;
  height: 150px; padding: 24px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.clients--block li.client-logo:hover { background: rgba(16, 38, 63, 0.35); }
.clients--block .client-logo img { height: 56px; max-width: 180px; }
@media (max-width: 760px) {
  .clients--block ul:has(.client-logo) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients--block li.client-logo { height: 110px; padding: 16px; }
  .clients--block .client-logo img { height: 32px; max-width: 110px; }
}
