/*
  The landing. harmonicagent.solutions' plate (royal ombre, printed script,
  engraved Aristotle, armillary rings, serif headline with an italic second
  voice, mono labels spaced like a dial) meets orbio.so's ground (warm black,
  ivory serif caps, one highlighted word, the ember console and its glow, an
  old master hung full-bleed).
*/

.landing {
  position: relative;
  overflow: clip;
}
.landing .land-wrap {
  width: min(1200px, 100% - 2.5rem);
  margin: 0 auto;
}

/* ------------------------------------------------------------ shared type */

.landing .hero-eyebrow,
.landing .sec-eyebrow,
.hero-head figcaption,
.gate-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.landing .hero-eyebrow i,
.landing .sec-eyebrow i,
.hero-head figcaption i,
.gate-eyebrow i {
  width: 44px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}
.landing .hero-eyebrow span:first-child,
.landing .sec-eyebrow span:first-child,
.gate-eyebrow span:first-child {
  color: var(--accent);
}

.landing .land-h2 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink-bright);
  margin: 18px 0 14px;
}
.landing .land-h2 em,
.athens-title em,
.gate-title em {
  font-style: italic;
  color: var(--accent-bright);
}
.landing .land-p {
  max-width: 62ch;
  font-family: var(--f-serif);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ hero */

.landing .hero {
  position: relative;
  isolation: isolate;
  padding: clamp(36px, 6vw, 72px) 0 40px;
  min-height: calc(100svh - var(--topbar-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
}

/* the plate: harmonic's royal blue, sinking into orbio's warm black */
.hero-plate {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 72% 8%, rgba(143, 180, 221, 0.18), transparent 70%),
    linear-gradient(180deg, var(--royal) 0%, #0a2259 30%, #0b1636 52%, var(--bg) 82%);
}
.hero-plate::after {
  /* fine grain, so the gradient never bands on a cheap panel */
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 0.6px, transparent 0.7px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}
.hero-script {
  position: absolute;
  inset: -2% -10% auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--f-mono);
  font-size: clamp(16px, 1.7vw, 24px);
  line-height: 1.12;
  color: rgba(185, 200, 228, 0.07);
  white-space: nowrap;
  user-select: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 34%, transparent 62%);
  mask-image: linear-gradient(180deg, #000 0%, #000 34%, transparent 62%);
}
.hero-script span {
  display: block;
}
.hero-ember {
  /* orbio's glow, behind the head and the console */
  position: absolute;
  width: 70vmax;
  height: 46vmax;
  right: -18vmax;
  bottom: -20vmax;
  background: radial-gradient(closest-side, rgba(242, 128, 58, 0.28), rgba(242, 128, 58, 0.08) 55%, transparent);
  filter: blur(10px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
}

.landing .hero-title {
  margin: 22px 0 18px;
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(46px, 6.6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--ink-bright);
  text-wrap: balance;
}
.landing .hero-title mark {
  /* orbio's highlighted word: a solid ember block, ink cut out of it */
  background: var(--accent);
  color: #140a04;
  padding: 0 0.12em 0.02em;
  margin: 0 0.02em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.landing .hero-lede {
  max-width: 54ch;
  font-family: var(--f-serif);
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.5;
  color: #c9d2e6;
}
.landing .hero-lede em {
  font-style: italic;
  color: var(--accent-bright);
}

/* the console: orbio's ask box, doing a wallet's job */
.console {
  position: relative;
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 14px;
  padding: 16px 16px 16px 18px;
  border: 1px solid rgba(242, 128, 58, 0.34);
  border-radius: 16px;
  background: rgba(17, 16, 14, 0.86);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 24px 70px -18px rgba(242, 128, 58, 0.42),
    0 0 120px -30px rgba(242, 128, 58, 0.5);
  max-width: 600px;
}
.console-tag {
  position: absolute;
  top: -11px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line-2);
  border-radius: 7px;
  background: var(--panel);
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.console-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.console-q {
  font-family: var(--f-sans);
  font-size: 15px;
  color: var(--ink-bright);
}
.console-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  min-height: 18px;
}
.console-status .addr-case {
  color: var(--ink-bright);
}
.cons-sep {
  color: var(--ink-3);
}
.cons-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-3);
  box-shadow: 0 0 0 3px rgba(140, 132, 118, 0.15);
}
.cons-dot.is-on {
  background: var(--pos);
  box-shadow: 0 0 0 3px rgba(111, 208, 143, 0.18);
}
.cons-dot.is-warn {
  background: var(--warn);
  box-shadow: 0 0 0 3px rgba(245, 196, 81, 0.18);
}
.console-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.chip-net,
.chip-soft {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--raised);
}
.chip-net {
  border-color: rgba(242, 128, 58, 0.4);
  background: rgba(242, 128, 58, 0.07);
}
.chip-soft {
  color: var(--ink-2);
  background: transparent;
}
.cons-orb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6e8, #d9c6a8 45%, #6b5a44 100%);
  box-shadow: 0 0 8px rgba(242, 128, 58, 0.5);
}
.console-go,
.gate-go {
  align-self: stretch;
  min-width: 112px;
  min-height: 64px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: var(--grad-btn);
  color: #1a0c04;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -3px 0 rgba(122, 54, 18, 0.45),
    0 10px 30px -8px rgba(242, 128, 58, 0.7);
  transition:
    transform var(--dur-press) var(--ease),
    filter var(--dur) var(--ease);
}
.console-go:hover,
.gate-go:hover {
  filter: brightness(1.07);
}
.console-go:active,
.gate-go:active {
  transform: translateY(1px);
}
.console-go:focus-visible,
.gate-go:focus-visible {
  outline: 2px solid var(--ink-bright);
  outline-offset: 3px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 16px;
}
.hero-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
}
.hero-links a:hover {
  color: var(--ink-bright);
}

/* the head */
.hero-head {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.statue-plate {
  position: relative;
  width: 100%;
  aspect-ratio: 0.86;
  max-height: min(78svh, 720px);
  cursor: grab;
}
.statue-plate.is-dragging {
  cursor: grabbing;
}
.statue-still {
  position: absolute;
  inset: 8% 14% 6%;
  width: 72%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.statue-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
}
.statue-canvas:focus-visible {
  outline: 1px dashed var(--accent-line);
  outline-offset: -6px;
  border-radius: 20px;
}
.statue-finish {
  position: absolute;
  right: 6%;
  bottom: 6%;
  z-index: 2;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-3);
  border-radius: 999px;
  background: rgba(11, 10, 9, 0.7);
  backdrop-filter: blur(6px);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.4s var(--ease),
    border-color var(--dur) var(--ease);
}
.statue-plate.is-3d .statue-finish {
  opacity: 1;
  pointer-events: auto;
}
.statue-finish:hover {
  border-color: var(--accent);
  color: var(--ink-bright);
}
.hero-head figcaption {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--royal-ink);
  justify-content: center;
}
.hero-head figcaption i {
  width: 24px;
}

/* the live strip: harmonic's measured cards, in the dark */
.landing .live-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.landing .strip-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(17, 16, 14, 0.72);
  backdrop-filter: blur(6px);
  min-width: 0;
}
.landing .strip-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.landing .strip-v {
  font-family: var(--f-serif);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1;
  color: var(--ink-bright);
  font-variant-numeric: lining-nums tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.landing .strip-note {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-3);
  line-height: 1.4;
}

/* ------------------------------------------------------- school of athens */

.athens {
  position: relative;
  isolation: isolate;
  min-height: min(92svh, 860px);
  display: flex;
  align-items: flex-end;
  padding: 120px 0 72px;
  margin-top: 30px;
}
.athens-art {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.athens-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.92) contrast(1.02);
}
.athens::before {
  /* orbio's way with a painting: it rises out of the black and sinks back into it */
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(11, 10, 9, 0) 22%, rgba(11, 10, 9, 0) 46%, rgba(11, 10, 9, 0.78) 74%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11, 10, 9, 0.72) 0%, rgba(11, 10, 9, 0.35) 38%, transparent 62%),
    radial-gradient(80% 60% at 50% 100%, rgba(242, 128, 58, 0.22), transparent 70%);
}
.athens-copy {
  position: relative;
  z-index: 1;
}
.athens-title {
  margin: 16px 0 16px;
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.02;
  color: var(--ink-bright);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
  max-width: 18ch;
}
.athens-p {
  max-width: 60ch;
  font-family: var(--f-serif);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
}
.athens .sec-eyebrow {
  color: var(--ink);
}

/* ------------------------------------------------------------- sections */

.landing .land-section {
  padding: clamp(56px, 8vw, 96px) 0 0;
}

/* the desks: harmonic's ledger, one hairline row per room */
.desks {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  border-top: 1px solid var(--line-2);
}
.desk {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background var(--dur) var(--ease);
}
.desk:hover {
  background: linear-gradient(90deg, rgba(242, 128, 58, 0.06), transparent 70%);
}
.desk-sym {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 24px;
  color: var(--accent);
  text-align: center;
}
.desk-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.desk-name {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-bright);
  line-height: 1.1;
}
.desk-line {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.desk-go {
  color: var(--ink-3);
  transition:
    transform var(--dur) var(--ease),
    color var(--dur) var(--ease);
}
.desk:hover .desk-go {
  color: var(--accent);
  transform: translateX(3px);
}

/* the steps, in roman numerals */
.landing .steps {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.landing .steps > li {
  display: block;
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card-wash), var(--panel);
}
.landing .steps > li::before {
  content: counter(step, upper-roman);
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 14px;
  border: 0;
  background: none;
  font-family: var(--f-serif);
  font-size: 34px;
  font-weight: 500;
  color: var(--accent);
  text-align: left;
  justify-content: flex-start;
}
.landing .steps h3 {
  font-family: var(--f-serif);
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 8px;
}
.landing .steps p {
  font-size: 14px;
}
.landing .steps-note {
  max-width: 80ch;
}

.landing .halves {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.landing .half {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 26px 22px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background:
    radial-gradient(70% 90% at 100% 0, rgba(10, 42, 107, 0.45), transparent 70%),
    var(--panel);
}
.half-sym {
  position: absolute;
  right: 18px;
  top: 4px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 96px;
  line-height: 1;
  color: rgba(143, 180, 221, 0.12);
  pointer-events: none;
}
.landing .half .mlabel {
  color: var(--accent);
}
.landing .half p {
  font-family: var(--f-serif);
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink);
  max-width: 44ch;
}
.landing .half-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin-top: auto;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

.landing .reads {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.landing .reads li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink);
}
.landing .reads li svg {
  color: var(--accent);
  flex: 0 0 auto;
}

.landing .site-footer {
  margin-top: clamp(64px, 9vw, 110px);
}

/* ---------------------------------------------------------------- phones */

@media (max-width: 1080px) {
  .landing .live-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-head {
    order: -1;
  }
  .statue-plate {
    width: min(100%, 420px);
    aspect-ratio: 1;
    max-height: 46svh;
  }
  .landing .hero {
    min-height: 0;
    padding-top: 12px;
  }
  .landing .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .desks,
  .landing .reads,
  .landing .halves {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .landing .land-wrap {
    width: calc(100% - 2rem);
  }
  .landing .hero-title {
    font-size: clamp(40px, 12.4vw, 56px);
  }
  .landing .hero-eyebrow i {
    width: 18px;
  }
  .landing .hero-eyebrow span:last-child,
  .landing .hero-eyebrow i:nth-of-type(2) {
    display: none;
  }
  .console {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px 14px 14px;
  }
  .console-go {
    min-height: 54px;
  }
  .landing .live-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .landing .strip-cell:last-child {
    grid-column: 1 / -1;
  }
  .athens {
    min-height: 0;
    padding: 64vw 0 48px;
  }
  .athens-art img {
    object-position: 50% 20%;
  }
  .desk {
    grid-template-columns: 38px minmax(0, 1fr) 16px;
    gap: 10px;
  }
  .desk-sym {
    font-size: 20px;
  }
  .hero-head figcaption i {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .statue-still,
  .statue-finish {
    transition: none;
  }
}

/* ----------------------------------------------------------------- the gate */

.gate {
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--topbar-h) - 6rem);
  padding: 32px 0;
}
.gate-card {
  position: relative;
  width: min(560px, 100%);
  padding: 34px 30px 26px;
  border: 1px solid rgba(242, 128, 58, 0.3);
  border-radius: 20px;
  text-align: center;
  background:
    radial-gradient(90% 70% at 50% 0, rgba(10, 42, 107, 0.55), transparent 70%),
    var(--panel);
  box-shadow:
    0 30px 90px -30px rgba(242, 128, 58, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.4);
}
.gate-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
  box-shadow: 0 0 30px rgba(242, 128, 58, 0.35);
}
.gate-eyebrow {
  justify-content: center;
  font-size: 10px;
}
.gate-eyebrow i {
  width: 28px;
}
.gate-title {
  margin: 14px 0 12px;
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.05;
  color: var(--ink-bright);
}
.gate-p {
  margin: 0 auto 22px;
  max-width: 44ch;
  font-family: var(--f-serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-2);
}
.gate-go {
  width: 100%;
  min-height: 58px;
}
.gate-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin-top: 14px;
}
.gate-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.gate-links a:hover {
  color: var(--ink-bright);
}
