@import url("site-chrome.css");

:root {
  --bg-one: linear-gradient(135deg, #080a12 0%, #101624 46%, #1a0f19 100%);
  --bg-two: linear-gradient(135deg, #0b0d12 0%, #1c1117 42%, #161a25 100%);
  --bg-three: linear-gradient(135deg, #070a12 0%, #101d27 48%, #170d18 100%);
  --text: #f9f9ff;
  --muted: #b8becf;
  --accent: #ff4b6b;
  --accent-strong: #ff7b3b;
  --gold: #f6c453;
  --cyan: #7bd8ff;
  --panel: rgba(10, 13, 24, 0.82);
  --panel-strong: rgba(12, 16, 30, 0.94);
  --border-soft: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--text);
}

body {
  background: var(--bg-one);
  transition: background 0.9s ease, color 0.6s ease, opacity 0.8s ease;
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  opacity: 0;
}

body.mode-one { background: var(--bg-one); }
body.mode-two { background: var(--bg-two); }
body.mode-three { background: var(--bg-three); }

html.is-loaded body {
  opacity: 1;
}

main {
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-margin-top: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 24px;
}

.inner {
  width: 100%;
  max-width: 1120px;
  position: relative;
  z-index: 2;
}

#gear-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  mix-blend-mode: screen;
}

.gear-orbit {
  width: min(60vw, 520px);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s ease, filter 1s ease, opacity 0.8s ease;
  opacity: 0.22;
}

body.mode-one .gear-orbit {
  transform: rotate(0deg) scale(1);
  filter: none;
}

body.mode-two .gear-orbit {
  transform: rotate(18deg) scale(1.06);
  filter: hue-rotate(-25deg) saturate(1.4);
  opacity: 0.92;
}

body.mode-three .gear-orbit {
  transform: rotate(-26deg) scale(1.12);
  filter: hue-rotate(60deg) saturate(1.6);
  opacity: 0.96;
}

.gear-wheel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.9) 0, rgba(0, 0, 0, 0) 52%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0) 68%);
  animation: spin-slow 30s linear infinite;
}

body.mode-two .gear-wheel {
  animation: spin-fast 14s linear infinite;
}

body.mode-three .gear-wheel {
  animation: spin-fast-rev 18s linear infinite;
}

.gear-core {
  position: absolute;
  inset: 27%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(3, 3, 10, 0.95) 0, rgba(3, 3, 10, 0.8) 60%, transparent 100%);
  box-shadow:
    0 0 30px rgba(255, 75, 107, 0.6),
    0 0 80px rgba(255, 123, 59, 0.4);
}

.gear-tooth {
  position: absolute;
  width: 18%;
  height: 9%;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff4b6b, #ff7b3b);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.8),
    0 0 22px rgba(255, 75, 107, 0.8);
  transform-origin: 50% 230%;
}

.gear-tooth::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.32);
  mix-blend-mode: multiply;
}

.gear-tooth.t1 { top: 4%; left: 50%; transform: translateX(-50%) rotate(0deg); }
.gear-tooth.t2 { top: 16%; right: 5%; transform: rotate(45deg); }
.gear-tooth.t3 { top: 50%; right: -2%; transform: translateY(-50%) rotate(90deg); }
.gear-tooth.t4 { bottom: 16%; right: 5%; transform: rotate(135deg); }
.gear-tooth.t5 { bottom: 4%; left: 50%; transform: translateX(-50%) rotate(180deg); }
.gear-tooth.t6 { bottom: 16%; left: 5%; transform: rotate(225deg); }
.gear-tooth.t7 { top: 50%; left: -2%; transform: translateY(-50%) rotate(270deg); }
.gear-tooth.t8 { top: 16%; left: 5%; transform: rotate(315deg); }

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin-fast {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes spin-fast-rev {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.section-one .inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 34px;
  padding: 30px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 100% 0, rgba(123, 216, 255, 0.16), transparent 42%),
    radial-gradient(circle at 0 120%, rgba(255, 75, 107, 0.14), transparent 54%),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
}

.top-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(222, 232, 255, 0.82);
}

.pill {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid rgba(246, 196, 83, 0.4);
  background: rgba(246, 196, 83, 0.08);
  backdrop-filter: blur(12px);
  white-space: nowrap;
}

.hero-text {
  max-width: 680px;
  margin-top: 4px;
}

.eyebrow {
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-text h1 {
  font-size: clamp(2.45rem, 4.2vw, 4.6rem);
  line-height: 0.98;
  margin-bottom: 18px;
  max-width: 760px;
  letter-spacing: 0;
}

.hero-text h1 span.accent {
  background-image: linear-gradient(135deg, var(--accent), var(--accent-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.06rem;
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 620px;
}

.hero-text p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.65;
}

.hero-text p strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 16px;
}

.hero-action {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-action--primary {
  color: #090a0e;
  background: linear-gradient(135deg, var(--gold), var(--accent-strong));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

.hero-action--ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
}

.lists {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 16px;
}

.chip {
  font-size: 0.8rem;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(235, 240, 255, 0.9);
}

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

.hero-metrics div {
  min-height: 86px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.hero-metrics strong {
  display: block;
  font-size: 1.4rem;
  color: var(--cyan);
  margin-bottom: 6px;
}

.hero-metrics span {
  display: block;
  color: rgba(225, 232, 255, 0.9);
  font-size: 0.82rem;
  line-height: 1.35;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0.9;
}

.hero-note span {
  color: var(--accent-strong);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  perspective: 1200px;
}

.visual-shell {
  position: relative;
  width: 100%;
  max-width: 390px;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 0 0, rgba(123, 216, 255, 0.18), transparent 48%),
    rgba(5, 8, 18, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  padding-inline: 12px;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.bg-words span {
  position: absolute;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  pointer-events: none;
  animation: floatWord 14s ease-in-out infinite;
}

.bg-words span:nth-child(1) { top: 10%; left: -18%; }
.bg-words span:nth-child(2) { top: 44%; left: -10%; animation-duration: 18s; }
.bg-words span:nth-child(3) { bottom: 10%; right: -30%; animation-duration: 16s; }

@keyframes floatWord {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.portrait-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 72px;
  pointer-events: none;
}

.portrait-wrap img {
  max-height: 100%;
  width: auto;
  filter:
    drop-shadow(0 0 18px rgba(255, 75, 107, 0.7))
    drop-shadow(0 22px 40px rgba(0, 0, 0, 0.95));
  transform: translateZ(40px);
}

.name-tag {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateZ(60px);
  background: rgba(5, 5, 15, 0.9);
  border-radius: 12px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  backdrop-filter: blur(14px);
  white-space: nowrap;
  pointer-events: auto;
}

.studio-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(6, 9, 20, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.48);
}

.studio-badge span {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(210, 222, 255, 0.74);
}

.studio-badge strong {
  font-size: 0.84rem;
  color: var(--text);
}

.studio-badge--top {
  top: 18px;
  right: 18px;
}

.studio-badge--bottom {
  left: 18px;
  bottom: 92px;
}

.name-tag .name {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.1;
}

.name-tag .role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  line-height: 1.1;
}

.section-two .inner,
.section-three .inner,
.section-contact .inner {
  border-radius: 22px;
  padding: 30px 30px 26px;
  display: grid;
  gap: 24px;
}

.section-two .inner {
  background:
    radial-gradient(circle at 0 0, rgba(246, 196, 83, 0.18), transparent 42%),
    radial-gradient(circle at 100% 110%, rgba(123, 216, 255, 0.12), transparent 52%),
    var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr);
}

.mad-label,
.projects-label,
.missions-label,
.footer-left-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 10px;
}

.mad-label { color: rgba(255, 255, 255, 0.7); }
.projects-label { color: rgba(179, 197, 255, 0.8); margin-bottom: 8px; }
.missions-label { color: rgba(255, 255, 255, 0.7); margin-bottom: 8px; }
.footer-left-label { color: rgba(187, 210, 255, 0.85); margin-bottom: 8px; }

.mad-heading,
.projects-heading,
.footer-heading {
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mad-heading { font-size: clamp(2.15rem, 3.4vw, 3.3rem); margin-bottom: 16px; }
.projects-heading { font-size: clamp(2.1rem, 3vw, 2.8rem); margin-bottom: 14px; }
.footer-heading { font-size: clamp(1.9rem, 2.5vw, 2.4rem); margin-bottom: 10px; }

.mad-heading span.stacked {
  display: inline-block;
  position: relative;
}

.mad-heading span.stacked::before,
.mad-heading span.stacked::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0.3;
  mix-blend-mode: screen;
  pointer-events: none;
}

.mad-heading span.stacked::before {
  color: #ff4b6b;
  transform: translate3d(-2px, 1px, 0);
}

.mad-heading span.stacked::after {
  color: #ff7b3b;
  transform: translate3d(2px, -1px, 0);
}

.mad-body,
.projects-intro,
.footer-sub {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 18px;
}

.mad-body { font-size: 0.98rem; }
.projects-intro { font-size: 0.96rem; }
.footer-sub { font-size: 0.94rem; color: rgba(210, 222, 255, 0.9); max-width: 520px; margin-bottom: 14px; }

.mad-body strong,
.projects-intro strong {
  color: var(--text);
}

.mad-grid,
.project-groups {
  display: grid;
  gap: 12px;
  margin-bottom: 10px;
}

.mad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 8px; }

.mad-chip,
.project-card,
.mission-card,
.more-missions,
.footer-chip,
.footer-form-card,
.coo-photo-slot {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(3, 0, 10, 0.9);
}

.mad-chip {
  padding: 14px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.87rem;
  min-height: 150px;
}

.mad-chip i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #08090d;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
}

.mad-chip span.label,
.mad-chip span.text {
  display: block;
}

.mad-chip span.label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.6);
}

.mad-chip span.text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.45;
}

.mad-footnote,
.projects-note,
.mission-tagline,
.footer-bottom-note,
.footer-mini-note,
.more-text span {
  font-size: 0.82rem;
}

.mad-footnote { color: var(--muted); margin-top: 8px; max-width: 480px; }
.projects-note { color: rgba(186, 199, 255, 0.9); margin-top: 6px; }
.mission-tagline { color: rgba(248, 235, 255, 0.85); margin-top: 4px; }
.footer-bottom-note { color: rgba(205, 216, 255, 0.85); }
.footer-mini-note { color: rgba(210, 222, 255, 0.9); }
.more-text span { color: rgba(230, 224, 255, 0.9); }

.mad-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mad-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 0, 14, 0.95);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  align-self: flex-end;
}

.mad-pill .dot,
.footer-form-tag span.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #00ff85 0, #118b4b 70%);
  box-shadow: 0 0 8px rgba(0, 255, 133, 0.8);
}

.mad-card {
  position: relative;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.13), transparent 52%),
    rgba(3, 0, 12, 0.96);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.process-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.process-list div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.process-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.process-list span {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #08090d;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  font-size: 0.72rem;
  font-weight: 800;
}

.process-list strong {
  color: var(--text);
  font-size: 0.92rem;
}

.process-list p {
  margin: 0;
}

.mad-card p,
.project-card p,
.mission-body p,
.footer-form-title {
  color: var(--muted);
}

.mad-card p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.mad-card p strong,
.project-card h3,
.mission-body h4,
.footer-form-title span,
.footer-sub span,
.footer-bottom-note span {
  color: var(--text);
}

.mad-cta {
  font-size: 0.88rem;
  margin-top: 4px;
  color: var(--accent-strong);
}

.mad-cta span {
  font-size: 0.84rem;
  color: var(--muted);
}

.mad-highlight {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 100px;
  background: radial-gradient(circle at 30% 10%, rgba(255, 75, 107, 0.75), transparent 60%);
  top: -60px;
  right: -60px;
  opacity: 0.5;
  filter: blur(8px);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: glowMove 18s ease-in-out infinite alternate;
}

@keyframes glowMove {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.45; }
  50% { transform: translate3d(-16px, 18px, 0) scale(1.05); opacity: 0.8; }
  100% { transform: translate3d(12px, 8px, 0) scale(1.03); opacity: 0.6; }
}

.section-three .inner {
  background:
    radial-gradient(circle at 100% 0, rgba(123, 216, 255, 0.2), transparent 50%),
    radial-gradient(circle at 0 120%, rgba(255, 75, 107, 0.18), transparent 56%),
    var(--panel-strong);
  border: 1px solid rgba(112, 152, 255, 0.32);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.6fr);
}

.projects-heading span {
  background-image: linear-gradient(135deg, #7bd8ff, #ff4b6b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.project-card {
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(106, 138, 255, 0.5);
  background: rgba(3, 7, 30, 0.9);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
}

.project-card .icon-wrap,
.mission-icon,
.more-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card .icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 10%, rgba(123, 216, 255, 0.95), transparent 60%);
  box-shadow: 0 0 16px rgba(123, 216, 255, 0.8);
  flex-shrink: 0;
}

.project-card .icon-wrap i {
  font-size: 1rem;
}

.project-card h3 {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 4px;
  color: rgba(206, 220, 255, 0.95);
}

.project-card p {
  font-size: 0.86rem;
  color: rgba(196, 206, 255, 0.9);
}

.missions-heading {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: rgba(241, 243, 255, 0.95);
}

.mission-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mission-card {
  border-radius: 14px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 1, 18, 0.96);
  font-size: 0.86rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: flex-start;
  position: relative;
}

.mission-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 10%, rgba(255, 75, 107, 0.95), transparent 60%);
  box-shadow: 0 0 16px rgba(255, 75, 107, 0.8);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.mission-body h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 4px;
  color: rgba(255, 228, 244, 0.9);
}

.mission-body p {
  font-size: 0.85rem;
  color: rgba(246, 230, 255, 0.92);
}

.mission-body p span.sub {
  display: block;
  font-size: 0.78rem;
  opacity: 0.85;
  margin-top: 3px;
}

.coo-photo-slot {
  margin-top: 6px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  padding: 8px;
  font-size: 0.8rem;
  text-align: center;
  color: rgba(244, 234, 255, 0.85);
}

.build-gallery {
  margin-top: 4px;
}

.build-gallery-main {
  position: relative;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.1), transparent 60%);
  cursor: pointer;
}

.build-gallery-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.build-gallery-main img.active {
  opacity: 1;
  transform: scale(1);
}

.build-gallery-thumbs {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  justify-content: center;
}

.build-thumb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  opacity: 0.5;
  cursor: pointer;
}

.build-thumb-dot.active {
  background: rgba(123, 216, 255, 1);
  opacity: 1;
}

.more-missions {
  border-style: dashed;
  border-radius: 15px;
  padding: 10px 12px;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(5, 5, 18, 0.7);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  font-size: 0.84rem;
}

.more-icon {
  font-size: 1.3rem;
}

.section-contact .inner {
  background:
    radial-gradient(circle at 0 0, rgba(123, 216, 255, 0.35), transparent 55%),
    radial-gradient(circle at 100% 120%, rgba(255, 75, 107, 0.4), transparent 65%),
    var(--panel-strong);
  border: 1px solid rgba(140, 190, 255, 0.5);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  grid-template-columns: minmax(0, 2.8fr) minmax(0, 2.2fr);
}

.footer-heading span,
.footer-sub span,
.footer-bottom-note span,
.footer-form-title span {
  background-image: linear-gradient(135deg, #7bd8ff, #ff4b6b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-chip {
  border-radius: 9px;
  padding: 6px 10px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(222, 232, 255, 0.95);
}

.footer-chip i { font-size: 0.9rem; }

.footer-form-card {
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(226, 237, 255, 0.6);
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.16), transparent 55%),
    rgba(2, 3, 18, 0.98);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
}

.footer-form-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(214, 228, 255, 0.9);
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-form-title {
  font-size: 0.98rem;
  margin-bottom: 10px;
  color: rgba(236, 242, 255, 0.96);
}

  .footer-form {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 0.86rem;
  }

  .contact-alert {
    border-radius: 12px;
    padding: 9px 11px;
    margin-bottom: 10px;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .contact-alert--success {
    border: 1px solid rgba(0, 255, 133, 0.55);
    background: rgba(0, 255, 133, 0.12);
    color: #dfffea;
  }

  .contact-alert--error {
    border: 1px solid rgba(255, 75, 107, 0.65);
    background: rgba(255, 75, 107, 0.12);
    color: #ffe5ea;
  }

  .contact-progress {
    display: none;
    border: 1px solid rgba(123, 216, 255, 0.42);
    border-radius: 14px;
    padding: 10px 11px;
    margin-bottom: 10px;
    background:
      radial-gradient(circle at 8% 0, rgba(0, 255, 133, 0.18), transparent 46%),
      rgba(6, 10, 30, 0.9);
    box-shadow: 0 0 24px rgba(123, 216, 255, 0.12);
  }

  .contact-progress.is-active {
    display: block;
  }

  .contact-progress__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: #f7fbff;
    font-size: 0.8rem;
  }

  .contact-progress__top strong {
    color: #00ff85;
    font-size: 0.78rem;
  }

  .contact-progress__track {
    position: relative;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(210, 222, 255, 0.16);
  }

  .contact-progress__bar {
    width: 8%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #00ff85, #7bd8ff, #ff4b6b);
    box-shadow: 0 0 16px rgba(123, 216, 255, 0.72);
    transition: width 0.28s ease;
  }

  .contact-progress__note {
    margin-top: 7px;
    color: rgba(210, 222, 255, 0.82);
    font-size: 0.72rem;
  }

  .footer-form.is-submitting {
    opacity: 0.78;
  }

  .footer-form.is-submitting .footer-submit {
    cursor: wait;
    filter: saturate(1.18);
  }

  .field--hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  
  .field-row {
    display: flex;
    gap: 8px;
  }

.field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.field label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(210, 222, 255, 0.9);
}

.field span.helper {
  font-size: 0.7rem;
  color: rgba(190, 204, 255, 0.85);
}

.field input,
.field textarea,
.field select {
  border-radius: 10px;
  border: 1px solid rgba(210, 222, 255, 0.7);
  background: rgba(3, 4, 22, 0.96);
  color: #f9f9ff;
  font-family: inherit;
  font-size: 0.85rem;
  padding: 7px 9px;
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(173, 188, 230, 0.9);
}

.field textarea {
  min-height: 70px;
  resize: vertical;
}

.footer-form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.footer-submit {
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  background: linear-gradient(135deg, #ff4b6b, #ff7b3b);
  color: #050508;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.9),
    0 0 18px rgba(255, 75, 107, 0.8);
}

.footer-mini-note {
  color: rgba(210, 222, 255, 0.9);
}

.footer-fake-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(200, 210, 255, 0.9);
}

.footer-fake-links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(200, 210, 255, 0.7);
}

.footer-highlight {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 10%, rgba(255, 255, 255, 0.35), transparent 60%);
  top: -50px;
  left: -60px;
  filter: blur(10px);
  opacity: 0.4;
  mix-blend-mode: screen;
  pointer-events: none;
}

.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 0, #ffffff 0, #25d366 35%, #128c7e 100%);
  color: #ffffff;
  font-size: 1.7rem;
  text-decoration: none;
  box-shadow:
    0 0 0 0 rgba(37, 211, 102, 0.4),
    0 10px 28px rgba(0, 0, 0, 0.7);
  animation: pulse 2.6s infinite;
  z-index: 50;
}

.whatsapp-fab::after {
  content: "Say what's on your mind";
  position: absolute;
  right: 70px;
  bottom: 14px;
  font-size: 0.8rem;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(5, 5, 15, 0.95);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.whatsapp-fab:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 0 rgba(37, 211, 102, 0.4),
    0 16px 34px rgba(0, 0, 0, 0.9);
}

@keyframes pulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(37, 211, 102, 0.55),
      0 10px 28px rgba(0, 0, 0, 0.7);
  }
  70% {
    box-shadow:
      0 0 0 16px rgba(37, 211, 102, 0),
      0 10px 28px rgba(0, 0, 0, 0.7);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(37, 211, 102, 0),
      0 10px 28px rgba(0, 0, 0, 0.7);
  }
}

.img-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.img-modal.is-open { display: flex; }

.img-modal-inner {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.95);
}

.img-modal-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  section { padding: 20px 14px; }

  .section-one .inner,
  .section-two .inner,
  .section-three .inner,
  .section-contact .inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-one .inner {
    padding: 24px 18px;
  }

  .top-row { margin-bottom: 4px; }

  .section-kicker {
    line-height: 1.5;
  }

  .top-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual { justify-content: flex-start; }

  .visual-shell {
    max-width: 320px;
    margin-inline: auto;
  }

  .mad-grid,
  .project-groups {
    grid-template-columns: 1fr;
  }

  .mad-chip {
    min-height: auto;
  }

  .mad-pill { align-self: flex-start; }

  .whatsapp-fab::after { display: none; }
}

@media (max-width: 520px) {
  .hero-text h1,
  .mad-heading,
  .projects-heading,
  .footer-heading {
    font-size: 1.9rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-action {
    width: 100%;
  }

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

  .studio-badge {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin: 10px;
  }

  .studio-badge--bottom {
    margin-top: 0;
  }

  .pill {
    font-size: 0.72rem;
    padding-inline: 10px;
    white-space: normal;
  }

  .field-row {
    flex-direction: column;
  }
}
