/*
THESIS: A half-built radio on an ordinary bedroom floor makes companionship practical and tomorrow expansive; this refuses the finished gadget hero, instruction manual, and recruitment poster.
OWN-WORLD: Cobalt color-negative night, tungsten coral, worn teal floorboards, copper windings, penciled paper, and open-window weather.
STORY: Canonical prose explains the invitation and its limits, then two unmistakably stacked choices let the pair decide which kind of beginning this is.
FIRST VIEWPORT: Live narration holds the photograph's naturally dark left field while the unfinished kit, paired floor places, open window, bicycle, and stars pull the eye outward on the right.
FORM: Brief-pinned Science Kit on the Bedroom Floor, composed as an intimate youth-science editorial photograph with a single source-order reading spine.
FINISH: Mike accepted the control on 2026-09-03 after a ten-variant family study; production verification covers the real mentorless and directed routes.
*/

@font-face {
  font-family: "Bedroom Atkinson";
  src: url("./meet/fonts/atkinson-hyperlegible-next.abde1ad5cf78.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Bedroom Mono";
  src: url("./meet/fonts/sometype-mono-medium.f1dfafac36db.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bedroom-night: #06101c;
  --bedroom-deep: #030812;
  --bedroom-paper: #fff3d3;
  --bedroom-copy: #e8edf0;
  --bedroom-muted: #b9c8ce;
  --bedroom-coral: #ff856d;
  --bedroom-copper: #eab279;
  --bedroom-blue: #9ecdf5;
  --bedroom-rule: rgb(232 237 240 / 28%);
  --bedroom-measure: 41rem;
  --bedroom-gutter: clamp(1.4rem, 5.4vw, 6.2rem);
}

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

html {
  min-width: 20rem;
  overflow-x: clip;
  background: var(--bedroom-night);
}

body[data-page="meet"] {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 20rem;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background: var(--bedroom-deep);
  color: var(--bedroom-copy);
  font-family: "Bedroom Atkinson", sans-serif;
  font-size: clamp(1.125rem, 1.03rem + 0.18vw, 1.24rem);
  font-synthesis: none;
  line-height: 1.56;
  text-rendering: optimizeLegibility;
}

body[data-page="meet"]::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background: var(--bedroom-night) url("./meet/assets/science-kit-bedroom-floor.255428507002.webp") 57% center / cover no-repeat;
  content: "";
  pointer-events: none;
}

body[data-page="meet"]::after {
  position: fixed;
  z-index: -1;
  inset: 0 46% 0 0;
  background: linear-gradient(90deg, rgb(3 8 18 / 96%) 0%, rgb(3 8 18 / 86%) 72%, rgb(3 8 18 / 0%) 100%);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

.brand {
  position: absolute;
  z-index: 3;
  top: 1.55rem;
  left: var(--bedroom-gutter);
  display: inline-flex;
  align-items: center;
  gap: 0.66rem;
  color: var(--bedroom-muted);
  font-size: 0.77rem;
  font-weight: 690;
  letter-spacing: 0.16em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.brand::before {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
  background: var(--bedroom-coral);
  content: "";
  -webkit-mask: url("./meet/assets/tinrelay-mark.c1c085a21d13.svg") center / contain no-repeat;
  mask: url("./meet/assets/tinrelay-mark.c1c085a21d13.svg") center / contain no-repeat;
}

.brand:hover,
.footer a:hover,
main a:hover {
  color: var(--bedroom-paper);
}

.brand:focus-visible,
.footer a:focus-visible,
main a:focus-visible {
  outline: 0.18rem solid var(--bedroom-coral);
  outline-offset: 0.28rem;
}

.page {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  min-height: 100svh;
  margin: 0;
  padding-inline: var(--bedroom-gutter);
}

main,
.footer {
  width: min(var(--bedroom-measure), 46vw);
}

main {
  position: relative;
  min-height: calc(100svh - 4.6rem);
  margin: 0;
  padding: clamp(6.6rem, 12vh, 8.1rem) 0 clamp(4.6rem, 9vh, 6.2rem);
}

main > h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

main > p,
main > h2,
main > ul {
  width: 100%;
  max-width: var(--bedroom-measure);
}

main > p {
  margin: 0 0 1.02em;
  color: var(--bedroom-copy);
  font-size: 1em;
  font-weight: 430;
  letter-spacing: -0.005em;
  line-height: 1.56;
  text-wrap: pretty;
}

main > p:first-of-type {
  max-width: 37ch;
  margin-bottom: 1.25em;
  color: var(--bedroom-paper);
  font-size: clamp(1.28rem, 1.15rem + 0.28vw, 1.53rem);
  font-weight: 620;
  letter-spacing: -0.018em;
  line-height: 1.38;
}

main > p:has(code) {
  margin-block: 1.25rem;
  color: #dbe8ee;
}

main code {
  overflow-wrap: anywhere;
  color: var(--bedroom-blue);
  font-family: "Bedroom Mono", monospace;
  font-size: 0.79em;
  font-weight: 500;
  letter-spacing: -0.013em;
  line-height: inherit;
  word-break: break-word;
}

main > h2 {
  margin: clamp(2.7rem, 5.4vh, 4.2rem) 0 0.9rem;
  color: var(--bedroom-paper);
  font-size: clamp(1.3rem, 1.14rem + 0.28vw, 1.53rem);
  font-weight: 680;
  letter-spacing: -0.018em;
  line-height: 1.26;
  text-wrap: balance;
}

main > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

main > ul > li {
  position: relative;
  margin: 0;
  padding: 1.05rem 2.5rem 1.12rem 0;
  border-top: 1px solid var(--bedroom-rule);
}

main > ul > li:last-child {
  border-bottom: 1px solid var(--bedroom-rule);
}

main > ul > li::after {
  position: absolute;
  top: 1.34rem;
  right: 0.15rem;
  width: 1.25rem;
  height: 0.72rem;
  border-right: 1px solid var(--bedroom-copper);
  border-bottom: 1px solid var(--bedroom-copper);
  content: "";
  transform: skewX(-25deg);
}

main > ul a {
  display: inline-block;
  max-width: 35ch;
  color: var(--bedroom-paper);
  font-size: clamp(1.18rem, 1.08rem + 0.22vw, 1.34rem);
  font-weight: 620;
  letter-spacing: -0.013em;
  line-height: 1.34;
  text-decoration-color: rgb(255 133 109 / 68%);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

main > ul a:hover {
  color: #fff;
  text-decoration-color: var(--bedroom-coral);
}

.footer {
  display: flex;
  padding: 1.1rem 0 1.45rem;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.4rem;
  border-top: 1px solid var(--bedroom-rule);
  color: var(--bedroom-muted);
  font-size: 0.69rem;
  font-weight: 610;
  letter-spacing: 0.055em;
  line-height: 1.45;
}

.footer > div {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.footer a {
  text-decoration-color: rgb(185 200 206 / 54%);
  text-underline-offset: 0.21em;
}

.signal {
  color: var(--bedroom-coral);
  white-space: nowrap;
}

@media (max-width: 68rem) {
  body[data-page="meet"] {
    background: var(--bedroom-night);
  }

  body[data-page="meet"]::before {
    position: absolute;
    height: 23.5rem;
    background-position: 63% 65%;
  }

  body[data-page="meet"]::after {
    display: none;
  }

  .brand {
    color: var(--bedroom-paper);
    text-shadow: 0 2px 10px rgb(0 0 0 / 82%);
  }

  main,
  .footer {
    width: min(var(--bedroom-measure), 100%);
  }

  main {
    min-height: 0;
    padding-top: 26.7rem;
  }

  main::before {
    position: absolute;
    top: 23.5rem;
    right: calc(var(--bedroom-gutter) * -1);
    left: calc(var(--bedroom-gutter) * -1);
    height: 3.4rem;
    background: linear-gradient(180deg, rgb(6 16 28 / 0%) 0%, var(--bedroom-night) 100%);
    content: "";
    pointer-events: none;
  }
}

@media (max-width: 34rem) {
  :root {
    --bedroom-gutter: clamp(1.18rem, 5.6vw, 1.55rem);
  }

  body[data-page="meet"] {
    font-size: 1rem;
    line-height: 1.58;
  }

  body[data-page="meet"]::before {
    height: 19rem;
    background-position: 66% 66%;
  }

  .brand {
    top: 1.2rem;
    font-size: 0.7rem;
  }

  .page {
    padding-inline: var(--bedroom-gutter);
  }

  main {
    padding: 21.4rem 0 4.2rem;
  }

  main::before {
    top: 19rem;
    height: 2.55rem;
  }

  main > p:first-of-type {
    max-width: 100%;
    font-size: 1.24rem;
    line-height: 1.4;
  }

  main > h2 {
    margin-top: 2.55rem;
    font-size: 1.28rem;
  }

  main > ul > li {
    padding-right: 2rem;
  }

  main > ul a {
    font-size: 1.14rem;
  }

  .footer {
    display: grid;
    padding-bottom: 1.6rem;
    gap: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  body[data-page="meet"]::before,
  body[data-page="meet"]::after,
  main::before {
    display: none;
  }

  .brand::before,
  main > ul > li::after {
    background: CanvasText;
  }

  main > h1 {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 1.4rem;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
  }
}
