:root {
  color-scheme: dark;
  --bg: #0f0e0b;
  --bg-soft: #181612;
  --bg-panel: #1e1b15;
  --ink: #f8f0df;
  --muted: rgba(248, 240, 223, 0.72);
  --subtle: rgba(248, 240, 223, 0.52);
  --line: rgba(248, 240, 223, 0.16);
  --amber: #e6ad58;
  --red: #b84535;
  --cyan: #7dc9c9;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --max: 1160px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 0%, rgba(125, 201, 201, 0.1), transparent 28rem),
    linear-gradient(180deg, rgba(15, 14, 11, 0.86), rgba(15, 14, 11, 0.99)),
    var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.has-lightbox {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(230, 173, 88, 0.22);
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

::selection {
  color: #120f0a;
  background: var(--amber);
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: calc(0.8rem + env(safe-area-inset-top));
  left: calc(0.8rem + env(safe-area-inset-left));
  z-index: 80;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: #120f0a;
  background: var(--amber);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(transparent 0, rgba(255, 255, 255, 0.06) 50%, transparent 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 0,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 5px
    );
  mix-blend-mode: screen;
}

.section {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: calc(1rem + env(safe-area-inset-top)) 0 1rem;
}

.page-topbar {
  background: rgba(15, 14, 11, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand,
.eyebrow,
.ticker-track,
.work-kicker,
.hero-meta,
.reel-notes,
.approach-item span,
.project-index,
.metric span,
.service-card span,
.focus-list span,
.contact-card span,
.footer {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.brand {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 14, 11, 0.45);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.nav-links a {
  padding: 0.58rem 0.78rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.76rem;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(248, 240, 223, 0.09);
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  isolation: isolate;
  background: #10100e;
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-video {
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 700ms ease;
}

body[data-video="ready"] .hero-video {
  opacity: 0.82;
}

body[data-video="missing"] .hero-video {
  opacity: 0.5;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 9, 7, 0.91) 0%, rgba(10, 9, 7, 0.66) 42%, rgba(10, 9, 7, 0.18) 74%),
    linear-gradient(180deg, rgba(10, 9, 7, 0.42) 0%, rgba(10, 9, 7, 0.1) 50%, rgba(10, 9, 7, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(82svh - 5.2rem);
  flex-direction: column;
  justify-content: center;
  padding: 2.6rem 0 4.4rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--amber);
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-title,
.page-title,
.section-heading h2,
.contact-cta h2,
.statement {
  margin: 0;
  font-family: "Syne", sans-serif;
  letter-spacing: 0;
}

.hero-title {
  max-width: 8ch;
  font-size: clamp(3.8rem, 10vw, 8.2rem);
  line-height: 0.92;
}

.hero-title span {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 600;
  color: rgba(248, 240, 223, 0.9);
}

.hero-lead,
.intro-copy p,
.work-caption p,
.approach-item p,
.contact-copy,
.page-lead-grid p,
.project-copy p,
.service-card p,
.bio-copy p,
.contact-card p {
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.15rem);
  line-height: 1.7;
}

.hero-lead {
  max-width: 40rem;
  margin: 1.45rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-width: 12.5rem;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  touch-action: manipulation;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #120f0a;
  background: linear-gradient(135deg, var(--amber), #f3d397);
  box-shadow: 0 16px 36px rgba(230, 173, 88, 0.22);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(248, 240, 223, 0.06);
}

.hero-meta {
  position: absolute;
  right: 2.1rem;
  bottom: 1.5rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  max-width: 40rem;
  color: rgba(248, 240, 223, 0.78);
  font-size: 0.7rem;
}

.hero-meta span {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 14, 11, 0.38);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.ticker {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #15130f;
}

.ticker-track {
  display: inline-block;
  white-space: nowrap;
  padding: 1rem 0;
  color: rgba(248, 240, 223, 0.78);
  font-size: 0.76rem;
  animation: ticker 30s linear infinite;
}

.split-section,
.work-preview,
.service-strip,
.package-section,
.process-section,
.work-filter-section,
.project-list,
.case-metrics,
.services-grid,
.statement-section,
.about-copy-grid,
.contact-board,
.brief-section {
  padding: 6rem 0;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2.4rem;
}

.section-heading h2,
.contact-cta h2 {
  max-width: 16ch;
  font-size: clamp(2.35rem, 4.8vw, 4.5rem);
  line-height: 0.98;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: end;
}

.intro-copy {
  padding-bottom: 0.5rem;
}

.intro-copy p {
  margin: 0;
}

.intro-copy dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
}

.intro-copy dt {
  margin-bottom: 0.45rem;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.intro-copy dd {
  margin: 0;
  color: rgba(248, 240, 223, 0.82);
  line-height: 1.55;
}

.choice-section {
  padding: 0 0 6rem;
}

.choice-section .section-kicker-row {
  align-items: end;
}

.choice-section h2 {
  max-width: 14ch;
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.choice-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.choice-card,
.proof-card {
  min-height: 15rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(125, 201, 201, 0.08), transparent 44%),
    rgba(248, 240, 223, 0.045);
}

.choice-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.choice-card:hover {
  border-color: rgba(230, 173, 88, 0.45);
  background:
    linear-gradient(135deg, rgba(230, 173, 88, 0.12), transparent 44%),
    rgba(248, 240, 223, 0.065);
  transform: translateY(-3px);
}

.choice-card--accent {
  color: #120f0a;
  background: linear-gradient(135deg, var(--amber), #f3d397);
}

.choice-card span,
.proof-card span {
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.choice-card--accent span {
  color: rgba(18, 15, 10, 0.68);
}

.choice-card h3,
.proof-card h3 {
  max-width: 12ch;
  margin: 2.2rem 0 0.8rem;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.choice-card p,
.proof-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.choice-card--accent p {
  color: rgba(18, 15, 10, 0.74);
}

.showreel {
  padding: 6rem 0;
  background:
    linear-gradient(135deg, rgba(184, 69, 53, 0.16), transparent 34%),
    linear-gradient(180deg, #171511 0%, #0f0e0b 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.showreel-inner {
  display: grid;
  grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1.28fr);
  gap: 2rem;
  align-items: end;
}

.showreel-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080806;
  box-shadow: var(--shadow);
}

.showreel-frame video {
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.reel-notes {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  color: rgba(248, 240, 223, 0.72);
  font-size: 0.68rem;
}

.reel-notes span {
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.section-kicker-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-kicker-row a {
  color: var(--cyan);
  font-weight: 700;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.work-card {
  position: relative;
  overflow: hidden;
  min-height: 37rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.work-card img {
  height: 100%;
  min-height: 37rem;
  object-fit: cover;
  transition: transform 500ms ease;
}

.work-card picture {
  display: block;
  height: 100%;
}

.work-card:hover img {
  transform: scale(1.045);
}

.image-open {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  min-height: 2.65rem;
  border: 1px solid rgba(248, 240, 223, 0.2);
  border-radius: 999px;
  padding: 0.62rem 0.85rem;
  color: var(--ink);
  background: rgba(15, 14, 11, 0.66);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.image-open:hover {
  border-color: rgba(230, 173, 88, 0.56);
  background: rgba(15, 14, 11, 0.82);
  transform: translateY(-2px);
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 14, 11, 0.02) 15%, rgba(15, 14, 11, 0.36) 48%, rgba(15, 14, 11, 0.92) 100%),
    linear-gradient(45deg, rgba(184, 69, 53, 0.18), transparent 42%);
}

.work-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 1.35rem;
}

.work-kicker {
  margin: 0 0 0.65rem;
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 700;
}

.work-caption h3,
.approach-item h3,
.service-card h2,
.project-copy h2,
.bio-copy h2 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  letter-spacing: 0;
  line-height: 1.05;
}

.work-caption p {
  margin: 0.75rem 0 1rem;
}

.work-caption span,
.project-copy li,
.service-card li {
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 700;
}

.clients-section {
  padding: 6rem 0;
  background:
    linear-gradient(90deg, rgba(125, 201, 201, 0.1), transparent 38%),
    #14120e;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f5efe2;
}

.client-logo-card {
  display: grid;
  min-height: 8.5rem;
  place-items: center;
  padding: 1.15rem;
  outline: 1px solid var(--line);
  outline-offset: -1px;
  background: #f5efe2;
}

.client-logo-card--dark {
  background: #15120d;
}

.client-logo-card img {
  display: block;
  width: min(100%, 13.5rem);
  height: auto;
  object-fit: contain;
}

.proof-grid {
  margin-top: 1.4rem;
}

.proof-card {
  min-height: 14rem;
}

.proof-card h3 {
  max-width: 14ch;
}

.service-pill-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
}

.service-pill-grid a {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: rgba(248, 240, 223, 0.84);
  background: rgba(248, 240, 223, 0.04);
  font-weight: 700;
  text-align: center;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.package-card {
  min-height: 26rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(184, 69, 53, 0.12), transparent 38%),
    rgba(248, 240, 223, 0.04);
}

.package-card--accent {
  border-color: rgba(230, 173, 88, 0.38);
  background:
    linear-gradient(135deg, rgba(230, 173, 88, 0.18), transparent 42%),
    rgba(248, 240, 223, 0.06);
}

.package-card span {
  display: inline-flex;
  margin-bottom: 5.5rem;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.package-card h2 {
  max-width: 10ch;
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.65rem, 2.8vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.package-card p {
  margin: 1rem 0 1.3rem;
  color: var(--muted);
  line-height: 1.6;
}

.package-card ul {
  display: grid;
  gap: 0.55rem;
}

.package-card li {
  padding: 0.65rem 0;
  border-top: 1px solid rgba(248, 240, 223, 0.12);
  color: rgba(248, 240, 223, 0.84);
  font-weight: 700;
}

.brief-builder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(230, 173, 88, 0.08), transparent 36%),
    rgba(248, 240, 223, 0.045);
}

.brief-builder label {
  display: grid;
  gap: 0.55rem;
}

.brief-builder label span {
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.brief-builder input,
.brief-builder select,
.brief-builder textarea {
  width: 100%;
  min-height: 3.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  color: var(--ink);
  background: rgba(15, 14, 11, 0.64);
  font: inherit;
  appearance: none;
}

.brief-builder textarea {
  min-height: 10rem;
  resize: vertical;
}

.brief-builder input::placeholder,
.brief-builder textarea::placeholder {
  color: rgba(248, 240, 223, 0.4);
}

.brief-builder input:focus,
.brief-builder select:focus,
.brief-builder textarea:focus {
  border-color: rgba(230, 173, 88, 0.72);
  outline: 0;
}

.brief-builder-wide,
.brief-builder-actions {
  grid-column: 1 / -1;
}

.brief-builder-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.brief-builder-actions p {
  max-width: 28rem;
  margin: 0;
  color: var(--subtle);
  font-size: 0.9rem;
  line-height: 1.55;
}

.contact-cta {
  padding: 6rem 0;
  background:
    linear-gradient(90deg, rgba(184, 69, 53, 0.12), transparent 34%),
    #171511;
}

.contact-cta.compact {
  border-top: 1px solid var(--line);
}

.contact-inner {
  max-width: 980px;
}

.contact-copy {
  max-width: 39rem;
  margin: 1.35rem 0 2rem;
}

.page-hero {
  padding: 7rem 0 4rem;
}

.page-title {
  max-width: 12ch;
  font-size: clamp(3.25rem, 8vw, 7.5rem);
  line-height: 0.92;
}

.page-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  max-width: 980px;
  margin-top: 2rem;
}

.page-lead-grid p {
  max-width: 42rem;
  margin: 0;
}

.work-filter-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: end;
  padding-top: 1rem;
}

.work-filter-section h2 {
  max-width: 13ch;
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.work-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.work-filter button {
  min-height: 2.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  color: var(--ink);
  background: rgba(248, 240, 223, 0.05);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.work-filter button:hover,
.work-filter button.is-active {
  border-color: rgba(230, 173, 88, 0.56);
  background: rgba(230, 173, 88, 0.14);
}

.work-filter button:hover {
  transform: translateY(-2px);
}

.project-list {
  display: grid;
  gap: 1rem;
}

.project-row {
  position: relative;
  display: grid;
  grid-template-columns: 4rem minmax(18rem, 0.8fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: stretch;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(248, 240, 223, 0.04);
}

.project-media {
  position: relative;
}

.project-index {
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 700;
}

.project-row img {
  height: 23rem;
  object-fit: cover;
  border-radius: 6px;
}

.project-row picture {
  display: block;
}

.project-row picture img {
  height: 23rem;
}

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 1rem 0.5rem 0;
}

.project-copy p {
  max-width: 38rem;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.35rem 0 0;
}

.project-facts div {
  min-height: 6rem;
  padding: 0.8rem;
  border: 1px solid rgba(248, 240, 223, 0.12);
  border-radius: 8px;
  background: rgba(15, 14, 11, 0.28);
}

.project-facts dt {
  margin-bottom: 0.45rem;
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.project-facts dd {
  margin: 0;
  color: rgba(248, 240, 223, 0.82);
  font-size: 0.92rem;
  line-height: 1.4;
}

.project-copy ul,
.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.project-copy li,
.service-card li {
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(125, 201, 201, 0.26);
  border-radius: 999px;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.metric {
  min-height: 11rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-panel);
}

.metric span {
  color: var(--amber);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: 0;
}

.metric p {
  max-width: 14rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 25rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(125, 201, 201, 0.09), transparent 36%),
    rgba(248, 240, 223, 0.04);
}

.service-card:nth-child(5) {
  grid-column: span 2;
  min-height: 18rem;
}

.service-card span {
  display: inline-flex;
  margin-bottom: 5rem;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 700;
}

.service-card p {
  max-width: 44rem;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.approach-item {
  min-height: 18rem;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
}

.approach-item:last-child {
  border-right: 0;
}

.approach-item span {
  display: inline-flex;
  margin-bottom: 4.5rem;
  color: var(--amber);
  font-size: 0.74rem;
  font-weight: 700;
}

.approach-item p {
  margin: 0.85rem 0 0;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.62fr);
  gap: 2rem;
  align-items: end;
}

.about-hero .eyebrow,
.about-hero .page-title {
  grid-column: 1;
}

.about-portrait {
  grid-column: 2;
  grid-row: 1 / span 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-portrait img {
  aspect-ratio: 4 / 5;
  height: 100%;
  object-fit: cover;
}

.about-portrait picture {
  display: block;
  height: 100%;
}

.statement {
  max-width: 15ch;
  font-size: clamp(2.9rem, 6.8vw, 6.7rem);
  line-height: 0.95;
}

.about-copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.65fr);
  gap: 2rem;
  align-items: start;
}

.bio-copy p {
  max-width: 44rem;
}

.focus-list {
  border-top: 1px solid var(--line);
}

.focus-list div {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.focus-list span {
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 700;
}

.focus-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-page-hero .page-title {
  max-width: 13ch;
}

.contact-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-card {
  min-height: 13rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-panel);
}

.contact-card span {
  display: inline-flex;
  margin-bottom: 4rem;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 700;
}

.contact-card a {
  display: block;
  color: var(--ink);
  font-family: "Syne", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.contact-card p {
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding:
    max(1rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 5, 4, 0.84);
  cursor: zoom-out;
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 64rem);
  max-height: calc(100svh - 2rem);
  gap: 0.9rem;
  padding: 0.85rem;
  border: 1px solid rgba(248, 240, 223, 0.16);
  border-radius: 8px;
  background: rgba(15, 14, 11, 0.94);
  box-shadow: var(--shadow);
}

.lightbox-panel img {
  max-height: min(74svh, 46rem);
  object-fit: contain;
  border-radius: 6px;
  background: #070706;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  min-height: 2.65rem;
  border: 1px solid rgba(248, 240, 223, 0.2);
  border-radius: 999px;
  padding: 0.62rem 0.85rem;
  color: var(--ink);
  background: rgba(15, 14, 11, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.lightbox-panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.copy-mail-button {
  min-height: 2.8rem;
  margin-top: 1.1rem;
  border: 1px solid rgba(125, 201, 201, 0.34);
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
  color: var(--ink);
  background: rgba(125, 201, 201, 0.08);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.copy-mail-button:hover,
.copy-mail-button.is-copied {
  border-color: rgba(230, 173, 88, 0.56);
  background: rgba(230, 173, 88, 0.14);
}

.copy-mail-button:hover {
  transform: translateY(-2px);
}

.copy-status {
  display: block;
  min-height: 1.2rem;
  margin-top: 0.6rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.5rem 0 2.2rem;
  color: var(--subtle);
  font-size: 0.68rem;
}

.footer a:last-child {
  justify-self: end;
}

.mobile-action-bar {
  display: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.js .topbar.reveal {
  opacity: 1;
  transform: none;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 0.15rem;
  }

  .nav-links a {
    padding-inline: 0.64rem;
  }
}

@media (max-width: 980px) {
  .split-section,
  .showreel-inner,
  .page-lead-grid,
  .work-filter-section,
  .about-hero,
  .about-copy-grid {
    grid-template-columns: 1fr;
  }

  .work-grid,
  .choice-grid,
  .package-grid,
  .proof-grid,
  .case-metrics,
  .contact-board,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(5) {
    grid-column: auto;
  }

  .project-row {
    grid-template-columns: 1fr;
  }

  .project-row img {
    height: 27rem;
  }

  .project-row picture img {
    height: 27rem;
  }

  .project-copy {
    padding: 0;
  }

  .work-filter {
    justify-content: flex-start;
  }

  .project-facts {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card img {
    min-height: 31rem;
  }

  .client-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-pill-grid,
  .brief-builder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reel-notes {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .approach-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .approach-item:last-child {
    border-bottom: 0;
  }

  .about-hero .eyebrow,
  .about-hero .page-title,
  .about-portrait {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .section,
  .footer {
    width: min(100% - 1.3rem, var(--max));
  }

  .topbar {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
    padding:
      calc(0.75rem + env(safe-area-inset-top))
      max(0.65rem, env(safe-area-inset-right))
      0.7rem
    max(0.65rem, env(safe-area-inset-left));
    background: rgba(15, 14, 11, 0.82);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
  }

  .brand {
    flex: 0 0 auto;
    max-width: 10.5rem;
    line-height: 1.1;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(10, 9, 7, 0.52) 0%, rgba(10, 9, 7, 0.44) 42%, rgba(10, 9, 7, 0.9) 100%),
      linear-gradient(90deg, rgba(10, 9, 7, 0.86), rgba(10, 9, 7, 0.26));
  }

  .nav-links {
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    border-radius: 999px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-width: max-content;
    min-height: 2.55rem;
    text-align: center;
    white-space: nowrap;
  }

  .hero-content {
    min-height: calc(88svh - 8.6rem);
    padding: 1.8rem 0 6.2rem;
  }

  .hero-title {
    font-size: clamp(3.2rem, 17vw, 5.8rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-meta {
    right: 0.65rem;
    bottom: 0.85rem;
    left: 0.65rem;
    justify-content: flex-start;
  }

  .split-section,
  .choice-section,
  .work-preview,
  .service-strip,
  .package-section,
  .process-section,
  .work-filter-section,
  .project-list,
  .case-metrics,
  .services-grid,
  .statement-section,
  .about-copy-grid,
  .contact-board,
  .brief-section,
  .showreel,
  .clients-section,
  .contact-cta {
    padding: 5rem 0;
  }

  .page-hero {
    padding: 5rem 0 3rem;
  }

  .page-title {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }

  .intro-copy dl,
  .reel-notes,
  .client-logo-grid,
  .service-pill-grid,
  .brief-builder {
    grid-template-columns: 1fr;
  }

  .brief-builder {
    padding: 0.75rem;
  }

  .brief-builder-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .work-card,
  .work-card img {
    min-height: 29rem;
  }

  .project-row img {
    height: 24rem;
  }

  .project-row picture img {
    height: 24rem;
  }

  .work-filter {
    overflow-x: auto;
    flex-wrap: nowrap;
    margin-inline: -0.65rem;
    padding-inline: 0.65rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .work-filter::-webkit-scrollbar {
    display: none;
  }

  .work-filter button {
    flex: 0 0 auto;
  }

  .image-open {
    top: 0.7rem;
    right: 0.7rem;
  }

  .lightbox {
    padding:
      max(0.65rem, env(safe-area-inset-top))
      max(0.65rem, env(safe-area-inset-right))
      max(0.65rem, env(safe-area-inset-bottom))
      max(0.65rem, env(safe-area-inset-left));
  }

  .lightbox-panel {
    max-height: calc(100svh - 1.3rem);
    padding: 0.65rem;
  }

  .lightbox-panel img {
    max-height: 72svh;
  }

  .lightbox-close {
    top: 0.85rem;
    right: 0.85rem;
  }

  .choice-card,
  .proof-card {
    min-height: 13rem;
  }

  .service-card span,
  .package-card span,
  .approach-item span,
  .contact-card span {
    margin-bottom: 3rem;
  }

  .package-card {
    min-height: 20rem;
  }

  .footer {
    grid-template-columns: 1fr;
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
  }

  .footer a:last-child {
    justify-self: start;
  }

  .mobile-action-bar {
    position: fixed;
    right: max(0.65rem, env(safe-area-inset-right));
    bottom: max(0.65rem, env(safe-area-inset-bottom));
    left: max(0.65rem, env(safe-area-inset-left));
    z-index: 60;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.45rem;
    padding: 0.45rem;
    border: 1px solid rgba(248, 240, 223, 0.18);
    border-radius: 999px;
    background: rgba(15, 14, 11, 0.82);
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.36);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }

  .mobile-action-bar a {
    display: inline-flex;
    min-height: 2.85rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    text-align: center;
  }

  .mobile-action-bar a:first-child {
    color: #120f0a;
    background: linear-gradient(135deg, var(--amber), #f3d397);
  }

  .mobile-action-bar a:last-child {
    min-width: 5.4rem;
    color: var(--ink);
    background: rgba(248, 240, 223, 0.08);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-data: reduce) {
  .site-grain {
    display: none;
  }

  .ticker-track {
    animation: none;
  }
}
