:root {
  --font-primary: 'Inter', sans-serif;
  --container-max: 1240px;
  --container-narrow: 900px;
  --header-height: 90px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --radius-pill: 999px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;
  --space-9: 8rem;
  --transition-fast: 160ms ease;
  --transition-base: 320ms cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.28);
}

html[data-theme='dark'] {
  --color-bg: #100813;
  --color-bg-alt: #160a1e;
  --color-surface: rgba(255, 255, 255, 0.07);
  --color-surface-strong: rgba(255, 255, 255, 0.11);
  --color-border: rgba(255, 255, 255, 0.14);
  --color-text: #f7f1fb;
  --color-text-muted: rgba(247, 241, 251, 0.74);
  --color-text-soft: rgba(247, 241, 251, 0.46);
  --color-accent: #ef3f9a;
  --color-accent-2: #d1ff37;
  --color-accent-3: #ff6d58;
  --color-input: rgba(255, 255, 255, 0.06);
  --color-success: #c4ff8f;
  --color-danger: #ff8b9b;
}

html[data-theme='light'] {
  --color-bg: #f6eef4;
  --color-bg-alt: #efe5ed;
  --color-surface: rgba(255, 255, 255, 0.8);
  --color-surface-strong: rgba(255, 255, 255, 0.94);
  --color-border: rgba(28, 10, 31, 0.1);
  --color-text: #170d18;
  --color-text-muted: rgba(23, 13, 24, 0.74);
  --color-text-soft: rgba(23, 13, 24, 0.46);
  --color-accent: #d91c82;
  --color-accent-2: #82990f;
  --color-accent-3: #e85f52;
  --color-input: rgba(255, 255, 255, 0.92);
  --color-success: #2b8f43;
  --color-danger: #cc2d56;
  --shadow-soft: 0 24px 60px rgba(60, 23, 55, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.45;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }

.site-shell {
  position: relative;
  overflow-x: clip;
  isolation: isolate;
  background:
    radial-gradient(circle at top left, rgba(239, 63, 154, 0.18), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(209, 255, 55, 0.12), transparent 25%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.9) 0.5px, transparent 0.8px),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.8) 0.5px, transparent 0.8px),
    radial-gradient(circle at 50% 80%, rgba(255,255,255,0.7) 0.5px, transparent 0.8px);
  background-size: 22px 22px, 30px 30px, 26px 26px;
  z-index: -3;
}

.site-gradient {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.8;
  z-index: -2;
}

.site-gradient-a {
  top: 5rem;
  left: -10rem;
  width: 28rem;
  height: 28rem;
  background: rgba(239, 63, 154, 0.22);
}

.site-gradient-b {
  top: 24rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  background: rgba(209, 255, 55, 0.12);
}

.site-gradient-c {
  bottom: 10rem;
  left: 20%;
  width: 18rem;
  height: 18rem;
  background: rgba(255, 109, 88, 0.14);
}

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

.narrow {
  width: min(100%, var(--container-narrow));
}

.section {
  position: relative;
  padding: var(--space-9) 0;
}

.section-tight {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1.4rem 0 0;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  min-height: 92px;
  border-radius: 0;
  transform: translateX(-50%) translateY(-18px);
  opacity: 0;
  pointer-events: none;
  background: color-mix(in srgb, var(--color-surface-strong) 84%, transparent);
  border-top: 0;
  border-right: 0;
  border-left: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 92%, rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.18);
  transition:
    opacity var(--transition-base),
    transform var(--transition-base),
    background var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.site-header.is-scrolled::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.header-inner {
  position: relative;
  z-index: 1;
  min-height: auto;
}

.bubble-menu {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: none;
}

.bubble-menu-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bubble {
  --bubble-height: 58px;
  pointer-events: auto;
  min-height: var(--bubble-height);
  border: 1px solid var(--color-border);
  background: color-mix(in srgb, var(--color-surface-strong) 82%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.bubble-logo-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  max-width: min(100%, 720px);
}

.bubble-logo-image {
  display: block;
  width: auto;
  height: 64px;
  max-width: 100%;
  object-fit: contain;
}

.bubble-logo-image-light {
  display: none;
}

html[data-theme='light'] .bubble-logo-image-dark {
  display: none;
}

html[data-theme='light'] .bubble-logo-image-light {
  display: block;
}

.bubble-toggle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.theme-toggle {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-switch-track {
  position: relative;
  width: 94px;
  height: 50px;
  border-radius: 999px;
  display: block;
  overflow: hidden;
  background: color-mix(in srgb, var(--color-surface-strong) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-border) 92%, rgba(255, 255, 255, 0.12));
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 12px 30px rgba(0, 0, 0, 0.22);
  transition:
    background var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.theme-switch-track::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top left, rgba(239, 63, 154, 0.12), transparent 55%);
  pointer-events: none;
}

.theme-switch-icon {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  transition:
    color var(--transition-fast),
    opacity var(--transition-fast),
    transform var(--transition-base);
  z-index: 1;
  pointer-events: none;
}

.theme-switch-icon svg,
.theme-switch-thumb-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.theme-switch-icon-dark {
  left: 15px;
  color: rgba(247, 241, 251, 0.88);
  opacity: 0.95;
}

.theme-switch-icon-light {
  right: 15px;
  color: rgba(247, 241, 251, 0.46);
  opacity: 1;
}

.theme-switch-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition:
    transform var(--transition-base),
    background var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base);
  z-index: 2;
  color: #ffffff;
}

.theme-switch-thumb-icon {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-base),
    color var(--transition-base);
}

.theme-switch-thumb-icon svg {
  width: 22px;
  height: 22px;
}

.theme-switch-thumb-icon-dark {
  opacity: 1;
  transform: scale(1);
}

.theme-switch-thumb-icon-light {
  opacity: 0;
  transform: scale(0.72);
}

html[data-theme='light'] .theme-switch-track {
  background: #111111;
  box-shadow: inset 0 0 0 4px #111111;
}

html[data-theme='light'] .theme-switch-thumb {
  transform: translateX(44px);
  background: #ffffff;
  color: #111111;
}

html[data-theme='light'] .theme-switch-thumb-icon-dark {
  opacity: 0;
  transform: scale(0.72);
}

html[data-theme='light'] .theme-switch-thumb-icon-light {
  opacity: 1;
  transform: scale(1);
}

html[data-theme='dark'] .theme-switch-icon-dark,
html[data-theme='light'] .theme-switch-icon-light {
  opacity: 0.78;
}

html[data-theme='dark'] .theme-switch-icon-light {
  color: #111111;
}

html[data-theme='light'] .theme-switch-icon-dark {
  color: #ffffff;
}

.menu-toggle {
  border: none;
  cursor: pointer;
  position: relative;
  flex-direction: column;
  gap: 6px;
}

.menu-line {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.menu-toggle.is-open .menu-line:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-open .menu-line:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.bubble-menu-panel {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 7.8rem 0 2rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.bubble-menu-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--color-bg) 78%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .bubble-menu-panel {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.bubble-menu-panel-inner {
  position: relative;
  z-index: 1;
}

.bubble-menu-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.bubble-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 1.5rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: color-mix(in srgb, var(--color-surface-strong) 84%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  font-size: clamp(1.5rem, 3.4vw, 3.85rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-align: center;
  color: var(--color-text);
  transform: rotate(0deg) scale(0.82);
  opacity: 0;
  transition:
    transform var(--transition-base),
    background var(--transition-fast),
    color var(--transition-fast),
    opacity var(--transition-base);
}

body.menu-open .bubble-pill {
  opacity: 1;
  transform: rotate(var(--pill-rot, 0deg)) scale(1);
}

.bubble-pill:hover,
.bubble-pill:focus-visible {
  background: var(--pill-hover-bg, var(--color-accent));
  color: var(--pill-hover-color, #ffffff);
  transform: rotate(var(--pill-rot, 0deg)) scale(1.05);
}

.hero {
  padding-top: 100px;
}

.hero-grid,
.cta-grid,
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: center;
}


.hero-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.hero-copy {
  width: 100%;
  max-width: none;
}

.hero-copy h1 {
  width: 100%;
  max-width: 17ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: clamp(2.95rem, 7.03vw, 7.38rem);
}

.hero > .container.hero-grid {
  width: min(calc(100% - 4rem), 1720px);
}

.eyebrow,
.section-kicker,
.work-meta,
.service-index,
.point-card span {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--color-accent-2);
  font-weight: 700;
}

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

h1 {
  max-width: 12ch;
  font-size: clamp(3.6rem, 7vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 900;
  text-transform: uppercase;
  margin-top: 1rem;
}

h1 span {
  display: block;
  color: var(--color-accent-2);
}

h2 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 8vw, 7.38rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  font-weight: 900;
  margin-top: 0.8rem;
}

.section-head h2,
.intro h2,
.philosophy h2,
.cta h2 {
  margin-bottom: 1rem;
}

.hero-support,
.section-support,
.intro p,
.service-card p,
.work-card p,
.philosophy-copy p,
.cta-copy p,
.form-intro p,
.footer-copy {
  color: var(--color-text-muted);
  font-size: 1.02rem;
}

.hero-support {
  max-width: 34rem;
  margin-top: 1.25rem;
  font-size: 1.1rem;
}

.hero-actions,
.form-actions,
.contact-stack,
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-actions {
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
  font-weight: 700;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 78%, rgba(138, 168, 18, 0.92) 0%, rgba(138, 168, 18, 0.58) 18%, rgba(138, 168, 18, 0) 42%),
    radial-gradient(circle at 86% 82%, rgba(151, 182, 25, 0.78) 0%, rgba(151, 182, 25, 0.32) 16%, rgba(151, 182, 25, 0) 34%),
    radial-gradient(circle at 52% 28%, rgba(255, 233, 22, 0.98) 0%, rgba(255, 233, 22, 0.92) 34%, rgba(245, 224, 18, 0.88) 56%, rgba(226, 210, 15, 0.82) 72%, rgba(214, 198, 12, 0.74) 100%);
  box-shadow: var(--shadow-soft);
}

.button-secondary {
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
}

.button-block {
  width: 100%;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  min-height: 42rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03)),
    linear-gradient(135deg, rgba(239,63,154,0.08), rgba(209,255,55,0.04));
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-gridlines,
.hero-gridlines::before,
.hero-gridlines::after {
  position: absolute;
  inset: 0;
  content: '';
}

.hero-gridlines {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 25% 25%;
}

.hero-gridlines::before {
  background: linear-gradient(135deg, transparent 47%, rgba(255,255,255,0.09) 50%, transparent 53%);
}

.hero-gridlines::after {
  background: linear-gradient(45deg, transparent 47%, rgba(255,255,255,0.07) 50%, transparent 53%);
}

.hero-badge {
  position: absolute;
  z-index: 3;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-surface-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.hero-badge-top { top: 1.25rem; left: 1.25rem; }
.hero-badge-bottom { right: 1.25rem; bottom: 1.25rem; }

.hero-object {
  position: absolute;
  filter: saturate(115%);
}

.hero-object-a {
  width: 56%;
  height: 56%;
  left: -8%;
  top: 16%;
  border-radius: 50% 44% 56% 38%;
  background: radial-gradient(circle at 30% 30%, rgba(239,63,154,0.92), rgba(239,63,154,0.25) 64%, transparent 66%);
  mix-blend-mode: screen;
  animation: floatA 8s ease-in-out infinite;
}

.hero-object-b {
  width: 38%;
  height: 38%;
  right: 8%;
  top: 14%;
  border-radius: 38% 62% 35% 65%;
  background: radial-gradient(circle at 30% 30%, rgba(209,255,55,0.94), rgba(209,255,55,0.12) 62%, transparent 64%);
  animation: floatB 9s ease-in-out infinite;
}

.hero-object-c {
  width: 68%;
  height: 12%;
  left: 18%;
  bottom: 18%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,109,88,0), rgba(255,109,88,0.96), rgba(239,63,154,0));
  transform: rotate(-12deg);
  animation: sweep 7s ease-in-out infinite;
}

.hero-object-d {
  width: 22%;
  height: 22%;
  right: 16%;
  bottom: 22%;
  border-radius: 0.9rem;
  border: 1px solid rgba(255,255,255,0.22);
  background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02));
  transform: rotate(22deg);
  animation: floatB 10s ease-in-out infinite reverse;
}

.hero-word {
  position: absolute;
  z-index: 2;
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  letter-spacing: -0.08em;
  color: rgba(255,255,255,0.12);
}

.hero-word-a { left: 7%; bottom: 12%; }
.hero-word-b { right: 6%; top: 20%; }

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

.service-card,
.work-card,
.point-card,
.form-shell {
  position: relative;
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, var(--color-surface-strong), var(--color-surface));
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.service-card,
.work-card,
.point-card {
  padding: 1.5rem;
}

.service-card h3,
.work-card h3,
.form-intro h3 {
  font-size: 1.45rem;
  line-height: 1.03;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0.8rem 0 0.9rem;
}

.intro p + p,
.philosophy-copy p + p {
  margin-top: 1rem;
}

.work-card {
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.work-card::before {
  content: '';
  position: absolute;
  inset: auto auto 1.5rem 1.5rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,63,154,0.18), transparent 72%);
  pointer-events: none;
}

.philosophy-points {
  display: grid;
  gap: 1rem;
}

.point-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.point-card p { color: var(--color-text); }

.contact-stack {
  margin-top: 1.5rem;
  flex-direction: column;
  align-items: flex-start;
}

.contact-stack a,
.footer-contact a {
  color: var(--color-text);
}

.form-shell {
  padding: 1.5rem;
}

.form-intro {
  margin-bottom: 1.4rem;
}

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

.field {
  display: grid;
  gap: 0.55rem;
}

.field span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.field input {
  width: 100%;
  min-height: 3.6rem;
  padding: 0 1rem;
  border-radius: 1.1rem;
  border: 1px solid var(--color-border);
  background: var(--color-input);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
}

.field input:focus {
  border-color: color-mix(in srgb, var(--color-accent) 65%, var(--color-border));
  transform: translateY(-1px);
}

.field-error,
.form-message {
  min-height: 1.2rem;
  font-size: 0.84rem;
}

.field-error { color: var(--color-danger); }
.form-message.is-success { color: var(--color-success); }
.form-message.is-error { color: var(--color-danger); }

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.footer-title {
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

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

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

@keyframes floatA {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(1rem, -1rem, 0) rotate(10deg); }
}

@keyframes floatB {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-0.8rem, 1rem, 0) rotate(-12deg); }
}

@keyframes sweep {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-12deg) scaleX(1); }
  50% { transform: translate3d(-1rem, 0.8rem, 0) rotate(-8deg) scaleX(1.08); }
}


@media (max-width: 1200px) {
  .bubble-menu-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bubble-pill {
    min-height: 132px;
  }
}

@media (max-width: 1080px) {
  .site-header {
    padding-top: 1rem;
  }

  .bubble-logo-bubble {
    max-width: none;
    padding-right: 1rem;
  }

  .bubble-logo-image {
    height: 28px;
  }

  
  .theme-switch-track {
    width: 82px;
    height: 44px;
  }

  .theme-switch-icon {
    width: 20px;
    height: 20px;
  }

  .theme-switch-icon-dark {
    left: 12px;
  }

  .theme-switch-icon-light {
    right: 12px;
  }

  .theme-switch-thumb {
    top: 5px;
    left: 5px;
    width: 34px;
    height: 34px;
  }

  .theme-switch-thumb-icon svg {
    width: 20px;
    height: 20px;
  }

  html[data-theme='light'] .theme-switch-thumb {
    transform: translateX(38px);
  }

  .bubble-menu-panel {
    padding-top: 6.8rem;
  }

  .bubble-menu-items {
    grid-template-columns: 1fr;
  }

  .bubble-pill {
    min-height: 92px;
    font-size: clamp(1.25rem, 7vw, 2.5rem);
  }

  .hero-grid,
  .cta-grid,
  .philosophy-grid,
  .services-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .hero-frame {
    min-height: 32rem;
  }

  h1 {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .bubble-menu-actions {
    gap: 0.55rem;
  }

  .section {
    padding: 5rem 0;
  }

  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .mini-nav {
    display: none;
  }

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

  h1 {
    font-size: clamp(3rem, 13vw, 4.8rem);
  }

  h2 {
    font-size: clamp(3rem, 12vw, 7.38rem);
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .bubble-logo-image {
    height: 24px;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--container-max));
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero-frame {
    min-height: 26rem;
  }

  .hero-badge {
    font-size: 0.74rem;
    padding: 0.65rem 0.8rem;
  }

  .service-card,
  .work-card,
  .point-card,
  .form-shell {
    padding: 1.15rem;
  }
}


@media (max-width: 820px) {
  .bubble-logo-image {
    height: 56px;
  }

  .theme-toggle {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 70;
  }

  .theme-switch-track {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--color-border) 92%, rgba(255, 255, 255, 0.12));
    background: color-mix(in srgb, var(--color-surface-strong) 88%, transparent);
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      inset 0 -1px 0 rgba(255, 255, 255, 0.06),
      0 12px 30px rgba(0, 0, 0, 0.22);
  }

  .theme-switch-track::before {
    inset: 1px;
    border-radius: 50%;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
      radial-gradient(circle at top left, rgba(239, 63, 154, 0.12), transparent 55%);
  }

  .theme-switch-icon {
    display: none;
  }

  .theme-switch-thumb {
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: translate(-50%, -50%);
  }

  .theme-switch-thumb-icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(247, 241, 251, 0.9);
    transition:
      opacity var(--transition-base),
      transform var(--transition-base),
      color var(--transition-base);
  }

  .theme-switch-thumb-icon svg {
    width: 22px;
    height: 22px;
  }

  .theme-switch-thumb-icon-light {
    opacity: 0;
    transform: scale(0.7);
  }

  .theme-switch-thumb-icon-dark {
    opacity: 1;
    transform: scale(1);
  }

  html[data-theme='light'] .theme-switch-thumb {
    transform: translate(-50%, -50%);
  }

  html[data-theme='light'] .theme-switch-thumb-icon-dark {
    opacity: 0;
    transform: scale(0.7);
  }

  html[data-theme='light'] .theme-switch-thumb-icon-light {
    opacity: 1;
    transform: scale(1);
    color: rgba(23, 13, 24, 0.82);
  }
}

@media (max-width: 560px) {
  .bubble-logo-image {
    height: 48px;
  }

  .theme-toggle {
    left: 0.875rem;
    bottom: 0.875rem;
  }

  .theme-switch-track {
    width: 54px;
    height: 54px;
  }
}


/* Hero liquid ether isolation */
.hero-frame {
  isolation: isolate;
}

.hero-liquid {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  touch-action: none;
  pointer-events: auto;
  border-radius: inherit;
}

.hero-liquid canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.hero-gridlines {
  z-index: 1;
  pointer-events: none;
}

.hero-word {
  z-index: 2;
  pointer-events: none;
}

.hero-badge {
  z-index: 3;
}


/* Hero liquid background placement fix */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-liquid.hero-liquid-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.hero-liquid.hero-liquid-background canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

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


/* Header over hero background without top bar */
.site-header {
  background: transparent;
}

.site-header:not(.is-scrolled)::before {
  opacity: 0 !important;
  transform: translateX(-50%) translateY(-18px);
  box-shadow: none;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: transparent;
}

.hero {
  margin-top: calc((var(--header-height) + 1.4rem) * -1);
  padding-top: calc(100px + var(--header-height) + 1.4rem);
}

.hero-liquid.hero-liquid-background {
  top: calc((var(--header-height) + 1.4rem) * -1);
  bottom: -140px;
  height: auto;
  mask-image: linear-gradient(180deg, #000 0%, #000 82%, rgba(0, 0, 0, 0.35) 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 82%, rgba(0, 0, 0, 0.35) 92%, transparent 100%);
}

@media (max-width: 1080px) {
  .hero {
    margin-top: calc((var(--header-height) + 1rem) * -1);
    padding-top: calc(100px + var(--header-height) + 1rem);
  }

  .hero-liquid.hero-liquid-background {
    top: calc((var(--header-height) + 1rem) * -1);
    bottom: -120px;
    height: auto;
  }
}


/* Hero support centering + subheadings in Inter */

.hero-copy {
  text-align: center;
}

.hero-support {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-actions {
  justify-content: center;
}

h2,
h3,
.hero-support,
.section-support,
.intro p,
.service-card h3,
.work-card h3,
.form-intro h3,
.philosophy-copy p,
.cta-copy p,
.form-intro p,
.footer-copy {
  font-family: 'Inter', sans-serif;
}


/* Hero selective LOT letters */
@font-face {
  font-family: 'LOT';
  src: url('../fonts/LOT.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.hero-headline .hero-headline-line {
  display: block;
}

.hero-headline .hero-headline-line-base {
  color: var(--color-text);
}

.hero-headline .hero-headline-line-accent {
  color: var(--color-accent-2);
}

.hero-headline .hero-word-lock {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.hero-headline .hero-word-rest {
  display: inline-block;
}

.hero-headline .hero-letter-lot {
  display: inline-block;
  font-family: 'LOT', var(--font-primary);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
  color: inherit;
  vertical-align: baseline;
  position: relative;
}

.hero-headline .hero-letter-c {
  font-size: 1.06em;
  top: 0;
  margin-right: 0;
  vertical-align: -0.02em;
  line-height: 1;
}



.hero-actions {
  justify-content: center;
}

.button-cta-eyes {
  min-height: 4.25rem;
  padding: 0.3rem 0.42rem 0.3rem 1.5rem;
  gap: 1rem;
  background: #05010d;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.button-cta-label {
  white-space: nowrap;
}

.button-cta-eyes-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  padding: 0.18rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.button-cta-eye {
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: #ffffff;
  overflow: hidden;
}

.button-cta-pupil {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.82rem;
  height: 0.82rem;
  border-radius: 50%;
  background: #05010d;
  transform: translate(-50%, -50%);
  animation: ctaPupilLook 5.4s ease-in-out infinite;
}

.button-cta-eye:nth-child(2) .button-cta-pupil {
  animation-delay: -0.18s;
}

.button-cta-eyes-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  animation: ctaBlink 5.4s ease-in-out infinite;
  background: linear-gradient(180deg, #05010d 0 48%, transparent 48% 52%, #05010d 52% 100%);
  transform: scaleY(0);
  transform-origin: center;
}

@keyframes ctaPupilLook {
  0%, 12% { transform: translate(-50%, -50%); }
  16% { transform: translate(-18%, -50%); }
  24% { transform: translate(-72%, -50%); }
  38% { transform: translate(-50%, -30%); }
  52% { transform: translate(-35%, -68%); }
  68% { transform: translate(-62%, -42%); }
  82%, 100% { transform: translate(-50%, -50%); }
}

@keyframes ctaBlink {
  0%, 9%, 11%, 48%, 50%, 88%, 90%, 100% { transform: scaleY(0); }
  10%, 49%, 89% { transform: scaleY(1); }
}

@media (max-width: 820px) {
  .button-cta-eyes {
    min-height: 4rem;
    padding-left: 1.2rem;
    gap: 0.8rem;
  }

  .button-cta-eye {
    width: 2.18rem;
    height: 2.18rem;
  }

  .button-cta-pupil {
    width: 0.76rem;
    height: 0.76rem;
  }
}

@media (max-width: 560px) {
  .button-cta-eyes {
    width: auto;
    max-width: 100%;
    padding-left: 1rem;
    gap: 0.72rem;
  }

  .button-cta-label {
    font-size: 1rem;
  }
}


@media (max-width: 820px) {
  .hero-copy h1 {
    font-size: clamp(3.6875rem, 8.79vw, 9.225rem);
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: clamp(3.6875rem, 12.5vw, 6.5rem);
  }
}


.scroll-reveal-target {
  transform-origin: 0% 50%;
  will-change: transform;
}

.scroll-reveal-word {
  display: inline-block;
  will-change: opacity, filter, transform;
}


.intro-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.16em 0.18em;
}

.intro-heading .scroll-reveal-word {
  position: relative;
}

.true-focus-inline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.03em 0.08em;
  margin: -0.06em 0;
}

.true-focus-text {
  display: inline-block;
  animation: true-focus-sharp 3s ease-in-out infinite;
}

.true-focus-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.true-focus-inline .corner {
  position: absolute;
  width: 0.38em;
  height: 0.38em;
  border: 2px solid #ff0084;
  filter: drop-shadow(0 0 6px rgba(255, 0, 132, 0.45));
  border-radius: 2px;
  animation: true-focus-frame 3s ease-in-out infinite;
}

.true-focus-inline .top-left {
  top: -0.10em;
  left: -0.10em;
  border-right: none;
  border-bottom: none;
}

.true-focus-inline .top-right {
  top: -0.10em;
  right: -0.10em;
  border-left: none;
  border-bottom: none;
}

.true-focus-inline .bottom-left {
  bottom: -0.10em;
  left: -0.10em;
  border-right: none;
  border-top: none;
}

.true-focus-inline .bottom-right {
  bottom: -0.10em;
  right: -0.10em;
  border-left: none;
  border-top: none;
}

@keyframes true-focus-sharp {
  0%, 18%, 100% {
    filter: blur(5px);
  }
  28%, 72% {
    filter: blur(0);
  }
}

@keyframes true-focus-frame {
  0%, 18%, 100% {
    opacity: 0.35;
    transform: scale(0.98);
  }
  28%, 72% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 820px) {
  .intro-heading {
    gap: 0.14em 0.16em;
  }
}


/* Services editorial layout */
.services-shell {
  position: relative;
}

.services-heading {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  z-index: 2;
  margin-bottom: 1.5rem;
  pointer-events: none;
}

.services-display-title {
  max-width: 12ch;
  margin-top: 0.4rem;
  margin-bottom: 0;
  font-size: clamp(3.4rem, 8vw, 7.38rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.services-display-title span {
  display: block;
}

.services-editorial-list {
  position: relative;
  z-index: 3;
  margin-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.services-row {
  display: grid;
  grid-template-columns: 90px minmax(230px, 1.15fr) minmax(180px, 0.6fr) minmax(320px, 1.2fr) 220px;
  gap: 1.5rem;
  align-items: start;
  padding: 1.55rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 94%, transparent);
  background: transparent;
  opacity: 0.5;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.services-row.is-active,
.services-row.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.services-row:hover {
  transform: translate3d(10px, 0, 0);
}

.services-row-index {
  font-size: clamp(1.6rem, 2.3vw, 2.3rem);
  line-height: 1;
  font-weight: 800;
  color: var(--color-text);
  opacity: 0.92;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.services-row-title-wrap {
  min-width: 0;
}

.services-row-title {
  margin: 0;
  font-size: clamp(2rem, 4.1vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: none;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.services-row-meta {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent-3);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.services-row-copy {
  margin: 0;
  font-size: clamp(1.1rem, 2.1vw, 1.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: var(--color-text);
  max-width: 22ch;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.services-row-media {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    linear-gradient(180deg, var(--color-surface-strong), var(--color-surface));
  box-shadow: var(--shadow-soft);
  transform: translate3d(0, 16px, 0) scale(0.94);
  opacity: 0.78;
  transition:
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.services-row-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services-row.is-active .services-row-media,
.services-row.is-inview .services-row-media {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.services-row:hover .services-row-index,
.services-row:hover .services-row-title,
.services-row:hover .services-row-meta,
.services-row:hover .services-row-copy {
  transform: translateX(6px);
}

.services-row:hover .services-row-media {
  transform: translate3d(0, -4px, 0) scale(1.03);
  border-color: color-mix(in srgb, var(--color-accent-2) 34%, var(--color-border));
}

.services-row-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.95;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), opacity var(--transition-base);
}

.services-row:hover .services-row-orb {
  transform: scale(1.08);
}

.services-row-orb-a { inset: 12% auto auto 10%; width: 42%; aspect-ratio: 1; background: rgba(255,255,255,0.26); }
.services-row-orb-b { inset: auto 10% 12% auto; width: 38%; aspect-ratio: 1; background: rgba(209,255,55,0.72); }
.services-row-orb-c { inset: 16% auto auto 8%; width: 44%; aspect-ratio: 1; background: rgba(239,63,154,0.46); }
.services-row-orb-d { inset: auto 10% 12% auto; width: 36%; aspect-ratio: 1; background: rgba(255,109,88,0.56); }
.services-row-orb-e { inset: 16% auto auto 12%; width: 38%; aspect-ratio: 1; background: rgba(209,255,55,0.64); }
.services-row-orb-f { inset: auto 8% 8% auto; width: 44%; aspect-ratio: 1; background: rgba(239,63,154,0.36); }
.services-row-orb-g { inset: 12% auto auto 10%; width: 40%; aspect-ratio: 1; background: rgba(255,255,255,0.22); }
.services-row-orb-h { inset: auto 10% 10% auto; width: 42%; aspect-ratio: 1; background: rgba(209,255,55,0.6); }

@media (max-width: 1280px) {
  .services-row {
    grid-template-columns: 70px minmax(220px, 1fr) minmax(170px, 0.7fr) minmax(280px, 1.1fr) 180px;
  }

  .services-row-copy {
    max-width: 24ch;
  }
}

@media (max-width: 1080px) {
  .services-heading {
    position: relative;
    top: 0;
    margin-bottom: 0;
  }

  .services-display-title {
    font-size: clamp(3rem, 12vw, 7.38rem);
  }

  .services-row {
    grid-template-columns: 56px 1.1fr 0.8fr;
    grid-template-areas:
      "index title media"
      "index meta media"
      "index copy media";
    align-items: start;
  }

  .services-row-index { grid-area: index; }
  .services-row-title-wrap { grid-area: title; }
  .services-row-meta { grid-area: meta; }
  .services-row-copy { grid-area: copy; max-width: none; }
  .services-row-media { grid-area: media; align-self: stretch; }
}

@media (max-width: 820px) {
  .services-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "index"
      "title"
      "meta"
      "copy"
      "media";
    gap: 0.9rem;
    padding: 1.15rem 0 1.35rem;
  }

  .services-row-title {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

  .services-row-copy {
    font-size: clamp(1rem, 4.8vw, 1.4rem);
    max-width: none;
  }

  .services-row-media {
    width: min(220px, 100%);
  }
}


/* Services stacking behavior */
.services-shell {
  --services-stack-top: calc(var(--header-height) + 2rem);
  --services-stack-gap: 0;
}

.services-editorial-list[data-services-stack] {
  --services-row-count: 4;
  padding-bottom: clamp(16rem, 30vw, 28rem);
}

.services-row {
  position: sticky;
  top: var(--services-stack-top);
  z-index: var(--stack-index, 1);
  width: calc(100% + 20px);
  margin-left: -10px;
  margin-right: -10px;
  margin-bottom: 0;
  padding: 1.55rem;
  border: 0;
  border-radius: 0;
  background: var(--color-bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  isolation: isolate;
}

.services-stack-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.services-stack-toggle {
  min-height: 3.2rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: color-mix(in srgb, var(--color-surface-strong) 88%, transparent);
  color: var(--color-text);
  font-weight: 700;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), opacity var(--transition-base);
}

.services-stack-toggle:hover,
.services-stack-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--color-accent-2) 34%, var(--color-border));
}

.services-stack-anchor {
  height: 2px;
}

.services-stack-toggle[hidden] {
  display: none;
}

.services.section.is-services-expanded .services-editorial-list[data-services-stack] {
  padding-bottom: 0;
}

.services.section.is-services-expanded .services-row {
  position: relative;
  top: auto;
}

.services.section.is-services-expanded .services-stack-toggle {
  background: color-mix(in srgb, var(--color-accent-2) 14%, var(--color-surface-strong));
}

@media (max-width: 1080px) {
  .services-shell {
    --services-stack-top: calc(var(--header-height) + 1.25rem);
  }

  .services-row {
    position: relative;
    top: auto;
    margin-bottom: 0;
  }

  .services-editorial-list[data-services-stack] {
    padding-bottom: 0;
  }

  .services-stack-toggle-wrap,
  .services-stack-anchor {
    display: none;
  }
}



.work-gallery {
  position: relative;
  margin-top: 2.5rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.work-gallery-stage {
  position: relative;
  width: 100%;
  min-height: clamp(24rem, 44vw, 36rem);
  perspective: 1800px;
  perspective-origin: 50% 42%;
  overflow-x: hidden;
  overflow-y: visible;
  padding-top: 100px;
  padding-bottom: 100px;
}

.work-gallery-track {
  position: relative;
  width: 100%;
  height: clamp(24rem, 44vw, 36rem);
  transform-style: preserve-3d;
  overflow: visible;
}

.work-gallery-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(32vw, 24rem);
  aspect-ratio: 0.78;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
  pointer-events: auto;
}

.work-gallery-poster {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  padding: 0;
  border-radius: 1.6rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  background: #140d18;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

.work-gallery-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.42));
  transition: opacity var(--transition-base);
}

.work-gallery-poster:hover .work-gallery-overlay,
.work-gallery-poster:focus-visible .work-gallery-overlay {
  opacity: 0.8;
}

.work-gallery-poster:focus-visible {
  outline: 2px solid var(--color-accent-2);
  outline-offset: 4px;
}

.work-gallery-index,
.work-gallery-copy {
  position: absolute;
  z-index: 2;
}

.work-gallery-index {
  top: 1rem;
  left: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(247, 241, 251, 0.9);
}

.work-gallery-copy {
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
}

.work-gallery-tag {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--color-accent-2);
  font-weight: 700;
}

.work-gallery-copy h3 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #f7f1fb;
}

.work-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(6, 3, 10, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

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

.work-lightbox-dialog {
  position: relative;
  width: min(100%, 62rem);
  max-height: calc(100vh - 4rem);
  border-radius: 1.4rem;
  overflow: hidden;
  background: #120814;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.work-lightbox-image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 10rem);
  object-fit: contain;
  background: #0f0712;
}

.work-lightbox-copy {
  padding: 1rem 1.2rem 1.25rem;
}

.work-lightbox-tag {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--color-accent-2);
  font-weight: 700;
}

.work-lightbox-title {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #f7f1fb;
}

.work-lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 121;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 8, 20, 0.88);
  color: #f7f1fb;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}



.work-masonry-mobile {
  display: none;
  margin-top: 2.5rem;
}

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

.work-masonry-mobile-card {
  min-width: 0;
}

.work-masonry-mobile-poster {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 0.78;
  overflow: hidden;
  border: 0;
  padding: 0;
  border-radius: 1rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
  background: #140d18;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

@media (max-width: 980px) {
  .work-gallery-stage,
  .work-gallery-track {
    min-height: 24rem;
    height: 24rem;
  }

  .work-gallery-card {
    width: min(48vw, 16rem);
  }
}

@media (max-width: 680px) {
  .work-gallery {
    display: none;
  }

  .work-masonry-mobile {
    display: block;
    width: 100%;
    padding: 0 1rem;
  }

  .work-gallery-copy {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .work-gallery-tag {
    font-size: 0.66rem;
  }

  .work-gallery-copy h3 {
    font-size: 1.05rem;
  }

  .work-lightbox {
    padding: 1rem;
  }

  .work-lightbox-dialog {
    max-height: calc(100vh - 2rem);
  }

  .work-lightbox-image {
    max-height: calc(100vh - 8rem);
  }
}

@media (max-width: 767px) {
  .work-gallery,
  .work-gallery-stage,
  .work-gallery-track,
  .work-gallery-card {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .work-masonry-mobile {
    display: block !important;
    width: 100%;
    margin-top: 2rem;
    padding: 0 0.75rem;
  }

  .work-masonry-mobile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: start;
  }

  .work-masonry-mobile-card {
    min-width: 0;
  }

  .work-masonry-mobile-poster {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 0.72;
    overflow: hidden;
    border: 0;
    border-radius: 1rem;
    background: #140d18;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    text-align: left;
    color: inherit;
  }

  .work-masonry-mobile .work-gallery-index {
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.74rem;
  }

  .work-masonry-mobile .work-gallery-copy {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .work-masonry-mobile .work-gallery-tag {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.4rem;
  }

  .work-masonry-mobile .work-gallery-copy h3 {
    max-width: none;
    font-size: 0.98rem;
    line-height: 0.95;
  }
}

/* Approach section exact-leaning rebuild */
.philosophy.section {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.philosophy-intro {
  width: min(calc(100% - 2rem), 1240px);
  margin: 0 auto;
}

.philosophy-intro h2 {
  max-width: 18ch;
}

.philosophy-intro p {
  max-width: 58rem;
}

.approach-experience {
  position: relative;
  margin-top: 3rem;
  padding-bottom: 240svh;
}

.approach-sticky {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  min-height: calc(100vh - var(--header-height) - 2rem);
  display: flex;
  align-items: center;
  pointer-events: auto;
}

.approach-stage {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  overflow: visible;
}

.approach-copy-block {
  position: relative;
  z-index: 3;
  width: min(34rem, 40%);
  pointer-events: auto;
}

.approach-step-index {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-2);
  font-weight: 700;
  margin-bottom: 1rem;
}

.approach-step-title {
  max-width: 12ch;
  font-size: clamp(1.236rem, 2.844vw, 2.689rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--color-text);
}

.approach-step-body {
  max-width: 30rem;
  margin-top: 1.25rem;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.approach-orbit-zone {
  --orbit-x: 50%;
  --orbit-y: 50%;
  --signal-size: 7rem;
  position: relative;
  width: min(52vw, 760px);
  aspect-ratio: 1 / 1;
  margin-left: auto;
  flex: 0 0 auto;
  z-index: 2;
  pointer-events: auto;
}

.approach-rings,
.approach-ring {
  position: absolute;
  inset: 0;
}

.approach-ring {
  margin: auto;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.approach-ring-1 {
  width: 38%;
  height: 38%;
}

.approach-ring-2 {
  width: 62%;
  height: 62%;
}

.approach-ring-3 {
  width: 86%;
  height: 86%;
}


.approach-rings,
.approach-ring,
.approach-signal,
.approach-signal-core,
.approach-signal-halo {
  pointer-events: none;
}

.approach-signal {
  position: absolute;
  left: var(--orbit-x);
  top: var(--orbit-y);
  width: var(--signal-size);
  height: var(--signal-size);
  transform: translate(-50%, -50%);
  transition:
    left 320ms cubic-bezier(0.22, 1, 0.36, 1),
    top 320ms cubic-bezier(0.22, 1, 0.36, 1),
    width 320ms cubic-bezier(0.22, 1, 0.36, 1),
    height 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.approach-signal-core,
.approach-signal-halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.approach-signal-core {
  background: radial-gradient(circle at 50% 50%, rgba(212, 255, 47, 1) 0%, rgba(208, 252, 50, 0.95) 42%, rgba(191, 236, 31, 0.86) 66%, rgba(191, 236, 31, 0.18) 100%);
  box-shadow:
    0 0 22px rgba(209, 255, 55, 0.55),
    0 0 70px rgba(209, 255, 55, 0.24);
}

.approach-signal-halo {
  inset: -16%;
  background: radial-gradient(circle, rgba(209, 255, 55, 0.2) 0%, rgba(209, 255, 55, 0.08) 38%, rgba(209, 255, 55, 0) 72%);
}

.approach-node {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.02);
  transform: translate(-50%, -50%);
  transition: background var(--transition-base), transform var(--transition-base), opacity var(--transition-base);
  z-index: 4;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
}

.approach-node::before {
  content: '';
  position: absolute;
  inset: -1rem;
  border-radius: 50%;
}

.approach-node span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  font-size: 0.7rem;
}

.approach-node:hover {
  transform: translate(-50%, -50%) scale(1.18);
  background: color-mix(in srgb, var(--color-accent-2) 55%, var(--color-text) 18%);
}


.approach-node.is-active {
  background: var(--color-accent-2);
  transform: translate(-50%, -50%) scale(1.3);
}

.approach-node-1 { left: 17%; top: 50%; }
.approach-node-2 { left: 32%; top: 22%; }
.approach-node-3 { left: 58%; top: 13%; }
.approach-node-4 { left: 82%; top: 34%; }
.approach-node-5 { left: 71%; top: 76%; }

.approach-progress {
  position: relative;
  z-index: 0;
}

.approach-progress-step {
  height: 80vh;
}

.approach-progress-step:last-child {
  height: 380svh;
}

.approach-progress::after {
  content: '';
  display: block;
  height: 0;
}

@media (max-width: 1180px) {
  .approach-stage {
    min-height: 64vh;
    gap: 2rem;
  }

  .approach-copy-block {
    width: min(28rem, 42%);
  }

  .approach-orbit-zone {
    width: min(48vw, 600px);
  }
}

@media (max-width: 900px) {
  .approach-sticky {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .approach-stage {
    min-height: auto;
    display: block;
    padding-top: 1rem;
  }

  .approach-copy-block {
    width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .approach-orbit-zone {
    width: min(100%, 520px);
    margin: 0 auto;
  }

  .approach-progress {
    display: none;
  }

  .approach-progress::after {
    display: none;
  }

  .approach-experience {
    padding-bottom: 0;
  }
}

@media (max-width: 640px) {
  .approach-step-title {
    max-width: none;
    font-size: clamp(1.236rem, 5.56vw, 1.916rem);
  }

  .approach-step-body {
    max-width: none;
  }

  .approach-orbit-zone {
    width: 100%;
    max-width: 420px;
  }

  .approach-node-1 { left: 14%; top: 52%; }
  .approach-node-2 { left: 29%; top: 23%; }
  .approach-node-3 { left: 58%; top: 14%; }
  .approach-node-4 { left: 85%; top: 34%; }
  .approach-node-5 { left: 73%; top: 81%; }
}


/* Approach section centering patch */
.philosophy-intro {
  text-align: center;
}

.philosophy-intro .section-kicker,
.philosophy-intro h2,
.philosophy-intro p {
  margin-left: auto;
  margin-right: auto;
}

.approach-stage {
  justify-content: center;
}

.approach-copy-block {
  text-align: center;
}

.approach-step-title,
.approach-step-body {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .approach-copy-block {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Approach mobile step access fix */
.approach-orbit-zone {
  pointer-events: auto;
}

.approach-node {
  cursor: pointer;
}

@media (max-width: 900px) {
  .approach-node {
    width: 1.15rem;
    height: 1.15rem;
  }

  .approach-node span {
    display: none;
  }
}


/* Approach polish patch */
.approach-copy-block {
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.approach-copy-block.is-approach-transitioning {
  opacity: 0.97;
  transform: translateY(2px);
}

.approach-step-title,
.approach-step-body,
.approach-step-index {
  transition: color 120ms ease;
}

.approach-ring {
  border-color: color-mix(in srgb, var(--color-text) 16%, transparent);
}

.approach-node {
  background: color-mix(in srgb, var(--color-text) 28%, transparent);
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--color-text) 4%, transparent);
}

html[data-theme='light'] .approach-ring {
  border-color: rgba(23, 13, 24, 0.12);
}

html[data-theme='light'] .approach-node {
  background: rgba(23, 13, 24, 0.18);
  box-shadow: 0 0 0 10px rgba(23, 13, 24, 0.03);
}

.approach-mobile-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 1rem auto 0;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: color-mix(in srgb, var(--color-surface-strong) 88%, transparent);
  color: var(--color-text-muted);
  font-size: 0.74rem;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  width: fit-content;
  max-width: calc(100% - 1rem);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.approach-mobile-hint::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-accent-2);
  box-shadow: 0 0 12px color-mix(in srgb, var(--color-accent-2) 55%, transparent);
  flex: 0 0 auto;
}

@media (min-width: 901px) {
  .approach-mobile-hint {
    position: absolute;
    right: -0.75rem;
    top: 50%;
    transform: translate(100%, -50%);
    margin: 0;
    z-index: 5;
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .approach-mobile-hint {
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0.85rem auto 0;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: color-mix(in srgb, var(--color-surface-strong) 88%, transparent);
    color: var(--color-text-muted);
    font-size: 0.74rem;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    width: fit-content;
    max-width: calc(100% - 1rem);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .approach-mobile-hint::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--color-accent-2);
    box-shadow: 0 0 12px color-mix(in srgb, var(--color-accent-2) 55%, transparent);
    flex: 0 0 auto;
  }
}

@media (max-width: 640px) {
  .approach-mobile-hint {
    font-size: 0.72rem;
    padding: 0.48rem 0.72rem;
    white-space: normal;
  }
}


/* CTA overlap rebuild */
.cta {
  position: relative;
  z-index: 40;
  height: auto;
  margin-top: 0;
  padding: 0;
  isolation: isolate;
}

body.is-cta-stack-unlocked .cta {
  height: 140svh;
  margin-top: -40svh;
}

.cta-stage {
  position: sticky;
  top: 0;
  width: 100%;
  min-height: 100svh;
  margin: 0;
  padding: clamp(1.25rem, 2vw, 1.8rem);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(239, 63, 154, 0.14) 0%, rgba(239, 63, 154, 0.04) 22%, transparent 46%),
    radial-gradient(circle at 78% 76%, rgba(209, 255, 55, 0.12) 0%, rgba(209, 255, 55, 0.05) 14%, transparent 36%),
    radial-gradient(circle at 82% 22%, rgba(255, 109, 88, 0.15) 0%, rgba(255, 109, 88, 0.06) 18%, transparent 34%),
    linear-gradient(135deg, rgba(24, 10, 15, 0.96) 0%, rgba(45, 16, 22, 0.98) 36%, rgba(28, 12, 20, 0.98) 100%);
  box-shadow:
    0 -40px 80px rgba(0, 0, 0, 0.12),
    0 30px 90px rgba(0, 0, 0, 0.24);
  isolation: isolate;
}

.cta-stage::before,
.cta-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-stage::before {
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.85) 0.6px, transparent 0.8px),
    radial-gradient(circle at 72% 38%, rgba(255,255,255,0.72) 0.55px, transparent 0.8px),
    radial-gradient(circle at 42% 78%, rgba(255,255,255,0.65) 0.5px, transparent 0.8px);
  background-size: 20px 20px, 28px 28px, 24px 24px;
  mix-blend-mode: screen;
}

.cta-stage::after {
  inset: auto 0 0;
  height: clamp(9rem, 14vw, 14rem);
  background: linear-gradient(180deg, rgba(12, 5, 10, 0) 0%, rgba(12, 5, 10, 0.26) 100%);
}

.cta-stage-meta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
  padding-bottom: clamp(1.4rem, 2vw, 1.9rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(247, 241, 251, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cta-stage-meta span:nth-child(2) {
  text-align: center;
}

.cta-stage-meta span:last-child {
  text-align: right;
}

.cta-stage-floats {
  position: absolute;
  inset: 50% 0 auto;
  z-index: 3;
  pointer-events: none;
}

.cta-stage-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 241, 251, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cta-stage-float-a {
  left: calc(56% - 3rem);
  top: -8.5rem;
}

.cta-stage-float-b {
  left: calc(56% + 7rem);
  top: 3rem;
}

.cta-stage-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(20rem, 0.82fr);
  gap: clamp(2.5rem, 4.5vw, 6rem);
  align-items: stretch;
  min-height: 100svh;
  padding-top: 0;
}

.cta-copy {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 52rem;
  padding: clamp(2rem, 4vw, 4rem) clamp(0.25rem, 1vw, 0.75rem) clamp(2rem, 4vw, 3rem) 0;
}

.cta-copy .section-kicker {
  margin-bottom: 1rem;
}

.cta-copy h2 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.425rem, 4.5vw, 4.3rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.cta-copy p {
  max-width: 34rem;
  font-size: 1.04rem;
  color: rgba(247, 241, 251, 0.72);
}

.cta-copy p + p {
  margin-top: 0.5rem;
}

.contact-stack {
  margin-top: 2.35rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact-copy-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(247, 241, 251, 0.82);
  font: inherit;
  font-size: clamp(2.25rem, 3.2vw, 3rem);
  line-height: 0.96;
  cursor: pointer;
  text-align: left;
}

.contact-copy-text {
  display: inline-block;
}

.contact-copy-tooltip {
  position: absolute;
  left: calc(100% + 0.9rem);
  top: 50%;
  padding: 0.38rem 0.6rem;
  border: 1px solid rgba(247, 241, 251, 0.14);
  border-radius: 999px;
  background: rgba(13, 6, 10, 0.88);
  color: rgba(247, 241, 251, 0.8);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-50%) translateX(-0.2rem);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.contact-copy-link:hover .contact-copy-tooltip,
.contact-copy-link:focus-visible .contact-copy-tooltip,
.contact-copy-link.is-copied .contact-copy-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.contact-copy-link:focus-visible {
  outline: none;
}

.contact-copy-link:hover,
.contact-copy-link:focus-visible {
  color: rgba(247, 241, 251, 1);
}

.contact-copy-link.is-copied .contact-copy-tooltip {
  border-color: rgba(209, 255, 55, 0.28);
  color: rgba(209, 255, 55, 0.92);
}

.cta .form-shell {
  position: relative;
  align-self: center;
  width: 100%;
  max-width: none;
  margin-left: auto;
  padding: clamp(1rem, 2vw, 1.5rem) 0 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.cta .form-intro {
  margin-bottom: 1.9rem;
}

.cta .form-intro h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cta .form-intro p {
  color: rgba(247, 241, 251, 0.6);
}

.cta .field-grid {
  display: grid;
  gap: 1.3rem;
}

.cta .field {
  gap: 0.5rem;
}

.cta .field span {
  color: rgba(247, 241, 251, 0.54);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cta .field input {
  min-height: 3.2rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(247, 241, 251, 0.2);
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  box-shadow: none;
}

.cta .field input::placeholder {
  color: rgba(247, 241, 251, 0.32);
}

.cta .field input:focus {
  outline: none;
  border-bottom-color: var(--color-accent-2);
}

.cta .form-actions {
  margin-top: 2rem;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
}

.cta .button-primary {
  min-height: 3.25rem;
  padding-inline: 1rem;
  border: 1px solid rgba(247, 241, 251, 0.16);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.cta .button-primary:hover,
.cta .button-primary:focus-visible {
  border-color: rgba(209, 255, 55, 0.42);
  background: rgba(209, 255, 55, 0.08);
}

.cta .form-message,
.cta .field-error {
  color: rgba(247, 241, 251, 0.66);
}

html[data-theme='light'] .cta-stage {
  background:
    radial-gradient(circle at 16% 18%, rgba(217, 28, 130, 0.1) 0%, rgba(217, 28, 130, 0.03) 22%, transparent 46%),
    radial-gradient(circle at 78% 76%, rgba(130, 153, 15, 0.12) 0%, rgba(130, 153, 15, 0.05) 14%, transparent 36%),
    radial-gradient(circle at 82% 22%, rgba(232, 95, 82, 0.12) 0%, rgba(232, 95, 82, 0.05) 18%, transparent 34%),
    linear-gradient(135deg, rgba(246, 238, 244, 0.98) 0%, rgba(236, 226, 233, 0.98) 44%, rgba(242, 235, 240, 0.98) 100%);
  box-shadow:
    0 -24px 48px rgba(68, 26, 58, 0.08),
    0 28px 80px rgba(68, 26, 58, 0.12);
}

html[data-theme='light'] .cta-stage::after {
  background: linear-gradient(180deg, rgba(246, 238, 244, 0) 0%, rgba(236, 226, 233, 0.48) 100%);
}

html[data-theme='light'] .cta-stage-meta {
  border-bottom-color: rgba(23, 13, 24, 0.1);
  color: rgba(23, 13, 24, 0.54);
}

html[data-theme='light'] .cta-stage-float {
  border-color: rgba(23, 13, 24, 0.1);
  background: rgba(255, 255, 255, 0.56);
  color: rgba(23, 13, 24, 0.58);
}

html[data-theme='light'] .cta-copy p,
html[data-theme='light'] .cta .form-intro p,
html[data-theme='light'] .cta .form-message,
html[data-theme='light'] .cta .field-error {
  color: rgba(23, 13, 24, 0.68);
}

html[data-theme='light'] .contact-copy-link {
  color: rgba(23, 13, 24, 0.8);
}

html[data-theme='light'] .contact-copy-tooltip {
  border-color: rgba(23, 13, 24, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(23, 13, 24, 0.7);
}

html[data-theme='light'] .contact-copy-link:hover,
html[data-theme='light'] .contact-copy-link:focus-visible {
  color: rgba(23, 13, 24, 0.96);
}

html[data-theme='light'] .contact-copy-link.is-copied .contact-copy-tooltip {
  border-color: rgba(130, 153, 15, 0.28);
  color: rgba(92, 110, 9, 0.92);
}

html[data-theme='light'] .cta .field span {
  color: rgba(23, 13, 24, 0.5);
}

html[data-theme='light'] .cta .field input {
  border-bottom-color: rgba(23, 13, 24, 0.18);
}

html[data-theme='light'] .cta .field input::placeholder {
  color: rgba(23, 13, 24, 0.34);
}

html[data-theme='light'] .cta .button-primary {
  border-color: rgba(23, 13, 24, 0.12);
  background: rgba(255, 255, 255, 0.62);
  color: var(--color-text);
}

html[data-theme='light'] .cta .button-primary:hover,
html[data-theme='light'] .cta .button-primary:focus-visible {
  border-color: rgba(130, 153, 15, 0.44);
  background: rgba(130, 153, 15, 0.08);
}

@media (min-width: 981px) {
  .cta-stage-shell {
    align-items: center;
  }
}

@media (max-width: 1180px) {
  .cta-copy h2 {
    font-size: clamp(2rem, 4vw, 3.375rem);
  }
}

@media (max-width: 980px) {
  .cta {
    height: auto;
    margin-top: 0;
    padding: 0 0 clamp(4rem, 10vw, 5rem);
  }

  .cta-stage {
    position: relative;
    top: auto;
    width: 100%;
    min-height: auto;
    padding: 1rem;
    border-radius: 0;
  }

  .cta-stage-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    min-height: auto;
    padding-top: 1.5rem;
  }

  .cta-copy,
  .cta .form-shell {
    max-width: 100%;
    padding-right: 0;
  }

  .cta-copy {
    padding-top: 0.5rem;
    padding-bottom: 0;
  }

  .cta-copy h2 {
    max-width: 13ch;
    font-size: clamp(1.675rem, 6.5vw, 2.9rem);
  }

  .contact-copy-tooltip {
    left: 0;
    top: calc(100% + 0.55rem);
    transform: translateY(0) translateX(0);
  }

  .contact-copy-link:hover .contact-copy-tooltip,
  .contact-copy-link:focus-visible .contact-copy-tooltip,
  .contact-copy-link.is-copied .contact-copy-tooltip {
    transform: translateY(0) translateX(0);
  }
}



/* Approach to CTA wipe transition */
.philosophy.section {
  z-index: 10;
}

.approach-transition-zone {
  position: relative;
  height: 0;
  pointer-events: none;
}

.approach-wipe-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  background: #d1ff37;
  clip-path: circle(0px at 50% 50%);
  will-change: clip-path, opacity;
}

.cta {
  position: relative;
  z-index: 20;
  height: 100svh;
  min-height: 100svh;
  margin-top: calc(-100svh - var(--cta-dynamic-overlap, 0px));
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.cta-stage {
  position: relative;
  top: auto;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  min-height: 100svh;
  opacity: var(--cta-reveal-opacity, 0);
  transition: opacity 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-stage-shell,
.cta .cta-copy,
.cta .form-shell {
  transition: opacity 320ms cubic-bezier(0.22, 1, 0.36, 1), transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

body:not(.is-cta-revealing):not(.is-cta-wipe-complete) .cta-stage {
  opacity: 0;
  pointer-events: none;
}

body.is-cta-revealing .cta-stage,
body.is-cta-wipe-complete .cta-stage {
  opacity: 1;
}

body:not(.is-cta-revealing):not(.is-cta-wipe-complete) .cta-stage-shell {
  opacity: var(--cta-reveal-opacity, 0);
  transform: translateY(var(--cta-reveal-translate, 2.2rem));
  pointer-events: none;
}

body.is-cta-revealing .cta-stage-shell,
body.is-cta-wipe-complete .cta-stage-shell {
  opacity: var(--cta-reveal-opacity, 1);
  transform: translateY(var(--cta-reveal-translate, 0rem));
}

body.is-cta-revealing:not(.is-cta-wipe-complete) .cta-stage-shell {
  pointer-events: none;
}

body.is-cta-wipe-complete .cta-stage-shell {
  pointer-events: auto;
}

@media (max-width: 980px) {
  .approach-transition-zone {
    display: none;
  }

  .approach-wipe-layer {
    display: none;
  }

  body:not(.is-cta-wipe-complete) .cta-stage-shell {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}


/* No philosophy: CTA follows Work normally */
body.no-philosophy .cta {
  position: relative;
  z-index: 20;
  height: auto;
  min-height: 100svh;
  margin-top: 0 !important;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

body.no-philosophy .cta-stage {
  position: relative;
  top: auto;
  width: 100%;
  height: auto;
  min-height: 100svh;
  opacity: 1 !important;
  visibility: visible;
  pointer-events: auto !important;
}

body.no-philosophy .cta-stage-shell,
body.no-philosophy .cta .cta-copy,
body.no-philosophy .cta .form-shell,
body.no-philosophy .cta .reveal {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible;
  pointer-events: auto !important;
}

body.no-philosophy .approach-wipe-layer {
  display: none !important;
}

body.no-philosophy:not(.is-cta-revealing):not(.is-cta-wipe-complete) .cta-stage,
body.no-philosophy:not(.is-cta-revealing):not(.is-cta-wipe-complete) .cta-stage-shell {
  opacity: 1 !important;
  pointer-events: auto !important;
}

@media (max-width: 980px) {
  body.no-philosophy .cta {
    height: auto;
    min-height: 0;
    margin-top: 0 !important;
    overflow: hidden;
  }

  body.no-philosophy .cta-stage {
    position: relative;
    top: auto;
    height: auto;
    min-height: 100svh;
  }
}


/* Work falling text */
.work-falling-head {
  max-width: 54rem;
}

.work-falling-text {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: clamp(20rem, 37.5vw, 35rem);
  cursor: pointer;
  text-align: left;
  padding-top: 0.25rem;
}

.work-falling-text .falling-text-target {
  position: relative;
  display: block;
  width: 100%;
  max-width: 12ch;
  font-size: clamp(3.4rem, 8vw, 7.38rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--color-text);
  min-height: inherit;
}

.work-falling-text .word {
  display: inline-block;
  margin: 0 0.08em 0 0;
  user-select: none;
  white-space: nowrap;
  will-change: transform;
}

.work-falling-text .highlighted {
  color: var(--color-accent-2);
}

.work-falling-text .falling-text-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.work-falling-text.is-ready .falling-text-target {
  color: transparent;
}

.work-falling-text.is-ready .falling-text-target .word {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-text);
}

.work-falling-text.is-ready .falling-text-target .word.highlighted {
  color: var(--color-accent-2);
}

@media (max-width: 820px) {
  .work-falling-text {
    min-height: clamp(15rem, 50vw, 25rem);
  }

  .work-falling-text .falling-text-target {
    max-width: 100%;
    font-size: clamp(3rem, 12vw, 7.38rem);
  }
}


.work-hover-badge {
  position: absolute;
  top: clamp(1rem, 2vw, 1.6rem);
  right: clamp(0.5rem, 4vw, 3rem);
  z-index: 3;
  width: clamp(5.75rem, 8vw, 7rem);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  background: color-mix(in srgb, var(--color-surface-strong) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-border) 94%, rgba(255,255,255,0.18));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.work-hover-badge-ring {
  position: absolute;
  inset: -0.45rem;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--color-accent-2) 34%, transparent);
  opacity: 0.8;
  animation: workHoverBadgePulse 2.2s ease-in-out infinite;
}

.work-hover-badge-text {
  position: relative;
  z-index: 1;
  width: 68%;
  font-size: 0.76rem;
  line-height: 1.08;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--color-text);
}

.work-falling-text:hover .work-hover-badge,
.work-falling-text:focus-within .work-hover-badge,
.work-falling-text.is-ready .work-hover-badge {
  opacity: 0;
  transform: scale(0.9);
}

@keyframes workHoverBadgePulse {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.42;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.9;
  }
}

@media (max-width: 820px) {
  .work-hover-badge {
    top: auto;
    right: 0;
    bottom: 0.5rem;
    width: clamp(5rem, 26vw, 6rem);
  }

  .work-hover-badge-text {
    font-size: 0.68rem;
  }
}


.scroll-top-button {
  position: fixed;
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  z-index: 80;
  width: 3.6rem;
  height: 3.6rem;
  border: 1px solid color-mix(in srgb, var(--color-border) 94%, rgba(255,255,255,0.18));
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--color-text);
  background: color-mix(in srgb, var(--color-surface-strong) 82%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.75rem) scale(0.92);
  transition:
    opacity var(--transition-base),
    transform var(--transition-base),
    visibility var(--transition-base),
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.scroll-top-button.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top-button:hover,
.scroll-top-button:focus-visible {
  border-color: color-mix(in srgb, var(--color-accent-2) 38%, var(--color-border));
  background: color-mix(in srgb, var(--color-surface-strong) 92%, transparent);
}

.scroll-top-button:focus-visible {
  outline: none;
}

.scroll-top-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
}

.scroll-top-button-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 820px) {
  .scroll-top-button {
    right: 1rem;
    bottom: 5.5rem;
    width: 3.35rem;
    height: 3.35rem;
  }
}


/* Curved services loop */
.service-loop {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}

.service-loop-shell {
  width: 100%;
}

.curved-loop-jacket {
  min-height: min(64vh, 34rem);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.curved-loop-jacket:active {
  cursor: grabbing;
}

.curved-loop-svg {
  width: 100%;
  display: block;
  overflow: visible;
}

.curved-loop-text {
  fill: var(--color-text);
  font-size: clamp(3.8rem, 8vw, 6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 1;
}

.curved-loop-measure {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  font-size: clamp(3.8rem, 8vw, 6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

@media (max-width: 980px) {
  .service-loop {
    display: none;
  }
}

/* Site loader */
body.is-loading {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 24%, rgba(239, 63, 154, 0.12), transparent 28%),
    radial-gradient(circle at 76% 72%, rgba(209, 255, 55, 0.08), transparent 26%),
    linear-gradient(180deg, #100813 0%, #160a1e 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 600ms ease, visibility 600ms ease;
}

body.is-loaded .site-loader {
  opacity: 0;
  visibility: hidden;
}

.site-loader-track {
  --loader-length: min(70vw, 34rem);
  position: relative;
  width: var(--loader-length);
  height: clamp(4.5rem, 9vw, 6.5rem);
}

.site-loader-chomp {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 2;
  width: clamp(2.7rem, 6vw, 4.35rem);
  height: clamp(2.7rem, 6vw, 4.35rem);
  transform: translateY(-50%);
  animation: loader-chomp-move 2.5s linear infinite;
  will-change: transform;
}

.site-loader-chomp-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.site-loader-chomp-face-c {
  animation: loader-chomp-face-c 280ms steps(2, end) infinite;
}

.site-loader-chomp-face-o {
  animation: loader-chomp-face-o 280ms steps(2, end) infinite;
}

.site-loader-chomp img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-loader-o-solid {
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: #f7f1fb;
  display: block;
}

.site-loader-dot {
  position: absolute;
  top: 50%;
  width: clamp(0.45rem, 0.9vw, 0.7rem);
  height: clamp(0.45rem, 0.9vw, 0.7rem);
  margin-top: calc(clamp(0.45rem, 0.9vw, 0.7rem) / -2);
  border-radius: 50%;
  background: rgba(247, 241, 251, 0.9);
  animation: loader-dot-fade 2.5s linear infinite;
}

.site-loader-dot:nth-child(2) { left: 18%; animation-delay: 0s; }
.site-loader-dot:nth-child(3) { left: 28%; animation-delay: 0.24s; }
.site-loader-dot:nth-child(4) { left: 38%; animation-delay: 0.48s; }
.site-loader-dot:nth-child(5) { left: 48%; animation-delay: 0.72s; }
.site-loader-dot:nth-child(6) { left: 58%; animation-delay: 0.96s; }
.site-loader-dot:nth-child(7) { left: 68%; animation-delay: 1.2s; }
.site-loader-dot:nth-child(8) { left: 78%; animation-delay: 1.44s; }
.site-loader-dot:nth-child(9) { left: 88%; animation-delay: 1.68s; }

@keyframes loader-chomp-move {
  0% { transform: translate(0, -50%); }
  100% { transform: translate(calc(var(--loader-length) - 4.125rem), -50%); }
}

@keyframes loader-chomp-face-c {
  0%, 49.999% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes loader-chomp-face-o {
  0%, 49.999% { opacity: 0; }
  50%, 100% { opacity: 1; }
}

@keyframes loader-dot-fade {
  0%, 14% { opacity: 0.9; transform: scale(1); }
  20%, 100% { opacity: 0.12; transform: scale(0.45); }
}

@media (max-width: 820px) {
  .site-loader-track {
    --loader-length: min(76vw, 22rem);
  }

  .site-loader-chomp {
    width: clamp(2.4rem, 9vw, 3.45rem);
    height: clamp(2.4rem, 9vw, 3.45rem);
  }

  @keyframes loader-chomp-move {
    0% { transform: translate(0, -50%); }
    100% { transform: translate(calc(var(--loader-length) - 3.15rem), -50%); }
  }
}


/* =========================
   PACMAN PAGE
========================= */
.pacman-page-body {
  min-height: 100vh;
}

.pacman-site-shell {
  min-height: 100vh;
}

.pacman-main {
  position: relative;
  z-index: 1;
  padding: clamp(7rem, 10vw, 9rem) 0 4rem;
}

.pacman-hero {
  padding: 0 0 2rem;
}

.pacman-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.pacman-copy,
.pacman-side-card,
.pacman-game-shell {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--surface-strong, rgba(18, 10, 24, 0.8)) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--border-strong, rgba(255,255,255,0.16)) 72%, transparent);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.pacman-copy {
  border-radius: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.pacman-copy h1 {
  max-width: 12ch;
}

.pacman-intro {
  max-width: 62ch;
  margin: 0;
}

.pacman-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.pacman-side-card {
  border-radius: 1.75rem;
  padding: 1.5rem;
  align-self: stretch;
}

.pacman-side-kicker,
.pacman-stat-label,
.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.75;
}

.pacman-instructions-list {
  margin: 0;
  padding-left: 1.1rem;
}

.pacman-instructions-list li + li {
  margin-top: 0.5rem;
}

.pacman-note {
  margin: 1rem 0 0;
  color: var(--text-secondary);
}

.pacman-game-section {
  padding: 0 0 4rem;
}

.pacman-game-shell {
  border-radius: 2rem;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.pacman-hud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 0.9rem;
  align-items: stretch;
  margin-bottom: 1rem;
}

.pacman-stat {
  border-radius: 1.1rem;
  padding: 0.95rem 1rem;
  background: color-mix(in srgb, var(--surface-subtle, rgba(255,255,255,0.05)) 90%, transparent);
  border: 1px solid color-mix(in srgb, var(--border-subtle, rgba(255,255,255,0.1)) 78%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.pacman-stat strong {
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.pacman-stat-message strong {
  color: #cfef42;
}

.pacman-restart-button {
  align-self: stretch;
  justify-self: stretch;
}

.pacman-canvas-frame {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(239, 63, 154, 0.08), transparent 38%),
    radial-gradient(circle at bottom right, rgba(207, 239, 66, 0.08), transparent 32%),
    #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(0.75rem, 2vw, 1rem);
}

#pacmanCanvas {
  display: block;
  width: min(100%, 896px);
  height: auto;
  margin: 0 auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border-radius: 1rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1080px) {
  .pacman-hero-inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .pacman-main {
    padding-top: 6.5rem;
  }

  .pacman-hud {
    grid-template-columns: 1fr;
  }

  .pacman-copy,
  .pacman-side-card,
  .pacman-game-shell {
    border-radius: 1.4rem;
  }

  .pacman-canvas-frame {
    padding: 0.65rem;
  }
}
