:root {
  --night: #0F1622;
  --dusk: #22314F;
  --ember: #9A6444;
  --paper: #F3F1EC;
  --plaster: #E7E5E0;
  --ink: #15161A;
  --muted: #5E6068;
  --brass: #E0A84F;
  --rule: rgba(21, 22, 26, 0.22);
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--plaster); color: var(--ink); font: 400 16px/1.6 var(--sans); overflow-x: hidden; }
html.is-loading body { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* Loader */
.loader { position: fixed; inset: 0; z-index: 60; background: var(--night); color: var(--paper); display: grid; place-content: center; justify-items: center; gap: 8px; }
.loader-word { margin: 0; font: 400 clamp(56px, 14vw, 180px)/1 var(--serif); letter-spacing: 0.02em; text-transform: uppercase; display: flex; overflow: hidden; }
.loader-word span { display: block; }
.loader-count { margin: 0; font: 600 14px/1 var(--cond); letter-spacing: 0.2em; color: var(--brass); }
html:not(.js) .loader { display: none; }

/* Header: inverts against whatever is under it */
.top { position: fixed; z-index: 40; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 24px; padding: 14px var(--gut); color: #fff; mix-blend-mode: difference; }
.brand { font: 500 22px/1 var(--serif); text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; margin-right: auto; padding: 10px 0; }
.top-nav { display: none; gap: 28px; }
.top-nav a, .top-cta { font: 600 15px/1 var(--cond); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; padding: 12px 0; }
.top-cta { border: 1.5px solid currentColor; padding: 12px 16px; border-radius: 999px; }
@media (min-width: 900px) { .top-nav { display: flex; } }

/* 1. The arched window */
.door { position: relative; background: var(--night); color: var(--paper); }
.door-pin {
  position: relative; height: 100svh; overflow: hidden;
  background:
    radial-gradient(90% 55% at 50% 110%, rgba(224, 168, 79, 0.42), transparent 62%),
    linear-gradient(180deg, var(--night) 0%, var(--dusk) 60%, var(--ember) 100%);
}
.door-word {
  position: absolute; left: 0; right: 0; top: 50%; margin: 0; transform: translateY(-50%);
  display: flex; justify-content: space-between; padding: 0 var(--gut);
  font: 400 clamp(84px, 21vw, 360px)/0.8 var(--serif); letter-spacing: -0.02em; color: var(--paper);
  z-index: 2; mix-blend-mode: difference; pointer-events: none;
}
.door-word span { display: block; will-change: transform; }
/* Laid out at full-screen size and scaled down, so it stays sharp as it opens */
.aperture {
  position: absolute; left: 50%; top: 50%;
  width: var(--apw); height: var(--aph); margin: calc(var(--aph) / -2) 0 0 calc(var(--apw) / -2);
  border-radius: 50% 50% 0 0 / 25% 25% 0 0; overflow: hidden; background: var(--dusk);
  will-change: transform; transform-origin: 50% 50%;
  box-shadow: 0 0 0 1px rgba(243, 241, 236, 0.15);
}
.ap-slide { position: absolute; inset: 0; overflow: hidden; }
.ap-slide img { width: 100%; height: 100%; object-fit: cover; }
.ap-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15, 22, 34, 0.75)); opacity: 0; }
.door-cap { position: absolute; z-index: 3; left: var(--gut); bottom: 28px; margin: 0; display: flex; gap: 14px; align-items: baseline; font: 600 14px/1 var(--cond); letter-spacing: 0.2em; text-transform: uppercase; }
.dc-n { color: var(--brass); }
.dc-t { display: inline-block; }
.door-cue { position: absolute; z-index: 3; right: var(--gut); bottom: 28px; margin: 0; font: 600 14px/1 var(--cond); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(243, 241, 236, 0.7); }
.door-end { position: absolute; z-index: 3; left: var(--gut); right: var(--gut); bottom: 72px; max-width: 900px; }
.hero-title { margin: 0; font: 400 clamp(42px, 7.4vw, 112px)/0.98 var(--serif); letter-spacing: -0.01em; }
.hero-sub { margin: 18px 0 0; max-width: 32em; color: rgba(243, 241, 236, 0.85); }
html.js .door-end { visibility: hidden; }
.door.static .door-end { visibility: visible; }
.door.static .door-word { opacity: 0.12; }
.door.static .ap-shade { opacity: 1; }
.aperture { z-index: 1; }

/* 2. Disc reel */
.reel { position: relative; background: var(--plaster); }
.reel-pin { position: relative; height: 100svh; overflow: hidden; }
.reel-info { position: absolute; z-index: 5; left: var(--gut); top: 76px; width: min(420px, calc(100% - 2 * var(--gut))); }
.reel-kicker { margin: 0 0 10px; font: 600 13px/1 var(--cond); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.reel-name { font: 400 clamp(30px, 7.4vw, 60px)/0.98 var(--serif); text-transform: uppercase; letter-spacing: -0.01em; min-height: 2em; overflow: hidden; }
.reel-name .rn { display: block; }
.reel-rows { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; overflow: hidden; }
.reel-rows dt, .reel-rows dd { border-top: 1px solid var(--rule); padding: 6px 0; margin: 0; }
.reel-rows dt { font: 600 11px/1.9 var(--cond); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); padding-right: 16px; }
.reel-rows dd { text-align: right; font-size: 15px; }
.reel-count { margin: 10px 0 0; font: 600 13px/1 var(--cond); letter-spacing: 0.2em; color: var(--muted); }
.reel-discs { position: absolute; z-index: 1; inset: 0; perspective: 1600px; }
.disc { position: absolute; left: 50%; top: 50%; width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); will-change: transform; transform-style: preserve-3d; }
.disc-face { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #bbb; box-shadow: 0 0 0 3px rgba(255,255,255,0.75), 0 0 0 5px rgba(0,0,0,0.12), 0 40px 60px -30px rgba(0,0,0,0.45); }
.disc-face img { width: 100%; height: 100%; object-fit: cover; }
.disc-face::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 50%, transparent 0 58%, rgba(0,0,0,0.28) 100%), linear-gradient(130deg, rgba(255,255,255,0.28), transparent 40%); }
.disc-rim { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.disc-rim text { font: 600 3.3px var(--cond); letter-spacing: 0.32px; fill: #fff; text-transform: uppercase; }
.disc-hub { position: absolute; z-index: 3; left: 50%; top: 50%; width: 24%; height: 24%; margin: -12% 0 0 -12%; border-radius: 50%; background: var(--plaster); box-shadow: inset 0 0 0 6px #d9d6cf, inset 0 0 0 7px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.25); display: grid; place-items: center; font: 400 clamp(14px, 3vw, 26px)/1 var(--serif); color: var(--ink); }
.reel { --d: min(74vw, 400px); }
@media (max-width: 899px) { .reel-rows .opt { display: none; } .reel-rows dd { font-size: 14px; } .reel-name { min-height: 0; } }
@media (min-width: 900px) {
  .reel { --d: min(46vw, 64vh); }
  .reel-info { top: 88px; }
}

/* Reduced motion: a plain list instead of the pinned reel */
.reel.static .reel-pin { height: auto; overflow: visible; padding: 80px var(--gut); }
.reel.static .reel-info { position: static; width: auto; }
.reel.static .reel-discs { position: static; perspective: none; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 32px; }
.reel.static .disc { position: relative; left: auto; top: auto; margin: 0; width: 100%; height: auto; aspect-ratio: 1; }

/* 3. Process */
.process { padding: clamp(72px, 12vw, 140px) var(--gut); background: var(--plaster); border-top: 1px solid var(--rule); }
.sec-title { margin: 0; font: 400 clamp(36px, 7vw, 84px)/1 var(--serif); text-transform: uppercase; letter-spacing: -0.01em; max-width: 14ch; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; padding: 20px 0; border-top: 1px solid var(--rule); }
.step-n { grid-row: span 2; font: 400 34px/1 var(--serif); }
.steps h3 { margin: 0; font: 700 24px/1.1 var(--cond); text-transform: uppercase; letter-spacing: 0.02em; }
.steps p { margin: 6px 0 0; max-width: 34em; color: #3c3e44; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
  .steps li { grid-template-columns: 1fr; padding-top: 24px; }
  .step-n { grid-row: auto; margin-bottom: 28px; font-size: 56px; }
}

/* 4. Statement */
.statement { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--night); color: var(--paper); display: grid; align-items: end; }
.st-frame { position: absolute; inset: 0; overflow: hidden; }
.st-frame img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; }
.st-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,22,34,0.1) 30%, rgba(15,22,34,0.85)); }
.st-text { position: relative; margin: 0; padding: 0 var(--gut) clamp(40px, 8vw, 96px); font: 400 clamp(28px, 4.6vw, 64px)/1.08 var(--serif); max-width: 22ch; }

/* 5. Enquire: a sentence to fill in */
.enquire { background: var(--night); color: var(--paper); display: grid; }
.enq-photo { position: relative; height: 56vw; max-height: 460px; overflow: hidden; }
.enq-photo img { width: 100%; height: 100%; object-fit: cover; }
.enq-body { padding: clamp(48px, 8vw, 120px) var(--gut) clamp(64px, 10vw, 140px); }
.enq-title { margin: 0 0 28px; font: 600 13px/1 var(--cond); letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass); }
.sent { margin: 0; font: 400 clamp(26px, 3.3vw, 46px)/1.55 var(--serif); color: rgba(243, 241, 236, 0.92); }
.slot { display: inline-block; position: relative; }
.slot input, .slot select {
  font: italic 400 1em/1.2 var(--serif); color: var(--brass); background: transparent;
  border: 0; border-bottom: 1px solid rgba(224, 168, 79, 0.55); border-radius: 0;
  padding: 0 0.1em 0.04em; min-height: 44px; max-width: 100%;
  -webkit-appearance: none; appearance: none; transition: border-color 0.25s;
}
.slot input::placeholder { color: rgba(224, 168, 79, 0.45); }
.slot.sel select { padding-right: 0.9em; cursor: pointer; }
.slot.sel::after { content: ""; position: absolute; right: 0.15em; top: 52%; width: 0.28em; height: 0.28em; border-right: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.slot select option { color: var(--ink); font-style: normal; font-family: var(--sans); font-size: 16px; }
.slot input:focus, .slot select:focus { outline: none; border-bottom-color: var(--paper); }
.slot input:focus-visible, .slot select:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.slot input[aria-invalid="true"] { border-bottom-color: #FF9A7A; }
.err { margin: 14px 0 0; color: #FFB29A; font-size: 15px; }
.send { margin-top: 40px; display: inline-flex; align-items: center; gap: 18px; min-height: 56px; padding: 0; background: none; border: 0; color: var(--paper); font: 400 clamp(22px, 2.4vw, 30px)/1 var(--serif); }
.send-line { position: relative; width: 72px; height: 1px; background: var(--brass); transition: width 0.45s cubic-bezier(.2,.8,.2,1); }
.send-line::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 1px solid var(--brass); border-right: 1px solid var(--brass); transform: rotate(45deg); }
.send:hover .send-line, .send:focus-visible .send-line { width: 120px; }
.send:active { opacity: 0.8; }
.fine { margin: 22px 0 0; font-size: 14px; color: rgba(243, 241, 236, 0.55); max-width: 36em; }
.enq-done { margin: 14px 0 0; color: var(--brass); }
@media (min-width: 900px) {
  .enquire { grid-template-columns: 45% 1fr; min-height: 100svh; }
  .enq-photo { height: auto; max-height: none; }
  .enq-body { align-self: center; }
}

/* Footer */
.foot { background: var(--night); color: var(--paper); padding: 0 var(--gut) 32px; overflow: hidden; }
.foot-word { margin: 0; font: 400 clamp(72px, 24vw, 360px)/0.8 var(--serif); text-transform: uppercase; letter-spacing: -0.02em; color: rgba(243, 241, 236, 0.1); white-space: nowrap; }
.foot-note { margin: 20px 0 0; font-size: 14px; color: rgba(243, 241, 236, 0.6); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
@media (max-width: 639px) { .door-cue { display: none; } }
