@font-face { font-family: 'Instrument Serif'; src: url(fonts/instrument-serif-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(fonts/instrument-serif-latin-400-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url(fonts/manrope-latin-wght-normal.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  --paper: #f3eee6; --paper-2: #e9e2d6; --ink: #161513; --ink-2: #5a564e; --clay: #9c4a2f; --line: rgba(22, 21, 19, .2);
  --serif: 'Instrument Serif', 'Times New Roman', serif; --sans: 'Manrope', system-ui, sans-serif;
  --gut: clamp(18px, 4vw, 56px); --ease: cubic-bezier(.16, .84, .24, 1);
}
* { box-sizing: border-box; margin: 0; border-radius: 0 !important; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.loading { overflow: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
em { font-style: italic; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--clay); outline-offset: 4px; }
.wrap { padding-inline: var(--gut); max-width: 1500px; margin-inline: auto; }
.kicker { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 20px; }
h1, h2, h3, .big, .band-q, .foot-word, .curtain-word { font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.015em; }
h2 { font-size: clamp(2.8rem, 7vw, 6.4rem); }
.link { display: inline-flex; gap: 10px; border-bottom: 1px solid currentColor; padding-bottom: 4px; margin-top: 28px; font-size: .9rem; letter-spacing: .04em; }
.small { font-size: .8rem; color: var(--ink-2); margin-top: 18px; }

/* curtain */
.curtain { position: fixed; inset: 0; z-index: 100; background: var(--ink); color: var(--paper); display: grid; place-items: center; transition: transform 1.1s var(--ease) .15s; }
.curtain-word { font-size: clamp(3rem, 12vw, 9rem); font-style: italic; }
.curtain-count { position: absolute; right: var(--gut); bottom: var(--gut); font-size: .8rem; letter-spacing: .2em; font-variant-numeric: tabular-nums; }
body:not(.loading) .curtain { transform: translateY(-101%); }

/* bar */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gut); color: #fff; transition: color .4s, background .4s, padding .4s; }
.bar.dark { color: var(--ink); background: rgba(243, 238, 230, .92); backdrop-filter: blur(10px); padding-block: 12px; }
.mark { font-family: var(--serif); font-size: 1.7rem; font-style: italic; }
.nav { display: none; gap: 34px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }
.nav a { position: relative; padding-block: 4px; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { background: none; border: 0; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.sheet { position: fixed; inset: 0; z-index: 40; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: center; padding: 90px var(--gut) 40px; }
.sheet[hidden] { display: none; }
.sheet a { font-family: var(--serif); font-size: clamp(2.6rem, 11vw, 4.4rem); border-bottom: 1px solid rgba(243, 238, 230, .2); padding-block: 8px; }
@media (min-width: 960px) { .nav { display: flex; } .menu-btn { display: none; } }

/* hero */
.hero { position: relative; height: 100svh; min-height: 560px; color: #fff; overflow: hidden; background: var(--ink); }
.hero-img { position: absolute; inset: 0; }
.hero-img img { animation: kb 24s ease-out both; }
@keyframes kb { from { transform: scale(1.14); } to { transform: scale(1); } }
.mask-open { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--ease) .5s; }
body:not(.loading) .mask-open { clip-path: inset(0); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55)); }
.hero-copy { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: clamp(70px, 12vh, 130px); }
.hero-copy .kicker { color: rgba(255, 255, 255, .85); }
h1 { font-size: clamp(3.6rem, 13.5vw, 13rem); }
.ln { display: block; overflow: hidden; padding-bottom: .08em; }
.ln > span { display: block; transform: translateY(105%); transition: transform 1.3s var(--ease) .9s; }
body:not(.loading) .ln > span { transform: none; }
.ln:nth-child(2) > span { transition-delay: 1.05s; }
.hero-foot { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: 22px; display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; }
.scroll::after { content: ''; display: block; width: 1px; height: 28px; background: #fff; margin: 6px auto 0; animation: drop 2s ease-in-out infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* intro */
.intro { padding-block: clamp(90px, 16vw, 220px); }
.big { font-size: clamp(1.9rem, 4.4vw, 4.4rem); max-width: 22ch; line-height: 1.08; }
.big.words span { display: inline-block; opacity: .16; transition: opacity .6s; }
.big.words span.on { opacity: 1; }

/* reveal helpers */
.rise { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.rise.in { opacity: 1; transform: none; }
.mask { overflow: hidden; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); }
.mask.in { clip-path: inset(0); }
.mask .zoom { transform: scale(1.25); transition: transform 1.8s var(--ease); }
.mask.in .zoom { transform: none; }

/* residences */
.res { border-top: 1px solid var(--line); padding-block: clamp(70px, 10vw, 140px); }
.res-grid { display: grid; gap: 40px; }
.res-head h2 { margin-top: 6px; }
.res-stack { display: none; }
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px; padding-block: 26px; border-bottom: 1px solid var(--line); position: relative; transition: padding .5s var(--ease); }
.row-n { font-size: .8rem; letter-spacing: .14em; color: var(--ink-2); padding-top: .9em; }
.row h3 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.row h3 em { font-size: .45em; letter-spacing: 0; color: var(--ink-2); margin-left: .3em; }
.row-main p { color: var(--ink-2); margin-top: 8px; max-width: 46ch; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.row-cta { grid-column: 2; margin-top: 12px; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; justify-self: start; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.row-photo { grid-column: 1 / -1; margin-top: 16px; aspect-ratio: 4 / 3; overflow: hidden; }
@media (min-width: 900px) {
  .res-grid { grid-template-columns: 1fr 1fr; column-gap: 7vw; }
  .res-head { grid-column: 1 / -1; }
  .res-stack { display: block; order: 2; }
  .stack { position: sticky; top: 12vh; aspect-ratio: 4 / 5; max-height: 76vh; width: 100%; overflow: hidden; background: var(--paper-2); }
  .stack-img { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease); }
  .stack-img.on { clip-path: inset(0); z-index: 2; }
  .stack-img img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
  .stack-img.on img { transform: none; }
  .rows { order: 1; grid-column: 1; }
  .res-stack { grid-column: 2; grid-row: 2; }
  .rows { grid-row: 2; }
  .row-photo { display: none; }
  .row { opacity: .45; transition: opacity .5s, padding-left .6s var(--ease); cursor: default; }
  .row.on, .row:hover, .row:focus-within { opacity: 1; padding-left: 14px; }
}

/* band */
.band { position: relative; height: min(88svh, 800px); overflow: hidden; display: grid; place-items: center; color: #fff; text-align: center; }
.band-img { position: absolute; inset: -12% 0; }
.band::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .32); }
.band-q { position: relative; z-index: 2; font-size: clamp(2.2rem, 6vw, 6rem); max-width: 20ch; padding-inline: var(--gut); }
.band-q span { display: block; }

/* experiences */
.exps { padding-block: clamp(70px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.exps-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; }
.arrows { display: flex; gap: 0; }
.arrows button { width: 56px; height: 56px; background: none; border: 1px solid var(--ink); cursor: pointer; font-size: 1.2rem; transition: background .3s, color .3s; }
.arrows button + button { border-left: 0; }
.arrows button:hover { background: var(--ink); color: var(--paper); }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(74vw, 400px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gut) 60px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.exp { scroll-snap-align: start; }
.exp figure { aspect-ratio: 3 / 4; }
.exp-t { font-family: var(--serif); font-size: 1.9rem; margin-top: 14px; line-height: 1.1; }
.exp-d { color: var(--ink-2); font-size: .9rem; }
@media (min-width: 900px) { .strip { grid-auto-columns: 30vw; max-width: none; } }

/* facilities & lines */
.fac { display: grid; gap: 40px; padding-block: clamp(70px, 10vw, 140px); border-top: 1px solid var(--line); }
.lines { border-top: 1px solid var(--line); }
.line-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); align-items: baseline; transition: padding .5s var(--ease), color .3s; }
.fac .line-row { grid-template-columns: 36px 1fr auto; }
.line-row:hover { padding-left: 12px; color: var(--clay); }
.num { font-size: .75rem; letter-spacing: .14em; color: var(--ink-2); }
.ft { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.fd { color: var(--ink-2); font-size: .88rem; text-align: right; }
@media (min-width: 900px) { .fac { grid-template-columns: 1fr 1.1fr; column-gap: 8vw; } }

/* location */
.loc { display: grid; border-top: 1px solid var(--line); }
.loc-img { aspect-ratio: 4 / 3; }
.loc-copy { padding: clamp(40px, 7vw, 100px) var(--gut); }
.loc-copy h2 { margin-bottom: 32px; }
@media (min-width: 900px) { .loc { grid-template-columns: 1fr 1fr; } .loc-img { aspect-ratio: auto; min-height: 80vh; } }

/* enquire */
.enq { background: var(--ink); color: var(--paper); padding-block: clamp(80px, 12vw, 170px); }
.enq .kicker { color: rgba(243, 238, 230, .6); }
.form { display: grid; gap: 28px 40px; grid-template-columns: 1fr; margin-top: 56px; max-width: 900px; }
.form label { display: grid; gap: 6px; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(243, 238, 230, .6); }
.form input, .form select { background: transparent; border: 0; border-bottom: 1px solid rgba(243, 238, 230, .35); padding: 10px 0; font-size: 1.15rem; letter-spacing: 0; text-transform: none; color: var(--paper); outline: none; border-radius: 0; color-scheme: dark; }
.form select option { color: #111; }
.form input:focus, .form select:focus { border-color: var(--paper); }
.send { grid-column: 1 / -1; justify-self: start; background: var(--paper); color: var(--ink); border: 0; padding: 20px 34px; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s, padding .4s var(--ease); }
.send:hover { background: var(--clay); color: #fff; padding-right: 48px; }
@media (min-width: 700px) { .form { grid-template-columns: repeat(2, 1fr); } }

/* footer */
.foot { background: var(--paper); padding-top: clamp(60px, 8vw, 110px); }
.foot-grid { display: grid; gap: 40px; }
.foot-word { font-size: clamp(5rem, 22vw, 20rem); font-style: italic; line-height: .85; }
.foot a { border-bottom: 1px solid var(--line); }
.foot p { margin-bottom: 8px; }
.credits { font-size: .78rem; color: var(--ink-2); margin: 10px 0; }
summary { cursor: pointer; font-size: .9rem; }
.legal { font-size: .75rem; color: var(--ink-2); padding-block: 40px 28px; margin-top: 30px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; align-items: end; } }

.wa { position: fixed; right: 18px; bottom: 18px; z-index: 45; width: 54px; height: 54px; background: var(--ink); color: var(--paper); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.wa:hover { background: var(--clay); transform: translateY(-3px); }
.wa svg { width: 26px; height: 26px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .rise, .mask, .mask-open, .ln > span, .big.words span { opacity: 1; transform: none; clip-path: none; }
}
