/* VALCRÊTE — shared styles. Snow, night blue, larch ember. Gloock / Schibsted Grotesk / DM Mono. */
:root {
  --snow: #f4f2ee;
  --paper: #ebe8e1;
  --ink: #101826;
  --night: #0b1220;
  --night-2: #131d2e;
  --glacier: #a9bed0;
  --ember: #c8693a;
  --ember-ink: #a4522a;
  --pine: #20302b;
  --stone: #5e6470;
  --line: rgba(16, 24, 38, .14);
  --line-d: rgba(244, 242, 238, .18);
  --serif: 'Gloock', 'Times New Roman', serif;
  --sans: 'Schibsted Grotesk', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
  --gut: clamp(16px, 4vw, 64px);
  --max: 1520px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; } }
body { margin: 0; background: var(--snow); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.on-dark :focus-visible, .night :focus-visible { outline-color: #f0a878; }
::selection { background: var(--ember); color: #fff; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--snow); padding: 10px 16px; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* type */
.eyebrow, .mono { font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: flex; gap: 14px; align-items: center; margin: 0 0 22px; color: var(--stone); }
.eyebrow b { font-weight: 500; color: var(--ember-ink); }
.night .eyebrow, .on-dark .eyebrow { color: rgba(244, 242, 238, .72); }
.night .eyebrow b, .on-dark .eyebrow b { color: #f0a878; }
.h1, .h2, .h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; }
.h1 { font-size: clamp(54px, 9.4vw, 168px); line-height: .9; }
.h2 { font-size: clamp(40px, 5.6vw, 96px); line-height: .96; }
.h3 { font-size: clamp(26px, 2.4vw, 38px); line-height: 1.05; }
.h1 i, .h2 i, .h3 i { font-style: normal; color: var(--ember-ink); }
.night .h1 i, .night .h2 i, .on-dark .h1 i, .on-dark .h2 i, .night .h3 i, .on-dark .h3 i { color: #f0a878; }
.lede { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; max-width: 34em; margin: 0; }
.num { font-family: var(--serif); font-variant-numeric: lining-nums; }
.note { font-size: 13px; color: var(--stone); }
.night .note, .on-dark .note { color: rgba(244, 242, 238, .7); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 1px solid currentColor; border-radius: 999px; background: transparent; text-decoration: none; font: 500 14px/1 var(--sans); letter-spacing: .02em; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s; }
.btn:hover { background: var(--ink); color: var(--snow); border-color: var(--ink); }
.btn.solid { background: var(--ink); color: var(--snow); border-color: var(--ink); }
.btn.solid:hover { background: var(--ember-ink); border-color: var(--ember-ink); }
.on-dark .btn:hover, .night .btn:hover { background: var(--snow); color: var(--ink); border-color: var(--snow); }
.on-dark .btn.solid, .night .btn.solid { background: var(--snow); color: var(--ink); border-color: var(--snow); }
.on-dark .btn.solid:hover, .night .btn.solid:hover { background: var(--ember); color: #fff; border-color: var(--ember); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.link { font: 500 14px/1.4 var(--sans); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link:hover { color: var(--ember-ink); }
.night .link:hover, .on-dark .link:hover { color: #f0a878; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font: 500 13px/1 var(--sans); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--snow); border-color: var(--ink); }
.night .chip { border-color: var(--line-d); }
.night .chip[aria-pressed="true"] { background: var(--snow); color: var(--ink); border-color: var(--snow); }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; gap: 28px; padding: 18px var(--gut); color: var(--snow); transition: background .4s var(--ease), color .4s, padding .4s; }
.top.scrolled, .top.solid { background: rgba(244, 242, 238, .92); color: var(--ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 var(--line); }
.brand { font: 400 24px/1 var(--serif); letter-spacing: .2em; text-decoration: none; text-transform: uppercase; display: flex; flex-direction: column; gap: 6px; }
.brand small { font: 500 10px/1 var(--mono); letter-spacing: .2em; opacity: .75; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font: 500 14px/1 var(--sans); padding: 8px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.top .btn { min-height: 42px; padding: 0 18px; }
.top:not(.scrolled):not(.solid) .btn.solid { background: var(--snow); color: var(--ink); border-color: var(--snow); }
.menu-btn { display: none; margin-left: auto; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid currentColor; background: transparent; cursor: pointer; }
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .top .cta-top { display: none; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 6px; padding: 90px var(--gut) 40px; background: var(--night); color: var(--snow); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a { font: 400 40px/1.2 var(--serif); }
  .top:has(.nav.open) { color: var(--snow); background: transparent; box-shadow: none; }
}

/* altitude rail */
.alti { position: fixed; right: 18px; top: 50%; z-index: 60; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; mix-blend-mode: difference; color: #fff; }
.alti .ar { position: relative; width: 1px; height: 38vh; background: rgba(255, 255, 255, .45); }
.alti .ar i { position: absolute; right: -4px; width: 9px; height: 1px; background: #fff; }
.alti .ar b { position: absolute; right: -6px; width: 13px; height: 2px; background: #fff; top: 100%; transition: top .2s linear; }
.alti output { font: 500 11px/1 var(--mono); letter-spacing: .12em; writing-mode: vertical-rl; transform: rotate(180deg); }
@media (max-width: 760px) { .alti { display: none; } }

/* media helpers */
.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cap { font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.grain { position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* reveal */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* sections */
.night { background: var(--night); color: var(--snow); }
.on-dark { color: var(--snow); }
.sec { padding: clamp(80px, 11vw, 170px) 0; position: relative; }
.alt-tag { font: 500 11px/1 var(--mono); letter-spacing: .16em; display: inline-flex; align-items: center; gap: 10px; }
.alt-tag::before { content: ''; width: 26px; height: 1px; background: currentColor; }

/* status */
.st { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.st::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #3f9d6a; }
.st.reserved::before { background: #d99a2b; }
.st.sold::before { background: #9aa0a8; }

/* range inputs */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: currentColor; opacity: .9; }
input[type="range"]::-moz-range-track { height: 2px; background: currentColor; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -9px; border-radius: 50%; background: var(--ember); border: 3px solid var(--snow); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--ember); border: 3px solid var(--snow); }

/* footer */
.foot { background: var(--night); color: var(--snow); padding: 90px 0 36px; overflow: hidden; }
.foot-big { font: 400 clamp(64px, 17vw, 300px)/.8 var(--serif); letter-spacing: .08em; margin: 0 0 60px; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(244, 242, 238, .35); white-space: nowrap; }
.foot-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-d); }
.foot nav { display: flex; flex-direction: column; gap: 10px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: #f0a878; }
.foot .credits { font-size: 12px; line-height: 1.6; color: rgba(244, 242, 238, .66); margin: 28px 0 0; max-width: 110em; }
@media (max-width: 860px) { .foot-row { grid-template-columns: 1fr; } }

/* forms */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font: 500 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.field input, .field select, .field textarea { min-height: 50px; padding: 12px 14px; border: 1px solid rgba(16, 24, 38, .3); border-radius: 6px; background: #fff; font-size: 16px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ember); outline-offset: 1px; border-color: var(--ink); }
.field .err { font-size: 13px; color: #a3261c; min-height: 1em; }
.field [aria-invalid="true"] { border-color: #a3261c; }

/* inner-page hero */
.phero { position: relative; min-height: 76vh; display: flex; align-items: flex-end; color: var(--snow); overflow: hidden; background: var(--night); }
.phero > img, .phero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 18, 32, .5) 0%, rgba(11, 18, 32, .15) 40%, rgba(11, 18, 32, .82) 100%), linear-gradient(90deg, rgba(11, 18, 32, .55), rgba(11, 18, 32, 0) 65%); }
.phero .wrap { position: relative; z-index: 2; padding-bottom: clamp(40px, 6vw, 90px); padding-top: 140px; }
.phero .lede { margin-top: 22px; }
.crumbs { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; opacity: .8; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }
