:root {
  --ink: #17264f;
  --cream: #fff6c7;
  --paper: #fffdf0;
  --sage: #37a866;
  --rust: #f05a78;
  --sky: #28bced;
  --sun: #ffd83d;
  --line: rgba(23, 38, 79, .2);
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); background-image: radial-gradient(#ffd83d 1.2px, transparent 1.2px); background-size: 24px 24px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  color: white;
  border-bottom: 3px solid var(--ink);
  background: rgba(40,188,237,.92);
  text-shadow: 2px 2px 0 var(--ink);
}

.brand { display: flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 700; letter-spacing: .04em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 3px solid var(--ink); border-radius: 50%; background: var(--sun); text-shadow: none; font-size: 1.1rem; transform: rotate(-5deg); }
nav { display: flex; gap: 2.2rem; font-size: .78rem; }
nav a { opacity: .78; transition: opacity .2s; }
nav a:hover { opacity: 1; }
.header-cta { padding-bottom: 6px; border-bottom: 1px solid white; font-size: .78rem; }

.hero { position: relative; min-height: 780px; height: 100svh; color: white; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.hero-image.is-changing { opacity: .25; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,38,79,.56) 0%, rgba(23,38,79,.04) 58%), linear-gradient(0deg, rgba(23,38,79,.3), transparent 45%); }
.hero-copy { position: absolute; z-index: 2; left: 8vw; top: 50%; width: min(630px, 84vw); transform: translateY(-45%); }
.eyebrow, .section-index { margin: 0 0 2.4rem; font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.hero h1, h2, .closing-quote { margin: 0; font-family: "Paytone One", sans-serif; font-weight: 400; letter-spacing: -.035em; }
.hero h1 { font-size: clamp(4.3rem, 9vw, 9.2rem); line-height: .83; }
em { color: var(--sun); font-style: normal; font-weight: inherit; text-shadow: 4px 4px 0 var(--ink); }
.hero-lead { max-width: 470px; margin: 2.2rem 0 2.5rem; color: rgba(255,255,255,.8); font-size: 1.04rem; line-height: 1.7; }
.primary-button { display: inline-flex; align-items: center; gap: 3rem; padding: 1rem 1.1rem 1rem 1.4rem; border: 3px solid var(--ink); border-radius: 100px; background: var(--sun); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); font-size: .78rem; font-weight: 900; }
.primary-button span { display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--ink); border-radius: 50%; background: white; color: var(--ink); }
.hero-facts { position: absolute; z-index: 2; right: 5vw; bottom: 5vw; display: flex; gap: 3rem; }
.hero-facts div { display: grid; gap: 5px; }
.hero-facts strong { font-family: "Paytone One", sans-serif; font-size: 2.4rem; font-weight: 400; color: var(--sun); text-shadow: 3px 3px 0 var(--ink); }
.hero-facts span { max-width: 100px; color: rgba(255,255,255,.7); font-size: .67rem; line-height: 1.35; text-transform: uppercase; }
.scroll-cue { position: absolute; z-index: 2; left: 3vw; bottom: 5vw; display: flex; align-items: center; gap: 10px; writing-mode: vertical-rl; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue span { width: 1px; height: 48px; background: rgba(255,255,255,.65); }

.intro { display: grid; grid-template-columns: .55fr 1.1fr 1fr; gap: 5vw; padding: 9rem 7vw; }
.intro h2, .plan-heading h2 { font-size: clamp(3rem, 5.5vw, 6.2rem); line-height: 1.02; }
.intro-copy { padding-top: 3.8rem; }
.intro-copy > p { margin: 0 0 2.5rem; color: #59635d; font-size: 1.03rem; line-height: 1.8; }
.features { display: grid; grid-template-columns: 1fr 1fr; }
.features span { padding: 1rem 0; border-top: 1px solid var(--line); font-size: .72rem; }
.features span:nth-child(odd) { margin-right: 1rem; }

.plan-section { padding: 8rem 7vw; background: var(--sky); color: var(--ink); border-block: 5px solid var(--ink); }
.plan-heading { display: grid; grid-template-columns: 1.6fr .7fr; gap: 8vw; align-items: end; margin-bottom: 4rem; }
.section-index.light { color: var(--ink); }
.plan-heading > p { margin: 0 0 .7rem; color: #263d6d; line-height: 1.75; font-weight: 700; }
.variant-switcher { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; padding: .8rem 0; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.variant-switcher > span { color: #8f9c93; font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; }
.variant-switcher > div { display: flex; gap: .5rem; }
.variant-switcher button { padding: .75rem 1rem; border: 3px solid var(--ink); border-radius: 100px; background: white; color: var(--ink); font: 900 .68rem "Nunito", sans-serif; cursor: pointer; transition: .2s; box-shadow: 3px 3px 0 var(--ink); }
.variant-switcher button b { margin-right: .45rem; color: var(--rust); font-family: "Paytone One", sans-serif; font-weight: 400; }
.variant-switcher button:hover, .variant-switcher button:focus-visible, .variant-switcher button.is-active { border-color: var(--ink); background: var(--sun); color: var(--ink); outline: none; transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--ink); }
.variant-switcher button.is-active b { color: var(--ink); }
.interactive-plan { position: relative; transition: opacity .2s; }
.interactive-plan.is-changing { opacity: .35; }
.plan-figure { margin: 0; }
.plan-canvas { position: relative; overflow: hidden; }
.plan-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 4px solid var(--ink); border-radius: 24px; box-shadow: 9px 9px 0 var(--ink); }
.plan-figure figcaption { margin-top: .8rem; color: #87948b; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.room-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
  background: var(--rust);
  color: white;
  font: 900 .68rem "Nunito", sans-serif;
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 5px 18px rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  transition: transform .2s, background .2s, box-shadow .2s;
}
.room-pin::after { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; opacity: 0; transform: scale(.75); transition: .2s; }
.room-pin:hover, .room-pin:focus-visible, .room-pin.is-active { z-index: 2; background: var(--rust); transform: translate(-50%, -50%) scale(1.12); outline: none; box-shadow: 0 8px 25px rgba(23,33,28,.4); }
.room-pin.is-active::after { opacity: 1; transform: scale(1); }
.room-detail {
  position: absolute;
  z-index: 4;
  right: 1.5rem;
  bottom: 3rem;
  width: min(340px, calc(100% - 3rem));
  padding: 2rem;
  background: var(--cream);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow: 8px 8px 0 var(--ink);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.room-detail.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.detail-close { position: absolute; top: .8rem; right: 1rem; padding: .3rem; border: 0; background: transparent; color: #6e766f; font-size: 1.5rem; cursor: pointer; }
.detail-number { color: var(--rust); font-family: "Paytone One", sans-serif; font-size: 1.7rem; }
.detail-type { margin: 1.4rem 0 .4rem; color: #7a837c; font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.detail-title { margin: 0; font-family: "Paytone One", sans-serif; font-size: 1.75rem; font-weight: 400; }
.detail-description { margin: 1rem 0; color: #59635d; font-size: .8rem; line-height: 1.65; }
.detail-features { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.detail-features li { padding: .45rem .65rem; border: 1px solid var(--line); border-radius: 100px; font-size: .58rem; }
.engineering-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 2.5rem; border: 3px solid var(--ink); border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.3); }
.engineering-strip > div { padding: 1.4rem; }
.engineering-strip > div + div { border-left: 1px solid rgba(255,255,255,.16); }
.engineering-strip span { color: var(--rust); font-family: "Paytone One", sans-serif; font-size: .75rem; }
.engineering-strip strong { display: block; margin: .8rem 0 .4rem; font-size: .76rem; }
.engineering-strip p { margin: 0; color: #8f9c93; font-size: .65rem; line-height: 1.55; }
.room-list { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4rem; border-top: 3px solid var(--ink); }
.room-list button { display: flex; gap: 1.2rem; padding: 1.5rem 1.4rem 1.5rem 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.16); background: transparent; color: inherit; text-align: left; cursor: pointer; transition: background .2s, padding .2s; }
.room-list button:not(:nth-child(4n+1)) { padding-left: 1.4rem; border-left: 1px solid rgba(255,255,255,.16); }
.room-list button:hover, .room-list button:focus-visible, .room-list button.is-active { background: rgba(255,255,255,.06); outline: none; }
.room-list button.is-active { padding-left: 1rem; box-shadow: inset 3px 0 var(--rust); }
.room-list b { color: var(--rust); font-family: "Paytone One", sans-serif; font-weight: 400; }
.room-list span { display: grid; gap: .35rem; }
.room-list strong { font-size: .84rem; font-weight: 600; }
.room-list small { color: #8f9c93; font-size: .68rem; line-height: 1.45; }

.closing { min-height: 540px; display: grid; place-items: center; align-content: center; position: relative; padding: 6rem 7vw; text-align: center; background: var(--cream); background-image: radial-gradient(#f05a78 2px, transparent 2px); background-size: 30px 30px; }
.closing .section-index { position: absolute; top: 4rem; left: 7vw; }
.closing-quote { font-size: clamp(2.8rem, 6vw, 6.5rem); line-height: 1.12; }
.closing > a { margin-top: 3rem; padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }

footer { display: flex; justify-content: space-between; padding: 2rem 7vw; background: var(--ink); color: white; font-size: .68rem; }

@media (max-width: 860px) {
  .site-header { height: 72px; }
  nav, .header-cta, .scroll-cue { display: none; }
  .hero { min-height: 680px; }
  .hero-copy { left: 7vw; top: 43%; }
  .hero h1 { font-size: clamp(4rem, 18vw, 6.5rem); }
  .hero-facts { left: 7vw; right: auto; gap: 1.8rem; }
  .intro { grid-template-columns: 1fr; padding: 6rem 7vw; }
  .intro .section-index { margin-bottom: 0; }
  .intro-copy { padding-top: 0; }
  .plan-heading { grid-template-columns: 1fr; }
  .variant-switcher { align-items: flex-start; gap: 1rem; }
  .room-list { grid-template-columns: 1fr 1fr; }
  .engineering-strip { grid-template-columns: 1fr 1fr; }
  .engineering-strip > div + div { border-left: 0; }
  .engineering-strip > div:nth-child(even) { border-left: 1px solid rgba(255,255,255,.16); }
  .engineering-strip > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); }
  .room-list button:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .room-list button:nth-child(even) { padding-left: 1rem; border-left: 1px solid rgba(255,255,255,.16); }
  .room-detail { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 1rem; }
}

@media (max-width: 540px) {
  .brand-mark { width: 32px; height: 32px; }
  .hero-copy { top: 40%; }
  .variant-switcher { flex-direction: column; }
  .variant-switcher > div { width: 100%; }
  .variant-switcher button { flex: 1; padding: .7rem .5rem; }
  .hero-lead { font-size: .92rem; }
  .hero-facts { bottom: 2rem; }
  .hero-facts strong { font-size: 1.8rem; }
  .intro, .plan-section { padding-left: 5vw; padding-right: 5vw; }
  .features, .room-list, .engineering-strip { grid-template-columns: 1fr; }
  .features span:nth-child(odd) { margin-right: 0; }
  .room-list button:nth-child(even) { padding-left: 0; border-left: 0; }
  .engineering-strip > div:nth-child(even) { border-left: 0; }
  .engineering-strip > div + div { border-top: 1px solid rgba(255,255,255,.16); }
  .plan-figure { margin-left: -5vw; margin-right: -5vw; overflow-x: auto; }
  .plan-canvas { width: 850px; }
  .plan-figure img { width: 850px; max-width: none; }
  .plan-figure figcaption { padding-left: 5vw; }
  .room-pin { width: 40px; height: 40px; }
}
