/* Private laboratory / editorial layer. Only loaded by join.ejs. */
body.som-page {
  --magenta: #c90060;
  --accent-light: #ff92bf;
  --paper: #191918;
  --cream: #191918;
  --ink: #eeece5;
  --muted: #b9b5ad;
  --title: #f4eee2;
  --title-soft: #dfd8cb;
  --title-rose: #e8c9b4;
  --brass: #c2aa7e;
  --line: rgba(207, 190, 156, .2);
  --wide: 1184px;
  font-weight: 400;
  background: var(--paper);
}
html { background: #191918; scroll-padding-top: 104px; }
.som-page a:focus-visible, .som-page button:focus-visible,
.som-page summary:focus-visible, .som-page input:focus-visible,
.som-page select:focus-visible, .som-page textarea:focus-visible {
  outline: 2px solid #f4d69c;
  outline-offset: 5px;
}
.som-skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 12px 20px; background: #f4eee2; color: #191918 !important;
  transform: translateY(-180%);
}
.som-skip:focus { transform: none; }
.som-bar {
  padding: 14px var(--pad);
  background: rgba(23, 23, 22, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.som-brand { align-items: center; flex-wrap: nowrap; gap: 14px; }
.som-brand-seal {
  display: grid; place-items: center; flex: 0 0 36px; height: 36px;
  border: 1px solid var(--brass); color: var(--brass);
  font: 12px var(--mono); letter-spacing: -.04em; white-space: nowrap;
}
.som-wordmark { color: var(--title); font-size: 16px; letter-spacing: .08em; }
.som-nav { max-width: none; gap: 6px; overflow: visible; }
.som-nav a {
  min-height: 44px; display: inline-flex; align-items: center;
  padding: 10px 16px; font-size: 13px; border: 0;
}
.som-nav a[href="#plans"] { color: var(--title); border: 1px solid var(--line); }
.som-nav a:hover { color: var(--accent-light); }

/* The entrance stays in Hero; the original artwork-lined room continues below. */
.som-hero {
  position: relative; overflow: clip; isolation: isolate;
  min-height: 730px;
  background: #191918;
  border-bottom: 1px solid var(--line);
}
.som-hero-grid {
  min-height: 730px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  max-width: 1500px; margin: 0 auto; width: 100%;
}
.som-hero-inner { padding: 64px var(--pad) 64px; justify-content: center; }
.som-hero-inner::before {
  inset: -20px -60px -20px -20px; width: auto; height: auto;
  background: linear-gradient(90deg, #191918 75%, rgba(25,25,24,.8) 88%, transparent);
}
.som-hero-eyebrow {
  color: var(--brass) !important; font: 11px var(--mono);
  letter-spacing: .18em; line-height: 1.8;
}
.som-hero-eyebrow span {
  display: block; margin-top: 10px; font: 13px var(--sans);
  color: var(--muted); letter-spacing: .12em;
}
.som-hero h1 {
  margin-top: 32px; max-width: none;
  font-size: clamp(34px, 4.2vw, 60px); line-height: 1.4;
  letter-spacing: -.015em; text-shadow: none;
}
.som-h1-intro { font-size: .58em; margin-bottom: .35em; }
.som-h1-intro .som-h1-mark { color: var(--title-soft); font-weight: 500; }
.som-h1-core { font-size: 1em; letter-spacing: 0; }
.som-h1-mark { color: var(--title-rose); }
.som-hero .som-lead { margin-top: 26px; color: #ddd9d1; font-size: 15px; text-shadow: none; max-width: 36em; }
.som-page .som-hero-offer {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
  width: fit-content; max-width: 100%;
}
.som-hero-offer > p { font-size: 12px; color: var(--muted); line-height: 1.9; }
.som-hero-offer p > span { color: var(--brass); }
.som-hero-offer .som-hero-price { margin-top: 8px; font-size: 13px; color: var(--title); }
.som-hero-price strong { font-size: 20px; font-weight: 500; margin-left: 8px; }
.som-hero-price span { font-size: 12px; color: var(--muted) !important; }
.som-hero .som-actions { margin-top: 24px; align-items: center; gap: 18px 22px; }
.som-cta, .som-page button.som-cta {
  min-height: 52px; padding: 15px 24px; background: var(--magenta);
  border: 1px solid transparent; border-radius: 4px;
  font-size: 14px; font-weight: 600; text-transform: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 6px 22px rgba(0,0,0,.18);
  transition: background-color .18s, border-color .18s;
}
.som-cta:hover, .som-page button.som-cta:hover { opacity: 1; background: #ad0054; }
.som-cta-invert, .som-page button.som-cta-invert {
  background: transparent; border-color: var(--brass); color: var(--title);
}
.som-cta-invert:hover, .som-page button.som-cta-invert:hover { background: #383027; }
.som-cta-ghost, .som-page button.som-cta-ghost { background: transparent; color: var(--title); box-shadow: none; }
.som-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 13px; text-underline-offset: 6px; }
.som-hero .som-cta-note { width: 100%; margin: 0; color: #bbb5ab; font-size: 11px; line-height: 1.8; }
.som-hero-visual { min-height: 0; padding: 160px 20px 0; overflow: hidden; align-self: stretch; transform: none; opacity: 1; }
.som-hero-visual .som-hero-person { height: auto; width: min(100%, 410px); max-height: 540px; object-fit: contain; object-position: bottom; }
.som-hero-visual figcaption {
  position: absolute; bottom: 24px; right: 28px; z-index: 10;
  padding: 12px 16px; background: rgba(20,20,19,.93); border-left: 1px solid var(--brass);
  font: 16px var(--serif); color: var(--title);
}
.som-hero-visual figcaption span { display: block; margin-top: 5px; color: var(--muted); font: 9px var(--mono); }
.som-lab-world { position: absolute; left: 54%; width: 46%; height: 100%; z-index: 0; background: #171715; }
.som-lab-scene { inset: 0; transform-origin: center; }
.som-lab-interior {
  background: linear-gradient(rgba(15,15,13,.25),rgba(15,15,13,.5)), url('/assets/images/lab-interior-imac-v2.png') center/cover;
  opacity: var(--lab-in, 0);
}
.som-lab-entrance {
  inset: 22px 20px 0; border: 9px solid #242422;
  box-shadow: 0 0 0 1px #656054, 0 0 0 8px #141413, inset 0 0 32px #000;
}
.som-lab-leaf {
  background-image: linear-gradient(180deg,rgba(15,18,18,.25),rgba(16,17,17,.6)), url('/assets/images/lab-doors.jpg');
  border: 1px solid rgba(233,209,172,.25);
  box-shadow: inset 0 0 60px rgba(0,0,0,.25);
}
.som-lab-leaf::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(125deg, rgba(255,239,201,.08), transparent 36%, rgba(255,255,255,.03) 48%, transparent 49%);
}
.som-lab-entrance::after {
  content: ''; position: absolute; top: 0; left: 50%; bottom: 0;
  width: 2px; background: #dfb9a1; box-shadow: 0 0 22px 4px rgba(212,72,111,.35);
  opacity: calc(1 - var(--door, 0)); pointer-events: none;
}
.som-lab-sign {
  top: 24%; width: 252px; gap: 12px; padding: 24px 28px 20px;
  background: linear-gradient(145deg,#38362e,#1a1b19 64%,#2a2923);
  border: 1px solid #a58c61; outline: 5px solid rgba(19,20,18,.55);
  box-shadow: inset 0 1px 0 #635944, 0 14px 28px rgba(0,0,0,.55);
  filter: none;
}
.som-lab-sign img { width: 100%; height: auto; }
.som-lab-sign > span { font: 9px var(--serif); color: #d3bc8e; letter-spacing: .17em; }
.som-lab-backdrop {
  position: fixed; inset: -2%; z-index: 0; pointer-events: none;
  background: linear-gradient(rgba(13,18,19,.22),rgba(13,18,19,.36)), url('/assets/images/lab-interior-imac-v2.png') center/cover no-repeat;
  transform: translate3d(0,var(--room-shift,0px),0) scale(var(--room-scale,1.025));
  transform-origin: center; will-change: transform;
}
.som-constellation { position: fixed; inset: 0; width: 100%; height: 100%; opacity: .68; z-index: 9; }

/* Quiet, opaque reading surfaces: a consistent editorial grid. */
.som-band { padding: clamp(60px, 7vw, 104px) 0; background: #191918; border-bottom: 1px solid var(--line); }
.som-band .som-inner::before { display: none; }
.som-inner { position: relative; width: min(var(--wide), calc(100% - var(--pad)*2)); }
.som-inner-reading, .som-inner-narrow { max-width: 760px; }
.som-band h2 { text-shadow: none; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.45; letter-spacing: .025em; }
.som-band h3 { line-height: 1.55; }
.som-page .som-chapter { margin: 0 0 20px; color: var(--brass); font: 11px var(--mono); letter-spacing: .14em; line-height: 1.8; }
.som-band .som-body { font-size: 16px; color: #d0ccc3; line-height: 1.95; }
.som-page .som-plan-boundary { margin-top: 22px; font-size: 13px; line-height: 1.95; color: var(--muted); }
.som-story { background: #211f1c; padding: 54px 0; }
.som-story-grid { align-items: center; gap: 32px 60px; }
.som-story h2 { font-size: clamp(24px, 2.3vw, 34px); }
.som-story .som-body { margin-top: 0; }
.som-stats { padding: 58px 0; }
.som-stats h2 { font-size: clamp(26px, 2.8vw, 38px); }
.som-stats-video { border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.som-research { background: #22211e; }
.som-themes { margin-top: 36px; }
.som-themes > li { padding: 28px 0; }
.som-themes p { color: #c3bfb5; }
.som-plans { background: #171817; }
.som-page .som-plan-compare { margin-top: 40px; }
.som-plan-compare table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.som-plan-compare caption { text-align: left; padding-bottom: 18px; font: 22px var(--serif); color: var(--title); }
.som-plan-compare caption span { display: inline-block; }
.som-plan-compare th, .som-plan-compare td { padding: 17px 20px; border-bottom: 1px solid var(--line); text-align: left; line-height: 1.7; }
.som-plan-compare th { font-weight: 500; color: var(--title); }
.som-plan-compare th:first-child { width: 46%; }
.som-plan-compare thead { background: #2d2c27; }
.som-plan-compare tbody tr:last-child { background: #2c2526; }
.som-plan-compare td { color: #e6dfd1; }
.som-plan-grid { gap: 24px; margin-top: 36px; border: 0; }
.som-plan, .som-plan-featured, .som-plan + .som-plan {
  padding: 36px; background: #222320; border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 16px 40px rgba(0,0,0,.14);
}
.som-plan-featured { background: linear-gradient(150deg,#312c25,#222320 62%); border-color: #716148 !important; }
.som-page .som-plan-tag { color: #d1bb94; font-size: 12px; margin: 0 0 16px; letter-spacing: .06em; }
.som-plan h3 { font-size: 27px; }
.som-price strong { font-size: clamp(38px, 4vw, 52px); }
.som-price span, .som-plan-note-inline, .som-plan-foot, .som-muted-item { color: #bdb9ae; }
.som-plan li { font-size: 14px; line-height: 1.85; }
.som-plan-featured .som-capacity { font-size: 14px; color: #ffabca; }
.som-plan-featured .som-plan-foot { color: #c6c0b4; }
.som-legal, .som-cancel { color: var(--muted); line-height: 1.9; }
.som-campus { background: #242420; }
.som-campus-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.som-campus-shot { max-width: 480px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.som-campus-shot img { display: block; }
.som-zoom { background: #1c1e1d; }
.som-zoom-core { font-size: clamp(23px, 2.6vw, 36px); }
.som-hours { border-color: var(--line); }
.som-quiet-on-dark, .som-on-dark { color: #c6c2b8; }
.som-feedback { background: #26221f; }
.som-feedback .som-support-image { max-width: 850px; margin: 32px auto; border: 1px solid var(--line); }
.som-feedback .som-split { gap: 20px; }
.som-feedback .som-split p { font-size: 15px; color: #c7c0b4; line-height: 1.85; }
.som-bot { background: #191918; }
.som-bot-steps { gap: 30px; margin-top: 40px; }
.som-bot-steps > li { padding: 24px; background: #232420; border: 1px solid var(--line); }
.som-bot-steps > li:last-child { max-width: 800px; width: 100%; }
.som-bot-step-head h3 { font-size: clamp(21px,2vw,28px); }
.som-bot-steps img { max-width: 760px; }
.som-bot-steps figure { margin: 0; }
.som-profile { background: #e7e0d3; color: #292722; }
.som-profile .som-inner { color: #292722; }
.som-profile h2, .som-profile p, .som-profile summary { color: #373229; text-shadow: none; }
.som-profile .som-profile-name { font-family: var(--serif); font-size: 36px; margin-top: 24px; }
.som-profile-photo { max-width: 280px; border-radius: 0; }
.som-profile .som-credit-names { line-height: 2.1; font-size: 15px; }
.som-profile .som-disclose { border-color: #bdb4a3; }
.som-profile .som-disclose summary { min-height: 44px; padding: 10px 0; }
.som-cycle { background: #23211e; }
.som-cycle-visual { max-width: 760px; margin-left: auto; margin-right: auto; }
.som-flow-list { gap: 24px; }
.som-flow-list p { font-size: 15px; color: var(--muted); line-height: 1.9; }
.som-faq { background: #211f1c; }
.som-faq details p { color: #d1cbbf; font-size: 16px; }
.som-faq summary { font-family: var(--sans); font-size: 16px; line-height: 1.7; }
.som-faq details { padding: 22px 4px; }
.som-final { background: radial-gradient(ellipse at top,#3b292a,#191918 68%); text-align: center; }
.som-final .som-actions { justify-content: center; }
.som-final .som-inner { padding-top: 24px; border-top: 1px solid var(--brass); }
.som-lab-close { margin: 0; max-height: 340px; overflow: hidden; }
.som-lab-close img { width: 100%; object-fit: cover; max-height: 340px; filter: brightness(.55) saturate(.65); }
.som-cancel { max-width: 760px; margin: 0 auto !important; padding: 36px 24px; font-size: 13px; }
.som-footer { background: #151513; padding: 32px 24px; }
.som-footer a { min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 980px) {
  .som-hero-grid { grid-template-columns: 1.15fr .85fr; min-height: 700px; }
  .som-hero { min-height: 700px; }
  .som-hero-inner { padding: 44px 28px; }
  .som-hero h1 { font-size: 38px; }
  .som-hero-visual { padding: 160px 8px 0; }
  .som-hero-visual figcaption { right: 12px; bottom: 20px; }
  .som-lab-world { left: 54%; width: 46%; }
  .som-lab-sign { width: 216px; padding: 20px; }
  .som-plan-grid, .som-campus-grid { grid-template-columns: 1fr; }
  .som-campus-shot { margin: 0 auto; }
  .som-plan + .som-plan { padding: 32px; }
}
@media (max-width: 700px) {
  .som-bar { padding: 10px 20px 6px; flex-direction: column; align-items: stretch; gap: 8px; }
  .som-brand { gap: 10px; }
  .som-brand-seal { flex-basis: 28px; height: 28px; font-size: 8px; }
  .som-wordmark { font-size: 14px; }
  .som-nav { width: 100%; gap: 8px; flex-wrap: wrap; }
  .som-nav a { padding: 8px 12px; font-size: 12px; min-height: 44px; }
  .som-nav a[href="/member"] { margin-left: auto; font-size: 11px; padding: 8px 5px; }
  .som-hero, .som-hero-grid { min-height: 0; }
  .som-hero-grid { display: flex; flex-direction: column; }
  .som-hero-inner { padding: 28px 24px 24px; }
  .som-hero-inner::before { inset: 0; background: #191918; }
  .som-hero h1 { font-size: clamp(31px,8.6vw,48px); margin-top: 24px; line-height: 1.4; }
  .som-hero-eyebrow { font-size: 10px; }
  .som-hero-eyebrow span { display: none; }
  .som-hero .som-lead { font-size: 14px; margin-top: 22px; }
  .som-hero-offer > p { font-size: 11px; }
  .som-page .som-hero-offer { margin-top: 18px; padding-top: 16px; }
  .som-hero-offer .som-hero-price { font-size: 12px; }
  .som-hero-price strong { font-size: 20px; }
  .som-hero .som-actions { gap: 12px; }
  .som-hero .som-actions .som-cta-form { width: 100%; }
  .som-text-link { justify-content: center; width: 100%; }
  .som-hero .som-cta-note { text-align: center; }
  .som-hero-visual { height: 320px; min-height: 320px; padding: 90px 24px 0; width: 100%; }
  .som-hero-visual .som-hero-person { height: 250px; width: auto; max-height: 250px; }
  .som-hero-visual figcaption { bottom: 14px; right: 20px; font-size: 13px; padding: 9px 12px; }
  .som-hero-visual figcaption span { font-size: 7px; }
  .som-lab-world { top: auto; bottom: 0; left: 0; width: 100%; height: 320px; }
  .som-lab-entrance { inset: 10px 30px 0; border-width: 6px; }
  .som-lab-sign { top: 22%; width: 170px; padding: 12px 20px; gap: 7px; }
  .som-lab-sign > span { font-size: 7px; }
  .som-constellation { top: auto; bottom: 0; left: 0; width: 100%; height: 320px; }
  .som-band { padding: 56px 0; }
  .som-inner { width: calc(100% - 40px); }
  .som-band h2 { font-size: clamp(26px,7.1vw,36px); }
  .som-band .som-body { font-size: 15px; }
  .som-story { padding: 40px 0; }
  .som-story-grid { gap: 24px; }
  .som-story h2 { font-size: 25px; }
  .som-page .som-chapter { font-size: 10px; margin-bottom: 16px; }
  .som-plan-compare caption { font-size: 20px; line-height: 1.6; }
  .som-plan-compare table { font-size: 12px; }
  .som-plan-compare th, .som-plan-compare td { padding: 13px 8px; }
  .som-plan-compare th:first-child { width: 42%; }
  .som-plan, .som-plan-featured, .som-plan + .som-plan { padding: 26px 22px; }
  .som-plan h3 { font-size: 26px; }
  .som-plan li { font-size: 14px; }
  .som-plan .som-cta { padding-left: 10px; padding-right: 10px; }
  .som-campus-grid { gap: 28px; }
  .som-bot-steps > li { padding: 18px; }
  .som-bot-step-head { gap: 12px; }
  .som-bot-step-head h3 { font-size: 20px; }
  .som-profile-photo { max-width: 220px; }
  .som-faq summary, .som-faq details p { font-size: 15px; }
  .som-legal { font-size: 12px; }
  .som-hero, .som-band { scroll-margin-top: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .som-hero-visual, .som-lab-leaf { transform: none; opacity: 1; transition: none; }
  .som-constellation { display: none; }
  .som-cta, .som-page button.som-cta { transition: none; }
}

/* Keep the moving room and its embedded works visible around calm reading panels. */
.som-band:not(.som-profile):not(.som-plans):not(.som-faq):not(.som-final) {
  background: rgba(25,25,24,.34);
}
.som-band:not(.som-profile):not(.som-plans):not(.som-faq):not(.som-final) > .som-inner {
  isolation: isolate;
}
.som-band:not(.som-profile):not(.som-plans):not(.som-faq):not(.som-final) > .som-inner::before {
  display: block; inset: -24px -28px;
  background: rgba(23,24,23,.89);
  border: 1px solid rgba(207,190,156,.12);
}
@media (max-width: 700px) {
  .som-lab-backdrop { background-position: 68% center; }
  .som-constellation { position: fixed; inset: 0; width: 100%; height: 100%; opacity: .58; }
  .som-band:not(.som-profile):not(.som-plans):not(.som-faq):not(.som-final) > .som-inner::before {
    inset: -18px -10px; background: rgba(23,24,23,.87);
  }
}
@media (prefers-reduced-motion: reduce) {
  .som-lab-backdrop { transform: none; will-change: auto; }
}
