:root {
  --black: #050505;
  --ink: #111111;
  --white: #f7f7f2;
  --paper: #f3f2ec;
  --muted: #6c6c68;
  --line: rgba(17, 17, 17, 0.14);
  --dark-line: rgba(247, 247, 242, 0.16);
  --blue: #2368ff;
  --blue-soft: #dce7ff;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

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

.container {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
}

.panel-dark {
  color: var(--white);
  background: var(--black);
}

.panel-light {
  color: var(--ink);
  background: var(--paper);
}

main section {
  scroll-margin-top: 116px;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 40px), 1200px);
  min-height: 62px;
  padding: 10px 10px 10px 16px;
  color: var(--white);
  background: rgba(5, 5, 5, 0.72);
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.86);
  border-color: rgba(247, 247, 242, 0.24);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  object-position: center;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: rgba(247, 247, 242, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--white);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--black);
  background: var(--white);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 136px 0 0;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -15% -35% 38%;
  height: 58%;
  background: radial-gradient(circle at 50% 50%, rgba(35, 104, 255, 0.42), transparent 58%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.64fr);
  gap: 60px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.intro h2,
.services h2,
.contact h2 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(58px, 8.8vw, 124px);
  line-height: 0.86;
  letter-spacing: -0.06em;
}

.hero-subcopy {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(247, 247, 242, 0.74);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.32;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.button-light {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.button-ghost {
  color: var(--white);
  background: transparent;
  border-color: var(--dark-line);
}

.button-dark {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.button-outline {
  color: var(--black);
  background: transparent;
  border-color: rgba(17, 17, 17, 0.22);
}

.hero-system {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 540px;
  padding: 28px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(rgba(247, 247, 242, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 247, 242, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(35, 104, 255, 0.28), transparent 32%),
    radial-gradient(circle at 20% 82%, rgba(247, 247, 242, 0.12), transparent 30%),
    #0b0b0b;
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  border: 1px solid var(--dark-line);
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.55);
}

.hero-system::before {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(247, 247, 242, 0.12);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.hero-system-head {
  position: relative;
  z-index: 2;
  max-width: 360px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(247, 247, 242, 0.14);
}

.hero-system-head span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-soft);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-system-head strong {
  display: block;
  color: rgba(247, 247, 242, 0.9);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-system-flow {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.hero-system-flow div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 6px 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(247, 247, 242, 0.12);
}

.hero-system-flow span {
  color: rgba(220, 231, 255, 0.62);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.hero-system-flow strong {
  grid-column: 2;
  color: rgba(247, 247, 242, 0.92);
  font-size: clamp(23px, 2.2vw, 32px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.hero-system-flow small {
  grid-column: 2;
  color: rgba(247, 247, 242, 0.56);
  font-size: 14px;
  line-height: 1.28;
  font-weight: 650;
}

.decision-map {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.decision-map span {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 44px rgba(35, 104, 255, 0.9);
  animation: drift 6s ease-in-out infinite;
}

.decision-map span:nth-child(1) {
  top: 18%;
  right: 14%;
}

.decision-map span:nth-child(2) {
  top: 58%;
  left: 10%;
  animation-delay: -1.8s;
}

.decision-map span:nth-child(3) {
  right: 20%;
  bottom: 22%;
  animation-delay: -3.2s;
}

.hero-system-bottom {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--dark-line);
  border-left: 1px solid var(--dark-line);
}

.hero-system-bottom div {
  display: grid;
  gap: 8px;
  min-height: 112px;
  align-content: end;
  padding: 18px;
  border-right: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
}

.hero-system-bottom strong {
  font-size: clamp(42px, 4.7vw, 66px);
  line-height: 0.86;
  letter-spacing: -0.06em;
}

.hero-system-bottom small {
  color: rgba(247, 247, 242, 0.58);
  font-size: 15px;
  font-weight: 850;
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.72; }
  50% { transform: translate3d(18px, -16px, 0) scale(1.45); opacity: 1; }
}

.client-strip {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 44px;
  width: 100%;
  margin-top: 88px;
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
  color: rgba(247, 247, 242, 0.48);
  font-size: clamp(20px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.client-strip span {
  animation: marquee 34s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-420px); }
}

.proof-band {
  color: var(--black);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid div {
  min-height: 210px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.proof-grid div:first-child {
  border-left: 1px solid var(--line);
}

.proof-grid span {
  display: block;
  margin-bottom: 30px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.82;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.proof-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 650;
}

.intro-layout,
.contact-grid {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 70px;
  padding: 130px 0;
}

.intro h2,
.contact h2 {
  font-size: clamp(48px, 7vw, 104px);
}

.intro p,
.contact p {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.36;
  font-weight: 520;
}

.framework {
  padding-bottom: 130px;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  overflow: hidden;
}

.framework article {
  min-width: 0;
  min-height: 390px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, transform 0.25s ease;
}

.framework article:hover {
  background: rgba(35, 104, 255, 0.055);
  transform: translateY(-4px);
}

.framework span,
.service-list span {
  color: var(--blue);
  font-weight: 950;
}

.framework h3 {
  margin: 116px 0 18px;
  font-size: clamp(32px, 3.35vw, 52px);
  line-height: 0.88;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.framework p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 600;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 70px;
  padding: 130px 0 56px;
}

.section-heading.compact {
  padding-bottom: 44px;
}

.section-heading h2,
.services h2 {
  font-size: clamp(54px, 8vw, 118px);
}

.invert .section-kicker {
  color: var(--blue-soft);
}

.service-list {
  padding-bottom: 120px;
  border-top: 1px solid var(--dark-line);
}

.service-list article {
  display: grid;
  grid-template-columns: 70px minmax(280px, 0.9fr) minmax(260px, 0.72fr);
  gap: 28px;
  align-items: center;
  min-height: 170px;
  border-bottom: 1px solid var(--dark-line);
}

.service-list h3 {
  margin: 0;
  font-size: clamp(34px, 5.4vw, 78px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.service-list p {
  margin: 0;
  color: rgba(247, 247, 242, 0.62);
  line-height: 1.45;
  font-weight: 560;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 130px;
}

.home-websites {
  overflow: hidden;
}

.home-section-heading {
  align-items: end;
  padding-bottom: 30px;
}

.home-section-heading h2 {
  max-width: 900px;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.panel-dark .section-actions .button-outline,
.invert .section-actions .button-outline {
  color: var(--white);
  border-color: var(--dark-line);
}

.carousel-shell {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.carousel-button {
  width: 46px;
  height: 46px;
  color: var(--black);
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-button:hover {
  transform: translateY(-2px);
  background: var(--white);
}

.website-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(360px, 42%);
  grid-template-columns: none;
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(24px, calc((100vw - 1200px) / 2));
  padding-bottom: 58px;
  scrollbar-width: none;
}

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

.website-slider .work-card,
.website-slider .work-card.large {
  min-height: 560px;
  scroll-snap-align: start;
}

.work-page-grid {
  padding-top: 96px;
}

.work-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
  border-radius: var(--radius);
  isolation: isolate;
}

.work-card.large {
  min-height: 680px;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.work-card:hover h3,
.film-card:hover h3 {
  color: var(--blue-soft);
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.82));
}

.work-card div {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 30px;
}

.work-card p {
  max-width: 390px;
  margin: 0 0 12px;
  color: rgba(247, 247, 242, 0.72);
  font-weight: 650;
}

.work-card h3 {
  margin: 0;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.work-hero::before {
  background:
    radial-gradient(circle at 72% 34%, rgba(31, 76, 163, 0.28), transparent 30%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}

.work-proof {
  padding: 0;
  background: var(--paper);
}

.work-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.work-proof-grid div {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(31, 76, 163, 0.08), transparent 54%),
    rgba(255, 255, 255, 0.45);
}

.work-proof-grid div:last-child {
  border-right: 0;
}

.work-proof-grid span {
  color: var(--blue);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.work-proof-grid p {
  margin: 48px 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 650;
}

.work-philosophy {
  padding: 118px 0 128px;
  background:
    radial-gradient(circle at 90% 12%, rgba(31, 76, 163, 0.32), transparent 28%),
    var(--black);
}

.work-philosophy .split-layout {
  margin-bottom: 46px;
}

.work-philosophy .split-layout p {
  color: rgba(247, 247, 242, 0.68);
}

.conversion-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: var(--dark-line);
}

.conversion-path article {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(31, 76, 163, 0.18), transparent 62%),
    var(--ink);
}

.conversion-path span,
.workstream-grid span {
  color: var(--blue-soft);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.conversion-path h3 {
  margin: 64px 0 16px;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}

.conversion-path p {
  margin: 0;
  color: rgba(247, 247, 242, 0.66);
  line-height: 1.45;
  font-weight: 650;
}

.work-showcase-grid {
  padding-bottom: 0;
}

.work-more-link {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button.button-dark {
  color: var(--white);
  background: var(--black);
}

.button.button-outline {
  color: var(--black);
  background: transparent;
  border: 1px solid var(--line);
}

.workstream-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 10px;
}

.workstream-grid article {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  color: var(--white);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 80% 16%, rgba(220, 231, 255, 0.16), transparent 34%),
    var(--ink);
}

.workstream-grid h3 {
  margin: 56px 0 14px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.workstream-grid p {
  margin: 0 0 28px;
  color: rgba(247, 247, 242, 0.66);
  line-height: 1.45;
  font-weight: 650;
}

.workstream-grid a {
  width: fit-content;
  color: var(--blue-soft);
  font-weight: 900;
  text-decoration: none;
}

.films {
  padding-bottom: 130px;
}

.film-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.film-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: #111;
  isolation: isolate;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.film-card:nth-child(1) {
  grid-row: span 2;
  min-height: 880px;
}

.film-card video,
.film-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.film-card:hover {
  transform: translateY(-6px);
  border-color: rgba(220, 231, 255, 0.5);
}

.film-card:hover video,
.film-card:hover img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.03);
}

.partner-film::before {
  content: "Partner-led";
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  padding: 8px 12px;
  color: var(--black);
  background: var(--white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.film-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.86));
}

.film-card div {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 24px;
}

.film-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-soft);
  font-weight: 850;
}

.film-card h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.team {
  padding-bottom: 130px;
}

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

.team-grid article {
  overflow: hidden;
  color: var(--white);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 80px rgba(17, 17, 17, 0.11);
}

.team-card small {
  display: block;
  margin: 0 18px 24px;
  color: rgba(247, 247, 242, 0.62);
  line-height: 1.4;
  font-weight: 650;
}

.team-grid img {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
}

.team-grid h3 {
  margin: 18px 18px 4px;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.team-grid p {
  margin: 0 18px 22px;
  color: rgba(247, 247, 242, 0.58);
  font-weight: 650;
}

.portrait-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 0.86;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(35, 104, 255, 0.35), transparent 34%),
    linear-gradient(135deg, #151515, #3a3a37);
  font-size: clamp(58px, 8vw, 108px);
  font-weight: 950;
  letter-spacing: -0.08em;
}

.insights {
  padding-bottom: 120px;
}

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

.insight-card {
  display: flex;
  min-height: 370px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 247, 242, 0.32);
  transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease, box-shadow 0.24s ease;
}

.insight-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-card h3 {
  max-width: 95%;
  margin: auto 0 22px;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.insight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.38;
  font-weight: 700;
}

.insight-card:hover {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 30px 80px rgba(17, 17, 17, 0.16);
  transform: translateY(-5px);
}

.insight-card:hover p {
  color: rgba(247, 247, 242, 0.68);
}

.roadmap-hero-new .container {
  max-width: 1120px;
}

.roadmap-hero-new.page-hero h1 {
  max-width: 960px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.9;
}

.roadmap-hero-new.page-hero p:not(.eyebrow) {
  max-width: 760px;
  font-size: clamp(18px, 1.8vw, 23px);
}

.roadmap-hero-actions,
.roadmap-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.roadmap-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 76px;
  background: var(--line);
  border: 1px solid var(--line);
}

.roadmap-stats div {
  min-height: 190px;
  padding: 26px;
  background: var(--paper);
}

.roadmap-stats span {
  display: block;
  margin-bottom: 46px;
  color: var(--blue);
  font-size: clamp(42px, 5vw, 74px);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.roadmap-stats p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 750;
}

.roadmap-week-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.roadmap-week-card {
  display: flex;
  min-height: 640px;
  flex-direction: column;
  padding: 30px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 12%, rgba(35, 104, 255, 0.22), transparent 30%),
    var(--ink);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
}

.roadmap-week-card > span {
  width: fit-content;
  margin-bottom: 86px;
  padding: 8px 12px;
  color: var(--black);
  background: var(--white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roadmap-week-card h3 {
  margin: 0 0 18px;
  max-width: 680px;
  font-size: clamp(44px, 5.8vw, 86px);
  line-height: 0.85;
  letter-spacing: -0.07em;
}

.roadmap-week-card p {
  max-width: 640px;
  margin: 0;
  color: rgba(247, 247, 242, 0.68);
  font-size: 19px;
  line-height: 1.38;
  font-weight: 650;
}

.roadmap-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 34px;
}

.roadmap-topic-list small {
  padding: 8px 11px;
  color: rgba(247, 247, 242, 0.78);
  background: rgba(247, 247, 242, 0.08);
  border: 1px solid rgba(247, 247, 242, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.roadmap-day-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.roadmap-day-grid a {
  display: grid;
  min-height: 46px;
  place-items: center;
  color: var(--white);
  background: rgba(247, 247, 242, 0.08);
  border: 1px solid rgba(247, 247, 242, 0.14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.roadmap-day-grid a:hover {
  color: var(--black);
  background: var(--white);
  transform: translateY(-2px);
}

.roadmap-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 40px;
  align-items: end;
}

.roadmap-final-cta h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.roadmap-final-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.framework-download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 30px;
  align-items: start;
}

.framework-overview-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(31, 76, 163, 0.11), transparent 26%),
    radial-gradient(circle at 90% 18%, rgba(17, 17, 17, 0.08), transparent 25%),
    var(--paper);
}

.framework-hero::after {
  width: 50vw;
  height: 50vw;
}

.framework-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.framework-feature-list div {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(31, 76, 163, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 22px 70px rgba(17, 17, 17, 0.05);
}

.framework-feature-list h3 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.framework-feature-list p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.framework-download-card {
  position: sticky;
  top: 116px;
  overflow: hidden;
  padding: 32px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(31, 76, 163, 0.34), transparent 58%),
    var(--ink);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  box-shadow: 0 34px 110px rgba(17, 17, 17, 0.18);
  isolation: isolate;
}

.framework-download-card::before {
  content: "";
  position: absolute;
  right: -22%;
  top: -18%;
  z-index: -1;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 231, 255, 0.28), transparent 62%);
}

.framework-download-card h2 {
  margin: 0 0 16px;
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.framework-download-card > p {
  margin: 0 0 22px;
  color: rgba(247, 247, 242, 0.68);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 650;
}

.framework-download-card .lead-form {
  padding: 0;
  background: transparent;
  border: 0;
}

.download-ready-link {
  display: none;
  margin-top: 14px;
}

.download-ready-link.is-visible {
  display: inline-flex;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.install-step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  min-height: 250px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius);
}

.install-step > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.install-step h3 {
  margin: 0 0 10px;
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.install-step p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.48;
  font-weight: 650;
}

.install-step p:last-child {
  margin-bottom: 0;
}

.install-step a {
  color: var(--blue);
}

.install-step code,
.install-step pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.install-step pre {
  overflow-x: auto;
  margin: 12px 0 16px;
  padding: 16px;
  color: var(--white);
  background: var(--black);
  border-radius: 12px;
}

.install-step p code {
  padding: 2px 6px;
  color: var(--ink);
  background: rgba(17, 17, 17, 0.08);
  border-radius: 6px;
  font-size: 0.9em;
}

.install-command-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.install-command-grid code {
  padding: 9px 12px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

.contact {
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 4% -10% auto auto;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(35, 104, 255, 0.35), transparent 62%);
  filter: blur(24px);
}

.contact-grid {
  position: relative;
  z-index: 2;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: rgba(247, 247, 242, 0.06);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form span {
  color: rgba(247, 247, 242, 0.65);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--dark-line);
  border-radius: 14px;
  outline: none;
}

.lead-form input {
  height: 52px;
  padding: 0 15px;
}

.lead-form textarea {
  resize: vertical;
  padding: 15px;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: rgba(220, 231, 255, 0.8);
}

.lead-form .button {
  width: 100%;
  margin-top: 8px;
}

.form-note {
  margin: 0;
  color: rgba(247, 247, 242, 0.6);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.footer-reveal {
  position: relative;
  min-height: 126svh;
  overflow: clip;
}

.footer-reveal::before {
  content: "";
  position: absolute;
  inset: auto -18% 8% 40%;
  width: 58vw;
  height: 58vw;
  background: radial-gradient(circle, rgba(35, 104, 255, 0.42), transparent 62%);
  filter: blur(34px);
  opacity: 0.82;
}

.footer-reveal-inner {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  min-height: 100svh;
  align-content: center;
  padding: 124px 0;
}

.footer-reveal-line {
  max-width: 1120px;
  margin: 0;
  font-size: clamp(72px, 14vw, 188px);
  line-height: 0.82;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.footer-reveal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.footer-reveal-actions a {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: var(--black);
  background: var(--white);
  border-radius: 999px;
  font-weight: 950;
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-reveal-actions a:last-child {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--dark-line);
}

.footer-reveal-actions a:hover {
  transform: translateY(-2px);
}

.site-footer {
  padding: 48px 0 24px;
  border-top: 1px solid var(--dark-line);
}

.page-hero {
  position: relative;
  min-height: 66svh;
  display: grid;
  align-items: end;
  padding: 140px 0 70px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -34%;
  width: 68vw;
  height: 68vw;
  background: radial-gradient(circle, rgba(35, 104, 255, 0.36), transparent 62%);
  filter: blur(30px);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(48px, 7.2vw, 106px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(247, 247, 242, 0.72);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.34;
  font-weight: 560;
}

.page-section {
  padding: 116px 0;
}

.page-section.tight {
  padding: 86px 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 64px;
  align-items: start;
}

.split-layout h2,
.page-heading h2 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(42px, 5.8vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.split-layout p,
.page-heading p,
.page-card p,
.detail-card p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 650;
}

.page-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 42px;
}

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

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

.page-card,
.detail-card {
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 247, 242, 0.35);
}

.page-card.dark,
.panel-dark .page-card,
.panel-dark .detail-card {
  color: var(--white);
  background: var(--ink);
  border-color: var(--dark-line);
}

.page-card span,
.detail-card span {
  display: block;
  margin-bottom: 60px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-card h3,
.detail-card h3 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.panel-dark .page-card p,
.panel-dark .detail-card p {
  color: rgba(247, 247, 242, 0.64);
}

.detail-list {
  display: grid;
  gap: 14px;
}

.detail-card {
  min-height: auto;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 22px;
}

.detail-card span {
  margin: 0;
}

.services-hero::after {
  width: 54vw;
  height: 54vw;
  opacity: 0.78;
}

.services-showcase {
  padding: 108px 0 124px;
  background:
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
}

.service-index-heading {
  padding-top: 0;
}

.service-index-heading h2 {
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.92;
}

.service-hub-grid {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.service-link-card {
  position: relative;
  min-height: 330px;
  grid-column: span 4;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  padding: 26px;
  color: var(--black);
  text-decoration: none;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 28px 90px rgba(17, 17, 17, 0.06);
  isolation: isolate;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-link-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -42% 12%;
  z-index: -1;
  height: 58%;
  background: radial-gradient(circle, rgba(31, 76, 163, 0.22), transparent 62%);
  filter: blur(8px);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.service-link-card::after {
  content: "";
  position: absolute;
  inset: 16px 16px auto auto;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(31, 76, 163, 0.2);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(31, 76, 163, 0.2) 49%, rgba(31, 76, 163, 0.2) 51%, transparent 52%),
    linear-gradient(transparent 48%, rgba(31, 76, 163, 0.2) 49%, rgba(31, 76, 163, 0.2) 51%, transparent 52%);
}

.service-link-card.featured {
  grid-column: span 6;
  min-height: 460px;
  padding: 34px;
}

.service-link-card.dark {
  color: var(--white);
  border-color: var(--dark-line);
  background:
    linear-gradient(135deg, rgba(31, 76, 163, 0.26), transparent 58%),
    var(--ink);
  box-shadow: none;
}

.service-link-card:hover {
  transform: translateY(-8px);
  border-color: rgba(31, 76, 163, 0.44);
  box-shadow: 0 34px 110px rgba(17, 17, 17, 0.12);
}

.service-link-card:hover::before {
  transform: scale(1.18) translateY(-12px);
  opacity: 0.92;
}

.service-link-card.dark:hover {
  color: var(--white);
}

.service-link-card span,
.website-shot-card span,
.metric-row span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-link-card.dark span,
.service-link-card.dark strong {
  color: var(--blue-soft);
}

.service-link-card h2,
.service-link-card h3 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(32px, 3.9vw, 60px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.service-link-card h3 {
  font-size: clamp(28px, 2.7vw, 42px);
}

.service-link-card p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 650;
}

.service-link-card.dark p {
  color: rgba(247, 247, 242, 0.66);
}

.service-link-card strong {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 950;
  border: 1px solid rgba(31, 76, 163, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

.service-link-card strong::after {
  content: "->";
  font-weight: 950;
}

.service-link-card.dark strong {
  border-color: rgba(220, 231, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.visual-site {
  background:
    linear-gradient(135deg, rgba(31, 76, 163, 0.2), transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 247, 242, 0.72));
}

.visual-growth::before {
  background: radial-gradient(circle, rgba(100, 164, 255, 0.24), transparent 62%);
}

.visual-search::before {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18), transparent 62%);
}

.visual-strategy::before {
  background: radial-gradient(circle, rgba(255, 184, 77, 0.18), transparent 62%);
}

.visual-social::before {
  background: radial-gradient(circle, rgba(236, 72, 153, 0.16), transparent 62%);
}

.film-hero::before {
  background:
    radial-gradient(circle at 82% 28%, rgba(88, 131, 219, 0.3), transparent 28%),
    linear-gradient(110deg, rgba(0, 0, 0, 0.88), rgba(9, 10, 16, 0.72));
}

.film-intro h2 {
  font-size: clamp(44px, 6vw, 88px);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.metric-row > div {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.54);
}

.compact-metrics {
  margin-top: 30px;
}

.compact-metrics > div {
  min-height: 150px;
}

.metric-row strong {
  display: block;
  margin-top: 22px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.metric-row p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 650;
}

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

.service-film-grid .film-card,
.service-film-grid .film-card:nth-child(1) {
  grid-row: auto;
  min-height: 360px;
}

.service-film-grid .hero-film {
  grid-column: span 2;
  min-height: 560px;
}

.service-film-grid .film-card h3 {
  font-size: clamp(28px, 3.4vw, 52px);
}

.website-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 30px;
}

.website-shot-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
  background: var(--ink);
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.website-shot-card.large {
  grid-column: span 2;
}

.website-shot-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 90px rgba(17, 17, 17, 0.18);
}

.website-shot-card img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.92);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.website-shot-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.03);
}

.website-shot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.84));
}

.website-shot-card > div:not(.site-placeholder) {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 24px;
}

.website-shot-card span {
  color: var(--blue-soft);
}

.website-shot-card h3 {
  margin: 10px 0 10px;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.website-shot-card p {
  max-width: 480px;
  margin: 0;
  color: rgba(247, 247, 242, 0.72);
  line-height: 1.42;
  font-weight: 650;
}

.website-shot-card.minimal {
  background:
    linear-gradient(135deg, rgba(31, 76, 163, 0.25), transparent),
    #111;
}

.site-placeholder {
  min-height: 440px;
  display: grid;
  place-items: center;
  padding: 28px;
  color: rgba(247, 247, 242, 0.28);
  font-size: clamp(44px, 7vw, 94px);
  line-height: 0.9;
  letter-spacing: -0.08em;
  font-weight: 950;
  text-align: center;
}

.visual-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.visual-tile {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
}

.visual-tile img,
.visual-tile video {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.visual-tile div {
  position: absolute;
  inset: auto 0 0;
  padding: 20px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(0,0,0,0.76));
}

.visual-tile h3 {
  margin: 6px 0 0;
  font-size: 32px;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.visual-tile p {
  margin: 0;
  color: rgba(247, 247, 242, 0.72);
  font-weight: 800;
}

.quote-band {
  padding: 100px 0;
  color: var(--white);
  background: var(--black);
}

.quote-band blockquote {
  margin: 0;
  max-width: 1080px;
  font-size: clamp(46px, 8vw, 120px);
  line-height: 0.88;
  letter-spacing: -0.07em;
  font-weight: 950;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 28px;
  align-items: start;
}

.footer-grid p {
  margin: 0;
  color: rgba(247, 247, 242, 0.56);
  font-weight: 650;
}

.footer-grid nav {
  display: flex;
  gap: 22px;
  color: rgba(247, 247, 242, 0.72);
  font-weight: 750;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--dark-line);
  color: rgba(247, 247, 242, 0.46);
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    position: fixed;
    inset: 88px 20px auto;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 16px;
    background: rgba(5, 5, 5, 0.96);
    border: 1px solid var(--dark-line);
    border-radius: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .site-nav a {
    padding: 16px;
    border-bottom: 1px solid var(--dark-line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  body.menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--black);
  }

  .hero-grid,
  .intro-layout,
  .section-heading,
  .contact-grid,
  .split-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-system {
    min-height: 480px;
  }

  .hero-system-flow div {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .proof-grid,
  .framework-grid,
  .team-grid,
  .insights-grid,
  .work-proof-grid,
  .conversion-path,
  .workstream-grid,
  .service-hub-grid,
  .metric-row,
  .website-showcase-grid,
  .framework-feature-list,
  .install-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-link-card {
    grid-column: auto;
  }

  .service-link-card.featured,
  .website-shot-card.large,
  .service-film-grid .hero-film {
    grid-column: auto;
  }

  .service-list article {
    grid-template-columns: 54px 1fr;
  }

  .service-list p {
    grid-column: 2;
  }

  .film-grid,
  .service-film-grid,
  .footer-grid,
  .page-grid,
  .page-grid.two,
  .visual-row,
  .roadmap-week-grid,
  .roadmap-final-cta,
  .framework-download-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-stats {
    grid-template-columns: 1fr;
  }

  .roadmap-final-actions {
    justify-content: flex-start;
  }

  .framework-download-card {
    position: static;
  }

  .footer-reveal-line {
    max-width: 780px;
  }

  .film-card:nth-child(1) {
    min-height: 520px;
  }

  .website-shot-card,
  .website-shot-card img,
  .site-placeholder {
    min-height: 390px;
  }

  .work-grid:not(.website-slider) {
    grid-template-columns: 1fr;
  }

  .website-slider {
    grid-auto-columns: minmax(320px, 72%);
  }

}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1200px);
  }

  .site-header {
    top: 12px;
    width: min(calc(100% - 24px), 1200px);
  }

  .hero {
    padding-top: 118px;
  }

  .page-hero {
    min-height: 62svh;
    padding: 126px 0 56px;
  }

  .page-hero h1 {
    font-size: clamp(42px, 12vw, 68px);
    line-height: 0.96;
    letter-spacing: -0.055em;
  }

  .roadmap-hero-new.page-hero h1 {
    font-size: clamp(46px, 13vw, 72px);
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 78px);
    line-height: 0.92;
  }

  .hero-subcopy {
    font-size: 18px;
  }

  .hero-system {
    min-height: auto;
  }

  .client-strip {
    margin-top: 56px;
  }

  .hero-system {
    padding: 24px;
    border-radius: 30px;
  }

  .hero-system-head strong {
    font-size: clamp(28px, 8vw, 38px);
  }

  .hero-system-flow div {
    grid-template-columns: 34px 1fr;
    gap: 8px 12px;
    padding: 13px 0;
  }

  .hero-system-flow small {
    grid-column: 2;
  }

  .hero-system-bottom {
    grid-template-columns: 1fr;
  }

  .hero-system-bottom div {
    min-height: 96px;
  }

  .proof-grid,
  .framework-grid,
  .team-grid,
  .insights-grid,
  .work-proof-grid,
  .conversion-path,
  .workstream-grid,
  .service-hub-grid,
  .metric-row,
  .website-showcase-grid,
  .framework-feature-list,
  .install-steps {
    grid-template-columns: 1fr;
  }

  .proof-grid div {
    border-left: 1px solid var(--line);
  }

  .work-proof-grid {
    border-right: 0;
    border-left: 0;
  }

  .work-proof-grid div {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .work-philosophy {
    padding: 88px 0;
  }

  .conversion-path article,
  .workstream-grid article {
    min-height: 280px;
  }

  .intro-layout,
  .contact-grid {
    padding: 88px 0;
  }

  .section-heading {
    padding: 88px 0 36px;
  }

  .framework,
  .service-list,
  .work-grid,
  .films,
  .team,
  .insights {
    padding-bottom: 88px;
  }

  .work-page-grid {
    padding-top: 48px;
  }

  .carousel-shell {
    justify-content: flex-start;
  }

  .website-slider {
    grid-auto-columns: minmax(280px, 86%);
    padding-bottom: 48px;
  }

  .website-slider .work-card,
  .website-slider .work-card.large {
    min-height: 430px;
  }

  .page-section {
    padding: 84px 0;
  }

  .detail-card {
    grid-template-columns: 1fr;
  }

  .visual-tile,
  .visual-tile img,
  .visual-tile video {
    min-height: 380px;
  }

  .framework article {
    min-height: 310px;
  }

  .framework h3 {
    margin-top: 80px;
  }

  .service-list article {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 26px 0;
  }

  .service-list p {
    grid-column: auto;
  }

  .install-step {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px;
  }

  .work-card,
  .work-card.large,
  .film-card,
  .film-card:nth-child(1),
  .service-film-grid .film-card,
  .service-film-grid .film-card:nth-child(1),
  .service-film-grid .hero-film {
    min-height: 430px;
  }

  .service-link-card,
  .service-link-card.featured {
    grid-column: auto;
    min-height: 260px;
    padding: 24px;
  }

  .metric-row > div {
    min-height: auto;
    padding: 24px;
  }

  .website-shot-card,
  .website-shot-card img,
  .site-placeholder {
    min-height: 360px;
  }

  .website-shot-card > div:not(.site-placeholder) {
    padding: 20px;
  }

  .website-shot-card h3 {
    font-size: clamp(30px, 11vw, 46px);
  }

  .roadmap-week-card {
    min-height: auto;
    padding: 24px;
  }

  .roadmap-week-card > span {
    margin-bottom: 58px;
  }

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

  .insight-card {
    min-height: 300px;
    padding: 24px;
  }

  .footer-reveal {
    min-height: 112svh;
  }

  .footer-reveal-inner {
    padding: 96px 0;
  }

  .footer-reveal-line {
    font-size: clamp(58px, 18vw, 102px);
  }

  .footer-grid nav {
    flex-wrap: wrap;
  }
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.video-modal .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
}

.video-modal .modal-content {
  position: relative;
  z-index: 1;
  width: min(90vw, 1200px);
  aspect-ratio: 16 / 9;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal #youtube-frame {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}

.video-modal video {
  width: 100%;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}

.video-modal .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-modal .modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Clickable Film Cards */
.film-card.film-card-clickable {
  cursor: pointer;
}

.film-card.film-card-clickable .play-button {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius);
}

.film-card.film-card-clickable:hover .play-button,
.film-card.film-card-clickable:focus .play-button {
  opacity: 1;
}

.film-card.film-card-clickable .play-button svg {
  transition: transform 0.3s ease;
}

.film-card.film-card-clickable:hover .play-button svg {
  transform: scale(1.1);
}

/* Hide video controls when in card (autoplay only on hover) */
.film-card.film-card-clickable video {
  pointer-events: none;
}
