/* Spaces Coworking — public site.
   A calm, unhurried page. Cool porcelain ground drawn from the workspace
   photography; a single warm caramel note reserved for the Brue Coffee room. */

:root {
  --porcelain: #f5f7f6;
  --cloud: #e9eeec;
  --hairline: #dde4e2;
  --ink: #1f262a;
  --ink-soft: #39444a;
  --slate: #64757a;
  --spruce: #35606b;
  --spruce-deep: #294d56;
  --brue: #b98a5e;
  --brue-soft: #d8b18a;
  --white: #ffffff;
  --radius: 20px;
  --shell: 1120px;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--porcelain);
  color: var(--ink);
  font-family: "Albert Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3 {
  font-family: "Newsreader", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  max-width: 58ch;
}

a {
  color: var(--spruce);
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

::selection {
  background: rgba(53, 96, 107, 0.16);
}

:focus-visible {
  outline: 2px solid var(--spruce);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- shared pieces ---------- */

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--spruce);
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow.coffee-ink {
  color: var(--brue-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background-color 260ms var(--ease), color 260ms var(--ease),
    border-color 260ms var(--ease), transform 260ms var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.ink-button {
  background: var(--spruce);
  color: var(--white);
}

.ink-button:hover {
  background: var(--spruce-deep);
}

.light-button {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.light-button:hover {
  background: var(--white);
}

.coffee-button {
  background: var(--brue);
  color: #241a10;
}

.coffee-button:hover {
  background: var(--brue-soft);
}

.text-button {
  border: 0;
  background: none;
  color: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(185, 138, 94, 0.6);
}

/* Scroll reveals — gentle rise. Hidden state only applies once JS is
   confirmed running (html.js), so content is never lost without it. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.js [data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 4vw, 44px);
  transition: background-color 320ms var(--ease), box-shadow 320ms var(--ease),
    padding 320ms var(--ease);
}

.site-header .logo img {
  height: 30px;
  width: auto;
}

.site-header .logo-dark {
  display: none;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
}

.site-header nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 240ms var(--ease), border-color 240ms var(--ease);
}

.site-header nav a:hover {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.site-header nav .brue-nav {
  color: var(--brue-soft);
}

.header-cta {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(31, 38, 42, 0.25);
  color: var(--white);
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(6px);
  transition: background-color 240ms var(--ease), border-color 240ms var(--ease),
    color 240ms var(--ease);
}

.header-cta:hover {
  background: rgba(255, 255, 255, 0.94);
  border-color: transparent;
  color: var(--ink);
}

.site-header.stuck {
  background: rgba(245, 247, 246, 0.92);
  box-shadow: 0 1px 0 var(--hairline);
  backdrop-filter: blur(14px);
  padding-block: 12px;
}

.site-header.stuck .logo-light { display: none; }
.site-header.stuck .logo-dark { display: block; }

.site-header.stuck nav a {
  color: var(--ink-soft);
}

.site-header.stuck nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--hairline);
}

.site-header.stuck nav .brue-nav {
  color: var(--spruce);
}

.site-header.stuck .header-cta {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--porcelain);
}

.menu-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
}

.menu-button span {
  width: 22px;
  height: 1.6px;
  background: var(--white);
  transition: transform 260ms var(--ease), background-color 260ms var(--ease);
}

.site-header.stuck .menu-button span {
  background: var(--ink);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(21, 27, 30, 0.82) 0%,
    rgba(21, 27, 30, 0.42) 46%,
    rgba(21, 27, 30, 0.3) 100%
  );
}

.hero-inner {
  position: relative;
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
  padding: 140px 0 clamp(64px, 10vh, 110px);
  color: var(--white);
}

.hero-inner h1 {
  margin-top: 18px;
  font-size: clamp(44px, 7vw, 82px);
  max-width: 12ch;
}

.hero-inner > p {
  margin-top: 22px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: rgba(255, 255, 255, 0.88);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 38px;
}

.hero-actions a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 3px;
}

.hero-actions a span {
  display: inline-block;
  transition: transform 260ms var(--ease);
}

.hero-actions a:hover span {
  transform: translateY(3px);
}

.hero-inner small {
  display: block;
  margin-top: 30px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  max-width: 52ch;
  line-height: 1.6;
}

/* Load-in: the hero settles rather than snaps. */
@keyframes hero-settle {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.hero-inner > * {
  animation: hero-settle 900ms var(--ease) both;
}

.hero-inner > .eyebrow { animation-delay: 80ms; }
.hero-inner > h1 { animation-delay: 180ms; }
.hero-inner > p { animation-delay: 300ms; }
.hero-inner > .hero-actions { animation-delay: 420ms; }
.hero-inner > small { animation-delay: 540ms; }

/* ---------- brue coffee: the one warm, dark room ---------- */

.brue {
  background: #191f22;
  color: #ece5db;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 84px);
  padding: clamp(72px, 9vw, 130px) clamp(24px, 6vw, 96px);
}

.brue-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.brue-stamp {
  position: absolute;
  left: 22px;
  bottom: 20px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 19px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

.brue-stamp i {
  color: var(--brue-soft);
}

.brue-copy h2 {
  margin-top: 16px;
  font-size: clamp(34px, 3.6vw, 52px);
  color: #f4efe7;
  max-width: 16ch;
}

.brue-copy > p {
  margin-top: 20px;
  color: rgba(236, 229, 219, 0.78);
  max-width: 46ch;
}

.brue-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.brue .text-button {
  color: rgba(236, 229, 219, 0.85);
}

.word-line {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(236, 229, 219, 0.16);
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: rgba(236, 229, 219, 0.6);
}

.word-line span {
  color: var(--brue);
  padding-inline: 8px;
}

/* ---------- section rhythm ---------- */

.experience,
.memberships,
.amenities,
.location {
  padding-block: clamp(80px, 10vw, 150px);
}

.section-intro {
  max-width: 660px;
}

.section-intro h2 {
  margin-top: 16px;
  font-size: clamp(32px, 3.4vw, 48px);
  color: var(--ink);
}

.section-intro > p {
  margin-top: 16px;
  color: var(--slate);
}

/* ---------- experience slider ---------- */

.experience-viewer {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  margin-top: clamp(40px, 5vw, 64px);
}

.experience-photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cloud);
}

.experience-photo img {
  width: 100%;
  height: clamp(340px, 44vw, 560px);
  object-fit: cover;
  transition: opacity 420ms var(--ease);
}

.experience-copy {
  padding-bottom: 8px;
}

#experience-count {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--slate);
}

#experience-title {
  margin-top: 14px;
  font-size: clamp(30px, 3vw, 42px);
}

#experience-text {
  margin-top: 14px;
  color: var(--slate);
  max-width: 38ch;
}

.slider-controls {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.slider-controls button {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  transition: background-color 240ms var(--ease), border-color 240ms var(--ease),
    color 240ms var(--ease), transform 240ms var(--ease);
}

.slider-controls button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--porcelain);
  transform: translateY(-1px);
}

/* ---------- memberships: a quiet price ledger ---------- */

.memberships-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}

.memberships-intro > div {
  max-width: 620px;
}



.plan-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(31, 38, 42, 0.1);
}

.plan-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cloud);
}

.plan-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.plan-card:hover .plan-photo img {
  transform: scale(1.04);
}

.plan-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: clamp(22px, 2.4vw, 30px);
}

.plan-body h3 {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 500;
}

.plan-tagline {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.6;
}

.plan-price {
  margin-top: auto;
  padding-top: 10px;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  font-size: clamp(22px, 2vw, 27px);
  color: var(--ink);
}

.plan-price small {
  font-family: "Albert Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--slate);
}

.plan-cta {
  width: max-content;
  font-weight: 500;
  border-bottom: 1px solid rgba(53, 96, 107, 0.35);
  padding-bottom: 2px;
}

.short-stays {
  margin-top: 34px;
  font-size: 15.5px;
  color: var(--slate);
  max-width: none;
}

.short-stays b {
  color: var(--ink);
  font-weight: 600;
}

.memberships .ink-button {
  margin-top: 30px;
}

/* ---------- amenities ---------- */

.amenities {
  background: var(--cloud);
  border-block: 1px solid var(--hairline);
}

.amenity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-top: clamp(40px, 5vw, 60px);
}

.amenity-list {
  display: flex;
  flex-direction: column;
}

.amenity-list button {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 6px;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  background: none;
  text-align: left;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--slate);
  transition: color 260ms var(--ease), padding-left 260ms var(--ease);
}

.amenity-list button::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--hairline);
  flex: none;
  transition: background-color 260ms var(--ease), transform 260ms var(--ease);
}

.amenity-list button:hover {
  color: var(--ink);
}

.amenity-list button.active {
  color: var(--ink);
  font-weight: 500;
  padding-left: 10px;
}

.amenity-list button.active::before {
  background: var(--spruce);
  transform: scale(1.35);
}

.amenity-photo {
  border-radius: var(--radius);
  overflow: hidden;
}

.amenity-photo img {
  width: 100%;
  height: clamp(320px, 40vw, 520px);
  object-fit: cover;
  transition: opacity 420ms var(--ease);
}

/* ---------- invitation ---------- */

.invitation {
  position: relative;
  min-height: 72svh;
  display: flex;
  align-items: center;
}

.invitation > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.invitation-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(21, 27, 30, 0.78) 10%,
    rgba(21, 27, 30, 0.35) 70%
  );
}

.invitation-copy {
  position: relative;
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
  color: var(--white);
  padding-block: clamp(72px, 10vw, 120px);
}

.invitation-copy h2 {
  margin-top: 16px;
  font-size: clamp(32px, 3.6vw, 52px);
  max-width: 20ch;
}

.invitation-copy p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
}

.invitation-copy > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 34px;
}

.invitation-copy > div a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 3px;
}

/* ---------- location ---------- */

.location {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 90px);
  align-items: start;
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.location h2 {
  margin-top: 14px;
  font-size: clamp(32px, 3.2vw, 44px);
}

.location > div > p {
  margin-top: 16px;
  color: var(--slate);
  line-height: 1.8;
}

.entrance-note {
  margin-top: 30px;
  max-width: 230px;
}

.entrance-note img {
  border-radius: 14px;
  border: 1px solid var(--hairline);
}

.entrance-note figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--slate);
}

.contact-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
}

.contact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
  font-size: clamp(16px, 1.6vw, 19px);
  transition: padding-left 260ms var(--ease), color 260ms var(--ease);
}

.contact-list a::after {
  content: "→";
  color: var(--spruce);
  font-size: 15px;
  transition: transform 260ms var(--ease);
}

.contact-list a:hover {
  color: var(--spruce);
  padding-left: 8px;
}

.contact-list a:hover::after {
  transform: translateX(4px);
}

/* ---------- footer ---------- */

footer {
  background: var(--ink);
  color: rgba(245, 247, 246, 0.75);
  padding: clamp(56px, 7vw, 88px) clamp(24px, 5vw, 64px) 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px 48px;
  align-items: center;
}

footer img {
  height: 26px;
  width: auto;
}

footer p {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 19px;
  color: rgba(245, 247, 246, 0.55);
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  grid-column: 1 / -1;
  border-top: 1px solid rgba(245, 247, 246, 0.12);
  padding-top: 26px;
}

footer nav a {
  color: rgba(245, 247, 246, 0.72);
  font-size: 14.5px;
  transition: color 240ms var(--ease);
}

footer nav a:hover {
  color: var(--white);
}

footer small {
  grid-column: 1 / -1;
  font-size: 13px;
  color: rgba(245, 247, 246, 0.42);
}

/* ---------- visit dialog ---------- */

.visit-dialog {
  margin: auto;
  border: 0;
  border-radius: calc(var(--radius) + 4px);
  padding: 0;
  width: min(460px, calc(100vw - 40px));
  box-shadow: 0 40px 90px rgba(21, 27, 30, 0.35);
}

.visit-dialog::backdrop {
  background: rgba(21, 27, 30, 0.55);
  backdrop-filter: blur(4px);
}

.visit-dialog form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(28px, 5vw, 40px);
  background: var(--porcelain);
}

.visit-dialog h2 {
  font-size: 30px;
}

.visit-dialog form > p {
  color: var(--slate);
  font-size: 15px;
}

.visit-dialog label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.visit-dialog input {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--white);
  font: inherit;
  color: var(--ink);
  transition: border-color 200ms var(--ease);
}

.visit-dialog input:focus {
  outline: none;
  border-color: var(--spruce);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--cloud);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
}

body.dialog-open {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- plan guide ---------- */

.guide-launcher {
  position: fixed;
  right: 18px;
  bottom: 82px;
  z-index: 48;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: var(--spruce);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 16px 36px rgba(21, 27, 30, 0.26);
  transition: transform 220ms var(--ease), background-color 220ms var(--ease);
}

.guide-launcher:hover {
  transform: translateY(-2px);
  background: var(--spruce-deep);
}

.guide-launcher-icon,
.guide-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  color: var(--spruce-deep);
  font-family: "Newsreader", Georgia, serif;
  font-size: 19px;
  font-weight: 500;
}

.space-guide {
  position: fixed;
  right: 18px;
  bottom: 144px;
  z-index: 50;
  width: min(370px, calc(100vw - 36px));
  max-height: min(610px, calc(100svh - 180px));
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--porcelain);
  box-shadow: 0 30px 70px rgba(21, 27, 30, 0.24);
}

.space-guide[hidden] {
  display: none;
}

.space-guide-header {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 68px;
  padding: 12px 14px;
  background: var(--ink);
  color: var(--white);
}

.guide-mark {
  width: 38px;
  height: 38px;
}

.space-guide-header > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.space-guide-header strong,
.space-guide-header span {
  display: block;
}

.space-guide-header strong {
  font-size: 15px;
}

.space-guide-header span {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.space-guide-header span i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #6fc49d;
}

.guide-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 20px;
}

.guide-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
  max-height: min(330px, calc(100svh - 390px));
  overflow-y: auto;
  padding: 16px;
  scroll-behavior: smooth;
}

.guide-message {
  width: fit-content;
  max-width: 88%;
  padding: 11px 13px;
  border-radius: 6px 14px 14px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: 0 1px 0 var(--hairline);
}

.guide-message.visitor {
  align-self: flex-end;
  border-radius: 14px 6px 14px 14px;
  background: var(--spruce);
  color: var(--white);
  box-shadow: none;
}

.guide-message b {
  color: var(--ink);
  font-weight: 600;
}

.guide-whatsapp {
  display: block;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
  color: var(--spruce-deep);
  font-size: 12.5px;
  font-weight: 600;
}

.guide-replies {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 0 16px 12px;
  scrollbar-width: none;
}

.guide-replies::-webkit-scrollbar {
  display: none;
}

.guide-replies button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #b9cbca;
  border-radius: 999px;
  background: transparent;
  color: var(--spruce-deep);
  font-size: 12px;
  font-weight: 500;
}

.guide-replies button:hover {
  background: var(--cloud);
}

.guide-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  padding: 11px 12px;
  border-top: 1px solid var(--hairline);
  background: var(--white);
}

.guide-form input {
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--porcelain);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.guide-form button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--spruce);
  color: var(--white);
  font-size: 18px;
}

/* ---------- floating whatsapp ---------- */

.mobile-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--porcelain);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 16px 36px rgba(21, 27, 30, 0.3);
  transition: transform 240ms var(--ease), background-color 240ms var(--ease);
}

.mobile-whatsapp:hover {
  transform: translateY(-2px);
  background: var(--spruce-deep);
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .brue,
  .experience-viewer,
  .amenity-layout,
  .location {
    grid-template-columns: 1fr;
  }

  .experience-viewer {
    align-items: start;
  }

  .memberships-intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .site-header nav {
    position: fixed;
    inset: 0 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 92px 28px 30px;
    background: rgba(24, 30, 33, 0.97);
    transform: translateY(-102%);
    transition: transform 360ms var(--ease);
  }

  .site-header nav.open {
    transform: none;
  }

  .site-header nav a,
  .site-header.stuck nav a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    padding: 10px 0;
    border: 0;
  }

  .site-header .header-cta {
    display: none;
  }

  .menu-button {
    display: flex;
    z-index: 45;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(6.6px) rotate(45deg);
    background: var(--white);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-6.6px) rotate(-45deg);
    background: var(--white);
  }

  .hero-inner h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  footer {
    grid-template-columns: 1fr;
    align-items: flex-start;
    padding-bottom: 96px;
  }

  .space-guide {
    right: 10px;
    bottom: 134px;
    width: calc(100vw - 20px);
    max-height: calc(100svh - 154px);
  }

  .guide-messages {
    min-height: 160px;
    max-height: min(300px, calc(100svh - 360px));
  }

  .guide-launcher {
    right: 14px;
    bottom: 76px;
  }

  .guide-open .mobile-whatsapp {
    opacity: 0;
    pointer-events: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- plan detail: shift strip, tick lists, hours card, rooms ---------- */

.shift-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  margin-top: clamp(28px, 4vw, 40px);
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--white);
}

.shift-strip > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.shift-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--spruce);
  margin-bottom: 4px;
}

.shift-strip strong {
  font-weight: 500;
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--ink);
}

.shift-strip em {
  margin-top: 3px;
  font-style: normal;
  font-size: 13.5px;
  color: var(--slate);
}

.plan-essence {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.6;
}

.plan-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 4px 0 0;
  padding: 0;
}

.plan-points li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.plan-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 9px;
  height: 5px;
  border-left: 1.8px solid var(--spruce);
  border-bottom: 1.8px solid var(--spruce);
  transform: rotate(-45deg);
}

/* The both-shifts plan is about time, not a room, so it gets the page's one
   dark card instead of a photograph. */
.plan-card-hours {
  background: #191f22;
  border-color: #191f22;
  color: #ece5db;
}

.plan-card-hours h3,
.plan-card-hours .plan-price {
  color: #f4efe7;
}

.plan-card-hours .plan-essence {
  color: rgba(236, 229, 219, 0.75);
}

.plan-card-hours .plan-price small {
  color: rgba(236, 229, 219, 0.6);
}

.plan-card-hours .plan-cta {
  color: var(--brue-soft);
  border-bottom-color: rgba(216, 177, 138, 0.45);
}

.plan-points.light li {
  color: rgba(236, 229, 219, 0.85);
}

.plan-points.light li::before {
  border-left-color: var(--brue-soft);
  border-bottom-color: var(--brue-soft);
}

.hours-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(236, 229, 219, 0.16);
  border-bottom: 1px solid rgba(236, 229, 219, 0.16);
}

.hours-block > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hours-block span {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brue-soft);
  margin-bottom: 3px;
}

.hours-block strong {
  font-weight: 400;
  font-size: 15px;
  color: #f4efe7;
}

.plan-rooms {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(20px, 2.6vw, 32px);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--white);
}

.plan-rooms-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.plan-rooms-photos img {
  width: 100%;
  height: clamp(180px, 22vw, 260px);
  object-fit: cover;
  border-radius: 14px;
}

.plan-rooms-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-rooms-body h3 {
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 500;
}

@media (max-width: 980px) {
  .shift-strip,
  .plan-rooms {
    grid-template-columns: 1fr;
  }
}


/* ---------- plan carousel ---------- */

.plan-carousel {
  margin-top: clamp(24px, 3vw, 34px);
}

.plan-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  touch-action: pan-y;
}

.plan-viewport:focus-visible {
  outline: 2px solid var(--spruce);
  outline-offset: 4px;
}

/* Movement is a transform on the track, not container scrolling, so the
   position is deterministic on every browser and testable. */
.plan-track {
  display: flex;
  transition: transform 520ms var(--ease);
  will-change: transform;
}

.plan-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--white);
}

.plan-slide-photo {
  overflow: hidden;
  background: var(--cloud);
}

.plan-slide-photo img {
  width: 100%;
  height: 100%;
  min-height: clamp(300px, 42vw, 460px);
  object-fit: cover;
}

.plan-slide-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(26px, 3.4vw, 46px);
}

.plan-slide-body h3 {
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 500;
}

.plan-slide .plan-points {
  margin-top: 2px;
}

.plan-slide .plan-price {
  margin-top: auto;
  padding-top: 12px;
}

/* The both-shifts plan sells time, not a different room, so it carries the
   page's one dark surface instead of a photograph. */
.plan-slide-hours {
  grid-template-columns: 1fr;
  background: #191f22;
  border-color: #191f22;
  color: #ece5db;
}

.plan-slide-hours .plan-slide-body {
  max-width: 680px;
}

.plan-slide-hours h3,
.plan-slide-hours .plan-price {
  color: #f4efe7;
}

.plan-slide-hours .plan-essence {
  color: rgba(236, 229, 219, 0.78);
}

.plan-slide-hours .plan-price small {
  color: rgba(236, 229, 219, 0.6);
}

.plan-slide-hours .plan-cta {
  color: var(--brue-soft);
  border-bottom-color: rgba(216, 177, 138, 0.45);
}

.plan-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}

.plan-arrow {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  transition: background-color 240ms var(--ease), border-color 240ms var(--ease),
    color 240ms var(--ease), opacity 240ms var(--ease);
}

.plan-arrow:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--porcelain);
}

.plan-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.plan-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.plan-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--hairline);
  transition: background-color 240ms var(--ease), transform 240ms var(--ease);
}

.plan-dots button[aria-selected="true"] {
  background: var(--spruce);
  transform: scale(1.35);
}

@media (max-width: 860px) {
  .plan-slide {
    grid-template-columns: 1fr;
  }

  .plan-slide-photo img {
    min-height: 240px;
    max-height: 300px;
  }
}

/* ---------- FAQ: plain visible text, which search engines read directly ---------- */

.faq {
  padding-block: clamp(70px, 8vw, 120px);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px) clamp(32px, 5vw, 72px);
  margin-top: clamp(34px, 4vw, 52px);
}

.faq-item h3 {
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 500;
  color: var(--ink);
}

.faq-item p {
  margin-top: 9px;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.65;
  max-width: 46ch;
}

.location-context {
  margin-top: 14px;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 820px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
