:root {
  --paper: #F5F1EA; --paper-2: #ECE5DA; --ink: #1B1A17; --ink-2: #5D574E; --line: #DDD4C6;
  --brass: #B08A45; --brass-2: #8E6E33; --stone: #2B2924;
  --display: 'Frank Ruhl Libre', serif; --body: 'Heebo', system-ui, sans-serif;
  --pad: clamp(18px, 4.5vw, 72px); --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: clamp(36px, 4.6vw, 70px); }
.kicker { font-size: 13.5px; font-weight: 700; letter-spacing: .08em; color: var(--brass-2); margin-bottom: 14px; }
.sec-sub { color: var(--ink-2); font-size: clamp(16.5px, 1.25vw, 19px); max-width: 560px; margin-top: 16px; }
.sec-head { max-width: 900px; }
.fine { font-size: 13.5px; color: var(--ink-2); margin-top: 12px; }

/* buttons */
.btn { text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .3s var(--ease), background .25s, color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-line { box-shadow: inset 0 0 0 1.5px var(--ink); background: rgba(245, 241, 234, .7); }
.btn-wa { background: #1F7A4D; color: #fff; }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn.wide { width: 100%; }

/* header */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 12px var(--pad); background: rgba(245, 241, 234, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.brand b { font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1; }
.brand span { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.nav { display: flex; gap: 26px; margin-inline-start: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--ink); }

/* hook */
.hook { position: relative; height: calc(100svh - var(--top-h, 65px)); min-height: 520px; overflow: hidden; background: #8E8A84; }
.hook-media { position: absolute; inset: 0; }
.hook-still, .hook-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hook-video { opacity: 0; }
.hook.playing .hook-video { opacity: 1; }
.hook-last { opacity: 0; transition: opacity .7s; }
.hook.ended .hook-last { opacity: 1; }
.hook::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to left, rgba(245, 241, 234, .9), rgba(245, 241, 234, .55) 26%, rgba(245, 241, 234, 0) 48%); opacity: 0; transition: opacity .9s; }
.hook.say1::after { opacity: 1; }
.hook-text { position: absolute; z-index: 2; top: 50%; transform: translateY(-60%); inset-inline-start: var(--pad); width: min(34vw, 520px); }
.hook-h { font-size: clamp(58px, 8.4vw, 150px); line-height: .95; }
.hook-h .ln { display: block; overflow: hidden; padding-bottom: .08em; }
.hook-h .ln > span { display: block; transform: translateY(112%); transition: transform 1s var(--ease); }
.hook-h .ln:nth-child(2) > span { color: var(--brass-2); font-style: italic; }
.hook.say1 .hook-h .ln:nth-child(1) > span, .hook.say2 .hook-h .ln:nth-child(2) > span { transform: none; }
.hook-text .kicker, .hook-text .lead { opacity: 0; transform: translateY(14px); transition: opacity .8s, transform .8s var(--ease); }
.hook.say1 .hook-text .kicker, .hook.say2 .hook-text .lead { opacity: 1; transform: none; }
.hook-text .lead { margin-top: 22px; font-size: clamp(16.5px, 1.3vw, 20px); font-weight: 500; color: #2E2B25; max-width: 420px; }
.hook-cta { position: absolute; z-index: 2; bottom: clamp(22px, 7vh, 64px); inset-inline-start: var(--pad); display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; transform: translateY(14px); transition: opacity .7s, transform .7s var(--ease); }
.hook.cta .hook-cta { opacity: 1; transform: none; }
.replay { position: absolute; z-index: 2; top: 18px; inset-inline-end: 18px; background: rgba(27, 26, 23, .55); color: #fff; border: 0; border-radius: 999px; padding: 8px 16px; font-size: 14px; cursor: pointer; opacity: 0; transition: opacity .5s; }
.hook.cta .replay { opacity: 1; }
html:not(.js) .hook-h .ln > span, html:not(.js) .hook-text .kicker, html:not(.js) .hook-text .lead, html:not(.js) .hook-cta { opacity: 1; transform: none; }
html:not(.js) .hook-last, html:not(.js) .hook::after { opacity: 1; }

/* facts + band */
.facts { list-style: none; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.facts li { padding: 26px 0; color: var(--ink-2); font-size: 15px; }
.facts li + li { padding-inline-start: clamp(14px, 2.6vw, 40px); border-inline-start: 1px solid var(--line); }
.facts b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.2vw, 32px); color: var(--ink); line-height: 1.15; }
.band { background: var(--stone); color: var(--paper); overflow: hidden; padding: 15px 0; }
.band-track { display: flex; align-items: center; gap: 30px; width: max-content; padding-inline-start: 30px; animation: band 50s linear infinite; font-family: var(--display); font-size: clamp(21px, 2.4vw, 32px); }
.band-track i { width: 8px; height: 8px; transform: rotate(45deg); background: var(--brass); flex: none; }
@keyframes band { to { transform: translateX(50%); } }

/* try a floor */
.try { padding: clamp(70px, 10vw, 150px) var(--pad) clamp(50px, 7vw, 100px); }
.room { position: relative; margin: 40px auto 0; width: min(100%, 140vh); aspect-ratio: 1920 / 1074; border-radius: 6px; overflow: hidden; background: #CFC6B8; isolation: isolate; }
.room-img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.floor-wrap { position: absolute; inset: 0; z-index: 1; overflow: hidden; perspective: var(--persp, 900px); perspective-origin: 50% 30%; }
.floor-plane { position: absolute; left: -150%; width: 400%; top: 60.5%; height: 1600%; transform-origin: 50% 0; transform: rotateX(90deg); }
.floor-layer { position: absolute; inset: 0; background-size: calc(var(--tile, 7%) * var(--k, 1)) auto; background-repeat: repeat; clip-path: inset(0 0 100% 0); }
.floor-layer.on { clip-path: inset(0 0 0 0); }
.floor-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(48% 9% at 50% 62.5%, rgba(40, 30, 20, .45), rgba(40, 30, 20, 0) 70%),
    linear-gradient(to bottom, rgba(30, 24, 18, .35) 60%, rgba(30, 24, 18, 0) 66%),
    linear-gradient(to right, rgba(255, 240, 215, .22), rgba(255, 240, 215, 0) 40%),
    linear-gradient(to top, rgba(0, 0, 0, .12), rgba(0, 0, 0, 0) 30%); }
.room-tag { position: absolute; z-index: 4; bottom: 18px; inset-inline-start: 18px; background: rgba(245, 241, 234, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 12px 18px; border-radius: 6px; display: grid; }
.room-tag b { font-family: var(--display); font-size: 21px; font-weight: 500; line-height: 1.2; }
.room-tag span { font-size: 14px; color: var(--ink-2); }
.swatches { display: flex; gap: 14px; margin: 22px auto 0; width: min(100%, 140vh); overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.swatches::-webkit-scrollbar { display: none; }
.sw { flex: none; display: grid; gap: 8px; justify-items: center; width: 104px; background: none; border: 0; cursor: pointer; padding: 0; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.sw i { width: 84px; height: 84px; border-radius: 50%; background-size: 220%; background-position: center; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .25s, transform .35s var(--ease); }
.sw:hover i { transform: scale(1.05); }
.sw[aria-checked="true"] { color: var(--ink); font-weight: 700; }
.sw[aria-checked="true"] i { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--brass); }

/* calculator */
.calc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 110px); align-items: start; padding: clamp(60px, 8vw, 120px) var(--pad); background: var(--paper-2); }
.calc-box { background: var(--paper); border-radius: 8px; padding: clamp(20px, 3vw, 38px); display: grid; gap: 18px; box-shadow: 0 30px 60px -40px rgba(40, 30, 15, .35); }
.calc-box label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.calc-box input, .calc-box select, .name-f input { height: 50px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 0 14px; font-size: 17px; color: var(--ink); width: 100%; }
.calc-box input:focus, .calc-box select:focus, .name-f input:focus { outline: 2px solid var(--brass); outline-offset: 1px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.seg { border: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.seg legend { font-size: 14.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.seg label { display: block; position: relative; }
.calc-box .seg input { position: absolute; inset: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; color: var(--ink); font-weight: 500; cursor: pointer; transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.seg input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.calc-out { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calc-out div { padding: 16px 0; display: grid; }
.calc-out div + div { padding-inline-start: 14px; border-inline-start: 1px solid var(--line); }
.calc-out span { font-size: 13px; color: var(--ink-2); }
.calc-out b { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; direction: ltr; unicode-bidi: isolate; text-align: right; }
.calc-out .big b { color: var(--brass-2); font-weight: 700; }

/* departments */
.depts { padding: clamp(70px, 10vw, 150px) var(--pad); }
.dept-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 22vw, 330px); gap: 14px; margin-top: 40px; }
.dept { position: relative; overflow: hidden; border-radius: 6px; background: #fff; text-decoration: none; }
.d-big { grid-column: span 2; grid-row: span 2; }
.dept img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.dept:hover img { transform: scale(1.05); }
.dept > span { position: absolute; inset-inline: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(to top, rgba(20, 18, 14, .78), rgba(20, 18, 14, 0)); color: #fff; font-size: 14px; display: grid; }
.dept b { font-family: var(--display); font-weight: 500; font-size: clamp(21px, 1.8vw, 28px); line-height: 1.2; }

/* story */
.story { position: relative; overflow: hidden; background: var(--stone); color: var(--paper); padding: clamp(80px, 12vw, 180px) var(--pad); }
.story-num { position: absolute; inset-inline-end: -2vw; bottom: -.24em; font-family: var(--display); font-size: clamp(220px, 34vw, 560px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(176, 138, 69, .45); pointer-events: none; }
.story-text { position: relative; max-width: 760px; }
.story .kicker { color: var(--brass); }
.story p:not(.kicker) { margin-top: 22px; color: #D9D2C6; font-size: clamp(17px, 1.3vw, 20px); max-width: 600px; }

/* visit */
.visit { padding: clamp(70px, 10vw, 150px) var(--pad); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 110px); }
.days, .slots { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.slots { margin-top: 12px; }
.chip { border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: 8px; padding: 10px 14px; cursor: pointer; font-weight: 500; line-height: 1.25; min-width: 64px; transition: background .2s, color .2s; }
.chip small { display: block; font-size: 12.5px; color: var(--ink-2); font-weight: 400; }
.chip[aria-checked="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip[aria-checked="true"] small { color: #CFC8BB; }
.chip:disabled { opacity: .35; cursor: default; }
.name-f { display: grid; gap: 6px; margin: 22px 0 14px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.visit-info { display: grid; gap: 26px; align-content: start; }
.photo-tip { background: var(--stone); color: var(--paper); border-radius: 8px; padding: 26px; display: grid; gap: 10px; justify-items: start; }
.photo-tip b { font-family: var(--display); font-size: 26px; font-weight: 500; }
.photo-tip p { color: #D9D2C6; }
.hours div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--ink-2); }
.hours dd { font-weight: 700; }
.addr { font-family: var(--display); font-size: 21px; }
.links { display: flex; gap: 22px; }
.links a { font-weight: 700; text-underline-offset: 4px; }

/* footer, float */
.foot { padding: 36px var(--pad) 90px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; align-items: center; color: var(--ink-2); font-size: 14px; }
.wa-float { position: fixed; z-index: 60; bottom: 18px; left: 18px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1F7A4D; color: #fff; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .4); }

@media (max-width: 1000px) {
  .nav { display: none; }
  .top .btn { margin-inline-start: auto; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .calc, .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .calc-box select { min-width: 0; }
  .dept-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
}
@media (max-width: 700px) {
  body { font-size: 16.5px; }
  .brand span { display: none; }
  .hook-still, .hook-video { object-position: 52% 50%; }
  .hook::after { background: linear-gradient(to bottom, rgba(245, 241, 234, .92), rgba(245, 241, 234, .6) 34%, rgba(245, 241, 234, 0) 55%); }
  .hook-text { top: 26px; transform: none; inset-inline: var(--pad); width: auto; }
  .hook-text .lead { margin-top: 12px; font-size: 16px; }
  .hook-cta { inset-inline: var(--pad); }
  .hook-cta .btn { flex: 1 1 100%; }
  .replay { top: 10px; inset-inline-end: 10px; font-size: 13px; padding: 6px 12px; }
  .room { --k: 2.2; --persp: 760px; width: auto; aspect-ratio: 4 / 5; margin-inline: calc(var(--pad) * -1); border-radius: 0; }
  .room-img { object-fit: cover; object-position: 38% 50%; }
  .calc-out { grid-template-columns: 1fr 1fr; }
  .calc-out div:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .calc-out div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .dept-grid { grid-auto-rows: 180px; gap: 10px; }
  .d-big, .dept:last-child { grid-column: span 2; grid-row: span 1; }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .band-track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
