/* ============================================================
   Artifact Interactive — one-page site
   Brand: Ink #111111 · Stone #F4F4F4 · Steel #6B6B6B
          Blush #FFC9C4 · Accent #FF2D72
   Fonts: DM Sans (display) · Space Grotesk (body)
   ============================================================ */

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

:root {
  --ink: #111111;
  --ink-soft: #1a1a1a;
  --stone: #f4f4f4;
  --steel: #6b6b6b;
  --steel-soft: #8e8e8e;
  --blush: #ffc9c4;
  --accent: #ff2d72;
  --accent-soft: rgba(255, 45, 114, 0.12);
  --page-padding: clamp(1.25rem, 3vw, 3.5rem);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-media: 4px; /* sharp, architectural corners for images + video */
  --shadow-card: 0 22px 60px rgba(17, 17, 17, 0.08);
  --shadow-pop: 0 30px 90px rgba(17, 17, 17, 0.12);
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
  --easing-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #fff;
  color: var(--ink);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

/* -------------------- Layout -------------------- */
.container {
  width: min(1280px, 100% - 2 * var(--page-padding));
  margin: 0 auto;
}

.section {
  padding: clamp(5rem, 9vw, 9rem) 0;
  position: relative;
}

/* -------------------- Custom cursor -------------------- */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--easing), height 0.25s var(--easing),
    background-color 0.25s var(--easing), opacity 0.25s var(--easing);
  mix-blend-mode: difference;
}
.cursor {
  width: 32px;
  height: 32px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  opacity: 0;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
}
body.cursor-ready .cursor,
body.cursor-ready .cursor-dot {
  opacity: 1;
}
body.cursor-hover .cursor {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.05);
}
@media (hover: none), (max-width: 900px) {
  .cursor,
  .cursor-dot {
    display: none;
  }
}

/* -------------------- Page loader -------------------- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transition: opacity 0.6s var(--easing), visibility 0s linear 0.7s;
}
.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
}
.page-loader__inner {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.page-loader__mark {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.4s var(--easing) infinite;
}
.page-loader__text em {
  font-style: italic;
  font-weight: 400;
  color: var(--blush);
}
.page-loader__bar {
  width: 220px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  border-radius: 2px;
}
.page-loader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  animation: load 1.6s var(--easing) forwards;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.7); opacity: 0.6; }
}
@keyframes load {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* -------------------- Header / nav -------------------- */
.page-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.6rem 0;
  transition: background-color 0.4s var(--easing),
    box-shadow 0.4s var(--easing), padding 0.4s var(--easing);
}
.page-header.is-stuck {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0;
  color: #fff;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: inline-flex;
  gap: 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: #fff;
  transition: color 0.4s var(--easing);
}
.page-header.is-stuck .nav-links {
  color: #fff;
}
.nav-links a {
  position: relative;
  text-decoration: none;
  padding: 0.4rem 0;
  overflow: hidden;
  display: inline-block;
}
.nav-links a span {
  display: inline-block;
  transition: transform 0.45s var(--easing);
}
.nav-links a::before {
  content: attr(data-hover, '');
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.1rem;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s var(--easing);
}
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.nav-links a:hover span {
  transform: translateY(-2px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(255, 45, 114, 0.25);
  transition: transform 0.35s var(--easing), background-color 0.35s var(--easing),
    box-shadow 0.35s var(--easing);
}
.nav-cta:hover {
  transform: translateY(-2px);
  background: #ff1764;
  box-shadow: 0 14px 32px rgba(255, 45, 114, 0.35);
}
.nav-cta svg {
  transition: transform 0.35s var(--easing);
}
.nav-cta:hover svg {
  transform: translateX(3px);
}

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* -------------------- Hero -------------------- */
.hero {
  padding-top: clamp(7rem, 14vw, 11rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
  background: #0b0b0b;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60vmax;
  height: 60vmax;
  background: radial-gradient(circle at center, rgba(255, 45, 114, 0.28) 0%, rgba(255, 45, 114, 0) 60%);
  filter: blur(30px);
  z-index: 0;
  opacity: 0.9;
  animation: float 14s ease-in-out infinite;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -10%;
  width: 45vmax;
  height: 45vmax;
  background: radial-gradient(circle at center, rgba(255, 201, 196, 0.18) 0%, rgba(255, 201, 196, 0) 65%);
  filter: blur(50px);
  z-index: 0;
  animation: float 18s ease-in-out infinite reverse;
  pointer-events: none;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-3%, 4%); }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4vw, 3rem);
  min-width: 0;
}
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-media);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s var(--easing), transform 1.6s var(--easing);
}
.hero-video.is-loaded {
  opacity: 1;
  transform: scale(1);
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(11, 11, 11, 0.55), transparent);
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    aspect-ratio: 16 / 11;
  }
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow-dot {
  display: none;
}

.hero-heading {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5.4vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0;
  color: #fff;
}
.hero-heading .line {
  display: block;
  overflow: hidden;
}
.hero-heading .line.italic {
  font-style: italic;
  font-weight: 400;
  color: var(--blush);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.reveal-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.reveal-word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.05s var(--easing);
}
.is-revealed .reveal-word > span,
.reveal-word.is-in > span {
  transform: translateY(0);
}

/* Sit visually above the background gradients */
.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-foot {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  align-items: flex-start;
  padding-top: clamp(1rem, 3vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-lede {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 36rem;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--easing), background-color 0.35s var(--easing),
    color 0.35s var(--easing), box-shadow 0.35s var(--easing), border-color 0.35s var(--easing);
}
.btn svg {
  transition: transform 0.35s var(--easing);
}
.btn:hover svg {
  transform: translateX(4px);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px rgba(255, 45, 114, 0.28);
}
.btn-primary:hover {
  background: #ff1764;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(255, 45, 114, 0.38);
}
.btn-primary:active {
  background: #d9145a;
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(255, 45, 114, 0.32);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-secondary:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  transform: translateY(-2px);
}

.hero-location {
  text-align: right;
}

.hero-scroll {
  position: absolute;
  right: var(--page-padding);
  bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--steel);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (max-width: 760px) {
  .hero-foot {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    justify-content: flex-start;
  }
  .hero-scroll { display: none; }
}

/* -------------------- Marquee -------------------- */
.marquee {
  background: var(--ink);
  color: #fff;
  padding: 1.6rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  font-style: italic;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  animation: marquee 38s linear infinite;
}
.marquee-track .dot {
  color: var(--accent);
  font-size: 0.7em;
  transform: translateY(-0.1em);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* -------------------- Intro -------------------- */
.intro {
  background: #fff;
}
.intro-grid {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.intro-label {
  position: sticky;
  top: 7rem;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'DM Sans', sans-serif;
  font-size: calc(0.78rem + 5px);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--steel);
}
.tag-dot {
  display: none;
}

.intro-heading {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(1.85rem, 3.8vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 1rem 0 1.5rem;
  color: var(--ink);
}
.intro-heading em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.intro-copy {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--steel);
  max-width: 38rem;
}

/* Reveal lines for sections (split per line) */
.reveal-line {
  display: block;
  overflow: hidden;
}
.reveal-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--easing);
}
.reveal-line.is-in > span {
  transform: translateY(0);
}

/* generic reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--easing), transform 0.9s var(--easing);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-label { position: relative; top: auto; }
}

/* -------------------- Section heads -------------------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.section-heading {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
}

/* -------------------- Services -------------------- */
.services {
  background: #fff;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
  position: relative;
  cursor: default;
  transition: padding 0.4s var(--easing);
}
.service-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.55s var(--easing);
  z-index: 0;
  pointer-events: none;
}
.service-row > * {
  position: relative;
  z-index: 1;
}
.service-row:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}
.service-row:hover {
  padding-left: clamp(0.75rem, 2vw, 1.5rem);
  padding-right: clamp(0.75rem, 2vw, 1.5rem);
  color: #fff;
}
.service-row:hover .service-row__num,
.service-row:hover .service-row__title,
.service-row:hover .service-row__desc,
.service-row:hover .service-row__tags li {
  color: #fff;
}
.service-row:hover .service-row__tags li {
  border-color: rgba(255, 255, 255, 0.25);
  background: transparent;
}
.service-row__num {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--steel);
  transition: color 0.35s var(--easing);
}
.service-row__title {
  margin: 0 0 0.4rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.35s var(--easing);
}
.service-row__desc {
  margin: 0;
  color: var(--steel);
  max-width: 36rem;
  transition: color 0.35s var(--easing);
}
.service-row__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.service-row__tags li {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.2);
  color: var(--steel);
  transition: color 0.35s var(--easing), border-color 0.35s var(--easing);
}

.reveal-row {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--easing), transform 1s var(--easing);
}
.reveal-row.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 760px) {
  .service-row {
    grid-template-columns: 60px 1fr;
  }
  .service-row__tags {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-left: 60px;
  }
}

/* -------------------- Work -------------------- */
.work {
  background: var(--stone);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: clamp(40px, 4vw, 64px);
  row-gap: clamp(80px, 7vw, 120px);
}
.project-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}
.project-card--wide {
  grid-column: span 6;
}
.project-card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--media-bg, #0e0e0e);
  aspect-ratio: 4 / 3;
}
.project-card--wide .project-card__media {
  aspect-ratio: 3 / 2;
}
.project-card__media img,
.project-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1s var(--easing), transform 1.6s var(--easing);
  filter: saturate(1.05) contrast(1.02);
}
.project-card__media img.is-loaded,
.project-card__media video.is-loaded {
  opacity: 1;
  transform: scale(1);
}
.project-card:hover .project-card__media img.is-loaded,
.project-card:hover .project-card__media video.is-loaded {
  transform: scale(1.05);
}

/* Contained variant — full composition with breathing room inside a colored frame */
.project-card__media--contain {
  padding: 0;
}
.project-card__media--contain img {
  object-fit: contain;
  transform: scale(0.98);
}
.project-card__media--contain img.is-loaded {
  transform: scale(1);
}
.project-card:hover .project-card__media--contain img.is-loaded {
  transform: scale(1.03);
}

/* Subtle bottom gradient on cover photos so they feel finished */
.project-card__media:not(.project-card__media--contain)::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent);
  opacity: 0.65;
  pointer-events: none;
  z-index: 1;
}
.project-card__media--video::after {
  display: none;
}
.project-card__hover {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.5rem 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--easing), transform 0.4s var(--easing);
}
.project-card:hover .project-card__hover {
  opacity: 1;
  transform: none;
}

.project-card__meta {
  display: flex;
  justify-content: space-between;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--steel);
  margin-top: 0.3rem;
}
.project-card__title {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.project-card__copy {
  margin: 0;
  color: var(--steel);
  font-size: 0.98rem;
}
.project-card__tags {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.project-card__tags li {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.05);
  color: var(--ink);
}

.reveal-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--easing), transform 1s var(--easing);
}
.reveal-card.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card,
  .project-card--wide { grid-column: span 1; }
  .project-card--wide .project-card__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .project-grid { grid-template-columns: 1fr; }
}

/* -------------------- Approach -------------------- */
.approach {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.approach::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 40vmax;
  height: 40vmax;
  background: radial-gradient(circle, rgba(255, 45, 114, 0.18), transparent 65%);
  filter: blur(40px);
  z-index: 0;
}
.approach .container { position: relative; z-index: 1; }
.approach .section-tag,
.approach .section-heading {
  color: #fff;
}
.approach .section-tag {
  color: var(--blush);
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.approach-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-media);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.5s var(--easing), background-color 0.5s var(--easing),
    border-color 0.5s var(--easing);
}
.approach-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 201, 196, 0.35);
}
.approach-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.approach-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0;
  letter-spacing: -0.02em;
}
.approach-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}
@media (max-width: 900px) {
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .approach-grid { grid-template-columns: 1fr; }
}

/* -------------------- Stats -------------------- */
.stats {
  background: #fff;
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  border-top: 1px solid rgba(17, 17, 17, 0.1);
  padding-top: clamp(2rem, 4vw, 4rem);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.stat__num {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: inline-block;
}
.stat__suffix {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--accent);
  font-weight: 700;
  vertical-align: super;
}
.stat p {
  margin: 0.5rem 0 0;
  color: var(--steel);
  max-width: 18rem;
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* -------------------- Quote -------------------- */
.quote-block {
  background: var(--stone);
}
.quote {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 56rem;
  color: var(--ink);
}
.quote-attr {
  margin-top: 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--steel);
  letter-spacing: 0.04em;
}

/* -------------------- Contact -------------------- */
.contact {
  background: var(--ink);
  color: #fff;
  padding-top: clamp(5rem, 9vw, 8rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 60vmax;
  height: 60vmax;
  background: radial-gradient(circle, rgba(255, 45, 114, 0.2), transparent 65%);
  filter: blur(40px);
  z-index: 0;
}
.contact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact .section-tag {
  color: var(--blush);
}
.contact-heading {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0;
}
.contact-heading em {
  font-style: italic;
  font-weight: 400;
  color: var(--blush);
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  align-self: flex-start;
  padding: 1.2rem 1.8rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  box-shadow: 0 18px 50px rgba(255, 45, 114, 0.35);
  transition: transform 0.4s var(--easing), background-color 0.4s var(--easing),
    box-shadow 0.4s var(--easing);
  margin-top: 1.5rem;
}
.contact-email:hover {
  transform: translateY(-3px);
  background: #ff1764;
  box-shadow: 0 22px 60px rgba(255, 45, 114, 0.5);
}
.contact-email svg {
  transition: transform 0.4s var(--easing);
}
.contact-email:hover svg {
  transform: translateX(5px);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 3rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-block__label {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.6rem;
}
.contact-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}
.contact-block a {
  color: var(--blush);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--easing);
}
.contact-block a:hover {
  border-bottom-color: var(--blush);
}
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* -------------------- Footer -------------------- */
.page-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.5);
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.page-footer__inner {
  display: flex;
  justify-content: space-between;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* -------------------- Case study page -------------------- */
.case-hero {
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
}
.case-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--steel);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.3s var(--easing), transform 0.3s var(--easing);
}
.case-back:hover {
  color: var(--ink);
  transform: translateX(-3px);
}
.case-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 1.25rem 0 0;
}
.case-title .reveal-line.italic > span {
  font-style: italic;
  font-weight: 400;
  color: var(--steel);
}
.case-lede {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--steel);
  max-width: 56ch;
  margin: 2rem 0 0;
}
.case-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 3rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}
.case-meta dt {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel-soft);
  margin-bottom: 0.45rem;
}
.case-meta dd {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.98rem;
  color: var(--ink);
}
@media (max-width: 760px) {
  .case-meta { grid-template-columns: repeat(2, 1fr); }
}

.case-feature {
  padding: clamp(2rem, 4vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}
.case-feature__media {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: #0e0e0e;
  box-shadow: var(--shadow-pop);
}
.case-video,
.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s var(--easing), transform 1.6s var(--easing);
}
.case-video.is-loaded,
.case-img.is-loaded {
  opacity: 1;
  transform: scale(1);
}
.case-feature__media--contain {
  aspect-ratio: 16 / 10;
  background: var(--stone);
  padding: clamp(1.5rem, 4vw, 3rem);
}
.case-feature__media--contain .case-img {
  object-fit: contain;
}
.case-caption {
  margin: 1.25rem 0 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--steel);
}

.case-pillars .pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.pillar {
  padding: 2rem;
  background: var(--stone);
  border-radius: var(--radius-media);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.5s var(--easing), box-shadow 0.5s var(--easing);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.pillar__num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.pillar h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  margin: 0;
  letter-spacing: -0.01em;
}
.pillar p {
  margin: 0;
  color: var(--steel);
  font-size: 0.98rem;
}
@media (max-width: 880px) {
  .case-pillars .pillar-grid { grid-template-columns: 1fr; }
}

.case-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.case-story__copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.case-story__heading {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}
.case-story__heading .reveal-line.italic > span {
  font-style: italic;
  font-weight: 400;
  color: var(--steel);
}
.case-story__copy p {
  color: var(--steel);
  font-size: 1.02rem;
  margin: 0;
}
.case-story__media {
  position: relative;
  overflow: hidden;
  background: var(--stone);
  box-shadow: var(--shadow-card);
  margin: 0;
}
.case-story__media img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s var(--easing), transform 1.6s var(--easing);
}
.case-story__media img.is-loaded {
  opacity: 1;
  transform: scale(1);
}
.case-story__media figcaption {
  padding: 1rem 1.25rem 1.25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--steel);
  background: #fff;
}
@media (max-width: 880px) {
  .case-story__grid { grid-template-columns: 1fr; }
}

.highlight-list {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}
.highlight {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  align-items: baseline;
}
.highlight__num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.highlight h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}
.highlight p {
  margin: 0;
  color: var(--steel);
  font-size: 0.98rem;
}
@media (max-width: 600px) {
  .highlight { grid-template-columns: 1fr; gap: 0.4rem; }
}

.case-cta {
  background: var(--stone);
}
.case-cta .btn-secondary {
  color: var(--ink);
  border-color: rgba(17, 17, 17, 0.4);
}
.case-cta .btn-secondary:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.case-cta__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}
.case-cta__heading {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 22ch;
}

.project-card-link {
  display: contents;
}

/* -------------------- Reduced motion -------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal-word > span,
  .reveal-line > span {
    transform: none !important;
  }
  .reveal,
  .reveal-card,
  .reveal-row {
    opacity: 1 !important;
    transform: none !important;
  }
  .marquee-track {
    animation-duration: 60s !important;
    animation-iteration-count: infinite !important;
  }
}

/* -------------------- Insights (blog) -------------------- */
.insights-hero {
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(2rem, 4vw, 3.5rem);
}
.insights-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 1.25rem 0 0;
}
.insights-title .reveal-line.italic > span {
  font-style: italic;
  font-weight: 400;
  color: var(--steel);
}
.insights-lede {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--steel);
  max-width: 56ch;
  margin: 2rem 0 0;
}
.insights-list {
  padding-top: clamp(1rem, 3vw, 2rem);
}
.insights-state {
  grid-column: 1 / -1;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--steel);
  font-size: 1.05rem;
}
.insights-state a {
  color: var(--accent);
}

/* Blank/placeholder media when a post has no lead image */
.post-card__media--blank {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #161616, #2a2a2a);
}
.post-card__mark {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.18);
}

/* -------------------- Single post (reader) -------------------- */
.post-hero {
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}
.post-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--steel);
  margin: 1.5rem 0 0;
}
.post-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0.75rem 0 0;
  max-width: 20ch;
}
.post-tags {
  margin-top: 1.5rem;
}

.post-article {
  max-width: 68ch;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.post-article > *:first-child {
  margin-top: 0;
}
.post-article p {
  margin: 0 0 1.5rem;
}
.post-article h1,
.post-article h2,
.post-article h3,
.post-article h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 2.75rem 0 1rem;
}
.post-article h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.post-article h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.post-article h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.post-article h4 { font-size: 1.2rem; }
.post-article a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-article strong { font-weight: 700; color: var(--ink); }
.post-article em { font-style: italic; }
.post-article ul,
.post-article ol {
  margin: 0 0 1.5rem;
  padding-left: 1.4rem;
}
.post-article li { margin: 0 0 0.6rem; }
.post-article blockquote {
  margin: 2rem 0;
  padding: 0.5rem 0 0.5rem 1.5rem;
  border-left: 3px solid var(--accent);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
}
.post-article figure {
  margin: 2.5rem 0;
}
.post-article img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-media);
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.9s var(--easing), transform 1.4s var(--easing);
}
.post-article img.is-loaded {
  opacity: 1;
  transform: none;
}
.post-article figcaption {
  margin-top: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--steel);
  text-align: center;
}
.post-article pre {
  background: var(--ink);
  color: #f4f4f4;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.post-article code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
}
.post-article hr {
  border: none;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  margin: 2.5rem 0;
}

.post-source {
  max-width: 68ch;
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  font-family: 'DM Sans', sans-serif;
}
.post-source a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.post-source a:hover {
  text-decoration: underline;
}
.post-cta {
  margin: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem);
}

/* ==========================================================
   Phase 0 additions — a11y skip link + Insights card grid
   ========================================================== */

/* Accessible skip link (hidden until focused) */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -120%);
  z-index: 2000;
  background: var(--ink);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: transform 0.2s var(--easing-soft);
}
.skip-link:focus {
  transform: translate(-50%, 0);
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Insights listing grid */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.insight-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius-media);
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.35s var(--easing), box-shadow 0.35s var(--easing),
    border-color 0.35s var(--easing);
}
.insight-card:hover,
.insight-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(17, 17, 17, 0.2);
}
.insight-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel);
}
.insight-card__title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}
.insight-card__excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--steel);
  margin: 0;
  flex: 1;
}
.insight-card__more {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

/* Clear focus states for keyboard users across interactive elements */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==========================================================
   Phase 1 — Conversion & trust
   ========================================================== */

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

/* Honeypot — visually + a11y hidden, still submitted */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* -------------------- Standardized CTA band -------------------- */
.cta-band {
  background: var(--ink);
  color: #fff;
}
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.cta-band__copy { max-width: 34ch; }
.cta-band .section-tag { color: rgba(255, 255, 255, 0.7); }
.cta-band .tag-dot { background: var(--accent); }
.cta-band__heading {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 1rem 0 0;
}
.cta-band__sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 1rem 0 0;
}
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.cta-band .btn-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.cta-band .btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* -------------------- Trust / credibility -------------------- */
.trust-lede {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.6;
  color: var(--ink);
  max-width: 60ch;
  margin: 1.75rem 0 0;
}
.sector-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 2rem 0 0;
}
.sector-list li {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 999px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
}
.testimonial {
  margin: 0;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border-radius: var(--radius-media);
  background: var(--stone);
}
.testimonial blockquote {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.testimonial figcaption { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.15rem; }
.testimonial__role { font-weight: 500; }
.testimonial__sector { color: var(--steel); font-size: 0.9rem; }

/* -------------------- Sticky mobile CTA -------------------- */
.sticky-cta {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(255, 45, 114, 0.35);
}
@media (max-width: 760px) {
  .sticky-cta { display: flex; }
  main { padding-bottom: 5rem; } /* room so content isn't hidden behind bar */
}

/* -------------------- Contact page -------------------- */
.contact-layout { padding-top: clamp(1rem, 3vw, 2rem); }
.contact-layout__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-aside { display: flex; flex-direction: column; gap: 2.5rem; }
.contact-aside__title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
.contact-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.contact-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  color: var(--steel);
  line-height: 1.5;
}
.contact-steps li span {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: var(--ink);
}
.contact-aside__email {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
}
.contact-aside__muted { color: var(--steel); font-size: 0.95rem; }

.contact-form-wrap {
  background: var(--stone);
  border-radius: var(--radius-media);
  padding: clamp(1.5rem, 3vw, 2.75rem);
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
}
.field .req { color: var(--accent); }
.field .optional { color: var(--steel); font-weight: 400; }
.field input,
.field select,
.field textarea {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(17, 17, 17, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.2s var(--easing-soft), box-shadow 0.2s var(--easing-soft);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}
.field input.is-invalid,
.field textarea.is-invalid { border-color: #c1121f; }
.field-error {
  color: #c1121f;
  font-size: 0.85rem;
  margin: 0;
  min-height: 1rem;
}
.contact-submit { align-self: flex-start; margin-top: 0.5rem; }
.contact-submit:disabled { opacity: 0.6; cursor: progress; }
.form-fineprint { color: var(--steel); font-size: 0.82rem; margin: 0.75rem 0 0; }

.form-status {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  padding: 0;
}
.form-status.is-error,
.form-status.is-success {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
}
.form-status.is-error { background: #fde8e8; color: #a30f1a; }
.form-status.is-success { background: #e6f6ec; color: #14663a; }

/* -------------------- Newsletter -------------------- */
.newsletter { background: var(--stone); }
.newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.newsletter__heading {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0;
}
.newsletter__sub { color: var(--steel); font-size: 1.05rem; line-height: 1.55; margin: 0.75rem 0 0; max-width: 44ch; }
.newsletter__row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.newsletter__row input {
  flex: 1;
  min-width: 200px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  background: #fff;
  border: 1.5px solid rgba(17, 17, 17, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}
.newsletter__row input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,17,17,0.08); }
.newsletter__status { font-size: 0.9rem; margin: 0.75rem 0 0; min-height: 1rem; }
.newsletter__status.is-error { color: #c1121f; }
.newsletter__status.is-success { color: #14663a; }

@media (max-width: 860px) {
  .contact-layout__grid { grid-template-columns: 1fr; }
  .newsletter__inner { grid-template-columns: 1fr; }
}

/* ==========================================================
   Phase 2 — Information architecture (services, hub, legal, footer)
   ========================================================== */

/* -------------------- Breadcrumbs -------------------- */
.breadcrumbs { margin: 0 0 1.5rem; }
.breadcrumbs ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem;
  padding: 0; margin: 0;
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem;
  letter-spacing: 0.04em; color: var(--steel);
}
.breadcrumbs li { display: flex; align-items: center; gap: 0.5rem; }
.breadcrumbs a { color: var(--steel); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }
.breadcrumbs__sep { color: var(--steel-soft); }

/* -------------------- Service prose + sections -------------------- */
.service-prose {
  max-width: 68ch;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.75;
  color: var(--ink);
}
.service-prose p { margin: 0 0 1.4rem; }
.service-prose p:last-child { margin-bottom: 0; }
.service-prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }

.service-intro { padding-bottom: clamp(2rem, 4vw, 3rem); }

.service-section { padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid rgba(17,17,17,0.08); }
.service-section__grid {
  display: grid; grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(1.5rem, 5vw, 4rem); align-items: start;
}
.service-section__heading {
  font-family: 'DM Sans', sans-serif; font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.1;
  letter-spacing: -0.025em; margin: 0;
}
.founder-role { color: var(--steel); font-family: 'DM Sans', sans-serif; margin: 0.75rem 0 0; }

/* -------------------- Deliverables / who-for lists -------------------- */
.service-lists { border-top: 1px solid rgba(17,17,17,0.08); }
.service-lists__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.service-list__title {
  font-family: 'DM Sans', sans-serif; font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; margin: 0 0 1.5rem;
}
.ticklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.ticklist li {
  position: relative; padding-left: 1.9rem; line-height: 1.55; color: var(--ink);
}
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: var(--accent);
}

/* -------------------- FAQ -------------------- */
.faq-list { max-width: 80ch; margin: 0; }
.faq-item { padding: 1.6rem 0; border-top: 1px solid rgba(17,17,17,0.1); }
.faq-item:last-child { border-bottom: 1px solid rgba(17,17,17,0.1); }
.faq-item dt {
  font-family: 'DM Sans', sans-serif; font-weight: 700;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem); letter-spacing: -0.01em; margin: 0 0 0.6rem;
}
.faq-item dd { margin: 0; color: var(--steel); line-height: 1.65; font-size: 1.05rem; }

/* -------------------- Related services grid -------------------- */
.service-link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.service-link-card {
  display: flex; flex-direction: column; gap: 0.6rem;
  padding: 1.75rem; border: 1px solid rgba(17,17,17,0.1); border-radius: var(--radius-media);
  text-decoration: none; color: var(--ink);
  transition: transform 0.3s var(--easing), box-shadow 0.3s var(--easing), border-color 0.3s var(--easing);
}
.service-link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: rgba(17,17,17,0.2); }
.service-link-card h3 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1.2rem; margin: 0; }
.service-link-card p { color: var(--steel); margin: 0; font-size: 0.98rem; line-height: 1.5; flex: 1; }
.service-link-card__more { font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 0.9rem; }

/* -------------------- Services hub -------------------- */
.hub-list { list-style: none; padding: 0; margin: 0; }
.hub-row { border-top: 1px solid rgba(17,17,17,0.12); }
.hub-row:last-child { border-bottom: 1px solid rgba(17,17,17,0.12); }
.hub-row__link {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem); padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  text-decoration: none; color: var(--ink);
  transition: padding-left 0.3s var(--easing);
}
.hub-row__link:hover { padding-left: 0.5rem; }
.hub-row__num { font-family: 'DM Sans', sans-serif; font-weight: 500; color: var(--steel-soft); font-size: 1rem; }
.hub-row__title {
  font-family: 'DM Sans', sans-serif; font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem); letter-spacing: -0.025em; margin: 0 0 0.3rem; line-height: 1.05;
}
.hub-row__summary { color: var(--steel); margin: 0; font-size: 1.02rem; }
.hub-row__cta { font-family: 'DM Sans', sans-serif; font-weight: 500; color: var(--accent); white-space: nowrap; }

/* -------------------- Legal + 404 -------------------- */
.legal-updated { color: var(--steel); font-family: 'DM Sans', sans-serif; margin: 1rem 0 0; }
.legal-prose { max-width: 72ch; font-size: 1.05rem; line-height: 1.7; }
.legal-prose h2 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1.4rem; margin: 2.5rem 0 0.75rem; }
.legal-prose p, .legal-prose ul { color: var(--steel); margin: 0 0 1rem; }
.legal-prose ul { padding-left: 1.25rem; }
.legal-prose li { margin: 0 0 0.5rem; }
.legal-prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }

.notfound-links { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 3rem 0 0; }
.notfound-links a {
  font-family: 'DM Sans', sans-serif; font-weight: 500; color: var(--ink);
  text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.notfound-links a:hover { border-color: var(--accent); }

/* -------------------- Enriched footer -------------------- */
.page-footer { background: var(--ink); color: #fff; padding: clamp(3.5rem, 7vw, 6rem) 0 2rem; margin-top: 0; }
.footer-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-cta__heading {
  font-family: 'DM Sans', sans-serif; font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.03em; margin: 0;
}
.footer-nav {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem); padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.footer-col h3 {
  font-family: 'DM Sans', sans-serif; font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.16em; color: rgba(255,255,255,0.55); margin: 0 0 1.1rem; font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.footer-col:first-child ul { grid-template-columns: 1fr 1fr; }
.footer-col a { color: rgba(255,255,255,0.82); text-decoration: none; font-size: 0.98rem; }
.footer-col a:hover { color: #fff; }
.footer-muted { color: rgba(255,255,255,0.5); font-size: 0.98rem; }
.page-footer__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.6); font-size: 0.85rem;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-legal a:hover { color: #fff; }

@media (max-width: 860px) {
  .service-section__grid { grid-template-columns: 1fr; }
  .service-lists__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hub-row__link { grid-template-columns: auto 1fr; }
  .hub-row__cta { display: none; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-col:first-child { grid-column: 1 / -1; }
}

/* -------------------- Insights imagery -------------------- */
.post-lead {
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  border-radius: var(--radius-media);
  overflow: hidden;
  background: var(--stone);
  max-width: 900px;
}
.post-lead img { width: 100%; height: auto; display: block; }

.insight-card__media {
  border-radius: var(--radius-media);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--stone);
}
.insight-card__media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* -------------------- Logo wall -------------------- */
.logo-wall { padding-top: clamp(2.5rem, 5vw, 4rem); }
.logo-grid {
  list-style: none;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}
.logo-grid__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 2.5vw, 2rem) 1rem;
  background: #fff;
  min-height: 96px;
}
.logo-grid__item img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.3s var(--easing-soft), filter 0.3s var(--easing-soft);
}
.logo-grid__item:hover img {
  opacity: 1;
  filter: grayscale(0);
}

@media (max-width: 900px) {
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid__item { min-height: 80px; }
}

/* -------------------- Clickable "What we build" rows -------------------- */
.service-row { cursor: pointer; }
.service-row__link {
  position: absolute;
  inset: 0;
  z-index: 2;           /* above .service-row > * (z-index:1) so the whole row is clickable */
  text-indent: -9999px; /* purely a hit target; name comes from aria-label */
  overflow: hidden;
}
.service-row__link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

/* -------------------- Founder portrait (About) -------------------- */
.founder-portrait {
  margin-top: clamp(1.5rem, 2.5vw, 2rem);
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: var(--radius-media);
  display: block;
}

/* ==========================================================
   Mobile navigation — hamburger + full-screen menu
   ========================================================== */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  margin: -0.5rem -0.5rem -0.5rem 0;
  cursor: pointer;
  color: #fff;
  z-index: 60; /* stay above the panel */
}
.nav-toggle__box {
  position: relative;
  display: block;
  width: 26px;
  height: 16px;
}
.nav-toggle__bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--easing), opacity 0.2s var(--easing), top 0.3s var(--easing);
}
.nav-toggle__bar:nth-child(1) { top: 0; }
.nav-toggle__bar:nth-child(2) { top: 7px; }
.nav-toggle__bar:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(3) { top: 7px; transform: rotate(-45deg); }
.nav-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.mobile-nav { display: none; }

@media (max-width: 760px) {
  .nav-cta { display: none; }       /* sticky bottom CTA covers conversion on mobile */
  .nav-toggle { display: inline-flex; }

  .mobile-nav {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 55;                    /* below the header bar (60) so logo + X stay visible */
    background: #0b0b0b;
    color: #fff;
    padding: clamp(6rem, 22vw, 8rem) var(--page-padding) 3rem;
    opacity: 0;
    visibility: hidden;             /* removes links from tab order when closed */
    transform: translateY(-6px);
    transition: opacity 0.32s var(--easing), transform 0.32s var(--easing), visibility 0.32s;
  }
  .mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .mobile-nav__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    width: 100%;
    margin: auto 0;
  }
  .mobile-nav__link {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(1.9rem, 9vw, 2.75rem);
    letter-spacing: -0.02em;
    color: #fff;
    text-decoration: none;
    width: 100%;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .mobile-nav__link:active { color: var(--blush); }
  .mobile-nav__cta { margin-top: 2rem; }
  body.menu-open { overflow: hidden; }
}
