:root {
  --void: #0b0d10;
  --obsidian: #12151a;
  --slate: #1a1f27;
  --pearl: #e8e4dc;
  --pearl-dim: #a8a399;
  --fog: rgba(232, 228, 220, 0.08);
  --line: rgba(232, 228, 220, 0.12);
  --champagne: #c4a574;
  --champagne-soft: rgba(196, 165, 116, 0.18);
  --teal: #5ec4b2;
  --teal-dim: rgba(94, 196, 178, 0.16);
  --glow: 0 0 80px rgba(94, 196, 178, 0.12);
  --shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  --font-brand: "Cormorant Garamond", "Noto Sans SC", serif;
  --font-ui: "Manrope", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--pearl);
  font-family: var(--font-body);
  background: var(--void);
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 400;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, #1c2430 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 30%, rgba(94, 196, 178, 0.08), transparent 50%),
    radial-gradient(ellipse 40% 35% at 0% 80%, rgba(196, 165, 116, 0.07), transparent 45%),
    var(--void);
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.ambient-orb-a {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  top: -8%;
  right: -5%;
  background: rgba(94, 196, 178, 0.14);
  animation: drift-a 16s var(--ease) infinite alternate;
}

.ambient-orb-b {
  width: min(45vw, 420px);
  height: min(45vw, 420px);
  bottom: 10%;
  left: -8%;
  background: rgba(196, 165, 116, 0.1);
  animation: drift-b 20s var(--ease) infinite alternate;
}

.ambient-veil {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 228, 220, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 228, 220, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}

.ambient-grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  color: var(--pearl);
  font-weight: 500;
}

/* —— Top bar —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem clamp(1.25rem, 4vw, 3.5rem);
  backdrop-filter: blur(20px) saturate(1.2);
  background: rgba(11, 13, 16, 0.72);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.logo-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--champagne));
  box-shadow: 0 0 16px rgba(94, 196, 178, 0.55);
}

.nav {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--pearl-dim);
}

.nav a {
  position: relative;
  transition: color 0.25s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover {
  color: var(--pearl);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.topbar-cta {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  color: var(--void);
  background: linear-gradient(135deg, var(--pearl), #d4cfc4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.topbar-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232, 228, 220, 0.18);
}

/* —— Hero —— */
.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3.5rem) 4rem;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 1rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
}

.brand {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(3.2rem, 7.5vw, 5.8rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.06em;
  background: linear-gradient(120deg, #fff 20%, var(--pearl) 50%, var(--champagne) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 1.4rem 0 0;
  max-width: 28ch;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 300;
  color: var(--pearl-dim);
}

.hero-lead strong {
  color: var(--pearl);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s,
    box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--void);
  background: linear-gradient(135deg, var(--teal), #3fa896);
  box-shadow: 0 12px 36px rgba(94, 196, 178, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 16px 40px rgba(94, 196, 178, 0.38);
}

.btn-ghost {
  color: var(--pearl);
  border: 1px solid var(--line);
  background: rgba(232, 228, 220, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(196, 165, 116, 0.45);
  background: var(--champagne-soft);
}

.hero-copy,
.hero-console {
  opacity: 0;
  animation: rise 1s var(--ease) forwards;
}

.hero-console {
  animation-delay: 0.2s;
}

.hero-copy .hero-kicker {
  animation: rise 0.8s var(--ease) 0.05s both;
}
.hero-copy .brand {
  animation: rise 0.9s var(--ease) 0.12s both;
}
.hero-copy .hero-lead {
  animation: rise 0.9s var(--ease) 0.22s both;
}
.hero-copy .hero-actions {
  animation: rise 0.9s var(--ease) 0.32s both;
}

/* —— Console (signature) —— */
.console {
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(26, 31, 39, 0.95), rgba(18, 21, 26, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), var(--glow);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a414c;
}

.console-dots span:nth-child(1) {
  background: #6b7280;
}
.console-dots span:nth-child(2) {
  background: var(--champagne);
  opacity: 0.7;
}
.console-dots span:nth-child(3) {
  background: var(--teal);
  opacity: 0.75;
}

.console-path {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--pearl-dim);
  text-transform: lowercase;
}

.console-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--teal);
}

.console-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  animation: pulse 2s ease-in-out infinite;
}

.console-body {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  min-height: 360px;
}

.console-side {
  padding: 1rem 0.75rem;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.console-side-label {
  margin: 0 0.35rem 0.5rem;
  font-size: 0.65rem;
  font-family: var(--font-ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pearl-dim);
}

.tool-chip {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--pearl-dim);
  text-align: left;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.tool-chip:hover:not(:disabled) {
  color: var(--pearl);
  background: var(--fog);
}

.tool-chip.is-active {
  color: var(--pearl);
  background: var(--teal-dim);
  border-color: rgba(94, 196, 178, 0.28);
}

.tool-chip.is-slot {
  border: 1px dashed var(--line);
  color: #6b7280;
  cursor: default;
  opacity: 0.7;
}

.console-main {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.console-tool-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.console-tool-name {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.console-badge {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  color: var(--champagne);
  background: var(--champagne-soft);
  border: 1px solid rgba(196, 165, 116, 0.25);
}

.console-go {
  margin-left: auto;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: var(--void);
  background: linear-gradient(135deg, var(--teal), #3fa896);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.console-go:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(94, 196, 178, 0.3);
}

.console-go.is-hidden {
  display: none;
}

.console-tool-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--pearl-dim);
  max-width: 42ch;
}

.console-stage {
  margin-top: 0.5rem;
  flex: 1;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(232, 228, 220, 0.03), transparent),
    var(--obsidian);
  padding: 1rem;
  min-height: 200px;
}

.stage-line {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  opacity: 0;
  transform: translateY(8px);
  animation: rise 0.55s var(--ease) forwards;
}

.stage-line .tag {
  flex-shrink: 0;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--teal);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  height: fit-content;
  margin-top: 0.15rem;
}

.stage-line .tag.is-out {
  background: var(--champagne);
}

.stage-line p {
  margin: 0;
  color: var(--pearl-dim);
  line-height: 1.55;
}

.stage-line p em {
  font-style: normal;
  color: var(--pearl);
  background: linear-gradient(transparent 65%, rgba(94, 196, 178, 0.35) 65%);
}

.stage-bar {
  margin-top: 0.5rem;
  height: 3px;
  border-radius: 999px;
  background: rgba(232, 228, 220, 0.08);
  overflow: hidden;
}

.stage-bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--champagne));
  animation: fill 1.6s var(--ease) forwards;
}

/* —— Sections —— */
.section {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 4vw, 3.5rem);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.section-head p:last-child {
  margin: 0.9rem 0 0;
  color: var(--pearl-dim);
  font-size: 1.02rem;
  font-weight: 300;
}

/* —— Weather —— */
.weather {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.weather-panel {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(94, 196, 178, 0.22);
  background:
    linear-gradient(135deg, rgba(94, 196, 178, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(232, 228, 220, 0.04), transparent),
    rgba(18, 21, 26, 0.78);
  box-shadow: var(--glow), var(--shadow);
}

.weather-intro {
  max-width: 34rem;
  margin-bottom: 1.35rem;
}

.weather-intro h2 {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(1.9rem, 3.5vw, 2.55rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.weather-intro p:last-child {
  margin: 0.55rem 0 0;
  color: var(--pearl-dim);
  font-size: 0.98rem;
  font-weight: 300;
}

.weather-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: stretch;
}

.weather-form input {
  flex: 1 1 220px;
  min-width: 0;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(11, 13, 16, 0.72);
  color: var(--pearl);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1.05rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.weather-form input::placeholder {
  color: #6b7280;
}

.weather-form input:focus {
  border-color: rgba(94, 196, 178, 0.55);
  box-shadow: 0 0 0 3px rgba(94, 196, 178, 0.16);
}

.weather-form .btn {
  flex: 0 0 auto;
  min-width: 6.5rem;
}

.weather-form .btn:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.weather-result {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1rem 1.5rem;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(11, 13, 16, 0.55);
  animation: weather-in 0.55s var(--ease);
}

.weather-result[hidden] {
  display: none;
}

.weather-place {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--pearl-dim);
}

.weather-temp {
  margin: 0.35rem 0 0.15rem;
  font-family: var(--font-brand);
  font-size: clamp(3.2rem, 7vw, 4.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--pearl);
}

.weather-unit {
  margin-left: 0.15rem;
  font-size: 0.42em;
  color: var(--champagne);
  vertical-align: super;
}

.weather-desc {
  margin: 0.35rem 0 0;
  font-size: 1.15rem;
  color: var(--teal);
  font-weight: 500;
}

.weather-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  align-content: center;
}

.weather-meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: var(--fog);
  border: 1px solid transparent;
}

.weather-meta span {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pearl-dim);
}

.weather-meta strong {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--pearl);
}

.weather-status {
  min-height: 1.4em;
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--pearl-dim);
}

.weather-status.is-error {
  color: #e8a0a0;
}

.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;
}

@keyframes weather-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Tool bay */
.bay {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.bay-card {
  position: relative;
  padding: 1.4rem 1.3rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(26, 31, 39, 0.65);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: border-color 0.3s, transform 0.35s var(--ease), background 0.3s;
}

.bay-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 165, 116, 0.35);
  background: rgba(32, 38, 48, 0.85);
}

.bay-live {
  border-color: rgba(94, 196, 178, 0.35);
  box-shadow: inset 0 0 0 1px rgba(94, 196, 178, 0.08);
}

.bay-empty {
  border-style: dashed;
  background: rgba(18, 21, 26, 0.4);
}

.bay-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
}

.bay-state {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.bay-wait {
  color: var(--champagne);
}

.bay-slot {
  color: var(--pearl-dim);
}

.bay-id {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: #5a6270;
  letter-spacing: 0.08em;
}

.bay-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-brand);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.bay-card p {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  color: var(--pearl-dim);
  font-weight: 300;
}

.bay-actions {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.bay-link {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal);
}

.bay-link.is-muted {
  margin-top: 1.25rem;
  color: #5a6270;
  font-weight: 500;
}

.bay-go {
  flex-shrink: 0;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  color: var(--void);
  background: linear-gradient(135deg, var(--teal), #3fa896);
  box-shadow: 0 8px 20px rgba(94, 196, 178, 0.25);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.bay-go:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(94, 196, 178, 0.35);
}

/* Flow */
.flow {
  background: linear-gradient(180deg, transparent, rgba(26, 31, 39, 0.55), transparent);
}

.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.flow-list li {
  position: relative;
  padding: 1.75rem 1.4rem 1.5rem;
  border-top: 1px solid rgba(196, 165, 116, 0.35);
  counter-increment: step;
}

.flow-list li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 1.1rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--champagne);
}

.flow-list h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-brand);
  font-size: 1.4rem;
  font-weight: 500;
}

.flow-list p {
  margin: 0;
  color: var(--pearl-dim);
  font-size: 0.95rem;
  font-weight: 300;
}

/* About */
.about-frame {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1.5rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(94, 196, 178, 0.06), transparent 40%),
    linear-gradient(225deg, rgba(196, 165, 116, 0.07), transparent 45%),
    var(--slate);
  box-shadow: var(--shadow);
}

.about-copy h2 {
  margin: 0 0 1.1rem;
  font-family: var(--font-brand);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.about-copy p {
  margin: 0 0 0.85rem;
  max-width: 48ch;
  color: var(--pearl-dim);
  font-weight: 300;
}

.about-aside {
  padding: 1.5rem 1.4rem;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
  align-self: center;
}

.about-aside-label {
  margin: 0 0 1rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne);
}

.about-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-aside li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--pearl);
  font-size: 0.95rem;
  font-weight: 300;
}

.about-aside li:last-child {
  border-bottom: none;
}

.about-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.footer {
  padding: 2rem clamp(1.25rem, 4vw, 3.5rem) 2.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  color: var(--pearl-dim);
  font-size: 0.88rem;
  font-weight: 300;
}

.footer p {
  margin: 0;
}

.footer-sub {
  opacity: 0.7;
}

/* Motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift-a {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-30px, 40px);
  }
}

@keyframes drift-b {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(25px, -30px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes fill {
  to {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-copy,
  .hero-console,
  .hero-copy .hero-kicker,
  .hero-copy .brand,
  .hero-copy .hero-lead,
  .hero-copy .hero-actions,
  .stage-line {
    opacity: 1;
    transform: none;
  }

  .stage-bar > span {
    width: 100%;
  }

  .weather-result {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .bay {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2.25rem;
  }

  .hero-lead {
    max-width: 40ch;
  }

  .console-body {
    grid-template-columns: 1fr;
  }

  .console-side {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .console-side-label {
    width: 100%;
  }

  .flow-list {
    grid-template-columns: 1fr;
  }

  .about-frame {
    grid-template-columns: 1fr;
  }

  .weather-result {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }

  .topbar-cta {
    margin-left: auto;
  }

  .bay {
    grid-template-columns: 1fr;
  }
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* —— Auth gate —— */
html.auth-locked body > :not(#auth-gate) {
  visibility: hidden !important;
  pointer-events: none !important;
}

.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(94, 196, 178, 0.12), transparent 55%),
    var(--void);
}

.auth-card {
  width: min(100%, 400px);
  padding: 1.75rem 1.6rem 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(18, 21, 26, 0.92);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.auth-kicker {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne);
}

.auth-title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.auth-lead {
  margin: 0 0 0.5rem;
  color: var(--pearl-dim);
  font-size: 0.92rem;
}

.auth-label {
  font-size: 0.78rem;
  color: var(--pearl-dim);
}

.auth-input {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--pearl);
  padding: 0.75rem 0.9rem;
  font: inherit;
  outline: none;
}

.auth-input:focus {
  border-color: rgba(94, 196, 178, 0.55);
  box-shadow: 0 0 0 3px rgba(94, 196, 178, 0.15);
}

.auth-submit {
  margin-top: 0.55rem;
  border: none;
  cursor: pointer;
}

.auth-error {
  min-height: 1.2em;
  margin: 0.25rem 0 0;
  color: #e8a0a0;
  font-size: 0.88rem;
}

.auth-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 16, 0.92);
  backdrop-filter: blur(16px);
}

.auth-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 0.65rem clamp(1rem, 3vw, 2.5rem);
}

.auth-bar-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-right: auto;
}

.auth-role {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  color: var(--void);
  background: var(--teal);
}

.auth-role.is-guest {
  background: var(--champagne);
}

.auth-who {
  font-size: 0.9rem;
  color: var(--pearl);
}

.auth-note {
  font-size: 0.78rem;
  color: var(--pearl-dim);
}

.auth-guest-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.auth-mini-input {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--pearl);
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.82rem;
  min-width: 7.5rem;
  outline: none;
}

.auth-mini-input:focus {
  border-color: rgba(94, 196, 178, 0.5);
}

.auth-mini-btn {
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
}

.auth-guest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  max-width: 100%;
}

.auth-empty {
  font-size: 0.78rem;
  color: var(--pearl-dim);
}

.auth-guest-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--fog);
  font-size: 0.78rem;
}

.auth-guest-chip button {
  appearance: none;
  border: none;
  background: transparent;
  color: #e8a0a0;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0 0.1rem;
}

@media (max-width: 720px) {
  .auth-bar-inner {
    align-items: stretch;
  }

  .auth-guest-form {
    width: 100%;
  }

  .auth-mini-input {
    flex: 1;
  }
}
