:root {
  --blue: #2f6bff;
  --amber: #ffb547;
  --ink: #172033;
  --muted: #667085;
  --paper: #f7f8fa;
  --white: #ffffff;
  --line: #dfe3ea;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { letter-spacing: 0; }
.page-shell { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 12px; top: 12px; padding: 10px 14px; background: var(--white); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 40; top: 0; display: flex; align-items: center; justify-content: space-between; width: 100%; height: 76px; padding: 0 max(32px, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid rgba(23, 32, 51, .1); background: rgba(247, 248, 250, .96); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; line-height: 1; }
.brand img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: 34px; color: #3f4757; font-size: 14px; font-weight: 600; }
.site-nav a, .footer-grid a, .doc-toc a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.site-nav a:hover, .site-nav a:focus-visible, .footer-grid a:hover, .doc-toc a:hover { color: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 6px auto; background: currentColor; transition: transform .2s ease; }
.hero { position: relative; min-height: 620px; overflow: hidden; background: var(--ink) url("assets/roomie-space.jpg") center / cover no-repeat; color: var(--white); }
.hero::before { position: absolute; inset: 0; background: rgba(13, 25, 48, .68); content: ""; }
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 80px; width: min(var(--max), calc(100% - 64px)); min-height: 620px; margin: 0 auto; }
.hero-copy { width: min(660px, 64%); padding: 58px 0; }
.kicker { margin-bottom: 18px; color: var(--blue); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.kicker-light { color: #dbe5ff; }
.hero h1 { margin-bottom: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(76px, 9vw, 136px); font-weight: 400; line-height: .85; }
.hero-line { margin: 28px 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4.2vw, 59px); line-height: 1.02; }
.hero-note { max-width: 550px; margin-bottom: 30px; color: #edf1f8; font-size: 17px; line-height: 1.7; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 21px; border-top: 1px solid rgba(255, 255, 255, .3); color: #f4f7ff; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.hero-caption { align-self: flex-end; width: 280px; margin: 0 0 62px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.6); font-family: Georgia, "Times New Roman", serif; font-size: 23px; line-height: 1.25; }
.hero-caption span { display: block; margin-bottom: 9px; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.manifesto { display: grid; grid-template-columns: 1fr 3fr; gap: 70px; padding-top: 92px; padding-bottom: 104px; border-bottom: 1px solid var(--line); }
.manifesto p { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.manifesto h2 { max-width: 850px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4.6vw, 61px); font-weight: 400; line-height: 1.12; }
.rooms { padding-top: 112px; padding-bottom: 130px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(250px, .65fr); gap: 80px; align-items: end; margin-bottom: 50px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 5.2vw, 68px); font-weight: 400; line-height: 1.02; }
.section-heading > p { margin-bottom: 6px; color: var(--muted); line-height: 1.7; }
.room-tabs { display: flex; gap: 8px; margin-bottom: 25px; padding-bottom: 19px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.room-tab { min-width: max-content; padding: 9px 13px; border: 1px solid transparent; border-radius: 4px; color: var(--muted); font-size: 13px; font-weight: 700; }
.room-tab:hover, .room-tab:focus-visible { border-color: #b8c3db; color: var(--ink); }
.room-tab.is-active { background: var(--ink); color: var(--white); }
.room-list { border-top: 1px solid var(--ink); }
.room-story { display: grid; grid-template-columns: 84px 120px 1fr 150px; gap: 28px; align-items: center; min-height: 148px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.room-story[hidden] { display: none; }
.room-visual { display: grid; place-items: center; width: 84px; height: 98px; border-radius: 4px; font-family: Georgia, "Times New Roman", serif; font-size: 38px; }
.visual-culture { background: #dce7ff; color: var(--blue); }
.visual-creative { background: #ffe6bd; color: #9b5b00; }
.visual-wellbeing { background: #dcefe8; color: #206c55; }
.room-index, .room-format { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.room-story h3 { margin: 0 0 7px; font-family: Georgia, "Times New Roman", serif; font-size: 29px; font-weight: 400; line-height: 1.1; }
.room-story p { max-width: 570px; margin: 0; color: var(--muted); font-size: 14px; }
.room-format { text-align: right; }
.empty-state { padding: 30px 0; color: var(--muted); }
.how-band { padding: 112px 0 120px; background: var(--white); }
.section-heading.compact { margin-bottom: 68px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.steps li { min-height: 260px; padding: 24px 30px 30px 0; border-right: 1px solid var(--line); }
.steps li + li { padding-left: 30px; }
.steps li:last-child { border-right: 0; }
.steps span { color: var(--blue); font-size: 12px; font-weight: 800; }
.steps h3 { margin: 78px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 400; line-height: 1.2; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }
.safety { padding: 120px 0; background: var(--ink); color: var(--white); }
.safety-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 100px; }
.safety h2 { max-width: 610px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5.4vw, 70px); font-weight: 400; line-height: 1.05; }
.safety-points { border-top: 1px solid rgba(255,255,255,.35); }
.safety-points article { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.safety-points article > span { color: var(--amber); font-size: 12px; font-weight: 800; }
.safety-points h3 { margin: 0 0 7px; font-size: 16px; }
.safety-points p { margin: 0; color: #bec7d6; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--blue); font-weight: 750; }
.text-link.light { color: var(--white); }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.point-of-view { position: relative; width: 100%; max-width: none; padding: 145px max(32px, calc((100vw - var(--max)) / 2)); background: var(--ink) url("assets/roomie-detail.jpg") center / cover no-repeat; color: var(--white); text-align: center; }
.point-of-view::before { position: absolute; inset: 0; background: rgba(15, 24, 39, .72); content: ""; }
.point-of-view > * { position: relative; z-index: 1; }
.point-of-view h2 { max-width: 880px; margin: 0 auto 28px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5.5vw, 70px); font-weight: 400; line-height: 1.08; }
.point-of-view > p:last-child { max-width: 630px; margin: 0 auto; color: #d8dee9; font-size: 17px; }
.site-footer { padding: 70px 0 24px; border-top: 1px solid var(--line); background: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .8fr 1.2fr; gap: 44px; min-height: 190px; }
.brand-footer { margin-bottom: 18px; }
.footer-grid p { color: var(--muted); }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; font-size: 14px; }
.footer-grid strong { margin-bottom: 6px; font-size: 12px; text-transform: uppercase; }
.footer-grid a[href^="mailto"] { overflow-wrap: anywhere; color: var(--blue); }
.footer-base { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.page-hero { padding: 82px 0 76px; border-bottom: 1px solid var(--line); background: var(--white); }
.page-hero h1 { max-width: 820px; margin: 0 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(52px, 7vw, 88px); font-weight: 400; line-height: 1; }
.page-hero .lede { max-width: 690px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.doc-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 80px; justify-content: center; padding-top: 72px; padding-bottom: 110px; }
.doc-toc { position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; gap: 11px; color: var(--muted); font-size: 13px; }
.doc-toc strong { margin-bottom: 6px; color: var(--ink); text-transform: uppercase; }
.doc-content > section { padding-bottom: 38px; margin-bottom: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.doc-content > section:last-child { border-bottom: 0; }
.doc-content h2 { margin: 0 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: 31px; font-weight: 400; line-height: 1.2; }
.doc-content h3 { margin: 24px 0 8px; font-size: 15px; }
.doc-content p, .doc-content li { color: #4f5868; }
.doc-content a, .support-email a, .faq-list a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.doc-content strong { color: var(--ink); }
.support-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 82px; padding-top: 80px; padding-bottom: 115px; }
.support-email { align-self: start; padding: 28px; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 4px; background: var(--white); }
.support-email span { display: block; margin-bottom: 12px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.support-email a { font-size: clamp(17px, 2vw, 23px); font-weight: 750; }
.support-email p { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list article { padding: 28px 0; border-bottom: 1px solid var(--line); }
.faq-list h2 { margin: 0 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 400; }
.faq-list p { margin: 0; color: var(--muted); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
@media (max-width: 900px) {
  .page-shell { width: min(100% - 40px, var(--max)); }
  .site-header { padding-inline: 20px; }
  .hero-inner { width: min(100% - 40px, var(--max)); }
  .hero-copy { width: 70%; }
  .manifesto { grid-template-columns: 1fr; gap: 24px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .room-story { grid-template-columns: 72px 100px 1fr; }
  .room-visual { width: 72px; height: 86px; }
  .room-format { display: none; }
  .safety-grid { grid-template-columns: 1fr; gap: 62px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
  .doc-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 48px; }
  .support-layout { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 660px) {
  .site-header { height: 68px; }
  .site-nav { position: fixed; z-index: 39; inset: 68px 0 auto; display: none; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-nav a { width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; }
  .menu-open .site-nav { display: flex; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero, .hero-inner { min-height: 650px; }
  .hero { background-position: 58% center; }
  .hero-inner { display: block; }
  .hero-copy { width: 100%; padding-top: 52px; padding-bottom: 38px; }
  .hero h1 { font-size: clamp(72px, 23vw, 92px); }
  .hero-line { margin: 20px 0 18px; font-size: 34px; }
  .hero-note { margin-bottom: 22px; font-size: 14px; line-height: 1.55; }
  .hero-meta { padding-top: 16px; }
  .hero-caption { position: absolute; right: 0; bottom: 32px; width: 200px; margin: 0; font-size: 18px; }
  .manifesto { padding-top: 28px; padding-bottom: 74px; }
  .manifesto h2 { font-size: 35px; }
  .rooms { padding-top: 78px; padding-bottom: 88px; }
  .section-heading { margin-bottom: 36px; }
  .section-heading h2 { font-size: 42px; }
  .room-story { grid-template-columns: 68px 1fr; gap: 16px; min-height: 0; }
  .room-visual { grid-row: 1 / 3; width: 68px; height: 82px; }
  .room-index { align-self: end; }
  .room-story h3 { font-size: 24px; }
  .room-story p { display: none; }
  .how-band, .safety { padding: 80px 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { min-height: 0; padding: 24px 0 30px; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps h3 { margin-top: 38px; }
  .safety h2 { font-size: 43px; }
  .point-of-view { padding-top: 84px; padding-bottom: 92px; }
  .point-of-view h2 { font-size: 41px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 22px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-base { flex-direction: column; gap: 8px; }
  .page-hero { padding: 58px 0 54px; }
  .page-hero h1 { font-size: 52px; }
  .page-hero .lede { font-size: 16px; }
  .doc-layout { display: block; padding-top: 48px; padding-bottom: 78px; }
  .doc-toc { position: static; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 52px; }
  .doc-toc strong { grid-column: 1 / -1; }
  .support-layout { padding-top: 50px; padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
