@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

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

:root {
  --navy: #0f1628;
  --navy-soft: #151f36;
  --navy-deep: #0b1020;
  --paper: #f5f0e6;
  --paper-soft: #fbf8f1;
  --mist: #e8edf6;
  --ink: #141d2f;
  --ink-soft: #596276;
  --white-soft: rgba(255, 255, 255, 0.72);
  --line: rgba(20, 29, 47, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --blue: #719bff;
  --blue-strong: #4a75ff;
  --mint: #8de1d3;
  --sand: #ffc08a;
  --coral: #f6947b;
  --shadow-soft: 0 18px 50px rgba(10, 18, 30, 0.12);
  --shadow-strong: 0 28px 90px rgba(3, 9, 18, 0.34);
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --max: 1180px;
  --pad: 28px;
  --nav-h: 72px;
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

main {
  display: block;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
}

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

::selection {
  background: var(--blue-strong);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue-strong);
  outline-offset: 4px;
}

section {
  position: relative;
  scroll-margin-top: calc(var(--nav-h) + 18px);
}

.container {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: calc(var(--pad) + var(--safe-left));
  padding-right: calc(var(--pad) + var(--safe-right));
}

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 500;
  background: rgba(255, 255, 255, 0.05);
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue-strong), var(--mint), var(--sand));
}

[data-tilt] {
  transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 300;
  height: var(--nav-h);
}

.nav-bg {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 40, 0.82);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.nav-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding-left: calc(var(--pad) + var(--safe-left));
  padding-right: calc(var(--pad) + var(--safe-right));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-resume {
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.nav-mobile-toggle {
  display: none;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

#hero {
  overflow: hidden;
  padding: calc(var(--nav-h) + 54px) 0 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(113, 155, 255, 0.18), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(255, 192, 138, 0.18), transparent 22%),
    radial-gradient(circle at 72% 82%, rgba(141, 225, 211, 0.12), transparent 18%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}

#hero::before,
#projects::before,
#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1), transparent 88%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1), transparent 88%);
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 68% 34%, rgba(113, 155, 255, 0.16), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.06), transparent 30%);
}

.hero-grid {
  min-height: calc(100svh - var(--nav-h) - 34px);
  padding: 52px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(540px, 1.08fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
}

.hero-copy {
  max-width: 620px;
  color: #fff;
}

.hero-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 24px;
}

.hero-portrait {
  width: 112px;
  height: auto;
  aspect-ratio: 1023 / 1429;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-intro-copy {
  min-width: 0;
}

.hero-kicker,
.section-kicker,
.section-label,
.atlas-note-label {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-kicker span {
  display: inline-flex;
  align-items: center;
}

.hero-kicker span + span::before {
  content: '·';
  margin: 0 10px 0 2px;
  color: rgba(255, 255, 255, 0.3);
}

.hero-kicker::before,
.section-kicker::before,
.section-label::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
}

.hero-opportunity {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 1.6vw, 1.36rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.hero-title {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 8vw, 6.2rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.hero-lede {
  max-width: 15ch;
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 2.45vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.hero-sub {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
  line-height: 1.84;
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-status li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.3;
}

.hero-actions,
.contact-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin: 30px 0 34px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-strong), var(--blue));
  box-shadow: 0 18px 40px rgba(74, 117, 255, 0.28);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}

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

.hero-proof li {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-proof strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.6;
}

.atlas-stage {
  position: relative;
  width: min(100%, 548px);
  min-height: 508px;
  padding: 56px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-self: end;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(113, 155, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(113, 155, 255, 0.08) 0%, rgba(113, 155, 255, 0) 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-strong);
  transition: box-shadow 0.22s ease;
}

.atlas-stage::before {
  display: none;
}

.atlas-stage::after {
  content: '';
  position: absolute;
  inset: auto -12% -18% 14%;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 192, 138, 0.16), transparent 72%);
  filter: blur(20px);
  pointer-events: none;
}

.atlas-stage-kicker {
  position: absolute;
}

.atlas-stage-kicker {
  top: 22px;
  left: 24px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.workflow-band,
.workflow-step {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.workflow-band {
  padding: 0;
}

.workflow-band-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.workflow-band-grid-results {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.workflow-step {
  padding: 14px 15px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 12px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, opacity 0.22s ease, box-shadow 0.22s ease;
}

.workflow-step strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.workflow-step-copy {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.45;
}

.workflow-step-compact {
  min-height: 126px;
}

.workflow-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.workflow-chip-row:first-of-type {
  margin-top: 0;
}

.workflow-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.74rem;
  font-weight: 600;
}

.workflow-step-primary {
  align-self: center;
  width: min(100%, 338px);
  min-height: 222px;
  padding: 116px 20px 20px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(113, 155, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 34px rgba(0, 0, 0, 0.14);
}

.workflow-step-primary::before,
.workflow-step-primary::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 1px;
  height: 24px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(113, 155, 255, 0.7), rgba(113, 155, 255, 0));
  opacity: 0.72;
}

.workflow-step-primary::before {
  top: -24px;
}

.workflow-step-primary::after {
  bottom: -24px;
  transform: translateX(-50%) rotate(180deg);
}

.workflow-step-primary strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -0.045em;
  max-width: 12ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.08;
}

.workflow-step-primary .workflow-step-copy {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.88rem;
}

.atlas-note-label {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.workflow-step-impact {
  background:
    linear-gradient(180deg, rgba(113, 155, 255, 0.28), rgba(17, 26, 48, 0.58)),
    rgba(255, 255, 255, 0.06);
  border-color: rgba(141, 225, 211, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 34px rgba(10, 16, 34, 0.22);
}

.workflow-step-impact .atlas-note-label {
  color: rgba(255, 255, 255, 0.68);
}

.workflow-step-impact strong {
  font-size: 1.9rem;
  letter-spacing: -0.055em;
  line-height: 1;
}

.workflow-step-impact .workflow-step-copy {
  max-width: 18ch;
}

.atlas-stage.has-flow-focus .workflow-step,
 .atlas-stage.has-flow-focus .workflow-engine-mark {
  opacity: 0.56;
}

.atlas-stage .is-flow-active {
  opacity: 1 !important;
}

.atlas-stage .workflow-step.is-flow-active {
  transform: translateY(-4px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 34px rgba(0, 0, 0, 0.14);
}

.atlas-stage .workflow-engine-mark.is-flow-active {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(-3px);
  filter: drop-shadow(0 0 16px rgba(113, 155, 255, 0.22));
}

.workflow-engine-mark {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 98px;
  height: 72px;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}

.workflow-engine-orbit,
.workflow-engine-node,
.workflow-engine-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
}

.workflow-engine-orbit {
  border: 1px solid rgba(113, 155, 255, 0.22);
  opacity: 0.72;
}

.workflow-engine-orbit-a {
  --orbit-angle: 12deg;
  width: 92px;
  height: 34px;
  animation: workflowOrbitSpin 18s linear infinite;
}

.workflow-engine-orbit-b {
  --orbit-angle: -34deg;
  width: 72px;
  height: 28px;
  border-color: rgba(255, 192, 138, 0.2);
  animation: workflowOrbitSpinReverse 14s linear infinite;
}

.workflow-engine-node {
  background: linear-gradient(135deg, rgba(113, 155, 255, 0.94), rgba(141, 225, 211, 0.74));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 22px rgba(113, 155, 255, 0.22);
}

.workflow-engine-node-main {
  width: 28px;
  height: 28px;
  z-index: 2;
}

.workflow-engine-node-top,
.workflow-engine-node-bottom {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.2);
}

.workflow-engine-node-top {
  transform: translate(-50%, -50%) translateY(-20px);
}

.workflow-engine-node-bottom {
  transform: translate(-50%, -50%) translateY(20px);
}

.workflow-engine-pulse {
  width: 54px;
  height: 54px;
  background: radial-gradient(circle, rgba(113, 155, 255, 0.32), rgba(113, 155, 255, 0) 70%);
  animation: workflowCorePulse 3.6s ease-in-out infinite;
}

.mini-chip,
.chip-list span,
.future-map span,
.contact-orbits span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.atlas-stack span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
}

.hero-ribbon {
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-ribbon-track {
  display: inline-block;
  white-space: nowrap;
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: marquee 24s linear infinite;
}

#bring,
#about {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 192, 138, 0.16), transparent 18%),
    linear-gradient(180deg, var(--paper-soft) 0%, var(--paper) 100%);
}

#work {
  background:
    radial-gradient(circle at 82% 20%, rgba(113, 155, 255, 0.1), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}

#projects {
  background:
    radial-gradient(circle at 16% 18%, rgba(141, 225, 211, 0.16), transparent 20%),
    radial-gradient(circle at 86% 20%, rgba(255, 192, 138, 0.14), transparent 18%),
    linear-gradient(180deg, #10182c 0%, #0c1222 100%);
  color: #fff;
}

#contact {
  background:
    radial-gradient(circle at 18% 20%, rgba(113, 155, 255, 0.18), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(255, 192, 138, 0.14), transparent 22%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}

#bring,
#work,
#projects,
#about,
#contact {
  padding: 108px 0;
}

#work,
#projects,
#about,
#contact,
footer {
  border-top: 1px solid var(--line);
}

#projects,
#contact,
footer {
  border-top-color: var(--line-dark);
}

.section-grid {
  position: relative;
  --section-progress: 0;
  --section-rail-x: 30px;
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 38px;
}

.section-grid::before,
.section-grid::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--section-rail-x);
  width: 1px;
  pointer-events: none;
  z-index: 0;
}

.section-grid::before {
  background: rgba(20, 29, 47, 0.08);
}

.section-grid::after {
  height: calc(var(--section-progress) * 100%);
  background: linear-gradient(180deg, var(--blue-strong), var(--sand));
  box-shadow: 0 0 22px rgba(74, 117, 255, 0.18);
}

#projects .section-grid::before {
  background: rgba(255, 255, 255, 0.1);
}

#projects .section-grid::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(141, 225, 211, 0.88));
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.14);
}

.section-stamp {
  position: sticky;
  top: calc(var(--nav-h) + 36px);
  align-self: start;
  padding-left: 28px;
  transition: transform 0.24s ease, opacity 0.24s ease;
  transform: translateY(calc(var(--section-progress) * -10px));
  z-index: 1;
}

.section-body {
  position: relative;
  z-index: 1;
}

.section-number {
  color: rgba(20, 29, 47, 0.16);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.9;
  opacity: calc(0.38 + var(--section-progress) * 0.62);
}

#projects .section-number {
  color: rgba(255, 255, 255, 0.14);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 800;
  opacity: calc(0.64 + var(--section-progress) * 0.36);
}

#projects .section-label {
  color: rgba(255, 255, 255, 0.54);
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--blue-strong);
  font-size: 0.76rem;
  font-weight: 800;
}

.section-kicker-light {
  color: rgba(255, 255, 255, 0.56);
}

.section-head h2,
#contact h2,
.future-panel h3 {
  letter-spacing: -0.06em;
  line-height: 1.03;
}

.section-head h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 800;
}

.section-head p,
.capability-copy p,
.story-summary,
.project-copy p,
.future-panel p,
.about-panel p,
.contact-copy {
  color: var(--ink-soft);
  line-height: 1.8;
}

.section-head-light h2,
#contact h2,
.future-panel h3 {
  color: #fff;
}

.section-head-light p,
.future-panel p,
.contact-copy {
  color: rgba(255, 255, 255, 0.72);
}

.capability-list {
  display: flex;
  flex-direction: column;
}

.capability-band {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) minmax(180px, 0.7fr);
  gap: 26px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  transition: border-color 0.2s ease;
}

.capability-band > * {
  position: relative;
  z-index: 1;
}

.capability-band:hover {
  border-top-color: rgba(113, 155, 255, 0.26);
}

.capability-art {
  position: relative;
  height: 78px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(113, 155, 255, 0.08), rgba(255, 192, 138, 0.08));
  border: 1px solid rgba(20, 29, 47, 0.08);
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 10px 24px rgba(20, 29, 47, 0.06);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.capability-art::before {
  content: '';
  position: absolute;
  inset: 12px;
  background-image:
    linear-gradient(rgba(20, 29, 47, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 29, 47, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.22;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8), transparent 86%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8), transparent 86%);
}

.capability-art span {
  position: absolute;
  border-radius: 999px;
  background: var(--blue-strong);
  transition: box-shadow 0.22s ease, opacity 0.22s ease;
}

.capability-copy h3 {
  transition: transform 0.22s ease, color 0.22s ease;
}

.capability-band:hover .capability-art {
  border-color: rgba(113, 155, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 14px 30px rgba(74, 117, 255, 0.08);
}

.art-process span:nth-child(1) {
  left: 16px;
  top: 30px;
  width: 12px;
  height: 12px;
  box-shadow: 24px -18px 0 var(--sand), 48px 8px 0 var(--mint);
}

.art-process span:nth-child(2) {
  left: 20px;
  top: 35px;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-strong), var(--sand));
  transform: rotate(-18deg);
}

.art-process span:nth-child(3) {
  right: 14px;
  bottom: 16px;
  width: 28px;
  height: 28px;
  background: rgba(113, 155, 255, 0.12);
  border: 1px solid rgba(113, 155, 255, 0.22);
}

.art-report span:nth-child(1) {
  left: 18px;
  bottom: 16px;
  width: 12px;
  height: 28px;
  box-shadow: 18px -10px 0 var(--mint), 36px -22px 0 var(--sand);
}

.art-report span:nth-child(2) {
  left: 16px;
  top: 20px;
  width: 58px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(20, 29, 47, 0.18), transparent);
}

.art-report span:nth-child(3) {
  right: 14px;
  top: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255, 192, 138, 0.12);
  border: 1px solid rgba(255, 192, 138, 0.3);
}

.art-ship span:nth-child(1) {
  left: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  background: rgba(141, 225, 211, 0.16);
  border: 1px solid rgba(141, 225, 211, 0.32);
}

.art-ship span:nth-child(2) {
  left: 56px;
  top: 38px;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--blue-strong));
}

.art-ship span:nth-child(3) {
  right: 16px;
  top: 26px;
  width: 18px;
  height: 18px;
  box-shadow: -24px 14px 0 var(--sand);
}

.capability-copy h3,
.story-main h3,
.project-copy h3 {
  margin-bottom: 10px;
  font-size: clamp(1.28rem, 2.1vw, 1.72rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.24;
}

.chip-list,
.future-map {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-list span {
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.chip-list span,
.future-map span {
  background: rgba(113, 155, 255, 0.08);
  border: 1px solid rgba(113, 155, 255, 0.16);
  color: var(--ink);
}

.story-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.story-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 30px;
  padding: 30px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 18%, rgba(113, 155, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(20, 29, 47, 0.08);
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
}

.story-card-alt {
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 192, 138, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.78));
}

.story-company {
  color: var(--blue-strong);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-role {
  margin: 10px 0 6px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
}

.story-period {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

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

.metric {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 29, 47, 0.08);
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.metric span {
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.5;
}

.system-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.system-strip span,
.mini-chip {
  background: rgba(20, 29, 47, 0.06);
  border: 1px solid rgba(20, 29, 47, 0.08);
  color: var(--ink);
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.bullet-list li {
  position: relative;
  padding-left: 16px;
  color: var(--ink);
  line-height: 1.72;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-strong);
}

.additional-line {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.8;
}

.additional-line strong {
  color: var(--ink);
}

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

.project-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-strong);
  transform-style: preserve-3d;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: auto -18% -24% 12%;
  height: 200px;
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(30px);
  pointer-events: none;
}

.project-card-a::before {
  background: radial-gradient(circle, rgba(113, 155, 255, 0.36), transparent 72%);
}

.project-card-b::before {
  background: radial-gradient(circle, rgba(255, 192, 138, 0.34), transparent 72%);
}

.project-card-c::before {
  background: radial-gradient(circle, rgba(141, 225, 211, 0.32), transparent 72%);
}

.project-visual {
  position: relative;
  min-height: 184px;
  margin-bottom: 24px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 24% 30%, rgba(255, 255, 255, 0.12), transparent 24%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.project-visual::before,
.project-visual::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.project-visual::before {
  width: 220px;
  height: 220px;
  left: -40px;
  top: -80px;
}

.project-visual::after {
  width: 150px;
  height: 150px;
  right: -26px;
  bottom: -52px;
}

.mini-chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.mini-chip:nth-child(1) { top: 26px; left: 22px; }
.mini-chip:nth-child(2) { top: 78px; right: 28px; }
.mini-chip:nth-child(3) { bottom: 26px; left: 42%; }

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

.project-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.project-meta {
  margin-top: 10px;
}

.project-meta strong {
  color: #fff;
}

.project-signal {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82) !important;
  line-height: 1.7;
}

.project-track {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.project-step {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-step span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-step p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
}

.about-panel,
.future-panel,
.contact-stage {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(20, 29, 47, 0.08);
  box-shadow: var(--shadow-soft);
}

.about-panel {
  padding: 28px;
  background: rgba(255, 255, 255, 0.84);
}

.future-panel {
  padding: 28px;
  background:
    radial-gradient(circle at 82% 20%, rgba(113, 155, 255, 0.18), transparent 26%),
    radial-gradient(circle at 18% 86%, rgba(255, 192, 138, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(17, 25, 43, 0.98), rgba(11, 16, 32, 0.98));
  border-color: rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
}

.future-panel::before,
.contact-stage::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.future-panel h3 {
  max-width: 12ch;
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
}

.future-map {
  margin-top: 22px;
}

.future-map span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.fact-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}

.fact-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(113, 155, 255, 0.08);
  border: 1px solid rgba(113, 155, 255, 0.16);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
}

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

.fact-grid div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.fact-grid dt {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fact-grid dd {
  color: var(--ink);
  line-height: 1.72;
}

.contact-stage {
  max-width: 920px;
  margin: 0 auto;
  padding: 42px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 192, 138, 0.16), transparent 22%),
    radial-gradient(circle at 18% 82%, rgba(113, 155, 255, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-strong);
  transform-style: preserve-3d;
}

#contact h2 {
  max-width: 13ch;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 800;
}

.contact-copy {
  max-width: 56ch;
  margin-bottom: 28px;
}

.feedback-block {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-intake {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 22px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-intake-copy h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.contact-intake-copy p:last-child {
  max-width: 40ch;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font: inherit;
  line-height: 1.55;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.contact-field select {
  appearance: none;
}

.contact-field-message {
  grid-column: 1 / -1;
}

.contact-field textarea {
  min-height: 136px;
  resize: vertical;
}

.feedback-copy h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.feedback-copy p:last-child {
  max-width: 34ch;
}

.feedback-kicker {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feedback-form {
  display: grid;
  gap: 12px;
}

.feedback-scale-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.feedback-scale-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.feedback-options {
  display: grid;
  gap: 10px;
}

.feedback-rating {
  grid-template-columns: repeat(10, minmax(0, 1fr));
}

.feedback-option,
.feedback-submit {
  border: none;
}

.feedback-option {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 0;
  padding: 0;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.feedback-option:hover {
  transform: translateY(-1px);
  border-color: rgba(113, 155, 255, 0.28);
  background: rgba(113, 155, 255, 0.12);
}

.feedback-option.is-active {
  color: #fff;
  border-color: rgba(113, 155, 255, 0.2);
  background: linear-gradient(135deg, rgba(74, 117, 255, 0.94), rgba(113, 155, 255, 0.78));
  box-shadow: 0 16px 32px rgba(49, 79, 166, 0.22);
}

.feedback-option:focus-visible,
.feedback-submit:focus-visible,
.feedback-note:focus-visible,
.contact-field input:focus-visible,
.contact-field select:focus-visible,
.contact-field textarea:focus-visible {
  outline: 2px solid rgba(113, 155, 255, 0.72);
  outline-offset: 2px;
}

.feedback-note {
  min-height: 96px;
  resize: vertical;
  padding: 14px 16px;
  border-radius: 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font: inherit;
  line-height: 1.55;
}

.feedback-note::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.feedback-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.feedback-submit {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, rgba(74, 117, 255, 0.98), rgba(113, 155, 255, 0.82));
  font: inherit;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.feedback-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(43, 69, 143, 0.22);
}

.feedback-submit:disabled,
.feedback-note:disabled,
.feedback-option:disabled,
.contact-field input:disabled,
.contact-field select:disabled,
.contact-field textarea:disabled {
  opacity: 0.66;
}

.feedback-status {
  flex: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: right;
}

.feedback-status.is-success {
  color: rgba(210, 236, 255, 0.92);
}

.feedback-status.is-error {
  color: rgba(255, 208, 173, 0.94);
}

.contact-orbits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-orbits span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
}

.chatbot-shell {
  position: fixed;
  right: calc(24px + var(--safe-right));
  bottom: calc(24px + var(--safe-bottom));
  z-index: 420;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  opacity: 1;
  pointer-events: auto;
}

.chatbot-panel[hidden] {
  display: none !important;
}

.chatbot-toggle,
.chatbot-close,
.chatbot-suggestion,
.chatbot-send {
  border: none;
}

.chatbot-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  color: #101726;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(12, 18, 34, 0.1);
  box-shadow:
    0 20px 48px rgba(3, 9, 18, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.chatbot-toggle:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 56px rgba(3, 9, 18, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.26);
}

.chatbot-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: currentColor;
}

.chatbot-panel h2 {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.chatbot-toggle-dot {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #ff8a88;
  box-shadow: 0 0 0 4px rgba(15, 22, 40, 0.22);
}

.chatbot-panel {
  order: -1;
  width: min(100vw - 32px, 380px);
  max-height: min(72vh, 680px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 14%, rgba(113, 155, 255, 0.18), transparent 24%),
    radial-gradient(circle at 20% 100%, rgba(255, 192, 138, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(17, 25, 43, 0.98), rgba(11, 16, 32, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.chatbot-status,
.chatbot-footnote {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.84rem;
  line-height: 1.45;
}

.chatbot-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.chatbot-kicker {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.chatbot-panel h2 {
  margin-top: 6px;
}

.chatbot-close {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chatbot-suggestion {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.chatbot-suggestion:hover {
  transform: translateY(-1px);
  border-color: rgba(113, 155, 255, 0.26);
  background: rgba(113, 155, 255, 0.12);
}

.chatbot-messages {
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chatbot-message {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.chatbot-message.assistant {
  align-self: flex-start;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chatbot-message.user {
  align-self: flex-end;
  color: #fff;
  background: linear-gradient(135deg, rgba(74, 117, 255, 0.94), rgba(113, 155, 255, 0.8));
}

.chatbot-message.is-pending {
  color: rgba(255, 255, 255, 0.66);
}

.chatbot-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.chatbot-input {
  min-height: 52px;
  max-height: 144px;
  resize: none;
  padding: 14px 16px;
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font: inherit;
  line-height: 1.5;
}

.chatbot-input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.chatbot-send {
  align-self: stretch;
  min-width: 78px;
  padding: 0 16px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-strong), var(--blue));
  font-size: 0.92rem;
  font-weight: 700;
}

.chatbot-send:disabled,
.chatbot-input:disabled {
  opacity: 0.68;
}

.chatbot-footnote {
  margin-top: -2px;
  font-size: 0.76rem;
}

footer {
  background: var(--navy-deep);
  padding: 30px 0 24px;
  text-align: center;
}

footer .footer-inner {
  width: min(100% - 2 * var(--pad), 1120px);
  margin: 0 auto;
}

footer p {
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.82rem;
  font-weight: 500;
}

.footer-secret {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0;
  max-width: 440px;
  margin: 0 auto 18px;
  padding: 18px;
  border-radius: 26px;
  color: rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(circle at 14% 24%, rgba(113, 155, 255, 0.18), transparent 24%),
    radial-gradient(circle at 82% 82%, rgba(255, 192, 138, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(17, 25, 43, 0.92), rgba(11, 16, 32, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 52px rgba(5, 10, 22, 0.24);
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  pointer-events: none;
}

.footer-secret.is-awake {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.footer-secret-visual {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 92px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.footer-secret-visual::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.footer-secret.is-awake .footer-secret-visual::before {
  opacity: 1;
}

.footer-secret-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.footer-secret-path {
  stroke: rgba(153, 185, 255, 0.72);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  opacity: 0.9;
}

.footer-secret.is-awake .footer-secret-path {
  animation: footerSignalDraw 1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.footer-secret-node,
.footer-secret-pulse {
  position: absolute;
  border-radius: 999px;
}

.footer-secret-node {
  width: 14px;
  height: 14px;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(113, 155, 255, 0.15), 0 0 18px rgba(113, 155, 255, 0.34);
  opacity: 0;
  transform: scale(0.5);
}

.footer-secret.is-awake .footer-secret-node {
  animation: footerSignalNode 0.5s ease forwards;
}

.footer-secret-node-a {
  top: 55px;
  left: 18px;
  animation-delay: 0.08s;
}

.footer-secret-node-b {
  top: 16px;
  left: 91px;
  animation-delay: 0.24s;
}

.footer-secret-node-c {
  top: 61px;
  left: 160px;
  animation-delay: 0.4s;
}

.footer-secret-node-d {
  top: 27px;
  left: 214px;
  animation-delay: 0.56s;
}

.footer-secret-pulse {
  top: 52px;
  left: 18px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, rgba(255, 192, 138, 0.96), rgba(113, 155, 255, 0.9));
  box-shadow: 0 0 18px rgba(255, 192, 138, 0.38);
  opacity: 0;
}

.footer-secret.is-awake .footer-secret-pulse {
  animation: footerSignalPulse 2.3s cubic-bezier(0.18, 0.76, 0.2, 1) 0.48s forwards;
}

.footer-secret-copy {
  max-width: 26ch;
  margin-top: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease, margin-top 0.45s ease;
  text-align: center;
}

.footer-secret.is-complete .footer-secret-copy {
  margin-top: 16px;
  opacity: 1;
  transform: translateY(0);
}

.footer-secret-copy p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.96rem;
  line-height: 1.55;
}

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

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

@keyframes dash {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -220;
  }
}

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

@keyframes workflowCoreFloat {
  0%, 100% {
    transform: translate(-50%, -50%) rotateX(62deg) rotateZ(-45deg) translateZ(0);
  }
  50% {
    transform: translate(-50%, -53%) rotateX(62deg) rotateZ(-45deg) translateZ(12px);
  }
}

@keyframes workflowCorePulse {
  0%, 100% {
    opacity: 0.92;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.5);
  }
  50% {
    opacity: 0.42;
    box-shadow: 0 0 28px rgba(113, 155, 255, 0.42);
  }
}

@keyframes workflowOrbitSpin {
  from {
    transform: translate(-50%, -50%) rotateX(72deg) rotateZ(var(--orbit-angle, 0deg));
  }
  to {
    transform: translate(-50%, -50%) rotateX(72deg) rotateZ(calc(var(--orbit-angle, 0deg) + 360deg));
  }
}

@keyframes workflowOrbitSpinReverse {
  from {
    transform: translate(-50%, -50%) rotateX(72deg) rotateZ(calc(var(--orbit-angle, 0deg) + 360deg));
  }
  to {
    transform: translate(-50%, -50%) rotateX(72deg) rotateZ(var(--orbit-angle, 0deg));
  }
}

@keyframes footerSignalDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes footerSignalNode {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  70% {
    opacity: 1;
    transform: scale(1.14);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes footerSignalPulse {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.85);
  }
  10% {
    opacity: 1;
  }
  35% {
    transform: translate(73px, -38px) scale(1);
  }
  66% {
    transform: translate(142px, 7px) scale(1);
  }
  100% {
    opacity: 0.92;
    transform: translate(196px, -27px) scale(0.92);
  }
}

@media (max-width: 1500px) {
  .hero-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 700px;
  }

  .atlas-stage {
    width: 100%;
    max-width: 640px;
    justify-self: stretch;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .atlas-stage {
    max-width: 640px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    padding-left: 38px;
  }

  .section-grid::before,
  .section-grid::after {
    display: block;
    left: 12px;
  }

  .section-stamp {
    position: static;
    padding-left: 0;
  }

  .section-number {
    font-size: 2.8rem;
  }

  .capability-band,
  .story-card {
    grid-template-columns: 1fr;
  }

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

  .footer-secret {
    max-width: 420px;
  }
}

@media (max-width: 880px) {
  :root {
    --pad: 22px;
  }

  .hero-proof,
  .metric-row,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .capability-band {
    gap: 18px;
  }

  .chip-list {
    margin-top: 6px;
  }

  .atlas-note-top,
  .atlas-note-right {
    max-width: 200px;
  }
}

@media (max-width: 760px) {
  :root {
    --pad: 22px;
    --nav-h: 68px;
  }

  .nav-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px var(--pad) 20px;
    background: rgba(15, 22, 40, 0.96);
    border-bottom: 1px solid var(--line-dark);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 16px;
  }

  #hero {
    padding-top: calc(var(--nav-h) + 36px);
  }

  .hero-grid {
    min-height: auto;
    padding-top: 28px;
    gap: 24px;
  }

  .hero-copy {
    max-width: 24rem;
    padding-left: 8px;
    padding-right: 8px;
  }

  .hero-intro {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 18px;
  }

  .hero-portrait {
    width: 78px;
    border-radius: 22px;
  }

  .hero-kicker {
    gap: 6px;
    margin-bottom: 8px;
    font-size: 0.64rem;
    line-height: 1.45;
  }

  .hero-kicker::before {
    width: 14px;
  }

  .hero-kicker span + span::before {
    margin: 0 6px 0 1px;
  }

  .hero-opportunity {
    max-width: 22ch;
    font-size: 1rem;
    line-height: 1.34;
  }

  .hero-title {
    max-width: 4.6ch;
    font-size: clamp(2.95rem, 11.8vw, 4.1rem);
    letter-spacing: -0.065em;
    margin-left: 2px;
  }

  .hero-lede {
    max-width: 13ch;
    font-size: clamp(1.18rem, 5.8vw, 1.52rem);
    line-height: 1.08;
    margin-left: 2px;
  }

  .hero-sub {
    max-width: 34ch;
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .hero-status {
    margin-top: 18px;
  }

  .hero-actions,
  .contact-links {
    flex-direction: column;
    align-items: stretch;
  }

  .chatbot-shell {
    right: calc(14px + var(--safe-right));
    bottom: calc(14px + var(--safe-bottom));
    left: auto;
    align-items: flex-end;
  }

  .chatbot-toggle {
    width: 66px;
    height: 66px;
  }

  .hero-actions {
    margin: 24px 0 28px;
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-proof {
    gap: 12px;
  }

  .hero-proof strong {
    font-size: 0.94rem;
  }

  .hero-proof span {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .hero-status li {
    font-size: 0.78rem;
  }

  .section-grid {
    gap: 28px;
    padding-left: 32px;
  }

  .section-head {
    max-width: 34ch;
    margin-bottom: 32px;
  }

  .section-head h2 {
    max-width: 11ch;
    font-size: clamp(1.95rem, 8.8vw, 2.45rem);
  }

  .capability-band {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
  }

  .feedback-block {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-intake {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .feedback-rating {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .feedback-copy p:last-child {
    max-width: none;
  }

  .feedback-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .feedback-status {
    text-align: left;
  }

  .footer-secret {
    padding: 14px;
    border-radius: 22px;
  }

  .footer-secret-visual {
    max-width: 100%;
    height: 84px;
  }

  .capability-copy h3,
  .story-main h3,
  .project-copy h3 {
    font-size: 1.2rem;
    line-height: 1.28;
  }

  .story-card,
  .project-card,
  .about-panel,
  .future-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .atlas-stage {
    height: auto;
    min-height: 0;
    padding: 52px 18px 18px;
    gap: 12px;
  }

  .workflow-band {
    padding: 0;
  }

  .workflow-band-grid,
  .workflow-band-grid-results {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    padding: 16px;
  }

  .flow-step-systems,
  .flow-step-agents,
  .flow-step-automation,
  .flow-step-departments,
  .flow-step-impact {
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
    margin-top: 0;
  }

  .workflow-step-primary {
    width: 100%;
    min-height: 0;
    padding-top: 94px;
    text-align: left;
  }

  .workflow-step-primary .workflow-step-copy {
    margin-left: 0;
    margin-right: 0;
  }

  .workflow-engine-mark {
    top: 18px;
    width: 84px;
    height: 60px;
  }

  .atlas-stage-kicker {
    top: 18px;
    left: 18px;
  }

  #bring,
  #work,
  #projects,
  #about,
  #contact {
    padding: 84px 0;
  }

  .contact-stage {
    padding: 28px 20px;
  }
}

@media (max-width: 560px) {
  :root {
    --pad: 20px;
  }

  .hero-proof,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .hero-status {
    gap: 8px;
  }

  .hero-copy {
    max-width: 22rem;
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-title {
    font-size: clamp(2.72rem, 12.2vw, 3.45rem);
  }

  .hero-lede,
  #contact h2,
  .future-panel h3 {
    max-width: none;
  }

  .hero-lede {
    max-width: 12.5ch;
    font-size: clamp(1.08rem, 6.2vw, 1.34rem);
  }

  .hero-sub,
  .section-head p,
  .capability-copy p,
  .story-summary,
  .project-copy p,
  .about-panel p,
  .future-panel p,
  .contact-copy {
    font-size: 0.92rem;
    line-height: 1.66;
  }

  .section-head h2 {
    max-width: 10ch;
    font-size: clamp(1.8rem, 9vw, 2.15rem);
  }

  .capability-band {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
  }

  .feedback-scale-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .feedback-rating {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .feedback-note {
    min-height: 88px;
  }

  .footer-secret {
    margin-bottom: 16px;
  }

  .footer-secret-copy p:last-child {
    font-size: 0.9rem;
  }

  .capability-art {
    height: 70px;
    border-radius: 18px;
  }

  .atlas-stage {
    padding: 20px 16px 16px;
  }

  .workflow-step-impact strong {
    font-size: 1.45rem;
  }

  .chatbot-panel {
    width: min(100vw - 28px, 360px);
    max-height: min(74vh, 620px);
    padding: 16px;
    border-radius: 24px;
  }

  .chatbot-message {
    max-width: 100%;
  }

  .chatbot-form {
    grid-template-columns: 1fr;
  }

  .chatbot-send {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
