:root {
  --ink: #f7f6ff;
  --ink-soft: rgba(247, 246, 255, 0.76);
  --muted: rgba(247, 246, 255, 0.58);
  --line: rgba(157, 170, 255, 0.2);
  --paper: #0a0911;
  --paper-soft: #121024;
  --night: #07060d;
  --violet-900: #402E7A;
  --violet-700: #4C3BCF;
  --blue-600: #4B70F5;
  --cyan-400: #3DC2EC;
  --surface: rgba(22, 18, 43, 0.72);
  --surface-strong: rgba(30, 24, 58, 0.92);
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.48);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(76, 59, 207, 0.28), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgba(61, 194, 236, 0.15), transparent 30rem),
    linear-gradient(180deg, #090711 0%, #0f0c1c 44%, #07060d 100%);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(7, 6, 13, 0.84);
  border-bottom: 1px solid rgba(157, 170, 255, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(245px, 52vw);
  aspect-ratio: 1216 / 326;
}

.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(75, 112, 245, 0.35));
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.primary-nav a {
  position: relative;
  color: rgba(247, 246, 255, 0.78);
  padding: 8px 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet-700), var(--cyan-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

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

.hero {
  width: min(1320px, calc(100% - 40px));
  margin: 34px auto 0;
}

.split-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(26px, 4vw, 62px);
  align-items: center;
  min-height: calc(100svh - 118px);
}

.video-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 118px);
  overflow: hidden;
  padding: clamp(52px, 8vw, 112px);
  border: 1px solid rgba(157, 170, 255, 0.22);
  border-radius: var(--radius);
  background: #05040a;
  box-shadow: var(--shadow);
}

.hero-background-video,
.hero-video-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-background-video {
  object-fit: cover;
}

.hero-video-shade {
  background: linear-gradient(90deg, rgba(5, 4, 10, 0.92) 0%, rgba(5, 4, 10, 0.68) 48%, rgba(5, 4, 10, 0.16) 100%);
}

.video-hero .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.video-hero .hero-lede {
  color: rgba(255, 255, 255, 0.8);
}

.hero-copy h1,
.page-hero h1,
.legal-page h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(4rem, 10vw, 9.8rem);
  line-height: 0.88;
  font-weight: 600;
  color: #fff;
}

.hero-lede {
  max-width: 560px;
  margin-top: 30px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.45;
  color: var(--ink-soft);
}

.hero-actions,
.cta-inner .button,
.image-copy-grid .button {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--violet-900), var(--blue-600) 62%, var(--cyan-400));
}

.button.secondary {
  margin-left: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

.button.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border-radius: var(--radius);
  background: var(--night);
  border: 1px solid rgba(157, 170, 255, 0.22);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.media-caption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  max-width: calc(100% - 44px);
  padding: 16px 18px;
  color: #fff;
  background: rgba(15, 13, 24, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.media-caption span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--cyan-400);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.media-caption strong {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  font-weight: 600;
}

.intro-band,
.concept-section,
.services-preview,
.projects-preview,
.service-detail,
.concept-service-section,
.contact-section,
.image-copy-section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 90px);
}

.section-heading h2,
.section-top h2,
.feature-copy h2,
.cta-inner h2,
.contact-details h2,
.image-copy-grid h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.3rem, 4.8vw, 5.2rem);
  line-height: 0.98;
  font-weight: 600;
}

.body-stack {
  display: grid;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--cyan-400);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.text-link svg {
  width: 21px;
  height: 21px;
  margin-left: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.concept-section {
  position: relative;
  background:
    linear-gradient(90deg, rgba(64, 46, 122, 0.22), transparent 58%),
    rgba(255, 255, 255, 0.015);
}

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

.concept-panel {
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(76, 59, 207, 0.16), rgba(61, 194, 236, 0.045)),
    var(--surface);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.concept-panel span,
.concept-service-copy .planning-list span {
  color: var(--cyan-400);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-icon {
  display: block;
  width: 58px;
  height: 58px;
  margin-top: 34px;
  overflow: visible;
  fill: none;
  stroke: var(--blue-600);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(75, 112, 245, 0.22));
}

.section-icon path,
.section-icon circle {
  vector-effect: non-scaling-stroke;
}

.concept-panel h3 {
  margin-top: 24px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  line-height: 1.06;
  font-weight: 600;
}

.concept-panel p {
  margin-top: 16px;
  color: var(--ink-soft);
}

.transformation-section {
  padding: clamp(76px, 9vw, 128px) 0;
  background:
    radial-gradient(circle at 78% 48%, rgba(75, 112, 245, 0.16), transparent 30rem),
    linear-gradient(90deg, rgba(64, 46, 122, 0.2), transparent 54%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.transformation-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: end;
  margin-bottom: 48px;
}

.transformation-heading h2,
.timeline-heading h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.3rem, 4.8vw, 5.2rem);
  line-height: 0.98;
  font-weight: 600;
}

.transformation-heading p,
.timeline-heading p {
  color: var(--ink-soft);
}

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

.transformation-project {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(76, 59, 207, 0.12), rgba(61, 194, 236, 0.03)),
    var(--surface);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24);
}

.transformation-project .comparison-frame {
  min-height: 0;
  aspect-ratio: 4 / 3;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.transformation-project-copy {
  min-height: 240px;
  padding: 24px;
}

.transformation-project-copy > span {
  color: var(--cyan-400);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.transformation-project-copy h3 {
  margin-top: 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
  line-height: 1.05;
  font-weight: 600;
}

.transformation-project-copy p {
  margin-top: 14px;
  color: var(--ink-soft);
}

.comparison-frame {
  --comparison-position: 50%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 440px;
  border: 1px solid rgba(157, 170, 255, 0.28);
  border-radius: var(--radius);
  background: var(--night);
  box-shadow: var(--shadow);
}

.comparison-image,
.comparison-before,
.comparison-before img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-before {
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--comparison-position)) 0 0);
}

.comparison-before img {
  width: 100%;
  filter: saturate(0.82) contrast(1.08) brightness(0.72);
}

.comparison-label {
  position: absolute;
  top: 18px;
  z-index: 3;
  padding: 8px 11px;
  color: #fff;
  background: rgba(7, 6, 13, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  pointer-events: none;
}

.comparison-label-before {
  left: 18px;
}

.comparison-label-after {
  right: 18px;
}

.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--comparison-position);
  z-index: 3;
  width: 2px;
  background: rgba(255, 255, 255, 0.86);
  transform: translateX(-1px);
  pointer-events: none;
}

.comparison-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  background:
    linear-gradient(90deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%),
    linear-gradient(135deg, var(--violet-700), var(--blue-600) 62%, var(--cyan-400));
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%);
}

.comparison-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: ew-resize;
  opacity: 0;
}

.comparison-frame:focus-within {
  outline: 2px solid var(--cyan-400);
  outline-offset: 4px;
}

.service-rows {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 80px minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-row span,
.detail-panel span,
.process-list span {
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-row h3,
.concept-panel h3,
.project-card h3,
.portfolio-item h2,
.detail-panel h2,
.legal-page h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1.08;
  font-weight: 600;
}

.service-row p,
.project-card p,
.portfolio-item p,
.feature-copy p,
.cta-inner p,
.detail-panel p,
.legal-page p,
.contact-line,
.image-copy-grid p {
  color: var(--ink-soft);
}

.dark-section {
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(61, 194, 236, 0.2), transparent 28%),
    linear-gradient(135deg, #08070e, #17102f 56%, #071326);
}

.media-feature,
.process-section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.media-grid,
.process-grid,
.image-copy-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: #05050a;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.76);
}

.feature-copy .button {
  margin-top: 32px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius);
  background: var(--night);
  border: 1px solid rgba(157, 170, 255, 0.16);
}

.project-card.wide {
  grid-row: span 2;
  min-height: 738px;
}

.project-card img,
.portfolio-item img,
.contact-details img,
.image-copy-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card div,
.portfolio-item div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  color: #fff;
  background: rgba(15, 13, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.project-card p,
.portfolio-item p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-section {
  padding: clamp(70px, 9vw, 118px) 0;
  background:
    radial-gradient(circle at 76% 50%, rgba(75, 112, 245, 0.22), transparent 28rem),
    linear-gradient(135deg, rgba(64, 46, 122, 0.34), rgba(7, 6, 13, 0.92));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.62fr) auto;
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
}

.cta-inner p {
  max-width: 470px;
}

.page-hero {
  padding: clamp(72px, 10vw, 132px) 0 clamp(54px, 7vw, 88px);
  background:
    radial-gradient(circle at 12% 0%, rgba(76, 59, 207, 0.24), transparent 34rem),
    linear-gradient(90deg, rgba(76, 59, 207, 0.18), transparent 44%),
    var(--paper);
}

.page-hero-inner {
  max-width: 900px;
}

.page-hero p {
  max-width: 690px;
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.detail-panel {
  min-height: 285px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(76, 59, 207, 0.14), rgba(61, 194, 236, 0.04)),
    var(--surface);
}

.detail-panel h2 {
  margin-top: 20px;
}

.detail-panel .section-icon {
  width: 54px;
  height: 54px;
  margin-top: 28px;
}

.detail-panel p {
  margin-top: 16px;
}

.process-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.process-list div {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
}

.process-list p {
  color: rgba(255, 255, 255, 0.8);
}

.timeline-section {
  padding: clamp(78px, 9vw, 128px) 0;
  background:
    radial-gradient(circle at 12% 48%, rgba(76, 59, 207, 0.2), transparent 30rem),
    rgba(255, 255, 255, 0.012);
  border-bottom: 1px solid var(--line);
}

.timeline-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: end;
}

.timeline-heading p {
  margin-top: 0;
}

.timeline-shell {
  margin-top: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.24);
}

.timeline-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.timeline-tabs::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8.333%;
  right: 8.333%;
  height: 1px;
  background: var(--line);
}

.timeline-tab {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 17px 8px 20px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  font: 700 0.75rem/1.2 "Inter", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
}

.timeline-tab:last-child {
  border-right: 0;
}

.timeline-tab span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0 auto 13px;
  color: rgba(247, 246, 255, 0.72);
  background: #100d1c;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.66rem;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.timeline-tab:hover,
.timeline-tab.is-active {
  color: #fff;
}

.timeline-tab.is-active span {
  color: #fff;
  background: var(--violet-700);
  border-color: var(--cyan-400);
  box-shadow: 0 0 20px rgba(61, 194, 236, 0.3);
}

.timeline-tab:focus-visible,
.gallery-filter:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: -3px;
}

.timeline-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: clamp(28px, 6vw, 76px);
  min-height: 560px;
  padding: clamp(28px, 5vw, 60px);
  align-content: center;
}

.timeline-panel-number {
  grid-column: 1 / -1;
  color: var(--cyan-400);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.timeline-panel h3 {
  grid-column: 1;
  grid-row: 2;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  line-height: 1.02;
  font-weight: 600;
}

.timeline-image {
  grid-column: 1;
  grid-row: 3;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--night);
}

.timeline-panel > p,
.timeline-deliverable p {
  color: var(--ink-soft);
}

.timeline-panel > p {
  grid-column: 2;
}

.timeline-deliverable {
  grid-column: 2;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.timeline-deliverable span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-600);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.concept-service-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.concept-media {
  overflow: hidden;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--night);
  box-shadow: var(--shadow);
}

.concept-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.concept-service-copy h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.3rem, 4.7vw, 5rem);
  line-height: 0.98;
  font-weight: 600;
}

.concept-service-copy > p {
  margin-top: 22px;
  color: var(--ink-soft);
}

.planning-list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.planning-list div {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.planning-list p {
  margin-top: 8px;
  color: var(--ink-soft);
}

.image-copy-grid img {
  min-height: 460px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.image-copy-grid p {
  margin-top: 20px;
}

.project-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 72px;
  padding-bottom: 100px;
}

.project-page-grid.is-filtered {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project-page-grid.is-filtered .portfolio-item {
  grid-column: auto;
  min-height: 500px;
}

.gallery-toolbar {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding-top: 32px;
  padding-bottom: 0;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.gallery-toolbar::-webkit-scrollbar {
  display: none;
}

.gallery-filter {
  position: relative;
  flex: 0 0 auto;
  padding: 14px 0 15px;
  color: var(--muted);
  background: transparent;
  border: 0;
  font: 800 0.76rem/1 "Inter", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  cursor: pointer;
}

.gallery-filter::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet-700), var(--cyan-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.gallery-filter:hover,
.gallery-filter.is-active {
  color: #fff;
}

.gallery-filter.is-active::after {
  transform: scaleX(1);
}

.portfolio-item[hidden] {
  display: none;
}

.portfolio-item.is-filtered-in {
  animation: gallery-in 320ms ease both;
}

@keyframes gallery-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: var(--radius);
  background: var(--night);
  border: 1px solid rgba(157, 170, 255, 0.16);
}

.portfolio-item.large {
  grid-column: span 2;
  min-height: 560px;
}

.contact-grid {
  align-items: start;
}

.contact-details,
.contact-form {
  border-radius: var(--radius);
}

.contact-details {
  display: grid;
  gap: 22px;
}

.contact-line {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-line span {
  color: var(--cyan-400);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(76, 59, 207, 0.14), rgba(61, 194, 236, 0.045)),
    var(--surface);
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  font: 500 1rem/1.4 "Inter", Arial, sans-serif;
  color-scheme: dark;
}

.contact-form option {
  color: #111015;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(75, 112, 245, 0.28);
  border-color: var(--blue-600);
}

.form-note {
  min-height: 24px;
  color: var(--cyan-400);
  font-weight: 700;
}

.form-note.is-error {
  color: #ff9db0;
}

.form-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.legal-page {
  max-width: 850px;
  padding-top: clamp(72px, 10vw, 124px);
  padding-bottom: clamp(72px, 10vw, 124px);
}

.legal-page h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
}

.legal-page h2 {
  margin-top: 38px;
}

.legal-page h2[id] {
  scroll-margin-top: 110px;
}

.legal-page h3 {
  margin-top: 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.legal-page p {
  margin-top: 16px;
}

.legal-page ul {
  margin: 16px 0 0;
  padding-left: 22px;
  color: var(--ink-soft);
}

.legal-page li + li {
  margin-top: 10px;
}

.legal-page strong {
  color: var(--ink);
}

.legal-page a {
  color: var(--cyan-400);
  font-weight: 700;
}

.legal-updated {
  color: var(--cyan-400) !important;
  font-weight: 800;
}

.legal-toc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin-top: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.legal-toc strong {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.legal-toc a {
  font-size: 0.92rem;
}

.legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--blue-600);
  background: rgba(75, 112, 245, 0.08);
}

.site-footer {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7, 6, 13, 0.96), #05040a),
    var(--night);
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(140px, 0.65fr));
  gap: 34px;
  padding: 56px 0 40px;
}

.footer-logo {
  width: 210px;
  margin-bottom: 20px;
}

.site-footer h2 {
  margin-bottom: 16px;
  color: var(--cyan-400);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-footer p,
.site-footer a {
  display: block;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.site-footer a {
  margin-bottom: 10px;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

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

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

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    top: 76px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(9, 7, 17, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 14px;
  }

  .split-hero,
  .two-column,
  .transformation-heading,
  .media-grid,
  .process-grid,
  .image-copy-grid,
  .contact-grid,
  .concept-service-grid,
  .timeline-heading,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .transformation-heading p {
    margin-top: 0;
  }

  .transformation-showcase-grid {
    grid-template-columns: 1fr;
  }

  .transformation-project {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  }

  .transformation-project .comparison-frame {
    height: 100%;
    min-height: 430px;
    aspect-ratio: auto;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .transformation-project-copy {
    align-self: center;
    min-height: auto;
  }

  .timeline-heading p {
    margin-top: 0;
  }

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

  .timeline-tabs::before {
    display: none;
  }

  .timeline-tab:nth-child(3) {
    border-right: 0;
  }

  .timeline-tab:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .split-hero {
    min-height: 0;
  }

  .video-hero {
    min-height: 720px;
    padding: clamp(40px, 8vw, 70px);
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(3.4rem, 16vw, 6rem);
  }

  .hero-media,
  .hero-media img {
    min-height: 460px;
  }

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

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

  .service-detail-grid,
  .concept-grid,
  .project-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .concept-media,
  .concept-media img {
    min-height: 430px;
  }

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

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    padding: 12px 18px;
  }

  .brand {
    width: min(205px, 58vw);
  }

  .primary-nav {
    top: 68px;
  }

  .hero {
    width: min(100% - 28px, 1320px);
    margin-top: 22px;
  }

  .video-hero {
    min-height: calc(100svh - 96px);
    padding: 32px 22px;
  }

  .hero-video-shade {
    background: linear-gradient(180deg, rgba(5, 4, 10, 0.48) 0%, rgba(5, 4, 10, 0.9) 66%, rgba(5, 4, 10, 0.98) 100%);
  }

  .hero-copy h1,
  .page-hero h1,
  .legal-page h1 {
    font-size: clamp(2.85rem, 13.5vw, 3.55rem);
  }

  .hero-copy h1 {
    max-width: 7.5ch;
  }

  .hero-lede {
    margin-top: 22px;
  }

  .button {
    width: 100%;
  }

  .button.secondary {
    margin: 12px 0 0;
  }

  .hero-media,
  .hero-media img {
    min-height: 390px;
  }

  .comparison-frame {
    min-height: 330px;
    aspect-ratio: 4 / 3;
  }

  .section-inner {
    width: min(100% - 28px, var(--max));
  }

  .section-top {
    display: grid;
    align-items: start;
  }

  .timeline-shell {
    overflow: hidden;
  }

  .timeline-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .timeline-tab,
  .timeline-tab:nth-child(3) {
    min-width: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .timeline-tab:nth-child(3),
  .timeline-tab:last-child {
    border-right: 0;
  }

  .timeline-tab:last-child {
    border-right: 0;
  }

  .timeline-panel {
    grid-template-columns: 1fr;
    min-height: 390px;
  }

  .timeline-panel-number,
  .timeline-panel h3,
  .timeline-image,
  .timeline-panel > p,
  .timeline-deliverable {
    grid-column: 1;
    grid-row: auto;
  }

  .transformation-project {
    display: block;
  }

  .transformation-project .comparison-frame {
    height: auto;
    min-height: 330px;
    aspect-ratio: 4 / 3;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .transformation-project-copy {
    min-height: auto;
  }

  .gallery-toolbar {
    gap: 22px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .project-grid,
  .service-detail-grid,
  .concept-grid,
  .concept-service-grid,
  .project-page-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card.wide,
  .portfolio-item,
  .portfolio-item.large {
    min-height: 420px;
    grid-column: auto;
    grid-row: auto;
  }

  .project-card div,
  .portfolio-item div {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .detail-panel {
    min-height: auto;
  }

  .concept-panel {
    min-height: auto;
  }

  .concept-panel h3 {
    margin-top: 22px;
  }

  .concept-media,
  .concept-media img {
    min-height: 380px;
  }

  .contact-form {
    padding: 20px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }

  .legal-toc strong {
    grid-column: 1;
  }
}
