@font-face {
  font-family: "General Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/general-sans-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "General Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/general-sans-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #141413;
  --paper: #f3f0ea;
  --mute: #5c574f;
  --line: rgba(20, 20, 19, 0.16);
  --gutter: clamp(1.15rem, 3.4vw, 3.75rem);
  --header: 4.15rem;
  --coral: #d85758;
  --font: "General Sans", "Avenir Next", "Segoe UI", sans-serif;
  --btn-fg: var(--paper);
  color-scheme: light;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

::selection {
  background: var(--coral);
  color: #fff;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 80;
  background: #fff;
  color: var(--ink);
  padding: 0.55rem 0.8rem;
}

.skip:focus {
  top: 0.75rem;
}

h1, h2, h3, p {
  margin: 0;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.tab {
  position: fixed;
  top: 0;
  left: var(--gutter);
  z-index: 70;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  width: 96px;
  height: auto;
  padding: 16px 10px 14px;
  background: #d85758;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.2);
  line-height: 0;
}

.tab::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 8px;
  right: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.7);
}

.tab img {
  width: 100%;
  height: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: calc(var(--gutter) + 122px);
  padding-right: var(--gutter);
  color: #fff;
}

.wordmark {
  position: relative;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  text-decoration: none;
  line-height: 1;
}

.wordmark-name {
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.wordmark-role {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.site-header.is-scrolled:not(.is-solid) {
  background: rgba(12, 12, 12, 0.9);
  backdrop-filter: blur(12px);
}

.site-header.is-solid {
  color: var(--ink);
  background: var(--paper);
}

body.nav-open .site-header {
  color: #fff;
  background: transparent;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 60;
  background: none;
  border: 0;
  padding: 0;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  color: inherit;
  cursor: pointer;
  justify-content: center;
  align-items: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, background 0.2s ease;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -7px;
}

.nav-toggle-bars::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  gap: 1.35rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.98rem;
}

.site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(1.6rem, 3.5vh, 2.8rem);
  padding: calc(var(--header) + 1.5rem) var(--gutter) clamp(1.4rem, 3.5vh, 2.4rem);
  background: #0c0c0c;
  color: #fff;
  color-scheme: dark;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.56) 0%, rgba(10, 10, 12, 0.18) 32%, rgba(10, 10, 12, 0.68) 68%, rgba(10, 10, 12, 0.92) 100%),
    radial-gradient(circle at 18% 76%, rgba(10, 10, 12, 0.62), transparent 62%);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-body,
.hero-chapters {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.94;
  font-size: clamp(2.6rem, 7vw, 7.2rem);
  max-width: 11em;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.hero-sub {
  margin-top: clamp(0.55rem, 1.3vh, 0.95rem);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: #fff;
}

.hero-lead {
  max-width: 39rem;
  margin-top: 0.65rem;
  font-size: clamp(0.98rem, 1.25vw, 1.125rem);
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.9rem;
  margin-top: clamp(1.1rem, 2.4vh, 1.75rem);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.3rem;
  border-radius: 999px;
  border: 1px solid #fff;
  background: #fff;
  color: #141413;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.hero-cta:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.hero-cta--ghost {
  background: rgba(12, 12, 14, 0.38);
  border-color: rgba(255, 255, 255, 0.52);
  color: #fff;
  backdrop-filter: blur(6px);
}

.hero-cta--ghost:hover {
  background: #fff;
  border-color: #fff;
  color: #141413;
}

.hero-chapters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.4vw, 1.25rem);
  padding-top: 0.35rem;
}

.hero-chapter {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.58);
  padding: 0.2rem 0;
  transition: color 0.18s ease;
}

.hero-chapter:hover,
.hero-chapter.is-active {
  color: #fff;
}

.chapter-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.24);
  margin-bottom: 0.45rem;
  overflow: hidden;
}

.chapter-bar > span {
  display: block;
  height: 100%;
  width: 100%;
  background: #fff;
  transform-origin: left center;
  transform: scaleX(0);
}

.hero-chapter.is-active .chapter-bar > span {
  background: var(--coral);
}

.chapter-kind {
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.how-help,
.about {
  padding: clamp(4.5rem, 9vw, 7.5rem) var(--gutter);
}

.how-help {
  border-bottom: 1px solid var(--line);
}

.work-intro {
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 0.5rem;
}

.work-intro h2,
.how-help h2,
.about h2 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 0.98;
  font-weight: 400;
  max-width: 13em;
}

.help-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  margin-top: clamp(2.2rem, 4.5vw, 3.5rem);
}

.help-card {
  display: flex;
  flex-direction: column;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.help-num {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--coral);
  font-variant-numeric: tabular-nums;
}

.help-card h3 {
  margin-top: 0.45rem;
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 400;
}

.help-sub {
  margin-top: 0.55rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
}

.help-card p:last-child {
  margin-top: 0.85rem;
  color: var(--mute);
  line-height: 1.55;
}

.lede {
  max-width: 36rem;
  margin-top: 1rem;
  font-size: 1.15rem;
  color: var(--mute);
}

.work-bar {
  position: sticky;
  top: var(--header);
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--gutter) 0.75rem calc(var(--gutter) + 116px);
  background: rgba(243, 240, 234, 0.97);
  backdrop-filter: blur(14px);
}

.filters {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.filters::-webkit-scrollbar {
  display: none;
}

.lozenge,
.choice {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  font-size: 0.84rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.lozenge[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.count {
  margin: 0;
  font-size: 0.84rem;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.project {
  padding: clamp(1.25rem, 2.5vw, 2rem) var(--gutter) clamp(2.5rem, 5vw, 4rem);
  scroll-margin-top: var(--header);
  --btn-fg: #141413;
  --line: rgba(255, 255, 255, 0.28);
  color-scheme: dark;
}

.project .photo-slider {
  position: relative;
}

.project .slider-bar {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: calc(var(--slide-h) / 2);
  margin: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.project .slider-nav {
  width: 100%;
  justify-content: space-between;
  padding-inline: 0.9rem;
}

.project .slider-nav button {
  pointer-events: auto;
  width: 52px;
  height: 52px;
  border: 0;
  color: #fff;
  background: rgba(12, 12, 12, 0.42);
  backdrop-filter: blur(8px);
  transition: opacity 0.2s ease, background 0.2s ease;
}

.project .slider-nav button:hover:not(:disabled) {
  background: rgba(12, 12, 12, 0.7);
  color: #fff;
}

.project .slider-nav button:disabled {
  opacity: 0;
  pointer-events: none;
}

#how-i-help,
#work,
#about,
#contact {
  scroll-margin-top: calc(var(--header) + 0.4rem);
}

.project-knotnow { background: #101311; color: #f4f1ea; }
.project-howden { background: #0f2030; color: #f4f1ea; }
.project-welsh { background: #16241d; color: #f2f0e8; }
.project-hartog { background: #1d222b; color: #f5f2eb; }
.project-whodunnit { background: #1c1317; color: #f4efe8; }
.project-netley { background: #102833; color: #f3efe6; }
.project-cybaverse { background: #070709; color: #f6f4f0; }
.project-dutton { background: #1e2126; color: #f2efe9; }

.project-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem 1rem;
}

.num {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.26rem 0.58rem;
  font-size: 0.78rem;
}

.project h3 {
  margin: clamp(1rem, 2.2vw, 1.5rem) 0 clamp(0.65rem, 1.4vw, 1rem);
  line-height: 1;
  font-weight: 400;
}

.client-logo {
  display: block;
  width: auto;
  height: clamp(2.8rem, 4.4vw, 3.8rem);
  max-width: min(14.5rem, 62vw);
  object-fit: contain;
  object-position: left center;
}

.client-logo--wide {
  height: clamp(1.55rem, 2.5vw, 2.2rem);
  max-width: min(15.5rem, 66vw);
}

.client-logo--med {
  height: clamp(2.2rem, 3.5vw, 3.1rem);
  max-width: min(14.5rem, 64vw);
}

.client-logo--tall {
  height: clamp(3.5rem, 5.4vw, 4.6rem);
  max-width: min(9.5rem, 48vw);
}

.sell {
  max-width: 18em;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.015em;
  line-height: 1.25;
  opacity: 0.78;
}

.stage {
  margin-top: 0;
}

.project-info {
  margin-top: clamp(2.2rem, 4.5vw, 3.4rem);
  display: grid;
  gap: 1.4rem 3rem;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "logo"
    "story"
    "meta";
  align-items: start;
}

.project-info .project-head {
  display: contents;
}

.project-info h3 {
  grid-area: logo;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.project-info h3::before {
  content: "Client" / "";
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}

.project-info .client-logo {
  height: clamp(3.6rem, 6vw, 5.2rem);
  max-width: min(20rem, 70vw);
}

.project-info .client-logo--wide {
  height: clamp(2.2rem, 3.6vw, 3.1rem);
  max-width: min(22rem, 76vw);
}

.project-info .client-logo--med {
  height: clamp(3rem, 4.8vw, 4.2rem);
  max-width: min(20rem, 72vw);
}

.project-info .client-logo--tall {
  height: clamp(4.8rem, 7.6vw, 6.6rem);
  max-width: min(13rem, 56vw);
}

.project-info .story {
  grid-area: story;
  margin: 0;
}

.project-info .story p + p {
  margin-top: 0.6rem;
}

.project-info .project-meta {
  grid-area: meta;
  margin-top: 0.2rem;
}

@media (min-width: 800px) {
  .project-info {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas:
      "logo story"
      "logo meta";
  }

  .project-info h3 {
    align-self: stretch;
    align-items: center;
    justify-content: center;
  }

  .project-info .client-logo {
    object-position: center;
  }
}

.stage-stats {
  margin-top: clamp(2.4rem, 5vw, 3.75rem);
}

.stage-stats .stat-grid {
  margin-bottom: 0;
}

.story {
  max-width: 38rem;
  margin-top: clamp(1.4rem, 2.5vw, 2rem);
  font-size: 1.125rem;
  line-height: 1.5;
}

.story a {
  text-underline-offset: 0.18em;
}

.phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.6rem, 2vw, 1.35rem);
}

.phone {
  margin: 0;
  width: min(200px, 26vw);
}

.phone-lead {
  width: min(240px, 32vw);
}

.phone-screen {
  position: relative;
  aspect-ratio: 9 / 19.2;
  border-radius: 28px;
  border: 3px solid #050605;
  background: #171b18;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  padding: 2.4rem 0.85rem 0.9rem;
}

.island {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 34%;
  height: 14px;
  transform: translateX(-50%);
  background: #050605;
  border-radius: 20px;
}

.ui-title,
.ui-row,
.ui-card {
  border-radius: 6px;
  background: rgba(244, 241, 234, 0.14);
}

.ui-title {
  height: 18px;
  width: 58%;
  margin-bottom: 1rem;
  background: #e7f27a;
}

.ui-row {
  height: 34px;
  margin-bottom: 0.45rem;
}

.ui-row.short {
  width: 72%;
}

.screen-film {
  background:
    radial-gradient(circle at 50% 42%, rgba(231, 242, 122, 0.95), rgba(231, 242, 122, 0) 42%),
    #1a2014;
  display: grid;
  place-items: center;
  padding: 0;
}

.play {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: grid;
  place-items: center;
}

.play::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-left: 12px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.phone figcaption,
.slot-label {
  margin-top: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.66;
}

.film-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.film-wide {
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #1a2016;
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
  position: relative;
}

.film-wide .play {
  position: absolute;
  inset: 0;
  margin: auto;
}

.stat-grid {
  display: grid;
  gap: 2rem 3rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.stat-num {
  display: block;
  font-size: clamp(4.4rem, 12vw, 8.6rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.stat-label {
  display: block;
  margin-top: 0.45rem;
  max-width: 12em;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.stat + .stat {
  margin-top: 1.6rem;
}

.scope {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.16;
}

.slider-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.slider-count {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.slider-nav {
  display: flex;
  gap: 0.4rem;
}

.slider-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.slider-nav button:disabled {
  opacity: 0.28;
  cursor: default;
}

.slider-nav button:hover:not(:disabled) {
  background: currentColor;
  color: var(--btn-fg);
}

.slider-track {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, currentColor 35%, transparent) transparent;
}

.slide {
  margin: 0;
  flex: 0 0 auto;
  scroll-snap-align: center;
}

.photo-slider {
  --slide-h: min(74vh, 840px);
  margin-inline: calc(var(--gutter) * -1);
}

.photo-slider .slider-bar,
.photo-slider .slider-progress {
  margin-inline: var(--gutter);
}

.photo-slider .slider-track {
  padding-inline: var(--gutter);
}

.photo-slider .slide {
  height: var(--slide-h);
  width: auto;
  display: flex;
  align-items: center;
}

.photo-slider .slide.slide-mobile-only {
  display: none;
}

.photo-slider .slide img,
.photo-slider .slide video {
  height: 100%;
  width: auto;
  max-width: none;
  max-height: none;
}

/* Project work: one stage size for every slide — art can vary, the frame does not */
.project .photo-slider {
  --slide-h: min(78vh, 880px);
  --slide-w: min(92vw, calc(var(--slide-h) * 16 / 9));
}

.project .photo-slider .slide {
  position: relative;
  width: var(--slide-w);
  height: var(--slide-h);
  overflow: hidden;
  background: #0a0a0a;
}

.project .photo-slider .slide > img,
.project .photo-slider .slide > video,
.project .photo-slider .slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.project .photo-slider .slide > img,
.project .photo-slider .slide > video,
.project .photo-slider .slide picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--fx, 50%) 50%;
}

/* Portrait art in the landscape stage — show the whole frame, no crop */
.project .photo-slider .slide.slide-fit-contain > img,
.project .photo-slider .slide.slide-fit-contain picture img {
  object-fit: contain;
  object-position: center;
}

.project .photo-slider .slide-foil-live .foil-desktop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--fx, 50%) 50%;
}

/* Forecast studio still is mobile-only; desktop keeps the laptop frame */
.photo-slider .slide-foil-live .foil-mobile-forecast {
  display: none;
}

.photo-slider .slide-film {
  position: relative;
  cursor: pointer;
}

.photo-slider .slide-film video {
  display: block;
}

.photo-slider .slide-film.is-paused::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background:
    linear-gradient(transparent, transparent) padding-box,
    rgba(12, 12, 12, 0.62);
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.photo-slider .slide-film.is-paused::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 1;
  width: 0;
  height: 0;
  transform: translateX(3px);
  border-left: 15px solid #fff;
  border-top: 9.5px solid transparent;
  border-bottom: 9.5px solid transparent;
  pointer-events: none;
}

.spread {
  width: min(86vw, 920px);
  aspect-ratio: 16 / 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  color: #1a1916;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.spread::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 22px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.05), transparent);
  z-index: 1;
}

.page {
  padding: 8% 8% 7%;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.page .bar,
.page .line,
.page .block {
  background: #e6e1d8;
  border-radius: 2px;
}

.page .bar {
  height: 1.1rem;
  width: 72%;
  background: #1a1916;
}

.page .line {
  height: 0.45rem;
}

.page .line.short {
  width: 60%;
}

.page .block {
  flex: 1;
  min-height: 40%;
  background: #d9c7ae;
}

.page-cover {
  grid-column: 1 / -1;
  justify-content: flex-end;
  background:
    linear-gradient(160deg, #1a1916 0 46%, #f4f0e8 46% 100%);
  color: #f4f0e8;
}

.page-cover strong {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.95;
  color: #1a1916;
  margin-top: 18%;
}

.aside-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.mini {
  margin: 0;
  min-height: 150px;
  background: #ece7de;
  display: flex;
  align-items: flex-end;
  padding: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  gap: clamp(2.2rem, 4.5vw, 3.5rem);
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}

.about-grid > .slider {
  min-width: 0;
}

.about-columns {
  display: grid;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: start;
}

.about-copy {
  max-width: 38rem;
}

.about-lead {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.about-copy p + p {
  margin-top: 1rem;
}

.about-subhead {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 400;
}

.about-copy .about-subhead {
  margin-top: 2rem;
  margin-bottom: 0.55rem;
}

.about-cta-wrap {
  margin-top: 1.6rem !important;
}

.btn-ink {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
  transition: background 0.18s ease, color 0.18s ease;
}

.btn-ink:hover {
  background: var(--coral);
  color: #fff;
}

.about-aside {
  display: grid;
  gap: 2.2rem;
  max-width: 36rem;
}

.about-block {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.about-block p {
  margin-top: 0.65rem;
  color: var(--mute);
  line-height: 1.55;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
  display: grid;
  gap: 0.95rem;
}

.why-list li {
  color: var(--mute);
  line-height: 1.48;
}

.why-list strong {
  display: block;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.12rem;
}

.contact {
  background: #0c0c0c;
  color: #fff;
  color-scheme: dark;
  padding: clamp(4.5rem, 10vw, 8rem) var(--gutter) 2.5rem;
}

.contact h2 {
  font-size: clamp(2.35rem, 5.4vw, 4.75rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-weight: 400;
  max-width: 14em;
}

.contact .lede {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 1.15rem 0 1.35rem;
}

.direct {
  font-size: 1rem;
}

.direct--top {
  max-width: 40rem;
  margin: 0 0 2.2rem;
  color: rgba(255, 255, 255, 0.78);
}

.direct-sep {
  margin: 0 0.45rem;
  opacity: 0.55;
}

.direct a {
  color: #fff;
  text-underline-offset: 0.18em;
}

.contact-form {
  max-width: 40rem;
}

.form-recaptcha {
  margin: 0.4rem 0 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.35rem;
}

.field span,
.choices-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 0;
  padding: 0.7rem 0;
  font-size: 1.05rem;
}

.field textarea {
  border: 1px solid rgba(255, 255, 255, 0.38);
  padding: 0.75rem;
  min-height: 8.5rem;
  resize: vertical;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.55rem 0 1.4rem;
}

.choice {
  position: relative;
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.choice:has(input:checked) {
  background: #fff;
  color: #141413;
  border-color: #fff;
}

.choice:has(input:focus-visible) {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.submit {
  background: #fff;
  color: #141413;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  min-height: 48px;
  cursor: pointer;
}

.submit:hover {
  background: var(--coral);
  color: #fff;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  flex-wrap: wrap;
  padding: 0.4rem var(--gutter) 1.6rem;
  background: #0c0c0c;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.slider-progress {
  height: 1px;
  margin-top: 0.85rem;
  background: color-mix(in srgb, currentColor 25%, transparent);
}

.slider-progress span {
  display: block;
  height: 100%;
  background: currentColor;
  transform-origin: left center;
  transform: scaleX(0.06);
}

@media (min-width: 800px) {
  .stat-grid {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: end;
  }

  .about-columns {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

@media (min-width: 900px) {
  .filters {
    flex-wrap: wrap;
    overflow: visible;
  }

  .help-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.6rem);
    line-height: 1;
  }

  /* New mobile reel is already art-directed 9:16 with breathing room — don't punch-in */
  .hero-video {
    object-fit: cover;
    object-position: center center;
  }

  .hero-chapters {
    display: none;
  }
}

@media (max-width: 820px) {
  .tab {
    width: 84px;
    padding: 14px 8px 12px;
  }

  .site-header {
    padding-left: calc(var(--gutter) + 108px);
  }

  .work-bar {
    padding-left: calc(var(--gutter) + 100px);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 45;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0.15rem;
    padding: calc(var(--header) + 0.5rem) var(--gutter) 2.4rem;
    background: #0c0c0c;
    color: #fff;
    transform: translateY(-102%);
    visibility: hidden;
  }

  .site-nav.is-open {
    transform: none;
    visibility: visible;
  }

  .site-nav a {
    font-size: clamp(2.5rem, 12vw, 4rem);
    letter-spacing: -0.02em;
    line-height: 1.05;
    text-decoration: none;
  }
}

@media (max-width: 720px) {
  .phones {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.4rem;
  }

  .phone,
  .phone-lead {
    width: 196px;
    flex: 0 0 auto;
    scroll-snap-align: center;
  }

  .phone-lead {
    width: 220px;
  }

  .film-row,
  .aside-row,
  .photo-slots {
    grid-template-columns: 1fr;
  }

  .work-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .photo-slider {
    --slide-h: 60vw;
  }

  .about .photo-slider {
    --slide-h: 92vw;
  }

  .photo-slider .slide {
    justify-content: center;
  }

  .photo-slider .slide img,
  .photo-slider .slide video {
    max-width: 86vw;
    object-fit: contain;
  }

  .slider-track {
    scrollbar-width: none;
  }

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

  /* Every project slide shares one 2:3 stage on mobile — no height jumping */
  .project .photo-slider {
    --slide-w: calc(100vw - 1.1rem);
    --slide-h: calc((100vw - 1.1rem) * 1.5);
  }

  .project .photo-slider .slide {
    position: relative;
    width: var(--slide-w);
    height: var(--slide-h);
    overflow: hidden;
    background: #0a0a0a;
  }

  .project .photo-slider .slide > img,
  .project .photo-slider .slide > video,
  .project .photo-slider .slide picture,
  .project .photo-slider .slide picture img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: var(--fx, 50%) 50%;
  }

  .project .photo-slider .slider-track {
    padding-inline: 0.55rem;
  }

  .project .photo-slider .slide.slide-hide-mobile {
    display: none;
  }

  .project .photo-slider .slide.slide-mobile-only {
    display: flex;
  }

  .project .photo-slider .slide[data-mobile="extract"] img,
  .project .photo-slider .slide[data-mobile="stack"] img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .project .photo-slider .slide[data-mobile="pan"] img {
    position: absolute;
    left: 0;
    top: 0;
    width: auto;
    height: 100%;
    max-width: none;
    /* --pan-start skips empty wall; 0 = far left, 1 = fully on the right */
    transform: translate3d(calc(-1 * var(--pan-x, 0px) * var(--pan-start, 0)), 0, 0);
    will-change: transform;
  }

  .project .photo-slider .slide[data-mobile="pan"].is-panning img {
    animation: mobile-pan var(--pan-duration, 7s) cubic-bezier(0.22, 0.7, 0.28, 1) infinite alternate;
  }

  @keyframes mobile-pan {
    from {
      transform: translate3d(calc(-1 * var(--pan-x, 0px) * var(--pan-start, 0)), 0, 0);
    }
    to {
      transform: translate3d(calc(-1 * var(--pan-x, 0px)), 0, 0);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .project .photo-slider .slide[data-mobile="pan"].is-panning img {
      animation: none;
    }
  }

  /* KnotNow: mobile shows forecast studio; desktop keeps laptop still */
  .project .photo-slider .slide-foil-live[data-mobile="stack"] .foil-desktop {
    display: none;
  }

  .project .photo-slider .slide-foil-live[data-mobile="stack"] .foil-mobile-forecast {
    display: block;
    position: absolute;
    inset: 0;
    margin: 0;
  }

  .project .photo-slider .slide-foil-live[data-mobile="stack"] .foil-mobile-forecast img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .project .slider-bar {
    top: calc(50% - 0.6rem);
  }

  .project .slider-nav {
    padding-inline: 0.45rem;
  }

  .project .slider-nav button {
    width: 40px;
    height: 40px;
  }

  .project-info .tags {
    justify-content: flex-start;
  }

  .project-info h3 {
    align-items: center;
    padding-block: 0.4rem 0.6rem;
  }

  .project-info .client-logo {
    object-position: center;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(10, 10, 12, 0.5) 0%, rgba(10, 10, 12, 0) 22%, rgba(10, 10, 12, 0) 40%, rgba(10, 10, 12, 0.72) 62%, rgba(10, 10, 12, 0.94) 100%);
  }

  .wordmark-name {
    font-size: 1.3rem;
  }

  .wordmark-role {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .work-bar,
  .nav-toggle,
  .slider-nav,
  .skip {
    display: none !important;
  }

  .project,
  .hero,
  .contact,
  .footer {
    break-inside: avoid;
  }
}
