﻿:root {
  --ink: #e8f3ff;
  --muted: #9eb0c4;
  --bg: #05080f;
  --line: rgba(40, 120, 80, 0.28);
  --glow: #145c38;
  --cyan: #2f9a68;
  --amber: #ffb15e;
  --green: #0a2e20;
  --mint: #5dcc9a;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "IBM Plex Sans", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background:
    radial-gradient(900px 520px at 78% -10%, rgba(20, 92, 56, 0.28), transparent 56%),
    radial-gradient(640px 380px at 8% 110%, rgba(13, 58, 40, 0.35), transparent 50%),
    var(--bg);
}

html.hero-on,
html.hero-on body {
  overflow: hidden;
  height: 100%;
}

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

::selection { background: var(--glow); color: #f4fff8; }

:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  transform: translateY(-160%);
  background: var(--glow);
  color: #f4fff8;
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 80;
}
.skip:focus { transform: none; }

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 18px 0;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 12px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(5, 8, 15, 0.72);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled .nav {
  background: rgba(5, 8, 15, 0.88);
}

.brand {
  display: grid;
  width: 52px;
  height: 48px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-k {
  width: 52px;
  height: 48px;
  object-fit: contain;
}

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

.nav-links a {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a.is-current {
  color: var(--ink);
  background: rgba(20, 92, 56, 0.22);
}

.nav-cta,
.button-primary {
  background: var(--glow) !important;
  color: #f4fff8 !important;
}

.nav-cta:hover { filter: brightness(1.05); }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-button .bar {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.button-primary:hover { filter: brightness(1.06); }


html:not(.hero-on) { scroll-snap-type: none; }

.deck { position: relative; z-index: 1; }

.deck::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 190, 230, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 190, 230, 0.055) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 8%, transparent 75%);
}

.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
}

.eyebrow span { width: 22px; height: 1px; background: var(--cyan); }

h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -0.02em; }

.lede, .mail-note { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.55; }
.mail-note a { color: var(--cyan); }

.room {
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 112px 0 56px;
  box-sizing: border-box;
}

#content .room[hidden] { display: none !important; }
#content .room { overflow-x: clip; }


@keyframes rise {
  from { opacity: 0; translate: 0 22px; }
  to { opacity: 1; translate: 0 0; }
}

.deck.is-live .room.is-in .steps,
.deck.is-live .room.is-in .phone-scene {
  animation: rise 0.7s cubic-bezier(0.16, 0.8, 0.2, 1) both;
}

.person { display: flex; align-items: center; gap: 12px; margin: 28px 0 0; }
.person strong { display: block; color: var(--ink); }
.person > span:last-child { color: var(--muted); font-size: 0.92rem; }

.monogram {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--glow);
  font-family: var(--display);
  font-weight: 700;
}

.orbit-copy { position: relative; }
.orbit-copy::before {
  content: "";
  position: absolute;
  left: -70px;
  top: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 114, 74, 0.2), transparent 68%);
  animation: glow-drift 5.5s ease-in-out infinite;
  pointer-events: none;
}
.orbit-copy h2 {
  position: relative;
  max-width: 12ch;
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  line-height: 0.9;
  font-weight: 700;
}
.orbit-copy .lede { position: relative; margin-top: 12px; max-width: 36ch; }

@keyframes glow-drift {
  50% { transform: translate(18px, 10px) scale(1.08); opacity: 0.65; }
}

.cat-wheel {
  height: 620px;
  margin-top: 8px;
  display: grid;
  place-items: center;
  perspective: 1600px;
}

.orbit-ring {
  position: relative;
  width: 360px;
  height: 248px;
  transform-style: preserve-3d;
}

.cat-wheel.is-spinning .orbit-ring { animation: spin-ring 22s linear infinite; }
.cat-wheel.is-open .orbit-ring {
  animation: none;
  transform: rotateY(calc(var(--face) * -1deg));
}

@keyframes spin-ring {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(-360deg); }
}

.cat-card {
  appearance: none;
  position: absolute;
  inset: 0;
  padding: 26px 28px;
  text-align: left;
  color: var(--ink);
  border-radius: 28px;
  border: 1px solid rgba(198, 230, 255, 0.38);
  background: linear-gradient(165deg, rgba(214, 236, 255, 0.2), rgba(8, 14, 24, 0.9) 52%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: rotateY(calc(var(--i) * 60deg)) translateZ(520px);
  pointer-events: auto;
  cursor: pointer;
}
.cat-card span { display: block; color: var(--cyan); font-family: var(--display); margin-bottom: 8px; }
.cat-card:nth-child(2) span { color: var(--amber); }
.cat-card strong { display: block; font-family: var(--display); font-size: 1.85rem; letter-spacing: -0.02em; line-height: 1.05; }
.cat-card em { display: block; margin-top: 8px; font-style: normal; color: var(--muted); font-size: 0.86rem; line-height: 1.35; }
.cat-wheel.is-open .cat-card.is-chosen {
  border-color: var(--glow);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 36px rgba(24, 114, 74, 0.28);
}

.cat-stage { margin-top: 8px; }
.cat-stage[hidden] { display: none !important; }
.cat-stage-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.cat-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) 1fr;
  gap: 22px;
  align-items: stretch;
}
.cat-list { display: grid; align-content: center; gap: 4px; }
.cat-list button {
  appearance: none;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 6px 0;
}
.cat-list button.is-on { color: var(--ink); }

.cat-glass {
  min-height: 280px;
  padding: 26px 24px;
  border-radius: 28px;
  border: 1px solid rgba(198, 230, 255, 0.4);
  background:
    radial-gradient(420px 160px at 100% 0%, rgba(92, 225, 255, 0.18), transparent 58%),
    linear-gradient(165deg, #163044 0%, #070c14 52%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 28px 60px rgba(0, 0, 0, 0.35);
}
.cat-glass.is-in { animation: swing-in 0.5s cubic-bezier(0.16, 0.8, 0.2, 1) both; }
@keyframes swing-in {
  from { opacity: 0; transform: perspective(900px) rotateY(36deg); }
  to { opacity: 1; transform: none; }
}
#cat-title {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 0.9;
  font-weight: 700;
}
.cat-glass .lede { margin-top: 12px; max-width: 36ch; }
.cat-glass .schematic { margin-top: 22px; }

.orbit-next { margin: 18px 0 0; }
.orbit-next .button { animation: btn-glow 2.6s ease-in-out infinite; }
@keyframes btn-glow {
  50% { box-shadow: 0 0 26px rgba(20, 92, 56, 0.55); }
}
#to-process[hidden] { display: none !important; }
.step-next {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}
.page-back {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 0 0 10px;
  width: 100%;
}
.page-back a {
  color: var(--mint);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}
.page-back a:hover { color: var(--ink); }

.path-stage { position: relative; }
.path-stage::before,
.path-stage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(24, 114, 74, 0.28);
}
.path-stage::before {
  width: 240px;
  height: 240px;
  right: -20px;
  top: -70px;
  border-style: dashed;
  animation: process-spin 16s linear infinite;
}
.path-stage::after {
  width: 340px;
  height: 340px;
  right: -70px;
  top: -120px;
  border-color: rgba(24, 114, 74, 0.14);
  animation: process-spin 24s linear infinite reverse;
}
@keyframes process-spin { to { transform: rotate(360deg); } }

.path-count {
  position: relative;
  margin: 0;
  font-family: var(--display);
  letter-spacing: 0.2em;
  color: var(--cyan);
}
#path-title {
  position: relative;
  max-width: 14ch;
  margin-top: 10px;
  font-size: clamp(3rem, 6.4vw, 5.6rem);
  line-height: 0.88;
  font-weight: 700;
}
.path-stage .lede { position: relative; margin-top: 14px; max-width: 42ch; min-height: 3.2em; }
#path-title.is-swap,
.path-stage .lede.is-swap { animation: step-in 0.55s cubic-bezier(0.16, 0.8, 0.2, 1); }
@keyframes step-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 36px;
}
.path-line {
  position: absolute;
  top: 17px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glow), var(--cyan), var(--glow), transparent);
  background-size: 200% 100%;
  animation: path-sheen 2.8s linear infinite;
}
@keyframes path-sheen {
  from { background-position: 0% 0; }
  to { background-position: 200% 0; }
}
.path-line::after {
  content: "";
  position: absolute;
  top: -5px;
  left: calc(var(--step) / (var(--count) - 1) * 100%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 18px var(--glow);
  transform: translateX(-50%);
  transition: left 0.7s cubic-bezier(0.16, 0.8, 0.2, 1);
}
.path-node {
  appearance: none;
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-align: center;
  padding: 0;
  font-weight: 700;
}
.path-node b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 1px solid rgba(92, 225, 255, 0.5);
  background: #071018;
  color: var(--cyan);
  font-family: var(--display);
}
.path-node.is-on { color: var(--ink); }
.path-node.is-on b {
  background: var(--glow);
  color: #f4fff8;
  border-color: transparent;
  box-shadow: 0 0 22px rgba(24, 114, 74, 0.45);
  animation: node-pulse 1.6s ease-in-out infinite;
}
@keyframes node-pulse {
  50% { box-shadow: 0 0 0 8px rgba(24, 114, 74, 0.14), 0 0 22px rgba(24, 114, 74, 0.55); }
}

.call {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
}

#contact h2 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.88;
  font-weight: 700;
}
#contact h2 em {
  display: block;
  font-style: normal;
  color: var(--cyan);
}

.call-stage {
  position: relative;
  width: min(300px, 100%);
  margin-top: 8px;
}

.call-halo {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 260px;
  height: 260px;
  translate: -50% 30%;
  pointer-events: none;
}
.call-halo i {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border: 1px solid rgba(92, 225, 255, 0.38);
  transform: rotateX(72deg);
}
.call-halo i:nth-child(2) {
  inset: 4px;
  border-color: rgba(24, 114, 74, 0.28);
  animation: halo 12s linear infinite;
}
.call-halo i:nth-child(3) {
  inset: -28px;
  border-color: rgba(255, 177, 94, 0.4);
  animation: halo 18s linear infinite reverse;
}
@keyframes halo { to { transform: rotateX(72deg) rotateZ(360deg); } }

.call-glow {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 0;
  width: 78%;
  height: 54px;
  translate: -50% 8px;
  background: radial-gradient(ellipse at center, rgba(92, 225, 255, 0.5), rgba(255, 177, 94, 0.16) 42%, transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}

.handset {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 8px;
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.08));
  box-shadow:
    0 50px 90px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  animation: handset-float 5.2s ease-in-out infinite alternate;
}
@keyframes handset-float {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

.handset-screen {
  border-radius: 32px;
  padding: 8px 12px 12px;
  background:
    radial-gradient(180px 90px at 80% 0%, rgba(92, 225, 255, 0.22), transparent 70%),
    linear-gradient(180deg, #1b3148, #0c121c 46%);
}

.handset-ear {
  display: block;
  width: 86px;
  height: 16px;
  margin: 0 auto 10px;
  border-radius: 10px;
  background: #05070c;
}

.handset-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
}
.handset-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 10px var(--glow);
}

.call-sign {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 0;
  color: var(--muted);
}
.call-sign .monogram { width: 36px; height: 36px; border-radius: 12px; font-size: 0.85rem; }

.console-line { margin: 0 0 12px; text-align: center; font-size: 0.82rem; }
.console-line a { color: var(--cyan); text-decoration: none; }

.fields { display: grid; gap: 8px; }
.field { display: grid; gap: 4px; }
label { font-size: 0.78rem; color: var(--muted); }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 8, 15, 0.55);
  padding: 10px 12px;
}

textarea { min-height: 56px; resize: vertical; }
.handset .button { width: 100%; margin-top: 10px; }
.form-status { margin: 10px 0 0; color: var(--muted); font-size: 0.82rem; }

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

.schematic { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.schematic i { font-style: normal; }
.schematic b { width: 22px; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--amber)); }

.colophon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.88rem;
}
.colophon p { margin: 0; }
.colophon button {
  border: 0;
  background: transparent;
  color: var(--cyan);
  font-weight: 700;
  padding: 8px 0;
}

@media (max-width: 900px) {
  .room { padding: 108px 0 64px; }
  .cat-layout { grid-template-columns: minmax(0, 1fr); }
  .call { width: 100%; min-width: 0; }
  .call-stage { width: 100%; max-width: 280px; }
  .call-halo { width: 200px; height: 200px; }
  #contact h2 { overflow-wrap: anywhere; }
  .path { grid-template-columns: 1fr; gap: 16px; padding-left: 4px; }
  .path-line {
    top: 18px;
    bottom: 18px;
    left: 17px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--glow), var(--cyan), var(--glow), transparent);
    background-size: 100% 200%;
  }
  .path-line::after {
    left: 50%;
    top: calc(var(--step) / (var(--count) - 1) * 100%);
    transform: translate(-50%, -50%);
    transition: top 0.7s cubic-bezier(0.16, 0.8, 0.2, 1);
  }
  .path-node { display: flex; align-items: center; gap: 14px; text-align: left; }
  .path-node b { margin: 0; flex: none; }
  .path-stage::before, .path-stage::after { display: none; }
  .cat-wheel { height: 460px; overflow: hidden; }
  .orbit-ring { width: 220px; height: 176px; }
  .cat-card {
    width: 220px;
    height: 176px;
    inset: auto;
    padding: 16px 16px;
    transform: rotateY(calc(var(--i) * 60deg)) translateZ(200px);
  }
  .cat-card strong { font-size: 1.25rem; }
  #path-title, #contact h2 {
    max-width: 100%;
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }
}

@media (max-width: 760px) {
  .menu-button { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 16px;
    background: #0c121c;
    border: 1px solid var(--line);
  }
  .nav-links.is-open { display: flex; }
  .wrap { width: min(1120px, calc(100% - 28px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit-ring,
  .orbit-copy::before,
  .orbit-next .button,
  .path-line,
  .path-line::after,
  .path-stage::before,
  .path-stage::after,
  .path-node.is-on b,
  #path-title.is-swap,
  .path-stage .lede.is-swap,
  .cat-glass,
  .handset,
  .call-halo i { animation: none; transition: none; }
}
