@font-face {
  font-family: "Zen Maru Gothic Local";
  src: url("fonts/ZenMaruGothic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* The consolidated wrapper owns the comparison switcher and G2 boundary notice. */
.prototype-note,
.prototype-switcher { display: none !important; }

@font-face {
  font-family: "Zen Maru Gothic Local";
  src: url("fonts/ZenMaruGothic-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zen Maru Gothic Local";
  src: url("fonts/ZenMaruGothic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #24363a;
  --muted: #58696d;
  --paper: #f7f3ea;
  --surface: #fffdf8;
  --line: #d6d0c2;
  --focus: #0b6574;
  --new: #276c68;
  --new-soft: #dbeae6;
  --info: #825035;
  --info-soft: #f0e0d2;
  --guide: #556075;
  --guide-soft: #e2e5eb;
  --law: #7b4f65;
  --law-soft: #eadde4;
  --usage: #58612b;
  --usage-soft: #e6e7d8;
  --shadow: 0 18px 46px rgba(43, 53, 51, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 11% 3%, rgba(139, 90, 60, .08), transparent 24rem),
    radial-gradient(circle at 90% 11%, rgba(39, 108, 104, .08), transparent 28rem),
    var(--paper);
  font-family: "Zen Maru Gothic Local";
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: .012em;
}

a { color: inherit; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; }
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 99;
  padding: 10px 16px; color: white; background: #183a42;
  transform: translateY(-150%); border-radius: 9px;
}
.skip-link:focus { transform: translateY(0); }

.prototype-note {
  min-height: 40px; display: flex; align-items: center; justify-content: center;
  padding: 6px 16px; color: #405459; background: #e8e3d9;
  border-bottom: 1px solid #d2ccbf; font-size: 14px; text-align: center;
}
.site-header {
  position: relative; z-index: 4; background: rgba(255,253,248,.94);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(10px);
}
.header-inner {
  max-width: 1210px; min-height: 82px; margin: auto; padding: 12px 30px;
  display: grid; grid-template-columns: 238px minmax(0,1fr) auto; gap: 24px; align-items: center;
}
.brand { min-height: 44px; text-decoration: none; display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid #9b8e78;
  border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: #3f5b59; box-shadow: inset 0 0 0 5px #e8dfcf;
  font-weight: 700;
}
.brand-copy { display: grid; line-height: 1.25; }
.brand-copy strong { font-size: 21px; letter-spacing: .08em; }
.brand-copy small { color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.global-nav { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.global-nav a {
  min-height: 44px; padding: 9px 11px; display: inline-flex; align-items: center;
  text-decoration: none; border-radius: 9px; font-size: 16px; font-weight: 500;
}
.global-nav a:hover, .global-nav a[aria-current="page"] { background: #eee8dc; }
.member-button, .primary-button, .secondary-button {
  min-height: 46px; border-radius: 999px; padding: 9px 18px; display: inline-flex;
  align-items: center; justify-content: center; gap: 7px; text-decoration: none;
  border: 1px solid #31585d; font-weight: 700; cursor: pointer;
}
.member-button, .primary-button { background: #31585d; color: white; }
.secondary-button { background: transparent; color: #31585d; }
.mobile-menu { display: none; }

main { min-height: 72vh; }
.shell { width: min(1210px, calc(100% - 60px)); margin: 0 auto; }
.eyebrow { margin: 0 0 7px; color: #6f604c; font-size: 14px; font-weight: 700; letter-spacing: .12em; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(34px, 4.1vw, 58px); line-height: 1.3; letter-spacing: .04em; }
h2 { margin: 0; font-size: clamp(25px, 2.8vw, 38px); line-height: 1.42; letter-spacing: .035em; }
h3 { margin: 0; font-size: 20px; line-height: 1.5; }
.lead { max-width: 47rem; margin: 16px 0 0; color: var(--muted); font-size: 18px; }

.lounge-hero { position: relative; min-height: 560px; overflow: hidden; background: #263b3d; }
.lounge-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,31,33,.88), rgba(15,31,33,.38) 58%, rgba(15,31,33,.1)); pointer-events: none; }
.lounge-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; animation: lounge-breathe 16s ease-in-out infinite alternate; }
@keyframes lounge-breathe { from { transform: scale(1.01) translateX(0); } to { transform: scale(1.055) translateX(-1%); } }
.club-intro { position: relative; z-index: 1; min-height: 560px; padding: 78px 0 64px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 70px; align-items: end; color: #fff; }
.club-intro .eyebrow, .club-intro .lead { color: rgba(255,255,255,.86); }
.lounge-hero .tonight-card { align-self: end; min-height: 230px; max-height: 260px; border-color: rgba(255,255,255,.38); background: rgba(18,38,39,.78); color: white; box-shadow: 0 18px 46px rgba(0,0,0,.22); backdrop-filter: blur(10px); }
.lounge-hero .tonight-card p, .lounge-hero .tonight-card .eyebrow { color: rgba(255,255,255,.82); }
.ambient-toggle { position: absolute; z-index: 2; right: max(24px,calc((100% - 1210px)/2)); bottom: 18px; min-height: 42px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.68); border-radius: 999px; background: rgba(18,39,40,.72); color: white; cursor: pointer; backdrop-filter: blur(8px); }
.ambient-stopped .lounge-hero-image { animation-play-state: paused; }
.tonight-card {
  align-self: stretch; padding: 23px 25px; border: 1px solid #b9b09f; border-radius: 18px;
  background: rgba(255,253,248,.8); box-shadow: var(--shadow); display: grid; align-content: center;
}
.tonight-card strong { display: block; margin-top: 4px; font-size: 19px; }
.tonight-card p { margin: 6px 0 0; color: var(--muted); }

.room-plan { padding: 26px 0 70px; }
.room-plan-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 18px; }
.room-plan-head p { max-width: 34rem; margin: 0; color: var(--muted); }
.rooms {
  display: grid; grid-template-columns: 1.35fr .82fr .82fr; grid-template-rows: minmax(260px, auto) minmax(260px, auto); grid-auto-rows: minmax(260px, auto);
  gap: 16px;
}
.room {
  position: relative; min-width: 0; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 45%, #aea694);
  border-radius: 18px; background: linear-gradient(145deg, var(--room-soft), #fffdf8 70%);
  text-decoration: none; padding: 28px; box-shadow: 0 9px 25px rgba(43,53,51,.06);
  display: flex; flex-direction: column; justify-content: space-between;
}
.room-image { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .8s ease; }
.room-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,25,26,.18), rgba(12,25,26,.88)); }
.room > *:not(.room-image):not(.room-shade) { position: relative; z-index: 1; }
.room::after { display: none; }
.room:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.room:hover .room-image, .room:focus-visible .room-image { transform: scale(1.065); filter: saturate(1.08); }
.room--new { --accent: var(--new); --room-soft: var(--new-soft); grid-row: 1 / 3; }
.room--info { --accent: var(--info); --room-soft: var(--info-soft); }
.room--guide { --accent: var(--guide); --room-soft: var(--guide-soft); }
.room--law { --accent: var(--law); --room-soft: var(--law-soft); }
.room--history { --accent: var(--guide); --room-soft: var(--guide-soft); }
.room--usage { grid-column: 1 / -1; --accent: var(--usage); --room-soft: var(--usage-soft); }
.room-code { display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.room-icon { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 22px; }
.room h3 { max-width: 18rem; color: #fff; font-size: clamp(22px, 2.2vw, 31px); }
.room p { max-width: 29rem; margin: 8px 0 0; color: rgba(255,255,255,.82); }
.room-link { position: relative; z-index: 1; min-height: 44px; align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; }
.room--info .room-icon { border-radius: 10px; }
.room--guide .room-icon { border-radius: 4px 22px 4px 22px; }
.room--law .room-icon { border-style: double; border-width: 4px; }
.room--usage .room-icon { border-radius: 50% 50% 12px 12px; }
.room-feature { padding: 14px 0 54px; }
.format-section { padding: 0 0 58px; }
.format-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.format-card { min-width: 0; min-height: 108px; padding: 17px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; }
.format-card:hover, .format-card.is-current { border-color: var(--info); background: var(--info-soft); }
.format-card strong, .format-card small { display: block; }
.format-card small { margin-top: 3px; color: var(--muted); }
.format-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--info-soft); color: #31585d; font-weight: 700; }
.format-selector { margin-bottom: 22px; }
.format-selector h2 { margin-bottom: 12px; font-size: 23px; }
.mobile-only { display: none; }
.feature-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; display: grid; grid-template-columns: 150px minmax(0,1fr) auto; gap: 26px; align-items: center; }
.feature-strip time, .meta { color: var(--muted); font-size: 14px; }
.feature-strip h2 { font-size: 25px; }

.page-band {
  padding: 46px 0 28px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 30%, color-mix(in srgb, var(--room-accent, var(--new)) 9%, transparent), transparent 20rem),
    linear-gradient(100deg, color-mix(in srgb, var(--room-soft, var(--new-soft)) 35%, transparent), transparent 48%);
}
.room-context { display: grid; grid-template-columns: 230px 56px minmax(0,1fr); gap: 18px; align-items: center; }
.room-context-image { width: 230px; height: 132px; margin: 0; overflow: hidden; border-radius: 14px; background: var(--room-soft,var(--new-soft)); }
.room-context-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.room-context .room-icon { color: var(--room-accent, var(--new)); }
.crumbs { margin-bottom: 16px; color: var(--muted); font-size: 15px; }
.crumbs a { min-height: 44px; display: inline-flex; align-items: center; }
.room-layout { padding: 34px 0 80px; display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 54px; }
.room-rail { min-width: 0; }
.room-rail nav { display: grid; gap: 4px; }
.room-rail a {
  min-height: 48px; padding: 10px 13px; border-left: 4px solid transparent; border-radius: 0 9px 9px 0;
  display: flex; justify-content: space-between; align-items: center; text-decoration: none;
}
.room-rail a[aria-current="page"] { border-color: var(--room-accent, var(--new)); background: var(--room-soft, var(--new-soft)); font-weight: 700; }
.rail-note { margin-top: 24px; padding: 16px; background: #ece6db; border-radius: 12px; color: #4f5b5d; font-size: 15px; }
.rail-note strong { display: block; color: var(--ink); }
.content { min-width: 0; }
.filter-panel { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.filter-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 15px; }
.filter-heading h2 { font-size: 21px; }
.filter-reset { min-height: 44px; border: 0; background: transparent; color: #31585d; font-weight: 700; cursor: pointer; }
.filters { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.filter { display: grid; gap: 7px; color: #4d5d60; font-size: 14px; }
.filter select { width: 100%; min-height: 48px; padding: 9px 36px 9px 12px; color: var(--ink); background: white; border: 1px solid #a7a294; border-radius: 9px; }
.results-heading { margin: 32px 0 12px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.results-heading p { margin: 0; color: var(--muted); }
.article-list { border-top: 1px solid #bdb6a8; }
.article-row {
  display: grid; grid-template-columns: 156px 86px minmax(0,1fr) auto; gap: 20px; align-items: start;
  padding: 24px 4px; border-bottom: 1px solid var(--line); text-decoration: none;
}
.article-row > img { width: 156px; height: 108px; display: block; object-fit: cover; border-radius: 12px; }
.article-row:hover h3 { color: #2c6667; }
.article-row h3 { font-size: 22px; }
.article-row p { margin: 7px 0 0; color: var(--muted); }
.article-row .date { font-size: 14px; color: var(--muted); }
.access-badge { min-width: 92px; padding: 6px 10px; border: 1px solid #8d877c; border-radius: 999px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.access-badge.member { background: #e5ece7; border-color: #779080; }
.access-badge.premium { background: #efe7d3; border-color: #a8894e; }

.article-shell { width: min(790px, 100%); }
.article-header { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article-header h1 { font-size: clamp(32px, 4vw, 49px); }
.article-room-image { height: 330px; margin: 26px 0 0; overflow: hidden; border-radius: 18px; background: var(--room-soft,var(--new-soft)); }
.article-room-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.article-room-image figcaption { position: relative; margin-top: -44px; padding: 11px 15px; color: white; background: linear-gradient(transparent,rgba(10,28,29,.84)); font-size: 13px; }
.article-meta { margin-top: 17px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; color: var(--muted); }
.article-body { padding-top: 28px; font-size: 18px; line-height: 1.95; }
.article-body h2 { margin: 42px 0 14px; font-size: 28px; }
.article-body p { margin: 0 0 1.5em; }
.quote-note { margin: 28px 0; padding: 20px 22px; background: var(--room-soft, var(--new-soft)); border-left: 5px solid var(--room-accent, var(--new)); border-radius: 0 12px 12px 0; }
.access-panel { margin-top: 30px; padding: 28px; border: 1px solid #b9aa8c; border-radius: 18px; background: #fbf5e8; }
.access-panel h2 { font-size: 25px; }
.access-panel p { margin: 8px 0 20px; color: #4f5f61; }
.access-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.premium-note { display: flex; gap: 12px; align-items: flex-start; }
.premium-note::before { content: "◇"; color: #876c35; font-size: 28px; }

.state-wrap { padding: 58px 0 90px; }
.state-card { max-width: 760px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.state-card h1 { font-size: 34px; }
.state-card p { color: var(--muted); }
.state-icon { width: 62px; height: 62px; margin-bottom: 18px; display: grid; place-items: center; border: 1px solid #8d998f; border-radius: 50%; background: #e6ece7; font-size: 28px; }
.skeleton { display: grid; gap: 13px; margin-top: 22px; }
.skeleton span { height: 18px; border-radius: 99px; background: linear-gradient(90deg, #e7e1d5 20%, #f4f0e8 50%, #e7e1d5 80%); background-size: 200% 100%; animation: shimmer 1.5s linear infinite; }
.skeleton span:nth-child(2) { width: 78%; }
.skeleton span:nth-child(3) { width: 56%; }
@keyframes shimmer { to { background-position: -200% 0; } }

.site-footer { padding: 30px 0 100px; color: #59686a; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.prototype-switcher {
  position: fixed; left: 50%; bottom: 16px; z-index: 20; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; padding: 7px 9px; color: white; background: #1f3034;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px; box-shadow: 0 13px 38px rgba(0,0,0,.24);
}
.prototype-switcher a { min-height: 44px; padding: 8px 13px; display: inline-flex; align-items: center; border-radius: 999px; text-decoration: none; }
.prototype-switcher a.is-active { color: #1f3034; background: #f3eadb; font-weight: 700; }

body[data-room="info"] { --room-accent: var(--info); --room-soft: var(--info-soft); }
body[data-room="guide"] { --room-accent: var(--guide); --room-soft: var(--guide-soft); }
body[data-room="law"] { --room-accent: var(--law); --room-soft: var(--law-soft); }
body[data-room="usage"] { --room-accent: var(--usage); --room-soft: var(--usage-soft); }
body[data-room="new"] { --room-accent: var(--new); --room-soft: var(--new-soft); }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: minmax(0,1fr) auto; }
  .global-nav { display: none; grid-column: 1 / -1; justify-content: flex-start; padding: 6px 0 12px; }
  .site-header.menu-open .global-nav { display: flex; }
  .member-button { display: none; }
  .mobile-menu { min-width: 74px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #7f8d8c; border-radius: 999px; color: var(--ink); background: white; font-weight: 700; }
  .club-intro { grid-template-columns: 1fr 300px; gap: 36px; }
  .room-context { grid-template-columns: 180px 50px minmax(0,1fr); }
  .room-context-image { width: 180px; }
  .rooms { grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(3, minmax(260px, auto)); }
  .format-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .room--new { grid-row: 1 / 3; }
  .room--usage { grid-column: 1 / -1; }
  .room-layout { grid-template-columns: 210px minmax(0,1fr); gap: 30px; }
}

@media (max-width: 700px) {
  body { font-size: 16px; line-height: 1.68; }
  .prototype-note { min-height: 34px; font-size: 12px; }
  .header-inner { min-height: 72px; padding: 10px 18px; gap: 12px; }
  .brand-copy strong { font-size: 19px; }
  .brand-copy small { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .shell { width: min(100% - 34px, 1210px); }
  h1 { font-size: clamp(30px, 9vw, 39px); line-height: 1.34; }
  .lead { font-size: 17px; }
  .lounge-hero, .club-intro { min-height: 520px; }
  .club-intro { padding: 50px 0 58px; grid-template-columns: 1fr; gap: 16px; align-content: end; }
  .club-intro h1 { font-size: clamp(24px, 7.8vw, 39px); }
  .club-intro h1 br { display: initial; }
  .club-intro .lead { margin-top: 11px; }
  .club-intro > .tonight-card { display: none; }
  .mobile-only.tonight-card { display: grid; margin-top: 14px; padding: 14px 17px; }
  .tonight-card p { font-size: 15px; }
  .room-plan { padding: 20px 0 48px; }
  .room-plan-head { display: block; margin-bottom: 15px; }
  .room-plan-head p { margin-top: 8px; }
  .rooms { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto; gap: 11px; }
  .room, .room--new, .room--usage { grid-column: auto; grid-row: auto; min-height: 168px; padding: 20px; }
  .room--new { min-height: 222px; }
  .room h3 { font-size: 24px; }
  .room-icon { width: 45px; height: 45px; font-size: 20px; }
  .room p { margin-top: 5px; }
  .format-section { padding-bottom: 42px; }
  .format-grid { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .format-card { min-height: 78px; padding: 12px 14px; }
  .feature-strip { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .feature-strip h2 { font-size: 22px; }
  .feature-strip .secondary-button { justify-self: start; }
  .page-band { padding: 30px 0 20px; }
  .room-context { grid-template-columns: 64px minmax(0,1fr); }
  .room-context-image { grid-column: 1 / -1; width: 100%; height: 170px; }
  .room-layout { padding: 24px 0 60px; grid-template-columns: minmax(0,1fr); gap: 22px; }
  .room-rail { order: 0; overflow: visible; padding-bottom: 0; }
  .room-rail nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; gap: 7px; }
  .room-rail a { min-width: 0; min-height: 46px; padding-inline: 8px; border: 1px solid #b7b0a2; border-radius: 999px; justify-content: center; gap: 5px; font-size: 15px; }
  .room-rail a[aria-current="page"] { border-color: var(--room-accent); }
  .rail-note { display: none; }
  .filters { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .filter:last-child { grid-column: 1 / -1; }
  .filter-heading { align-items: start; }
  .article-row { grid-template-columns: 92px minmax(0,1fr); gap: 10px 14px; padding: 20px 0; }
  .article-row > img { width: 92px; height: 74px; }
  .article-row .date { grid-column: 1; }
  .article-row .access-badge { grid-column: 2; justify-self: start; }
  .article-row h3 { font-size: 19px; line-height: 1.55; }
  .article-row p { font-size: 15px; }
  .results-heading { display: block; }
  .results-heading p { margin-top: 4px; }
  .article-header h1 { font-size: clamp(28px, 8vw, 35px); }
  .article-body { font-size: 17px; line-height: 1.88; }
  .article-body h2 { font-size: 24px; }
  .access-panel { padding: 22px 19px; }
  .access-actions { display: grid; }
  .site-footer { padding-bottom: 92px; }
  .footer-inner { display: grid; }
  .prototype-switcher { width: calc(100% - 24px); bottom: 8px; justify-content: center; padding: 5px; }
  .prototype-switcher a { padding-inline: 12px; text-align: center; }
  body[data-view="detail"] .page-band { padding: 18px 0 15px; }
  body[data-view="detail"] .page-band .lead { display: none; }
  body[data-view="detail"] .page-band .crumbs { margin-bottom: 9px; }
  body[data-view="detail"] .page-band .room-context { grid-template-columns: 42px minmax(0,1fr); gap: 12px; }
  body[data-view="detail"] .page-band .room-context-image { display: none; }
  body[data-view="detail"] .page-band .room-icon { width: 42px; height: 42px; }
  body[data-view="detail"] .page-band h1 { font-size: 27px; }
  body[data-view="detail"] .room-layout { padding-top: 17px; }
}

@media (max-width: 390px) {
  .shell { width: min(100% - 28px, 1210px); }
  .brand { gap: 8px; }
  .mobile-menu { min-width: 68px; }
  .filters { grid-template-columns: 1fr; }
  .filter:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .room:hover { transform: none; }
  .lounge-hero-image { animation: none; transform: none; }
  .room:hover .room-image, .room:focus-visible .room-image { transform: none; }
}

/* A separate editorial note, outside the six room categories. */
.editor-note { padding: 0 0 64px; }
.editor-note-card { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.editor-note-card h2 { margin-bottom: 14px; }
.editor-note-intro { max-width: 42rem; margin: 0; color: var(--muted); }
.editor-note-empty { margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); }

/* WordPress native reading surfaces. */
.header-inner { max-width: 1480px; margin: auto; grid-template-columns: 228px minmax(0,1fr) auto; gap: 18px; }
.global-nav a { font-size: 16px; white-space: nowrap; }
.member-button { display: flex; flex-direction: column; align-items: center; line-height: 1.5; padding: 9px 16px; }
.member-button span { font-size: 14px; }
.lounge-hero-image { animation: none; }
.room--relax-info { --accent: var(--info); --room-soft: var(--info-soft); }
.room--relax-notes { --accent: var(--guide); --room-soft: var(--guide-soft); }
.room--usage { grid-column: 1 / -1; }
.room p { max-width: 32rem; }
.home-readings { padding-bottom: 56px; }
.category-links { display: flex; flex-direction: column; margin: 12px 0 30px; border-top: 1px solid var(--line); }
.category-links a { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 4px; border-bottom: 1px solid var(--line); text-underline-offset: 5px; }
.back-link, .text-link { display: inline-flex; min-height: 44px; align-items: center; padding: 12px 0; text-underline-offset: 5px; }
.back-link { margin: 8px 0 24px; }
.section-intro { margin: 20px 0 30px; color: var(--muted); }
.list-heading { margin: 30px 0 8px; }
.reading-row { padding: 24px 0; border-bottom: 1px solid var(--line); }
.reading-row h2 { font-size: clamp(23px,2.3vw,30px); margin: 10px 0; }
.reading-row p { margin: 10px 0; }
.reading-row h2 a { text-decoration-thickness: 1px; text-underline-offset: 5px; }
.article-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; font-size: 15px; color: var(--muted); }
.recommendation { margin: 16px 0; padding-left: 18px; border-left: 3px solid #779080; }
.recommendation strong { color: #31585d; }
.metric-note { background: #eee9df; padding: 18px; border-radius: 10px; font-size: 15px; overflow-wrap: anywhere; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0; }
.article-tags a { display: inline-flex; min-height: 44px; align-items: center; }
.empty-note { padding: 22px 0; color: var(--muted); }
.simple-page { padding-top: 34px; padding-bottom: 54px; max-width: 960px; }
.simple-page > h1, .simple-page > section { margin-bottom: 28px; }
.simple-page .article-header { margin-bottom: 30px; }
.native-article-image { display: block; width: 100%; max-height: 520px; object-fit: cover; height: auto; border-radius: 16px; }
.article-body img { max-width: 100%; height: auto; }
.article-body iframe { max-width: 100%; }
.article-body { overflow-wrap: anywhere; }
.editorial-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(240px,1fr); gap: 48px; padding-top: 38px; padding-bottom: 32px; }
.editorial-layout h2 { font-size: 28px; margin-bottom: 20px; }
.editorial-layout .editor-note-card { margin-top: 18px; }
.archive-links { list-style: none; padding: 0; }
.archive-links li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.archive-links a { display: inline-block; padding: 8px 0; min-height: 44px; }
.archive-links small { display: block; color: var(--muted); font-size: 15px; }
.access-labels { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer { padding-bottom: 40px; }
.pagination { display: flex; flex-wrap: wrap; gap: 10px; padding: 28px 0; }
.pagination a, .pagination span { min-width: 44px; min-height: 44px; display: inline-flex; justify-content: center; align-items: center; }
@media(max-width: 1100px) {
  .header-inner { grid-template-columns: minmax(0,1fr) auto auto; }
  .mobile-menu { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink); }
  .global-nav { display:none; grid-column:1/-1; justify-content:flex-start; }
  .menu-open .global-nav { display:flex; }
  .member-button { display:flex; }
}
@media(max-width:700px) {
  .header-inner { grid-template-columns: minmax(0,1fr) auto; }
  .member-button { grid-column:1/-1; flex-direction:row; justify-content:center; gap:10px; }
  .club-intro h1 { font-size:clamp(24px,7.8vw,39px); }
  .club-intro h1 br { display:initial; }
  .rooms { grid-auto-rows:auto; }
  .room { min-height:250px; }
  .room--new { grid-row:auto; }
  .room--usage { grid-column:auto; }
  .room-rail nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .room-rail a { white-space:normal; }
  .editorial-layout { grid-template-columns:minmax(0,1fr); gap:28px; }
  .simple-page { padding-top:24px; }
  .footer-inner { display:block; }
  .footer-links { margin-top:20px; }
}

@media(max-width:700px) { .lounge-hero-image { object-position: 68% center; } .room-layout > .content { order: 1; } .room-layout > .room-rail { order: 2; margin-top: 18px; } }

.simple-page .article-header h1 { font-size:clamp(28px,3vw,40px); line-height:1.4; }
.simple-page .article-header { padding-bottom:20px; }
.simple-page .article-body { padding-top:12px; }

/* Contextual lower-page visuals, including empty lists and unillustrated articles. */
.page-visual { margin: 0 0 34px; overflow: hidden; border-radius: 20px; background: #e8e8d9; }
.page-band + .shell > .page-visual { margin-top: 4px; }
.page-visual img { display: block; width: 100%; height: clamp(180px,25vw,310px); object-fit: cover; }
.page-visual--illustration img { object-fit: contain; }
.simple-page .page-visual { margin-top: 24px; }
@media(max-width:700px) { .page-visual { margin-bottom:24px; border-radius:14px; } .page-visual img { height:auto; aspect-ratio: 15 / 7; } }
