:root {
  color-scheme: dark;
  --void: #05090f;
  --deep: #07131d;
  --ink: #eef8ff;
  --muted: #9eb1c0;
  --line: rgb(144 205 255 / 22%);
  --cyan: #80dcff;
  --cyan-bright: #c5f4ff;
  --display: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--void);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .38;
  background-image: linear-gradient(rgb(112 210 255 / 2%) 1px, transparent 1px);
  background-size: 100% 5px;
}

a { color: inherit; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 10; padding: .7rem 1rem; background: var(--cyan); color: var(--void); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.site-header, main, .site-footer { width: min(100% - 3rem, 82rem); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 5.5rem; }
.mark { display: inline-flex; align-items: baseline; gap: .1rem; text-decoration: none; font-family: var(--mono); font-size: 1.1rem; letter-spacing: -.08em; }
.mark span { color: var(--cyan-bright); font-size: 1.85rem; font-weight: 700; }
.mark i { color: var(--cyan); font-style: normal; }
.site-state { display: flex; align-items: center; gap: .6rem; margin: 0; color: var(--muted); font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.site-state span { width: .45rem; height: .45rem; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 1rem var(--cyan); }

.hero { position: relative; min-height: min(48rem, calc(100vh - 5.5rem)); display: grid; grid-template-columns: minmax(0, .88fr) minmax(32rem, 1.12fr); align-items: stretch; border-top: 1px solid var(--line); }
.hero-copy { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding: clamp(4.5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 7rem); }
.kicker { margin: 0 0 1.35rem; color: var(--cyan); font-family: var(--mono); font-size: .68rem; letter-spacing: .13em; line-height: 1.45; text-transform: uppercase; }
h1, h2 { font-family: var(--display); font-weight: 400; text-wrap: pretty; }
h1 { max-width: 7ch; margin: 0; font-size: clamp(4.7rem, 9vw, 8.5rem); letter-spacing: -.075em; line-height: .79; }
.hero-dek { max-width: 25rem; margin: 2.2rem 0 0; color: #c5d4df; font-size: clamp(1.05rem, 1.7vw, 1.27rem); }
.hero-link { display: inline-flex; align-items: center; gap: .75rem; margin-top: 2.2rem; color: var(--cyan-bright); font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-decoration-color: rgb(197 244 255 / 30%); text-underline-offset: .5rem; }
.hero-link:hover { text-decoration-color: var(--cyan-bright); }
.hero-link span { font-size: 1.2rem; }
.hero-art { min-height: 100%; margin: 0 calc((min(100vw, 82rem) - 100vw) / 2) 0 -7rem; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; min-height: 38rem; object-fit: cover; object-position: center right; opacity: .96; filter: saturate(1.05) contrast(1.03); }

.signal-section { display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(2rem, 8vw, 9rem); padding: clamp(5rem, 12vw, 10rem) 0; border-top: 1px solid var(--line); }
.section-label { display: flex; justify-content: space-between; align-items: flex-start; }
.signal-number { margin: 0; color: #456170; font-family: var(--mono); font-size: .72rem; }
.transmission { max-width: 48rem; }
.transmission h2, .about h2 { margin: -.25rem 0 1.6rem; font-size: clamp(2.2rem, 4.2vw, 4.15rem); letter-spacing: -.055em; line-height: .95; }
.transmission p, .about-copy p { max-width: 40rem; margin: 0 0 1rem; color: var(--muted); font-size: 1.05rem; }
.transmission p:last-child { color: #d6e6ef; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 9rem); padding: clamp(4.5rem, 10vw, 8rem) 0; border-top: 1px solid var(--line); }
.about h2 { max-width: 9ch; margin-bottom: 0; }
.about-copy { padding-top: .55rem; }
.site-footer { display: flex; justify-content: space-between; gap: 2rem; padding: 1.75rem 0 2.5rem; border-top: 1px solid var(--line); color: #587382; font-family: var(--mono); font-size: .66rem; letter-spacing: .035em; }
.site-footer p { margin: 0; }
.site-footer span { color: var(--cyan); }

@media (max-width: 760px) {
  body { min-width: 0; }
  .site-header, main, .site-footer { width: calc(100% - 2rem); }
  main { display: flex; flex-direction: column; }
  .site-header { min-height: 4.5rem; }
  .site-state { font-size: .58rem; letter-spacing: .04em; }
  .hero { display: block; min-height: 0; border-top: 1px solid var(--line); }
  .hero-copy { display: block; min-height: 0; padding: 3.75rem 0 2.5rem; }
  .kicker { margin-bottom: 1rem; font-size: .62rem; }
  h1 { max-width: 8ch; font-size: clamp(3.7rem, 17vw, 5.8rem); line-height: .82; }
  .hero-dek { max-width: 27rem; margin-top: 1.6rem; font-size: 1rem; line-height: 1.5; }
  .hero-link { min-height: 44px; margin-top: 1.3rem; font-size: .7rem; }
  .hero-art { position: relative; inset: auto; width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; }
  .hero-art::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgb(5 9 15 / 28%), transparent 48%); }
  .hero-art img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 13%; }
  .hero { order: 0; }
  .transmission-two { order: 1; }
  #signal { order: 2; }
  .about { order: 3; }
  .signal-section, .about { grid-template-columns: 1fr; gap: 1.5rem; padding: 4rem 0; }
  .section-label { justify-content: flex-start; gap: 1rem; }
  .transmission h2, .about h2 { font-size: clamp(2.25rem, 11vw, 3.5rem); }
  .transmission p, .about-copy p { font-size: 1rem; }
  .site-footer { flex-direction: column; gap: .7rem; }
}

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

/* Smoke-break channel additions */
.smoke-aside { display: flex; flex-direction: column; align-items: stretch; }
.leaf-art { width: 18rem; max-width: 100%; margin: 0 auto 1.4rem; border: 1px solid rgb(168 240 107 / 30%); box-shadow: 0 0 3rem rgb(168 240 107 / 10%); }
.leaf-art img { display: block; width: 100%; height: auto; mix-blend-mode: screen; }
@media (max-width: 760px) {
  .smoke-aside { display: flex; }
  .leaf-art { width: min(18rem, 100%); }
}

/* Cortana smoke composite sizing */
.leaf-art { width: 24rem; }
@media (max-width: 760px) { .leaf-art { width: min(24rem, 100%); } }
