:root {
  --paper: #0a0a0a;
  --ink: #f4f4f1;
  --mist: #b8b8b2;
  --line: #232323;
  --accent: #14e9e3;
  --accent-soft: rgba(20, 233, 227, 0.12);
  --ai-orange: #ff8a1f;
  --ai-pink: #ff2f7d;
  --ai-blue: #42a5ff;
  --ai-gradient: linear-gradient(120deg, var(--ai-orange) 0%, var(--ai-pink) 46%, var(--ai-blue) 100%);
  --logo-lime: #ddff2f;
  --logo-pink: #ff2f7d;
  --logo-cyan: #14e9e3;
  --logo-green: #10f78b;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #0a0a0a;
  overflow-x: hidden;
}

.home-light {
  --paper: #ffffff;
  --ink: #171513;
  --mist: #6d665e;
  --line: rgba(23, 21, 19, 0.1);
  --home-highlight: linear-gradient(120deg, #d97706 0%, #f97316 52%, #ef4444 100%);
  background: #ffffff;
  color: var(--ink);
}

body.home-light,
.site-shell.home-light,
.home-light main,
.home-light .hero-stage {
  background: #ffffff !important;
  color: var(--ink);
}

.site-shell {
  position: relative;
  overflow-x: clip;
}

.site-shell-boot > :not(.loader-screen):not(.mobile-nav-panel):not(.mobile-nav-scrim) {
  opacity: 0;
  transform: translateY(18px) scale(0.992);
  filter: blur(10px);
}

.site-shell.is-ready > :not(.loader-screen):not(.mobile-nav-panel):not(.mobile-nav-scrim) {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition:
    opacity 820ms ease,
    transform 1000ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 900ms ease;
}

.loader-screen {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: #ffffff;
  opacity: 1;
  transition: opacity 360ms ease, transform 360ms ease, filter 360ms ease;
}

.loader-screen.is-leaving {
  opacity: 0;
  transform: scale(1.006);
  filter: blur(4px);
}

.loader-shell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  width: min(52vw, 16rem);
  height: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(6%) sepia(18%) saturate(568%) hue-rotate(346deg) brightness(94%) contrast(92%);
  clip-path: inset(0 100% 0 0);
  animation: loaderShapeReveal 1.4s cubic-bezier(0.76, 0, 0.24, 1) forwards;
  animation-delay: 0.08s;
}

.home-light .loader-screen {
  background: #ffffff;
}

.home-light .loader-logo {
  width: 3.5rem;
  filter: brightness(0) saturate(100%) invert(6%) sepia(18%) saturate(568%) hue-rotate(346deg) brightness(94%) contrast(92%);
}

@keyframes loaderShapeReveal {
  0%   { clip-path: inset(0 100% 0 0); }
  20%  { clip-path: inset(0 78% 0 0); }
  38%  { clip-path: inset(0 78% 0 0); }
  50%  { clip-path: inset(0 52% 0 0); }
  60%  { clip-path: inset(0 52% 0 0); }
  74%  { clip-path: inset(0 26% 0 0); }
  82%  { clip-path: inset(0 26% 0 0); }
  100% { clip-path: inset(0 0% 0 0); }
}

@keyframes aiCaretBlink {
  0%, 48% {
    opacity: 1;
  }
  49%, 100% {
    opacity: 0;
  }
}

.ambient-orb {
  display: none;
}

.hero-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-stage > .mx-auto {
  position: relative;
  z-index: 1;
}

.home-hero-shell {
  min-height: calc(100svh - 8.25rem);
  display: flex;
  align-items: center;
}

.home-hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr);
  gap: 0.8rem;
  align-items: end;
}

.home-hero-main {
  display: grid;
  gap: 1.25rem;
  min-height: auto;
  padding-block: 0.75rem 0;
  align-self: end;
}

.hero-title.home-hero-title {
  max-width: 14ch;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.95;
  margin: 1rem 0 0;
}

.home-hero-plus {
  margin-inline: 0.12em;
  color: rgba(244, 244, 241, 0.32);
}

.home-light .home-hero-plus {
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.home-hero-foot {
  display: grid;
  gap: 0.9rem;
  padding-top: 0.1rem;
}

.home-hero-summary {
  margin: 0;
  max-width: 25rem;
  color: rgba(23, 21, 19, 0.66);
  font-size: clamp(0.88rem, 0.92vw, 0.96rem);
  line-height: 1.48;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.home-hero-side {
  display: grid;
  gap: 0.8rem;
  align-content: end;
  align-self: end;
  padding-bottom: 0;
  max-width: 16rem;
  justify-self: end;
}

.home-side-terminal,
.home-side-note {
  min-height: 8.9rem;
}

.home-side-terminal {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(23, 21, 19, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.5));
  box-shadow: 0 14px 34px rgba(16, 17, 20, 0.09);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.home-side-terminal:hover {
  transform: translateX(4px);
  border-color: rgba(255, 47, 125, 0.42);
  box-shadow: 0 16px 38px rgba(255, 47, 125, 0.16);
}

.home-side-terminal-hd {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(23, 21, 19, 0.12);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(23, 21, 19, 0.62);
  background: rgba(255, 255, 255, 0.52);
}

.home-side-terminal-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #10f78b;
  box-shadow: 0 0 10px rgba(16, 247, 139, 0.65);
}

.home-side-terminal-body {
  display: grid;
  align-content: start;
  gap: 0.32rem;
  padding: 0.62rem 0.75rem 0.7rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  line-height: 1.55;
  color: rgba(23, 21, 19, 0.86);
}

.home-side-terminal-line {
  margin: 0;
  opacity: 0;
  transform: translateY(4px);
  animation: sideTerminalLineIn 2.6s ease-in-out infinite;
}

.home-side-terminal-line:nth-child(1) { animation-delay: 0.05s; }
.home-side-terminal-line:nth-child(2) { animation-delay: 0.35s; }
.home-side-terminal-line:nth-child(3) { animation-delay: 0.65s; }

.home-side-terminal-prompt {
  color: rgba(255, 47, 125, 0.9);
}

.home-side-terminal-cursor {
  display: inline-block;
  width: 0.4rem;
  height: 0.86em;
  margin-left: 0.18rem;
  vertical-align: text-bottom;
  border-radius: 1px;
  background: rgba(23, 21, 19, 0.82);
  animation: sideTerminalBlink 1s step-end infinite;
}

.home-side-note,
.home-side-link {
  display: grid;
  gap: 0.42rem;
  padding: 0.78rem 0;
  border-top: 1px solid rgba(23, 21, 19, 0.1);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1), border-color 350ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

@keyframes sideTerminalLineIn {
  0%, 12% { opacity: 0; transform: translateY(4px); }
  24%, 86% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(4px); }
}

@keyframes sideTerminalBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.home-side-note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-side-note:hover {
  transform: translateX(6px);
  border-top-color: transparent;
}

.home-side-note:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.home-side-note:hover .home-side-label {
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.22em;
}

.home-side-note:hover .home-side-text {
  color: rgba(23, 21, 19, 0.96);
  transform: translateX(2px);
}

.home-side-label,
.home-side-link-label {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(23, 21, 19, 0.46);
  transition: color 350ms cubic-bezier(0.4, 0, 0.2, 1), letter-spacing 350ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-text-fill-color 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-side-text,
.home-side-link-text {
  margin: 0;
  max-width: 20rem;
  font-size: 0.84rem;
  line-height: 1.42;
  color: rgba(23, 21, 19, 0.82);
  transition: color 350ms cubic-bezier(0.4, 0, 0.2, 1), transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-side-link {
  position: relative;
  transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1), border-color 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-side-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-side-link:hover {
  transform: translateX(6px);
  border-top-color: transparent;
}

.home-side-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.home-side-link:hover .home-side-link-label {
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.22em;
}

.home-side-link:hover .home-side-link-text {
  color: rgba(23, 21, 19, 0.96);
  transform: translateX(2px);
}

.hero-grid {
  display: none;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(10, 10, 10, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.home-light .site-nav {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(23, 21, 19, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-center {
  display: inline-flex;
  align-items: center;
}

.nav-right {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
}

.nav-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle .material-symbols-outlined {
  font-size: 24px !important;
}

.mobile-nav-panel {
  display: none;
}

.mobile-nav-scrim {
  display: none;
}

.header-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.34rem;
  height: 1.34rem;
  text-decoration: none;
  position: relative;
}

.header-social-icon,
.header-social-gradient {
  position: absolute;
  inset: 0;
  display: block;
  width: 1.34rem;
  height: 1.34rem;
}

.header-social-icon {
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: opacity 180ms ease, transform 180ms ease;
}

.home-light .header-social-icon {
  filter: brightness(0) saturate(100%);
}

.header-social-gradient {
  opacity: 0;
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  -webkit-mask-image: url("/assets/linkedin-mask.svg");
  mask-image: url("/assets/linkedin-mask.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: opacity 180ms ease, transform 180ms ease;
}

.header-social-link:hover .header-social-icon {
  opacity: 0;
  transform: translateY(-1px);
}

.header-social-link:hover .header-social-gradient {
  opacity: 1;
  transform: translateY(-1px);
}

.brand-lockup,
.nav-link,
.eyebrow,
.tag,
.button-primary,
.button-secondary,
.footer-link {
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.82rem;
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease;
}

.brand-lockup:hover {
  transform: translateY(-1px);
}

.brand-mark {
  width: 4.3rem;
  height: auto;
  display: block;
  filter: brightness(0) invert(1) grayscale(1) contrast(1.1);
  transition: filter 220ms ease, transform 220ms ease;
}

.home-light .brand-mark {
  filter: brightness(0) saturate(100%);
}

.brand-text {
  display: none;
}

.nav-link {
  --nav-hover: var(--accent);
  position: relative;
  color: rgba(244, 244, 241, 0.62);
  font-size: 0.72rem;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.home-light .nav-link {
  color: rgba(23, 21, 19, 0.45);
}

.nav-link-mobile-ai {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 100%;
  height: 1.5px;
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link:hover,
.nav-link-active {
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(244, 244, 241, 0.88);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.sound-toggle:hover {
  transform: translateY(-1px);
  color: #ffffff;
}

.sound-toggle-icon {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sound-toggle[aria-pressed="false"] .sound-toggle-icon path:last-child {
  opacity: 0.28;
}

.sound-toggle-light {
  color: rgba(16, 17, 20, 0.82);
}

.sound-toggle-light:hover {
  color: #101114;
}

.sound-toggle-inline {
  white-space: nowrap;
}

.eyebrow {
  font-size: 0.7rem;
  color: rgba(244, 244, 241, 0.72);
}

.home-light .eyebrow {
  color: rgba(23, 21, 19, 0.56);
}

.hero-intro {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.hero-profile-shell {
  width: 2rem !important;
  height: 2rem !important;
  min-width: 2rem;
  min-height: 2rem;
  max-width: 2rem;
  max-height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  background: #cbcbcb;
  border: 1px solid rgba(255, 255, 255, 0.16);
  flex: 0 0 2rem;
}

.hero-profile {
  width: 2rem !important;
  height: 2rem !important;
  min-width: 2rem;
  min-height: 2rem;
  max-width: 2rem;
  max-height: 2rem;
  display: block;
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(244, 244, 241, 0.96);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}

.home-light .hero-kicker {
  color: rgba(23, 21, 19, 0.84);
}

.home-light .hero-kicker-swap {
  color: rgba(23, 21, 19, 0.92);
}

.home-light .hero-kicker-front {
  color: rgba(23, 21, 19, 0.96);
  animation: heroKickerFrontSwap 8s ease-in-out infinite;
}

.hero-kicker-static {
  display: inline-block;
}

.hero-kicker-swap {
  position: relative;
  display: inline-grid;
  align-items: center;
  min-width: 29ch;
  color: #ffffff;
}

.hero-kicker-front,
.hero-kicker-back {
  grid-area: 1 / 1;
  display: inline-block;
  white-space: nowrap;
}

.hero-kicker-back {
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-kicker-front {
  color: var(--logo-lime);
  animation: heroKickerFrontSwap 8s ease-in-out infinite;
}

.hero-kicker-back {
  animation:
    aiGradientShift 3.8s ease-in-out infinite,
    heroKickerBackSwap 8s ease-in-out infinite;
}

.hero-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(2.6rem, 5.8vw, 5.3rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 650;
}

.section-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 620;
}

.project-title,
.sub-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.35rem, 1.8vw, 1.9rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.accent-text {
  color: inherit;
}

.home-light .accent-text,
.home-light .hero-rotator-text,
.home-light .home-highlight-text {
  background: var(--home-highlight);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-rotator {
  position: relative;
  display: inline-grid;
  min-width: 16ch;
  min-height: 1.15em;
  vertical-align: baseline;
  perspective: 900px;
  text-decoration: none;
}

.hero-rotator-text {
  display: inline-block;
  transform-origin: center center;
  transition: transform 760ms cubic-bezier(0.16, 1, 0.3, 1), opacity 760ms ease, color 760ms ease, filter 760ms ease;
  will-change: transform, opacity, color;
  filter: blur(0);
}

.hero-rotator-text.is-flipping-out {
  opacity: 0;
  transform: rotateX(72deg) translateY(-0.12em);
  filter: blur(2px);
}

.hero-rotator-text.is-flipping-in {
  opacity: 1;
  transform: rotateX(0deg) translateY(0);
  filter: blur(0);
}

.project-copy,
.mini-copy {
  margin-top: 1rem;
  color: rgba(184, 184, 178, 0.92);
  font-size: 0.96rem;
  line-height: 1.72;
}

.home-light .project-copy,
.home-light .mini-copy {
  color: rgba(62, 57, 51, 0.82);
}

.home-light .hero-title,
.home-light .section-title,
.home-light .sub-title,
.home-light .discipline-label,
.home-light .ai-teaser-title,
.home-light .ai-teaser-copy-text,
.home-light .footer-link,
.home-light .ticker-group span {
  color: rgba(23, 21, 19, 0.92);
}

.home-light .ticker-group span {
  opacity: 0.42;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid transparent;
  font-size: 0.72rem;
  text-decoration: none;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.button-primary {
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  color: var(--paper);
  box-shadow: 0 12px 26px rgba(255, 138, 31, 0.12);
}

.button-secondary {
  border-color: transparent;
  background: rgba(10, 10, 10, 0.94);
  color: var(--ink);
}

.home-light .button-secondary {
  background: transparent;
  border-color: rgba(23, 21, 19, 0.16);
  color: rgba(23, 21, 19, 0.9);
}

.home-light .button-primary {
  background: rgba(23, 21, 19, 0.96);
  color: #ffffff;
  animation: none;
  box-shadow: none;
}

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

.button-primary:hover {
  color: #0a0a0a;
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  box-shadow: 0 16px 34px rgba(255, 47, 125, 0.18);
}

.button-secondary:hover {
  color: var(--ink);
  border-color: rgba(221, 255, 47, 0.7);
  box-shadow: 0 12px 30px rgba(221, 255, 47, 0.08);
}

.home-light .button-primary:hover {
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(255, 47, 125, 0.12);
}

.home-light .button-secondary:hover {
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(255, 47, 125, 0.1);
}

.hero-approach-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding-bottom: 0.45rem;
  color: #ffffff;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  transition: color 220ms ease, transform 220ms ease, opacity 220ms ease;
}

.home-light .hero-approach-link {
  color: rgba(23, 21, 19, 0.92);
}

.hero-approach-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.82);
  transform: scaleX(0.16);
  transform-origin: left center;
  transition: transform 220ms ease, opacity 220ms ease;
}

.home-light .hero-approach-link::after {
  background: rgba(23, 21, 19, 0.72);
}

.home-light .ai-teaser {
  border-color: rgba(23, 21, 19, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(244, 236, 223, 0.98)),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.14), transparent 28%);
  box-shadow: 0 24px 60px rgba(102, 72, 36, 0.08);
}

.home-light .ai-teaser-cta {
  color: rgba(23, 21, 19, 0.72);
}

.home-light .ai-teaser:hover .eyebrow,
.home-light .ai-teaser:hover .ai-teaser-title,
.home-light .ai-teaser:hover .ai-teaser-copy-text,
.home-light .ai-teaser:hover .ai-teaser-cta {
  color: rgba(23, 21, 19, 0.94);
}

.home-light .ai-teaser:hover .ai-gradient-word {
  background: var(--home-highlight);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.home-light .mini-column {
  border-top-color: rgba(23, 21, 19, 0.12);
}

.hero-approach-link::before {
  content: none;
}

.hero-approach-link:hover {
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transform: translateY(-1px);
  opacity: 1;
}

.hero-approach-link:hover::after {
  transform: scaleX(1);
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
}

.ai-mode-button {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3.6rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  color: #0a0a0a;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  background: var(--ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 50px rgba(123, 134, 255, 0.24);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.ai-mode-button:hover {
  transform: translateY(-2px) scale(1.01);
  background: var(--logo-green);
  box-shadow: 0 0 0 1px rgba(16, 247, 139, 0.2), 0 24px 60px rgba(16, 247, 139, 0.18);
}

.ai-mode-button-small {
  min-width: 4rem;
  min-height: 4rem;
  padding: 0;
  justify-content: center;
}

.ai-entry-disc {
  display: inline-grid;
  place-items: center;
  position: relative;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.76),
    0 10px 24px rgba(255,255,255,0.06),
    0 2px 10px rgba(0,0,0,0.2);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
  overflow: hidden;
  animation: heroAiFloat 2.6s ease-in-out infinite;
  will-change: transform;
}

.ai-entry-disc:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(255,255,255,0.34);
  background: linear-gradient(120deg, #ff8a1f 0%, #ff2f7d 46%, #42a5ff 100%);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 18px 40px rgba(255, 47, 125, 0.12),
    0 0 0 1px rgba(255,255,255,0.08);
}

.ai-entry-disc::before,
.ai-entry-disc::after {
  content: "";
  position: absolute;
  inset: 0.34rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
}

.ai-entry-disc::before {
  opacity: 0.7;
}

.ai-entry-disc::after {
  inset: 0.62rem;
  border-color: rgba(20, 20, 20, 0.08);
  opacity: 0.5;
}

.ai-disc-mark {
  position: relative;
  z-index: 1;
  width: 1.7rem;
  height: 0.98rem;
  display: block;
  background: #111111;
  -webkit-mask-image: url("/assets/ai-mark-mask.svg");
  mask-image: url("/assets/ai-mark-mask.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  filter: none;
  transition: background 220ms ease, filter 220ms ease;
}

.ai-entry-disc:hover .ai-disc-mark {
  background: #ffffff;
  filter: drop-shadow(0 4px 10px rgba(255, 255, 255, 0.16));
}

.project-frame,
.contact-panel,
.service-card,
.cta-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 16, 16, 0.82);
}

.project-frame {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.project-frame.square {
  aspect-ratio: 1 / 1;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition:
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 700ms ease,
    opacity 700ms ease;
  opacity: 0.82;
}

.project-link:hover .project-image,
.mini-project:hover .project-image,
.work-row:hover .project-image {
  transform: scale(1.025);
  filter: grayscale(20%);
  opacity: 1;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.2rem 0.75rem;
  font-size: 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(244, 244, 241, 0.82);
  background: rgba(255, 255, 255, 0.03);
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.arrow-mark {
  color: rgba(244, 244, 241, 0.72);
  transition: transform 240ms ease, color 240ms ease;
}

.project-link:hover .arrow-mark {
  transform: translate(4px, -4px);
  color: var(--accent);
}

.mini-column {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-panel {
  display: flex;
  gap: 2rem;
  align-items: end;
  justify-content: space-between;
  padding: 2rem;
}

.ai-section {
  display: block;
}

.ai-section-poster {
  position: relative;
  display: grid;
  min-height: clamp(24rem, 54svh, 30rem);
  border: 1px solid rgba(23, 21, 19, 0.1);
  background: #17191f;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

.ai-section-poster:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 21, 19, 0.18);
  box-shadow: 0 18px 50px rgba(23, 21, 19, 0.08);
}

.ai-section-panel {
  display: grid;
  gap: 1rem;
  align-content: end;
  min-height: 100%;
  padding: 2.2rem 2rem 2.4rem;
  background: #17191f;
}

.ai-section-kicker {
  color: rgba(255, 255, 255, 0.62);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.ai-section-kicker-dot {
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #ff2f7d;
  box-shadow: 0 0 0 2px rgba(255, 47, 125, 0.22), 0 0 14px rgba(255, 47, 125, 0.5);
  animation: aiKickerPulse 1.8s ease-in-out infinite;
}

@keyframes aiKickerPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 47, 125, 0.22), 0 0 14px rgba(255, 47, 125, 0.5); }
  50% { box-shadow: 0 0 0 4px rgba(255, 47, 125, 0.12), 0 0 20px rgba(255, 47, 125, 0.7); }
}

.home-light .ai-section-panel .ai-section-kicker {
  color: rgba(255, 255, 255, 0.62);
}

.ai-section-title {
  max-width: 12ch;
  margin: 0;
  color: #ffffff;
  display: grid;
  gap: 0.12em;
}

.home-light .ai-section-panel .ai-section-title {
  color: #ffffff;
}

.ai-section-copy-text {
  max-width: 35rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.home-light .ai-section-panel .ai-section-copy-text {
  color: rgba(255, 255, 255, 0.84);
}

.ai-title-typed-wrap {
  display: block;
}

.ai-title-typed-wrap {
  position: relative;
  min-height: 2.15em;
}

.ai-title-typed {
  display: inline-block;
  min-width: 11ch;
  white-space: normal;
  color: #ffffff;
  font-weight: 400;
}

.home-light .ai-section-panel .ai-title-typed {
  color: #ffffff;
}

.ai-title-caret {
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin-left: 0.12em;
  vertical-align: -0.08em;
  background: rgba(255, 255, 255, 0.78);
  animation: aiCaretBlink 1s steps(1) infinite;
}

.ai-section-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1px;
  width: fit-content;
  padding: 1px;
  margin-top: 0.2rem;
  border-radius: 0.9rem;
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
}

.ai-section-meta span {
  display: inline-flex;
  min-height: 1.9rem;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.78rem;
  background: #17191f;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  transition: color 220ms ease, background 260ms ease, transform 220ms ease;
}

.ai-section-meta span:first-child {
  border-top-left-radius: 0.82rem;
  border-bottom-left-radius: 0.82rem;
}

.ai-section-meta span:last-child {
  border-top-right-radius: 0.82rem;
  border-bottom-right-radius: 0.82rem;
}

.home-light .ai-section-panel .ai-section-meta span {
  color: rgba(255, 255, 255, 0.9);
}

.ai-section-meta span:hover {
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  color: #17191f;
  transform: translateY(-1px);
}

.ai-section-cta {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.72rem 1.4rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  border-radius: 100px;
  border: none;
  transition: transform 240ms ease, box-shadow 240ms ease;
  box-shadow: 0 4px 22px rgba(255, 47, 125, 0.35);
  z-index: 2;
}

.ai-section-cta-arrow {
  display: inline-block;
  transition: transform 240ms ease;
}

.ai-section-poster:hover .ai-section-cta {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 47, 125, 0.52);
}

.ai-section-poster:hover .ai-section-cta-arrow {
  transform: translateX(4px);
}

.ai-teaser {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(12rem, 0.85fr);
  gap: 1.5rem;
  align-items: stretch;
  min-height: 21rem;
  padding: 2rem 2rem 2.1rem;
  border: 1px solid rgba(23, 21, 19, 0.1);
  background: #ffffff;
  overflow: hidden;
  transition:
    background 700ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 700ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 700ms cubic-bezier(0.22, 1, 0.36, 1),
    color 520ms ease;
}

.ai-teaser-link-cover {
  position: absolute;
  text-decoration: none;
  inset: 0;
  z-index: 1;
}

.ai-teaser::before {
  content: "";
  position: absolute;
  left: 2rem;
  right: 2rem;
  top: 0;
  height: 1px;
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 4.2s ease-in-out infinite;
  opacity: 0.92;
  transition: opacity 420ms ease, transform 420ms ease;
  transform: scaleX(0.98);
  pointer-events: none;
}

.ai-teaser-copy {
  display: grid;
  align-content: end;
  gap: 0.9rem;
  position: relative;
  z-index: 2;
  max-width: 40rem;
  transition: color 520ms ease;
}

.ai-teaser .eyebrow,
.ai-teaser-title,
.ai-teaser-copy-text {
  width: 100%;
  margin-left: 0;
  margin-right: auto;
  text-align: left !important;
}
.ai-teaser-title,
.ai-teaser-copy-text {
  transition: color 520ms ease;
}

.ai-teaser-kicker {
  color: rgba(23, 21, 19, 0.44);
}

.ai-gradient-word {
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: color 520ms ease, background-position 700ms ease;
}

.ai-teaser-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 0.35rem;
}

.ai-teaser-meta span {
  display: inline-flex;
  min-height: 1.9rem;
  align-items: center;
  padding: 0.15rem 0.7rem;
  border: 1px solid rgba(23, 21, 19, 0.1);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(23, 21, 19, 0.58);
}

.ai-teaser-visual {
  position: relative;
  min-height: 100%;
  z-index: 2;
}

.ai-teaser-grid {
  position: absolute;
  inset: 1.2rem 0 1.2rem 1.2rem;
  background-image:
    linear-gradient(rgba(23, 21, 19, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 21, 19, 0.06) 1px, transparent 1px);
  background-size: 2.4rem 2.4rem;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.12));
  opacity: 0.75;
}

.ai-teaser-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(23, 21, 19, 0.12);
}

.ai-teaser-orbit-a {
  right: 2.1rem;
  top: 2.4rem;
  width: 10rem;
  height: 10rem;
  animation: aiTeaserFloat 6.6s ease-in-out infinite;
}

.ai-teaser-orbit-b {
  right: 0.8rem;
  bottom: 1.8rem;
  width: 13.5rem;
  height: 13.5rem;
  opacity: 0.42;
  animation: aiTeaserFloat 8.2s ease-in-out infinite reverse;
}

.ai-teaser-core {
  position: absolute;
  right: 4.4rem;
  top: 5rem;
  width: 5.3rem;
  height: 5.3rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,0.98), rgba(255,255,255,0.18) 30%, rgba(255,255,255,0) 72%),
    var(--ai-gradient);
  background-size: auto, 220% 220%;
  animation:
    aiGradientShift 4.2s ease-in-out infinite,
    aiTeaserFloat 6.1s ease-in-out infinite;
  box-shadow:
    0 0 24px rgba(255, 138, 31, 0.12),
    0 0 36px rgba(66, 165, 255, 0.08);
}

.ai-teaser-cta {
  position: absolute;
  right: 2rem;
  bottom: 1.9rem;
  z-index: 2;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(23, 21, 19, 0.88);
  text-decoration: none;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22rem;
  transition: color 520ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ai-teaser:hover {
  border-color: rgba(23, 21, 19, 0.16);
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(23, 21, 19, 0.08);
}

.ai-teaser:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.ai-teaser:hover .eyebrow,
.ai-teaser:hover .ai-teaser-title,
.ai-teaser:hover .ai-teaser-copy-text,
.ai-teaser:hover .ai-teaser-cta {
  color: rgba(23, 21, 19, 0.96);
}

.ai-teaser:hover .ai-gradient-word {
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.ai-teaser:hover .ai-teaser-cta {
  transform: translateY(-0.08rem) translateX(0.16rem);
}

.ai-teaser:hover .ai-teaser-meta span {
  border-color: rgba(23, 21, 19, 0.16);
  color: rgba(23, 21, 19, 0.72);
}

@keyframes aiTeaserFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.ai-orb-core {
  width: 5.6rem;
  height: 5.6rem;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,1), rgba(248,248,248,0.98) 66%, rgba(230,230,230,0.94) 100%);
  color: var(--ink);
  letter-spacing: 0.28em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.72),
    0 0 26px rgba(255, 138, 31, 0.08),
    0 0 40px rgba(66, 165, 255, 0.14);
}

.ai-core-mark {
  width: 3.3rem;
  height: 1.92rem;
  display: block;
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.6s ease-in-out infinite;
  -webkit-mask-image: url("/assets/ai-mark-mask.svg");
  mask-image: url("/assets/ai-mark-mask.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  filter: drop-shadow(0 6px 12px rgba(255, 47, 125, 0.12));
}

.ai-orb-field .orbit-node {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(244, 244, 241, 0.74);
  backdrop-filter: blur(10px);
}

.ai-orb-link-inline {
  grid-template-columns: auto auto;
  align-items: center;
  justify-items: start;
  gap: 1.4rem;
}

.ai-orb-field-inline {
  width: 10rem;
}

.ai-orb-field-inline .orbit-ring-a {
  width: 4.8rem;
  height: 4.8rem;
}

.ai-orb-field-inline .orbit-ring-b {
  width: 7rem;
  height: 7rem;
}

.ai-orb-field-inline .gravity-core {
  width: 3rem;
  height: 3rem;
  font-size: 0.72rem;
}

.ai-orb-field-inline .ai-core-mark {
  width: 1.8rem;
  height: 1.04rem;
}

.ai-orb-field-inline .orbit-node {
  padding: 0.38rem 0.5rem;
  font-size: 0.46rem;
}

.footer-wordmark {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.footer-nameband {
  background: #ffffff;
  overflow: visible;
}

.footer-nameband-text {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(10rem, 30vw, 28rem);
  line-height: 0.78;
  letter-spacing: -0.06em;
  font-weight: 700;
  color: #090909;
  white-space: nowrap;
  transform: translateX(3%) translateY(3%) translateY(2px);
}

.site-footer {
  background: #090909;
  margin-top: 0;
}

.footer-brand-gradient {
  display: block;
  width: clamp(6rem, 12vw, 9rem);
  aspect-ratio: 3.2 / 1;
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  -webkit-mask-image: url("/assets/brand-logo.png");
  mask-image: url("/assets/brand-logo.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

.footer-link {
  font-size: 0.72rem;
  color: rgba(244, 244, 241, 0.88);
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.home-light .site-footer .footer-link {
  color: rgba(244, 244, 241, 0.88);
}

.footer-note {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 244, 241, 0.82);
}

.footer-meta {
  display: grid;
  justify-items: end;
  align-items: end;
  gap: 0.55rem;
  margin-left: auto;
}

.footer-link:hover {
  transform: translateX(4px);
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.footer-wordmark:hover .footer-brand-gradient {
  transform: translateY(-1px);
}

.brand-lockup:hover .brand-mark {
  filter: none;
  transform: scale(1.02);
}

.home-light .brand-lockup:hover .brand-mark {
  filter: none;
}

.home-light .brand-lockup:hover {
  position: relative;
}

.home-light .brand-lockup:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  -webkit-mask-image: url("/assets/brand-logo.png");
  mask-image: url("/assets/brand-logo.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  mask-position: left center;
  -webkit-mask-size: 4.3rem auto;
  mask-size: 4.3rem auto;
  pointer-events: none;
}

.project-link:hover .tag,
.work-row:hover .tag {
  transform: translateY(-1px);
}

.project-link:hover .tag:nth-child(4n + 1),
.work-row:hover .tag:nth-child(4n + 1) {
  color: var(--logo-lime);
  border-color: rgba(221, 255, 47, 0.28);
  background: rgba(221, 255, 47, 0.05);
}

.project-link:hover .tag:nth-child(4n + 2),
.work-row:hover .tag:nth-child(4n + 2) {
  color: var(--logo-pink);
  border-color: rgba(255, 47, 125, 0.28);
  background: rgba(255, 47, 125, 0.05);
}

.project-link:hover .tag:nth-child(4n + 3),
.work-row:hover .tag:nth-child(4n + 3) {
  color: var(--logo-cyan);
  border-color: rgba(20, 233, 227, 0.28);
  background: rgba(20, 233, 227, 0.05);
}

.project-link:hover .tag:nth-child(4n + 4),
.work-row:hover .tag:nth-child(4n + 4) {
  color: var(--logo-green);
  border-color: rgba(16, 247, 139, 0.28);
  background: rgba(16, 247, 139, 0.05);
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: drift 34s linear infinite;
}

.home-ticker-section {
  padding-top: 0.75rem;
  padding-bottom: 3.75rem;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-right: 1.25rem;
}

.ticker-group span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.12em;
  font-size: clamp(0.72rem, 0.86vw, 0.82rem);
  text-transform: uppercase;
  color: rgba(23, 21, 19, 0.54);
  white-space: nowrap;
}

.ticker-group span::after {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(23, 21, 19, 0.18), rgba(23, 21, 19, 0.04));
}

.ticker-group span:last-child::after {
  display: none;
}

.work-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 2rem;
}

.work-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.work-index,
.process-index {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.38);
}

.process-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card,
.service-card-contrast,
.contact-panel {
  padding: 2rem;
}

.service-card-contrast {
  background: var(--ink);
}

/* Section divider - animated gradient line */
.section-divider {
  height: 1px;
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  opacity: 0.35;
  margin: 0 auto;
}

/* Light theme service card overrides */
.home-light .service-card,
.home-light .cta-panel {
  border: 1px solid rgba(23, 21, 19, 0.08);
  background: rgba(23, 21, 19, 0.02);
  transition: border-color 350ms cubic-bezier(0.4, 0, 0.2, 1), transform 350ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 350ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.home-light .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 450ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-light .service-card:hover {
  border-color: rgba(23, 21, 19, 0.14);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.home-light .service-card:hover::before {
  transform: scaleX(1);
}

.home-light .service-card-contrast {
  background: #171513;
  color: #f4f4f1;
}

.home-light .service-card-contrast:hover {
  background: #1e1b19;
}

/* Light theme process row overrides */
.home-light .process-row {
  border-top-color: rgba(23, 21, 19, 0.08);
}

.home-light .process-index {
  color: rgba(23, 21, 19, 0.3);
}

/* Light theme mini-column overrides */
.home-light .mini-column {
  border-top-color: rgba(23, 21, 19, 0.1);
}

/* Light theme note block */
.home-light .note-block {
  border-color: rgba(23, 21, 19, 0.08);
  background: rgba(23, 21, 19, 0.02);
}

.sticky-side {
  position: sticky;
  top: 7.5rem;
  align-self: start;
}

.discipline-section {
  min-height: 118svh;
}

.discipline-stage {
  display: grid;
  grid-template-columns: minmax(16rem, 0.42fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: start;
  min-height: auto;
}

.discipline-intro {
  display: grid;
  gap: 0.9rem;
  max-width: 46rem;
  z-index: 1;
  padding-bottom: 1.8rem;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 75%, rgba(255,255,255,0) 100%);
}

.discipline-stage-title {
  max-width: 14ch;
}

.discipline-stage-copy {
  max-width: 42rem;
  margin-top: 0;
  font-size: 0.96rem;
  line-height: 1.52;
}

.discipline-strip {
  display: grid;
  gap: 1rem;
  border-top: 1px solid rgba(23, 21, 19, 0.1);
  padding-bottom: 0;
}

.discipline-card {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: center;
  gap: 1.2rem;
  min-height: 10rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(23, 21, 19, 0.08);
  cursor: pointer;
  outline: none;
  transition:
    border-color 280ms ease,
    background-color 280ms ease,
    padding-left 280ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms ease;
}

.discipline-index {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(23, 21, 19, 0.34);
}

.discipline-content {
  display: grid;
  gap: 0.34rem;
  min-width: 0;
}

.discipline-label {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.2rem, 1.55vw, 1.92rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: rgba(23, 21, 19, 0.34);
  transition: color 220ms ease, opacity 220ms ease, background-position 320ms ease;
}

.discipline-copy {
  margin: 0;
  max-width: 34rem;
  color: rgba(23, 21, 19, 0.52);
  font-size: 0.9rem;
  line-height: 1.5;
  min-height: 0;
  opacity: 0;
  overflow: hidden;
  max-height: 0;
  transform: translateY(0.55rem);
  transition:
    color 520ms ease,
    opacity 560ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    max-height 700ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.discipline-card:hover,
.discipline-card:focus-visible,
.discipline-card.is-active {
  transform: translateX(0.55rem);
  padding-left: 0.35rem;
  border-bottom-color: rgba(23, 21, 19, 0.18);
  background: linear-gradient(90deg, rgba(23, 21, 19, 0.04), rgba(23, 21, 19, 0));
}

.discipline-card:hover .discipline-copy,
.discipline-card:focus-visible .discipline-copy,
.discipline-card.is-active .discipline-copy {
  opacity: 1;
  transform: translateY(0);
  max-height: 5rem;
}

.discipline-card:hover .discipline-label,
.discipline-card:focus-visible .discipline-label,
.discipline-card.is-active .discipline-label {
  color: rgba(23, 21, 19, 0.98);
}

.discipline-card-ai:hover .discipline-label,
.discipline-card-ai:focus-visible .discipline-label,
.discipline-card-ai.is-active .discipline-label {
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.6s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.discipline-card-ai:hover .discipline-copy,
.discipline-card-ai:focus-visible .discipline-copy,
.discipline-card-ai.is-active .discipline-copy {
  color: rgba(23, 21, 19, 0.6);
}

.note-block {
  padding-left: 1rem;
  border-left: 1px solid rgba(209, 195, 163, 0.22);
}

.ai-light-shell {
  color: #101114;
  background: #fbfaf8;
}

.ai-gradient-field,
.ai-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  display: none;
}

.ai-gradient-field {
  z-index: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 138, 31, 0.12), transparent 22%),
    radial-gradient(circle at 68% 12%, rgba(66, 165, 255, 0.14), transparent 20%),
    radial-gradient(circle at 80% 70%, rgba(255, 47, 125, 0.12), transparent 18%);
  filter: blur(12px);
}

.ai-noise {
  z-index: 1;
  opacity: 0.03;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.4) 0.5px, transparent 0.5px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.35) 0.5px, transparent 0.5px);
  background-size: 24px 24px, 32px 32px;
}

.ai-light-nav {
  background: rgba(250, 250, 248, 0.72);
  border-bottom-color: rgba(16, 17, 20, 0.06);
}

.ai-light-brand,
.ai-light-link {
  color: rgba(16, 17, 20, 0.72);
}

.ai-light-link.nav-link-active,
.ai-light-link:hover {
  color: var(--nav-hover);
}

.ai-light-link.nav-link-active::after,
.ai-light-link:hover::after {
  background: var(--nav-hover);
}

.ai-nav,
.ai-footer,
.ai-hero-panel,
.ai-card,
.ai-flow-card,
.ai-cta-panel {
  position: relative;
  z-index: 2;
}

.ai-eyebrow {
  color: rgba(244, 244, 241, 0.72);
}

.ai-light-shell .ai-eyebrow {
  color: rgba(16, 17, 20, 0.72);
}

.ai-text-gradient {
  background: var(--ai-gradient);
  background-size: 220% 220%;
  animation: aiGradientShift 3.8s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}


.ai-hero-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  min-height: 560px;
  padding: 2.4rem;
  border: 1px solid rgba(16, 17, 20, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.52));
  overflow: hidden;
}

.ai-story-stage {
  min-height: 78svh;
  grid-template-columns: minmax(360px, 1fr) minmax(420px, 0.95fr);
}

.ai-cinema {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 2.5rem;
  align-items: center;
  min-height: 78svh;
  padding: 3rem;
  overflow: hidden;
  border: 1px solid rgba(16, 17, 20, 0.08);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255,245,239,0.88) 34%, rgba(249,243,255,0.88) 68%, rgba(240,247,255,0.92));
  box-shadow: 0 24px 80px rgba(255, 47, 125, 0.08);
}

.ai-cinema-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  pointer-events: none;
}

.ai-cinema-glow-a {
  top: -8%;
  right: -6%;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(255, 138, 31, 0.26), rgba(255, 138, 31, 0));
  animation: floatOrb 12s ease-in-out infinite;
}

.ai-cinema-glow-b {
  bottom: -10%;
  left: -4%;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(66, 165, 255, 0.22), rgba(66, 165, 255, 0));
  animation: floatOrb 16s ease-in-out infinite reverse;
}

.ai-cinema-copy,
.ai-scenes-board {
  position: relative;
  z-index: 1;
}

.ai-cinema-title {
  margin: 1.5rem 0 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 650;
  max-width: 10ch;
}

.ai-cinema-summary {
  max-width: 26rem;
}

.ai-scenes-board {
  position: relative;
  min-height: 26rem;
}

.ai-scene-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.8rem;
  border: 1px solid rgba(16, 17, 20, 0.08);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 48px rgba(255, 47, 125, 0.08);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  animation-duration: 13s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.ai-scene-card-a { animation-name: sceneCardA; }
.ai-scene-card-b { animation-name: sceneCardB; }
.ai-scene-card-c { animation-name: sceneCardC; }

.ai-scene-index {
  display: inline-flex;
  width: fit-content;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(16, 17, 20, 0.54);
  background: rgba(16, 17, 20, 0.05);
}

.ai-scene-line {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.1rem, 1.45vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: rgba(16, 17, 20, 0.82);
  opacity: 0;
  transform: translateY(10px);
  animation: sceneLine 13s infinite;
}

.ai-scene-card .ai-scene-line:nth-of-type(1) { animation-delay: 0.2s; }
.ai-scene-card .ai-scene-line:nth-of-type(2) { animation-delay: 0.45s; }
.ai-scene-card .ai-scene-line:nth-of-type(3) { animation-delay: 0.7s; }

.ai-orbit-field {
  position: relative;
  min-height: 460px;
  border: 1px solid rgba(16, 17, 20, 0.06);
  background:
    radial-gradient(circle at center, rgba(123, 134, 255, 0.14), transparent 35%),
    radial-gradient(circle at center, rgba(122, 231, 255, 0.12), transparent 48%),
    rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.orbit-ring {
  position: absolute;
  inset: 50%;
  border-radius: 999px;
  border: 1px solid rgba(16, 17, 20, 0.08);
  transform: translate(-50%, -50%);
}

.orbit-ring-a {
  width: 17rem;
  height: 17rem;
  animation: spin 18s linear infinite;
}

.orbit-ring-b {
  width: 24rem;
  height: 24rem;
  border-color: rgba(122, 231, 255, 0.26);
  animation: spinReverse 24s linear infinite;
}

.orbit-ring-c {
  width: 31rem;
  height: 31rem;
  border-color: rgba(255, 127, 209, 0.22);
  animation: spin 32s linear infinite;
}

.gravity-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 7rem;
  height: 7rem;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(123,134,255,0.24));
  color: #050505;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  box-shadow: 0 0 80px rgba(123, 134, 255, 0.45);
}

.orbit-node {
  position: absolute;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(16, 17, 20, 0.08);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(16, 17, 20, 0.78);
  backdrop-filter: blur(12px);
}

.node-a { top: 14%; left: 16%; animation: antiFloat 10s ease-in-out infinite; }
.node-b { top: 20%; right: 14%; animation: antiFloat 12s ease-in-out infinite 1s; }
.node-c { top: 47%; right: 8%; animation: antiFloat 9s ease-in-out infinite 0.4s; }
.node-d { bottom: 18%; right: 18%; animation: antiFloat 13s ease-in-out infinite 1.4s; }
.node-e { bottom: 15%; left: 15%; animation: antiFloat 11s ease-in-out infinite 0.7s; }
.node-f { top: 50%; left: 8%; animation: antiFloat 14s ease-in-out infinite 0.9s; }

.ai-hero-copy {
  position: relative;
  z-index: 1;
}

.story-reel {
  display: grid;
  gap: 0.95rem;
  padding: 1.4rem 1.4rem 1.55rem;
  border: 1px solid rgba(16, 17, 20, 0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.56));
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(123, 134, 255, 0.08);
}

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

.story-counter {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(16, 17, 20, 0.46);
}

.story-scenes {
  position: relative;
  min-height: 10.5rem;
}

.story-scene {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 0.78rem;
  opacity: 0;
  transform: translateY(16px) scale(0.99);
  pointer-events: none;
  transition: opacity 560ms ease, transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-duration: 12s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.story-scene.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.story-scene-a {
  animation-name: storySceneA;
}

.story-scene-b {
  animation-name: storySceneB;
}

.story-scene-c {
  animation-name: storySceneC;
}

.story-line {
  margin: 0;
  min-height: 1.85rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(16, 17, 20, 0.78);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 520ms ease;
}

.story-scene.is-active .story-line {
  opacity: 1;
  transform: translateY(0);
}

.story-scene.is-active .story-line:nth-child(1) {
  transition-delay: 80ms;
}

.story-scene.is-active .story-line:nth-child(2) {
  transition-delay: 180ms;
}

.story-scene.is-active .story-line:nth-child(3) {
  transition-delay: 280ms;
}

.story-scene-a .story-line:nth-child(1),
.story-scene-b .story-line:nth-child(1),
.story-scene-c .story-line:nth-child(1) {
  animation: storyLine 12s infinite;
}

.story-scene-a .story-line:nth-child(2),
.story-scene-b .story-line:nth-child(2),
.story-scene-c .story-line:nth-child(2) {
  animation: storyLine 12s infinite 0.18s;
}

.story-scene-a .story-line:nth-child(3),
.story-scene-b .story-line:nth-child(3),
.story-scene-c .story-line:nth-child(3) {
  animation: storyLine 12s infinite 0.34s;
}

.ai-card,
.ai-flow-card,
.ai-cta-panel {
  border: 1px solid rgba(16, 17, 20, 0.08);
  background: rgba(255, 255, 255, 0.62);
}

.ai-card {
  padding: 1.4rem;
  min-height: 15.5rem;
  display: grid;
  align-content: start;
}

.ai-card-detail {
  margin-top: 0.7rem;
  max-width: 24ch;
  color: rgba(16, 17, 20, 0.56);
}

.tool-note {
  margin: 1rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.68rem;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(16, 17, 20, 0.42);
}

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

.logo-chip {
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  align-items: start;
  gap: 0.9rem;
  min-height: 10.5rem;
  padding: 1.15rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(16, 17, 20, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.62));
  box-shadow: 0 14px 34px rgba(16, 17, 20, 0.04);
}

.logo-chip img,
.custom-logo,
.logo-fallback {
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 auto;
  padding: 0.62rem;
  border-radius: 1rem;
  background: rgba(16, 17, 20, 0.045);
}

.logo-chip > div:last-child {
  display: grid;
  gap: 0.35rem;
}

.logo-chip span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(16, 17, 20, 0.82);
}

.logo-chip small {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.84rem;
  line-height: 1.52;
  color: rgba(16, 17, 20, 0.66);
}

.custom-logo {
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(120deg, #7ae7ff, #7b86ff, #ff7fd1);
  color: #090909;
  font-size: 0.62rem;
  font-weight: 700;
}

.logo-fallback {
  display: none;
  place-items: center;
  border-radius: 999px;
  background: rgba(16, 17, 20, 0.07);
  color: rgba(16, 17, 20, 0.74);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

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

.ai-flow-card {
  min-height: 240px;
  padding: 1.4rem;
  display: grid;
  align-content: start;
}

.ai-process {
  color: rgba(255, 78, 130, 0.82);
}

.ai-cta-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
}

.ai-light-footer {
  background: rgba(255, 255, 255, 0.36);
}

.ai-hero-title {
  font-size: clamp(3.2rem, 6vw, 6.3rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  max-width: 11ch;
  margin: 0 auto;
}

.ai-hero-stage {
  min-height: calc(100svh - 7.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ai-hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38rem 38rem at var(--mx, 54%) var(--my, 38%), rgba(255, 138, 31, 0.14), transparent 46%),
    radial-gradient(30rem 30rem at calc(var(--mx, 54%) - 12%) calc(var(--my, 38%) + 10%), rgba(255, 47, 125, 0.1), transparent 42%),
    radial-gradient(28rem 28rem at calc(var(--mx, 54%) + 12%) calc(var(--my, 38%) - 10%), rgba(66, 165, 255, 0.11), transparent 40%);
  pointer-events: none;
  filter: blur(10px);
}

.ai-hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 138, 31, 0.22) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 47, 125, 0.16) 1px, transparent 1px),
    radial-gradient(circle, rgba(66, 165, 255, 0.18) 1px, transparent 1px);
  background-size: 30px 30px, 44px 44px, 58px 58px;
  background-position: 0 0, 10px 12px, 18px 8px;
  mask-image: radial-gradient(circle at 50% 42%, rgba(0,0,0,0.72), rgba(0,0,0,0.2) 54%, rgba(0,0,0,0) 84%);
  opacity: 0.34;
  pointer-events: none;
}

.ai-hero-grid {
  align-items: center;
  width: 100%;
  min-height: calc(100svh - 8rem);
  position: relative;
  z-index: 1;
}

.ai-hero-copy {
  width: min(100%, 70rem);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  text-align: center;
  align-content: center;
  min-height: calc(100svh - 10rem);
  gap: 2rem;
  position: relative;
}

.ai-hero-subtitle {
  margin: 0;
  max-width: 38rem;
  color: rgba(16, 17, 20, 0.62);
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.8;
}

.ai-hero-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(16, 17, 20, 0.82);
  border: 1px solid rgba(16, 17, 20, 0.06);
  background: rgba(255,255,255,0.3);
  box-shadow: 0 12px 32px rgba(16, 17, 20, 0.04);
  font-size: 1.9rem;
  line-height: 1;
  transition: transform 240ms ease, color 240ms ease, background-color 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  align-self: end;
  margin-top: auto;
  margin-bottom: 0.25rem;
}

.ai-hero-arrow:hover {
  color: #101114;
  background: rgba(255,255,255,0.78);
  border-color: rgba(16, 17, 20, 0.12);
  box-shadow: 0 18px 42px rgba(16, 17, 20, 0.08);
  transform: translateY(3px);
}

.contact-field {
  width: 100%;
  background: #101114;
  color: #f4f4f1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.1rem;
}

.contact-field:focus {
  outline: none;
  border-color: rgba(255, 47, 125, 0.48);
  box-shadow: 0 0 0 1px rgba(255, 47, 125, 0.18);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 800ms ease,
    transform 1000ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

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

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

@keyframes floatOrb {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-2rem, 2rem, 0); }
}

@keyframes heroGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 4.5rem, 4.5rem 0; }
}

@keyframes heroGridParallax {
  0%, 100% {
    transform: none;
    background-position: 0 0, 0 0;
  }
  50% {
    transform: none;
    background-position: 0 3.75rem, 3.75rem 0;
  }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
  50% { transform: scale(1.04) rotate(6deg); opacity: 1; }
}

@keyframes aiGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spinReverse {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes antiFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

@keyframes heroAiFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.76),
      0 10px 24px rgba(255,255,255,0.06),
      0 2px 10px rgba(0,0,0,0.2);
  }
  50% {
    transform: translate3d(0, -12px, 0);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.82),
      0 18px 32px rgba(255,255,255,0.1),
      0 10px 18px rgba(0,0,0,0.18);
  }
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes storySceneA {
  0%, 28% { opacity: 1; transform: translateY(0) scale(1); }
  33%, 100% { opacity: 0; transform: translateY(16px) scale(0.99); }
}

@keyframes storySceneB {
  0%, 30% { opacity: 0; transform: translateY(16px) scale(0.99); }
  36%, 61% { opacity: 1; transform: translateY(0) scale(1); }
  67%, 100% { opacity: 0; transform: translateY(16px) scale(0.99); }
}

@keyframes storySceneC {
  0%, 63% { opacity: 0; transform: translateY(16px) scale(0.99); }
  69%, 94% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(16px) scale(0.99); }
}

@keyframes storyLine {
  0%, 6% { opacity: 0; transform: translateY(10px); }
  10%, 24% { opacity: 1; transform: translateY(0); }
  28%, 100% { opacity: 0; transform: translateY(-6px); }
}

@keyframes sceneCardA {
  0%, 28% { opacity: 1; transform: translateY(0) scale(1); }
  34%, 100% { opacity: 0; transform: translateY(18px) scale(0.985); }
}

@keyframes sceneCardB {
  0%, 31% { opacity: 0; transform: translateY(18px) scale(0.985); }
  37%, 61% { opacity: 1; transform: translateY(0) scale(1); }
  67%, 100% { opacity: 0; transform: translateY(18px) scale(0.985); }
}

@keyframes sceneCardC {
  0%, 64% { opacity: 0; transform: translateY(18px) scale(0.985); }
  70%, 94% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(18px) scale(0.985); }
}

@keyframes sceneLine {
  0%, 8% { opacity: 0; transform: translateY(10px); }
  13%, 26% { opacity: 1; transform: translateY(0); }
  31%, 100% { opacity: 0; transform: translateY(-8px); }
}

@keyframes heroKickerFrontSwap {
  0%, 43% {
    opacity: 1;
    transform: translateY(0);
  }
  50%, 93% {
    opacity: 0;
    transform: translateY(-4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroKickerBackSwap {
  0%, 43% {
    opacity: 0;
    transform: translateY(4px);
  }
  50%, 93% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(4px);
  }
}

@keyframes disciplineCardLift {
  0%, 21%, 100% { transform: translateY(-0.18rem); }
  25%, 96% { transform: translateY(0); }
}

@keyframes disciplineIconState {
  0%, 21%, 100% {
    transform: translateY(-0.08rem);
    filter: none;
    opacity: 1;
  }
  25%, 96% {
    transform: translateY(0);
    filter: grayscale(1) brightness(3.4) contrast(0.9);
    opacity: 0.92;
  }
}

@keyframes disciplineCopyState {
  0%, 21%, 100% {
    max-height: 5rem;
    opacity: 1;
    transform: translateY(0);
  }
  25%, 96% {
    max-height: 0;
    opacity: 0;
    transform: translateY(0.4rem);
  }
}

@keyframes disciplineDesignColor {
  0%, 21%, 100% { color: var(--logo-lime); }
  25%, 96% { color: rgba(244, 244, 241, 0.92); }
}

@keyframes disciplineMarketingColor {
  0%, 21%, 100% { color: var(--logo-pink); }
  25%, 96% { color: rgba(244, 244, 241, 0.92); }
}

@keyframes disciplineSoftwareColor {
  0%, 21%, 100% { color: var(--logo-cyan); }
  25%, 96% { color: rgba(244, 244, 241, 0.92); }
}

@keyframes disciplineAiCopyColor {
  0%, 21%, 100% { color: rgba(255, 255, 255, 0.94); }
  25%, 96% { color: rgba(244, 244, 241, 0.92); }
}

@keyframes disciplineAiLabelState {
  0%, 21%, 100% {
    background: var(--ai-gradient);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  25%, 96% {
    background: none;
    color: rgba(244, 244, 241, 0.92);
  }
}

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

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-hero-shell,
  .home-hero-main {
    min-height: auto;
  }

  .home-hero-title {
    max-width: 10ch;
  }

  .home-hero-side {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  .home-feature-card {
    min-height: auto;
  }

  .discipline-stage,
  .ai-section,
  .cta-panel,
  .work-row,
  .process-row,
  .discipline-strip,
  .ai-teaser,
  .ai-hero-panel,
  .ai-flow-grid,
  .logo-grid,
  .ai-cta-panel {
    grid-template-columns: 1fr;
  }

  .sticky-side {
    position: static;
  }

  .ai-hero-panel,
  .ai-cta-panel,
  .ai-section,
  .ai-teaser,
  .ai-cinema {
    display: grid;
  }

  .ai-section-poster {
    grid-template-rows: auto auto;
    min-height: auto;
  }

  .discipline-card {
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: 1rem;
    min-height: auto;
  }

  .discipline-content {
    grid-column: 2;
  }

  .discipline-stage {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .discipline-section {
    min-height: auto;
  }

  .discipline-intro {
    position: static;
    background: none;
  }

  .discipline-strip {
    margin-top: 0;
  }

  .hero-grid-back {
    background-size: 3.25rem 3.25rem, 3.25rem 3.25rem;
    opacity: 0.38;
    transform: none;
  }

  .hero-grid-front {
    background-size: 5.5rem 5.5rem, 5.5rem 5.5rem;
    opacity: 0.28;
    transform: none;
  }

  .ai-orb-link-inline {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .ai-orb-field {
    width: min(18rem, 100%);
  }

  .ai-orbit-field {
    min-height: 360px;
  }

  .ai-cinema,
  .ai-story-stage {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 1.5rem;
  }

  .ai-scenes-board {
    min-height: 22rem;
  }
}

@media (max-width: 700px) {
  html,
  body,
  .site-shell,
  main {
    max-width: 100%;
    overflow-x: clip !important;
  }

  * {
    min-width: 0;
  }

  img,
  svg,
  video,
  canvas {
    max-width: 100%;
    height: auto;
  }

  section,
  article,
  aside,
  nav,
  header,
  footer,
  .mx-auto,
  .home-hero-grid > *,
  .discipline-stage > *,
  .discipline-strip > *,
  .ai-section,
  .ai-section-poster,
  .ai-section-poster > * {
    max-width: 100%;
  }

  .ticker-track {
    width: max-content;
    max-width: none;
  }
  .ticker-group {
    width: auto;
    max-width: none;
    flex-shrink: 0;
  }
  .home-ticker-section {
    overflow: hidden;
  }
  .review-scroll-wrap,
  .review-scroll-track {
    max-width: 100%;
  }

  /* Hamburger toggle — default (dark-page) variant: light icon on dark pill */
  .nav-toggle {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f4f4f1 !important;
    transition: background 160ms, border-color 160ms;
  }
  .nav-toggle .material-symbols-outlined {
    color: #f4f4f1 !important;
    font-size: 24px !important;
    font-weight: 600;
  }
  .nav-toggle:active,
  .nav-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
  }
  .site-nav.mobile-open .nav-toggle {
    background: rgba(255, 255, 255, 0.12);
  }

  /* Light-page variant: fully black icon on light pill */
  .home-light .nav-toggle {
    background: rgba(23, 21, 19, 0.06);
    border: 1px solid rgba(23, 21, 19, 0.14);
    color: #0a0a0a !important;
  }
  .home-light .nav-toggle .material-symbols-outlined {
    color: #0a0a0a !important;
  }
  .home-light .nav-toggle:active,
  .home-light .nav-toggle:focus-visible {
    background: rgba(23, 21, 19, 0.12);
    border-color: rgba(23, 21, 19, 0.22);
  }
  .home-light .site-nav.mobile-open .nav-toggle {
    background: rgba(23, 21, 19, 0.12);
  }

  .review-scroll-wrap {
    overflow: hidden;
  }

  .review-scroll-track {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .home-side-note:hover,
  .home-side-link:hover,
  .home-side-terminal:hover,
  .ai-section-poster:hover {
    transform: none;
  }

  .site-nav .nav-shell {
    padding-top: 0.9rem !important;
    padding-bottom: 0.9rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .nav-right {
    gap: 0.7rem !important;
  }

  .mobile-nav-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(84vw, 320px);
    display: grid;
    align-content: start;
    gap: 0.2rem;
    padding: 4.8rem 1rem 1.1rem;
    background: #ffffff;
    border-right: 1px solid rgba(23, 21, 19, 0.1);
    box-shadow: 18px 0 44px rgba(16, 17, 20, 0.16);
    transform: translateX(-104%);
    transition: transform 220ms ease;
    z-index: 80;
  }

  .mobile-nav-link {
    padding: 0.64rem 0.2rem;
    text-decoration: none;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #111111;
  }

  .mobile-nav-link.is-active {
    color: rgba(23, 21, 19, 0.96);
  }

  .site-nav.mobile-open .nav-shell {
    padding-bottom: 0.72rem !important;
  }

  .site-nav.mobile-open ~ .mobile-nav-panel {
    transform: translateX(0);
  }

  .mobile-nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(9, 10, 12, 0.36);
    z-index: 70;
  }

  .site-nav.mobile-open ~ .mobile-nav-scrim {
    display: block;
  }

  .brand-mark {
    width: 3.4rem;
  }

  .nav-link-mobile-ai {
    font-size: 0.56rem;
    letter-spacing: 0.13em;
  }

  .hero-stage {
    padding-top: 0.8rem !important;
    padding-bottom: 1.4rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .home-hero-title {
    font-size: clamp(2rem, 9vw, 2.5rem) !important;
    line-height: 0.96;
    max-width: 11ch;
  }

  .hero-kicker {
    width: 100%;
    font-size: 0.6rem;
    letter-spacing: 0.11em;
    gap: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    line-height: 1.05;
  }

  .hero-kicker-static {
    flex: 0 0 auto;
  }

  .hero-kicker-swap {
    min-width: 0;
    max-width: 100%;
    display: inline-grid;
    overflow: hidden;
  }

  .home-hero-actions {
    width: 100%;
    gap: 0.55rem;
  }

  .home-hero-actions .button-primary,
  .home-hero-actions .button-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding-inline: 0.9rem;
  }

  .home-hero-side {
    max-width: 100%;
    justify-self: stretch;
    gap: 0.6rem;
  }

  .home-side-terminal,
  .home-side-note {
    min-height: auto;
  }

  .home-side-terminal-body {
    font-size: 0.58rem;
  }

  .discipline-section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 2.2rem !important;
    padding-bottom: 2.2rem !important;
  }

  .discipline-card {
    padding: 0.9rem;
  }

  .discipline-label {
    font-size: 0.9rem;
  }

  .discipline-copy {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .ai-section {
    margin-top: 0.25rem;
  }

  .ai-section-poster {
    border-radius: 1.15rem;
    min-height: auto;
    overflow: hidden;
  }

  .ai-section-panel {
    padding: 1.3rem 1.15rem 1.15rem;
    gap: 0.95rem;
    align-content: start;
    min-height: auto;
  }

  .ai-section-title {
    font-size: clamp(1.35rem, 7vw, 1.72rem);
    line-height: 1.1;
    max-width: 100%;
    word-break: break-word;
  }

  .ai-title-typed {
    white-space: normal !important;
  }

  .ai-section-copy-text {
    font-size: 0.82rem;
    line-height: 1.5;
    max-width: 100%;
  }

  /* Chips become standalone pills on mobile (not a fused segment control) */
  .ai-section-meta {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.15rem;
    max-width: 100%;
    flex-wrap: wrap;
    width: 100%;
    padding: 0;
    background: transparent !important;
    animation: none !important;
    border-radius: 0;
  }

  .ai-section-meta span,
  .ai-section-meta span:first-child,
  .ai-section-meta span:last-child {
    min-height: 1.9rem;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    padding: 0.32rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 47, 125, 0.38);
    color: rgba(255, 255, 255, 0.92);
  }

  .ai-section-cta {
    position: static;
    margin-top: 0.35rem;
    padding: 0.85rem 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    font-weight: 600;
    max-width: 100%;
    border-radius: 0.85rem;
    min-height: 2.8rem;
  }

  .site-footer .mx-auto {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE OPTIMISATION — all rules are inside media queries
   Desktop is completely unaffected by everything below this line
   ═══════════════════════════════════════════════════════════════════ */

/* ── Accessibility: visible focus ring for keyboard navigation ── */
a:focus-visible,
button:focus-visible,
[tabindex="0"]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(255, 47, 125, 0.75);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Tablet + below: common structural patterns ── */
@media (max-width: 900px) {
  /* Two-column content rows collapse to stacked */
  .process-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .work-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Reduce card padding on mid-size screens */
  .service-card,
  .service-card-contrast,
  .contact-panel {
    padding: 1.5rem;
  }
}

/* ── Mobile: general improvements on top of existing 700px block ── */
@media (max-width: 700px) {
  /* Touch-friendly nav links */
  .mobile-nav-link {
    padding: 0.82rem 0.3rem;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

  /* Process & work rows tight on small screens */
  .process-row {
    grid-template-columns: 1fr;
    padding-top: 1rem;
    gap: 0.35rem;
  }
  .work-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  /* Cards tighter on mobile */
  .service-card,
  .service-card-contrast,
  .contact-panel {
    padding: 1.2rem 1rem;
  }

  /* Footer nameband — scaled for small screens */
  .footer-nameband-text {
    font-size: clamp(4.5rem, 24vw, 9rem);
  }

  /* Ticker tighter */
  .home-ticker-section {
    padding-top: 0.4rem;
    padding-bottom: 2rem;
  }

  /* Footer links — proper touch targets */
  .footer-link {
    min-height: 2.5rem;
    display: flex;
    align-items: center;
  }

  /* Discipline cards — slightly more breathing room */
  .discipline-card {
    min-height: 3.5rem;
  }

  /* Raise site-nav above the mobile scrim so the toggle is always tappable */
  .site-nav {
    z-index: 90;
  }

  /* Disable all hover lift effects on touch screens */
  .home-side-terminal:hover,
  .home-side-note:hover,
  .home-side-link:hover,
  .ai-section-poster:hover,
  .button-primary:hover,
  .button-secondary:hover {
    transform: none !important;
  }
}

/* ── Extra-small phones: 390px and below ── */
@media (max-width: 390px) {
  .home-hero-title {
    font-size: clamp(1.75rem, 9.2vw, 2.4rem) !important;
    max-width: 12ch;
  }

  .section-title {
    font-size: clamp(1.4rem, 7.8vw, 1.9rem);
  }

  /* AI section card — mobile-optimised layout */
  .ai-section {
    margin-top: 0;
  }

  .ai-section-poster {
    border-radius: 1.1rem;
    min-height: auto;
  }

  .ai-section-panel {
    padding: 1.25rem 1rem 1.1rem;
    gap: 0.75rem;
    align-content: start;
    min-height: auto;
  }

  .ai-section-title {
    font-size: clamp(1.1rem, 6.5vw, 1.5rem) !important;
    max-width: 100%;
  }

  .ai-section-copy-text {
    font-size: 0.72rem;
    line-height: 1.45;
    max-width: 100%;
  }

  /* Chips identical on very small phones too */
  .ai-section-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.1rem;
    max-width: 100%;
    width: 100%;
    padding: 0;
    background: transparent !important;
    animation: none !important;
    border-radius: 0;
  }

  .ai-section-meta span,
  .ai-section-meta span:first-child,
  .ai-section-meta span:last-child {
    min-height: 1.8rem;
    font-size: 0.56rem;
    padding: 0.3rem 0.65rem;
    letter-spacing: 0.1em;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 47, 125, 0.38);
    color: rgba(255, 255, 255, 0.92);
  }

  .ai-section-cta {
    position: static;
    margin-top: 0.4rem;
    padding: 0.82rem 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 2.8rem;
    border-radius: 0.85rem;
  }

  .hero-kicker {
    font-size: 0.52rem;
    letter-spacing: 0.09em;
  }

  .discipline-label {
    font-size: 0.84rem;
  }

  .discipline-copy {
    font-size: 0.73rem;
    line-height: 1.4;
  }

  .home-hero-actions .button-primary,
  .home-hero-actions .button-secondary {
    font-size: 0.65rem;
    padding-inline: 0.75rem;
    min-height: 2.8rem;
  }

  .site-nav .nav-shell {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }

  .hero-stage {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }

  .footer-nameband-text {
    font-size: clamp(3.5rem, 21vw, 6.5rem);
  }

  .ai-section-poster {
    min-height: auto;
    border-radius: 0.85rem;
  }

  .ai-section-panel {
    padding: 1.1rem 0.9rem 0.9rem;
  }

  .ai-section-meta span {
    font-size: 0.44rem;
  }

  .mobile-nav-panel {
    width: min(92vw, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
