/* Hotel Habakuk — home page concept (AVINII, October 2026).
   The casavanamilos.com house system, re-implemented with Habakuk's own tokens: a warm charcoal
   ground (the live site is monochrome; the interiors are walnut, amber light and a plum carpet),
   one bronze accent ramp, Jost for display and text (the wordmark is a geometric grotesk) and
   Amiri's Latin italic for the accent line. No vh outside act I. Hover = transform/opacity/colour. */

/* ---------- fonts (self-hosted, latin + latin-ext; Jost is one variable file per subset) ---------- */
@font-face{font-family:'Jost';src:url('../fonts/jost-latin.woff2') format('woff2');font-weight:300 500;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212}
@font-face{font-family:'Jost';src:url('../fonts/jost-latin-ext.woff2') format('woff2');font-weight:300 500;font-style:normal;font-display:swap;unicode-range:U+0100-02FF,U+1E00-1EFF,U+20A0-20C0,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Amiri';src:url('../fonts/amiri-latin.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212}
@font-face{font-family:'Amiri';src:url('../fonts/amiri-latin-ext.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0100-02FF,U+1E00-1EFF,U+20A0-20C0,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Amiri';src:url('../fonts/amiri-italic-latin.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212}
@font-face{font-family:'Amiri';src:url('../fonts/amiri-italic-latin-ext.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap;unicode-range:U+0100-02FF,U+1E00-1EFF,U+20A0-20C0,U+2C60-2C7F,U+A720-A7FF}

/* ---------- tokens ---------- */
:root{
  /* ground: a warm charcoal ramp; walnut is the mid tone (panel gradients, the act II glow) */
  --ink-900:#0E0D0C; --ink-800:#181614; --ink-700:#221F1C;
  --walnut:#3A2E27;  --walnut-lift:#4A3B32;
  /* accent: bronze, the same roles as casa's brass 700 / 500 / 300 */
  --bronze-700:#8E6A3E; --bronze-500:#C4975E; --bronze-300:#E3C79E;
  /* the one secondary: the lobby carpet, used only as the hero bloom */
  --plum:#7F5074;
  /* text: one ivory, opacity steps */
  --ivory:#F3EFE8;
  --ivory-92:rgb(243 239 232 / .92); --ivory-64:rgb(243 239 232 / .64);
  --ivory-38:rgb(243 239 232 / .38); --ivory-14:rgb(243 239 232 / .14);
  /* hairlines are the accent at low alpha */
  --line:rgb(227 199 158 / .10); --line-hi:rgb(227 199 158 / .30); --rule:rgb(196 151 94 / .42);
  /* space */
  --pad-x:clamp(1.5rem,5vw,6rem); --pad-y:clamp(1.6rem,2.8vw,4rem);
  --col:74rem;
  --step:clamp(3rem,5.5vw,5rem);
  --sec-y:clamp(3.5rem,6.2vw,6rem);
  --gap:clamp(.6rem,1.2vw,1rem);
  /* type */
  --fs-hero:clamp(2.6rem,4.85vw,4.5rem);
  --fs-h2:clamp(1.9rem,3.4vw,3rem);
  --fs-h3:clamp(1.35rem,2.1vw,1.85rem);
  --measure:52ch;
  --sans:'Jost',system-ui,-apple-system,'Segoe UI',sans-serif;
  --serif:'Amiri',Georgia,'Times New Roman',serif;
  /* the sticky header's height; site.js measures and rewrites it */
  --head-h:4.25rem;
  /* how far the hero photograph runs on under the fold, behind the booking strip */
  --stage-tail:14rem;
  --expo:cubic-bezier(.16,1,.3,1);
}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{background:var(--ink-900); -webkit-text-size-adjust:100%; scroll-padding-top:1.5rem}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{
  margin:0; background:var(--ink-900); color:var(--ivory);
  font-family:var(--sans); font-size:1.0625rem; line-height:1.6; font-weight:400;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; overflow-x:hidden;
}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
button,input,select{font:inherit; color:inherit}
button{background:none; border:0; padding:0; cursor:pointer}
p,figure,h1,h2,h3,dl,dd{margin:0}
h1,h2,h3{font-weight:300}
address{font-style:normal}
:focus-visible{outline:2px solid var(--bronze-300); outline-offset:3px; border-radius:2px}
::selection{background:var(--bronze-500); color:var(--ink-900)}
.skip{position:fixed; z-index:120; top:1rem; left:var(--pad-x); padding:.75rem 1rem; background:var(--bronze-300); color:var(--ink-900); transform:translateY(-200%); opacity:0}
.skip:focus{transform:none; opacity:1}
.sr-only{position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0}
.wrap{position:relative; width:100%; max-width:var(--col); margin-inline:auto}
main > section{position:relative}

/* ---------- type primitives ---------- */
/* micro-caps carry all navigational and status text */
.eyebrow,.micro,.nav a,.cta,.link,.rail,.field-k,.room-n,.room-facts,.features-k,.spec dt,.index-row .k,.tile-fig figcaption,.menu-n,.lang button{text-transform:uppercase; font-weight:500}
.eyebrow,.micro{
  display:flex; align-items:center; gap:.9rem;
  font-size:.7rem; letter-spacing:.22em; font-weight:500; line-height:1.4;
  color:var(--bronze-300); margin:0 0 clamp(.9rem,1.6vw,1.5rem);
}
.eyebrow::before{content:""; width:clamp(24px,4vw,54px); height:1px; background:var(--bronze-500); flex:none}
.eyebrow--bare::before{content:none}
h2{font-size:var(--fs-h2); line-height:1.04; letter-spacing:-.02em; text-wrap:balance}
.h3{font-size:var(--fs-h3); line-height:1.1; letter-spacing:-.015em}
.copy{max-width:var(--measure); color:var(--ivory-64); text-wrap:pretty}
.copy--first{margin-top:clamp(1.1rem,2vw,1.6rem)}
/* a unit inside a micro-caps line keeps its case: 86 m², never 86 M² */
.u{text-transform:none; letter-spacing:.02em; font-size:1.12em}
.copy + .copy{margin-top:.9rem}

/* ---------- controls: cta, link ---------- */
.cta-row{display:flex; flex-wrap:wrap; align-items:center; gap:.75rem; margin-top:clamp(1.3rem,2.3vw,2.2rem)}
.cta{
  position:relative; isolation:isolate; overflow:hidden;
  display:inline-flex; align-items:center; justify-content:center; gap:.6rem; min-height:44px;
  padding:.92rem 1.5rem; border:1px solid var(--bronze-500); border-radius:2px; color:var(--bronze-300);
  font-size:.74rem; line-height:1.2; letter-spacing:.14em; font-weight:500; white-space:nowrap;
  transition:color .24s ease,border-color .24s ease,transform .24s var(--expo);
}
.cta::before{content:""; position:absolute; inset:0; z-index:-1; background:var(--bronze-500); transform:scaleX(0); transform-origin:100% 50%; transition:transform .3s var(--expo)}
.cta--ghost{border-color:var(--ivory-14); color:var(--ivory-64)}
.cta--ghost::before{background:var(--ivory)}
.cta--sm{padding:.56rem 1rem; font-size:.66rem; letter-spacing:.12em}
@media (hover:hover) and (pointer:fine){
  .cta:hover{color:var(--ink-900)}
  .cta:hover::before{transform:scaleX(1); transform-origin:0 50%; transition-duration:.42s}
  .cta--ghost:hover{border-color:var(--ivory)}
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.cta:hover{transform:translateY(-2px)}}
@media (prefers-reduced-motion:no-preference){.cta:active{transform:scale(.97)}}

.link{
  position:relative; display:inline-block;
  font-size:.72rem; letter-spacing:.14em; font-weight:500;
  color:var(--bronze-300); border-bottom:1px solid rgb(196 151 94 / .45); padding-bottom:2px;
  transition:color .24s ease,border-color .24s ease;
}
.link::after{content:""; position:absolute; inset:-10px -6px}
.link:hover{color:var(--bronze-500); border-bottom-color:var(--bronze-500)}

/* ---------- header ---------- */
.site-head{position:sticky; top:0; z-index:50; padding:.625rem var(--pad-x)}
/* Blur first, as in the house system; the ink veil under it is Habakuk's addition: the room and spa
   photographs are daylight frames, and blur alone left the nav at ~2:1 over them (measured). */
.site-head::before{content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:rgb(14 13 12 / .66); border-bottom:1px solid var(--line); -webkit-backdrop-filter:blur(14px) saturate(1.1); backdrop-filter:blur(14px) saturate(1.1); opacity:0; transition:opacity .3s ease}
.site-head.is-scrolled::before{opacity:1}
.head-in{display:flex; align-items:center; gap:clamp(1.25rem,3vw,3rem); max-width:var(--col); margin-inline:auto}
/* the lockup as an alpha mask: logo-dark.png trimmed to its artwork (1378 x 380), so 48px of
   artwork is what the 56px box of the untrimmed file showed, and its left edge sits on the column */
.head-mark{
  display:block; flex:none; height:48px; aspect-ratio:1378/380; background:var(--ivory);
  -webkit-mask:url('../logo/lockup.png') no-repeat center/contain; mask:url('../logo/lockup.png') no-repeat center/contain;
  transition:background-color .25s ease;
}
.head-mark:hover{background:var(--bronze-500)}
.nav{display:flex; align-items:center; gap:clamp(1.5rem,3vw,2.75rem); margin-left:auto}
.nav a{position:relative; padding-block:.6rem; color:var(--ivory-64); font-size:.7rem; letter-spacing:.18em; font-weight:500; white-space:nowrap; transition:color .24s ease}
.nav a::after{content:""; position:absolute; bottom:.25rem; left:0; right:.18em; height:1px; background:var(--bronze-500); transform:scaleX(0); transform-origin:100% 50%; transition:transform .26s var(--expo)}
@media (hover:hover) and (pointer:fine){
  .nav a:hover{color:var(--bronze-300)}
  .nav a:hover::after{transform:scaleX(1); transform-origin:0 50%; transition-duration:.44s}
}
/* round 2: the nav links to real pages; the current one (or its section, on a room page) is bronze
   with its rule drawn */
.nav a[aria-current]{color:var(--bronze-300)}
.nav a[aria-current]::after{transform:scaleX(1); background:rgb(196 151 94 / .6)}
.head-actions{display:flex; align-items:center; gap:clamp(.75rem,1.6vw,1.25rem); flex:none}
.lang{display:flex; align-items:center; border:1px solid var(--ivory-14); border-radius:999px; overflow:hidden; background:rgb(14 13 12 / .42)}
.lang button{min-width:42px; min-height:42px; padding:0 .7rem; font-size:.64rem; letter-spacing:.12em; font-weight:500; color:var(--ivory-64); transition:color .24s ease,background-color .24s ease}
.lang button + button{border-left:1px solid var(--ivory-14)}
.lang button:hover{color:var(--ivory)}
.lang button[aria-pressed="true"]{color:var(--ink-900); background:var(--bronze-500)}
.lang button:focus-visible{outline-offset:-3px}
.burger,.menu-close{display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; color:var(--ivory); transition:color .22s ease,transform .18s var(--expo)}
.burger i,.menu-close i{position:relative; display:block; width:26px; height:22px}
.burger i::before,.burger i::after,.menu-close i::before,.menu-close i::after{content:""; position:absolute; left:0; top:10.5px; width:26px; height:1px; background:currentColor; transition:transform .3s var(--expo)}
.burger i::before{transform:translateY(-4px)}
.burger i::after{transform:translateY(4px) scaleX(.62); transform-origin:100% 50%}
.menu-close i::before{transform:rotate(45deg)}
.menu-close i::after{transform:rotate(-45deg)}
@media (hover:hover) and (pointer:fine){
  .burger:hover,.menu-close:hover{color:var(--bronze-300)}
  .burger:hover i::after{transform:translateY(4px) scaleX(1)}
}

/* ---------- the overlay menu ---------- */
.menu{position:fixed; inset:0; z-index:80; overflow-y:auto; overscroll-behavior:contain; color:var(--ivory);
  background:rgb(14 13 12 / .94); -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px);
  opacity:0; transition:opacity .32s ease}
.menu[hidden]{display:none}
.menu.is-open{opacity:1}
.menu-in{min-height:100%; display:flex; flex-direction:column; padding:.625rem var(--pad-x) clamp(1.5rem,3vw,2.5rem)}
.menu-head{display:flex; align-items:center; justify-content:space-between; width:100%; max-width:var(--col); margin-inline:auto}
.head-mark--static{pointer-events:none}
.menu-links{display:flex; flex-direction:column; width:100%; max-width:var(--col); margin:auto; padding-block:clamp(2rem,5vw,4rem)}
.menu-links a{
  display:flex; align-items:baseline; gap:clamp(1rem,2.4vw,2rem);
  padding-block:clamp(.5rem,1.1vw,.85rem); border-bottom:1px solid var(--ivory-14);
  font-weight:300; font-size:clamp(1.9rem,4.4vw,3.6rem); line-height:1.08; letter-spacing:-.02em;
  opacity:0; transform:translate3d(0,14px,0); transition:color .24s ease;
}
.menu-links a:first-child{border-top:1px solid var(--ivory-14)}
.menu.is-open .menu-links a{animation:rise .7s var(--expo) forwards; animation-delay:calc(80ms + var(--i,0) * 50ms)}
.menu-n{flex:none; width:2.4rem; font-size:.68rem; letter-spacing:.2em; font-weight:500; color:var(--bronze-500); transform:translateY(-.9em)}
@media (hover:hover) and (pointer:fine){.menu-links a:hover{color:var(--bronze-300)}}
.menu-links a[aria-current]{color:var(--bronze-300)}
.menu-foot{display:flex; flex-wrap:wrap; align-items:center; gap:1rem 2rem; width:100%; max-width:var(--col); margin-inline:auto; font-size:.9rem; color:var(--ivory-64)}
.menu-foot a:not(.cta):hover{color:var(--bronze-300)}
.menu-foot .cta{margin-left:auto}
html.menu-open{overflow:hidden}

/* ---------- ACT I: the hero ---------- */
.act--i{
  isolation:isolate; z-index:0;
  /* the one viewport-height unit on the page: svh, minus the sticky header */
  min-height:calc(100vh - var(--head-h)); min-height:calc(100svh - var(--head-h));
  display:grid; grid-template-rows:1fr auto;
  padding:var(--pad-y) var(--pad-x);
}
/* The photograph starts under the header and runs on below the fold, where it fades into the ground
   behind the booking strip; its last quarter is fully ink, so there is no edge to see. */
.stage{position:absolute; z-index:-1; left:0; right:0; top:calc(-1 * var(--head-h)); bottom:calc(-1 * var(--stage-tail)); overflow:hidden; background:var(--ink-900); pointer-events:none}
.stage img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:30% 44%}
.scrim{position:absolute; inset:0}
.scrim--v{background:linear-gradient(to top,
  var(--ink-900) 0, var(--ink-900) calc(var(--stage-tail) * .3),
  rgb(14 13 12 / .84) var(--stage-tail),
  rgb(14 13 12 / .5) calc(var(--stage-tail) + 12rem),
  rgb(14 13 12 / .22) calc(var(--stage-tail) + 28rem),
  rgb(14 13 12 / .52) 100%)}
.scrim--h{background:linear-gradient(100deg,rgb(14 13 12 / .9) 0%,rgb(14 13 12 / .7) 30%,rgb(14 13 12 / .36) 56%,rgb(14 13 12 / .06) 76%,rgb(14 13 12 / 0) 86%)}
/* the plum carpet, remembered: the only place the secondary appears */
.scrim--bloom{background:
  radial-gradient(46% 40% at 30% 44%,rgb(127 80 116 / .12) 0%,rgb(127 80 116 / 0) 72%),
  radial-gradient(48% 30% at 30% 52%,rgb(14 13 12 / .4) 0%,rgb(14 13 12 / 0) 74%)}

.hero{align-self:center; padding-block:clamp(.8rem,1.5vw,2.5rem)}
.hero-in{max-width:min(58rem,100%)}
/* the monogram as a mask: a faint ivory ground that bronze fills from below on load */
.mark{
  --w:clamp(84px,7vw,104px);
  width:var(--w); aspect-ratio:1; position:relative; overflow:hidden; background:rgb(243 239 232 / .16);
  -webkit-mask:url('../logo/monogram.png') no-repeat center/100% 100%; mask:url('../logo/monogram.png') no-repeat center/100% 100%;
  margin-bottom:clamp(1.1rem,2vw,1.9rem);
}
.mark::before{content:""; position:absolute; inset:0; background:var(--bronze-500)}
.mark .sheen{position:absolute; inset:-10% -60%; background:linear-gradient(105deg,rgb(227 199 158 / 0) 42%,var(--bronze-300) 50%,rgb(227 199 158 / 0) 58%); transform:translate3d(-70%,0,0); opacity:0}
.act--i .eyebrow{text-shadow:0 1px 14px rgb(14 13 12 / .8)}
.hero h1{
  font-size:var(--fs-hero); line-height:1.04; letter-spacing:-.02em; font-weight:300;
  text-shadow:0 1px 30px rgb(14 13 12 / .6),0 1px 4px rgb(14 13 12 / .4);
}
.hero h1 span{display:block}
/* Amiri's Latin is Crimson Text: its italic runs small beside Jost's tall caps, so it is set a step up */
.hero h1 .l2{font-family:var(--serif); font-style:italic; font-weight:400; font-size:1.1em; letter-spacing:-.01em; line-height:1.02; color:var(--bronze-300); margin-top:.04em}
.lead{
  margin-top:clamp(1rem,1.7vw,1.6rem); max-width:46ch;
  font-size:clamp(1.05rem,.6rem + .82vw,1.22rem); line-height:1.62; color:var(--ivory-92);
  text-shadow:0 1px 22px rgb(14 13 12 / .7),0 1px 3px rgb(14 13 12 / .5);
}
.hero .cta:not(.cta--ghost){background:rgb(196 151 94 / .16); border-color:var(--bronze-300)}
.hero .cta--ghost{border-color:rgb(243 239 232 / .34); color:var(--ivory)}
@media (hover:hover) and (pointer:fine){
  .hero .cta:not(.cta--ghost):hover{border-color:var(--bronze-500)}
  .hero .cta--ghost:hover{border-color:var(--ivory); color:var(--ink-900)}
}
.rail{display:flex; align-items:center; justify-content:space-between; gap:1.5rem; font-size:.66rem; letter-spacing:.18em; font-weight:500; color:var(--ivory-64)}
.scroll-cue{display:flex; align-items:center; gap:.75rem; min-height:44px; transition:color .24s ease}
.scroll-cue:hover{color:var(--bronze-300)}
.scroll-cue i{display:block; width:1px; height:34px; background:linear-gradient(to bottom,var(--bronze-500),rgb(196 151 94 / 0)); transform-origin:top; animation:drop 2.4s var(--expo) infinite}
@keyframes drop{0%{transform:scaleY(0); opacity:0}30%{opacity:1}100%{transform:scaleY(1); opacity:0}}
.rail-right{text-align:right; color:var(--bronze-300)}

/* ---------- the signature load moment ----------
   The monogram fills with bronze from the bottom up, one sheen crosses it, and the pool settles out
   of a 14px blur; then the words rise in. Gated on .js so that without a script nothing is hidden. */
.js .mark::before{transform:translate3d(0,101%,0)}
.js .stage img{filter:blur(14px); transform:scale(1.06)}
.js .act--i .reveal{opacity:0; transform:translate3d(0,18px,0)}
.is-ready .mark::before{animation:fill 1.45s cubic-bezier(.62,0,.3,1) .1s forwards}
.is-ready .mark .sheen{animation:sheen 1.05s cubic-bezier(.45,0,.25,1) 1.32s forwards}
.is-ready .stage img{animation:settle 2.2s cubic-bezier(.22,.8,.3,1) forwards}
.is-ready .act--i .reveal{animation:rise .95s var(--expo) forwards; animation-delay:calc(.98s + var(--i,0) * 90ms)}
@keyframes fill{to{transform:none}}
@keyframes sheen{0%{transform:translate3d(-70%,0,0); opacity:0}22%{opacity:.9}100%{transform:translate3d(75%,0,0); opacity:0}}
@keyframes settle{to{filter:blur(0); transform:none}}
@keyframes rise{to{opacity:1; transform:none}}

/* ---------- scroll reveals ---------- */
.js [data-reveal] .reveal,.js [data-reveal].reveal{opacity:0; transform:translate3d(0,26px,0)}
.js [data-reveal].in .reveal{animation:rise .85s var(--expo) forwards; animation-delay:calc(var(--i,0) * 70ms)}

/* ---------- the booking strip ---------- */
.book{z-index:1; padding:clamp(1.25rem,2.6vw,2.25rem) var(--pad-x) 0}
.booking{
  display:grid; grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(0,1fr)) auto; align-items:end;
  gap:clamp(1rem,2.4vw,2.25rem);
  padding:clamp(1.25rem,2.4vw,1.9rem) clamp(1.25rem,2.8vw,2.25rem);
  border:1px solid rgb(227 199 158 / .16); border-radius:3px;
  background:linear-gradient(150deg,rgb(58 46 39 / .36) 0%,rgb(24 22 20 / .52) 55%,rgb(14 13 12 / .42) 100%);
  -webkit-backdrop-filter:blur(18px) saturate(1.05); backdrop-filter:blur(18px) saturate(1.05);
  box-shadow:inset 0 1px 0 rgb(227 199 158 / .09),0 24px 60px -40px rgb(0 0 0 / .9);
}
.booking .micro{margin-bottom:.5rem}
.booking-h{font-size:clamp(1.25rem,1.8vw,1.55rem); line-height:1.15; letter-spacing:-.01em}
.field{display:flex; flex-direction:column; gap:.35rem; min-width:0}
.field-k{font-size:.66rem; letter-spacing:.2em; font-weight:500; color:var(--ivory-64)}
.field input,.field select{
  -webkit-appearance:none; appearance:none; width:100%; height:2.75rem; margin:0;
  padding:.5rem 0 .55rem; border:0; border-bottom:1px solid var(--ivory-14); border-radius:0;
  background:transparent; color:var(--ivory); font-size:1rem; font-variant-numeric:tabular-nums;
  color-scheme:dark; transition:border-color .24s ease; cursor:pointer;
}
.field input::-webkit-calendar-picker-indicator{opacity:.5; cursor:pointer; transition:opacity .2s ease}
.field input:hover::-webkit-calendar-picker-indicator{opacity:.9}
.field input::-webkit-datetime-edit{padding:0}
.field input:hover,.field select:hover{border-bottom-color:rgb(243 239 232 / .34)}
.field input:focus-visible,.field select:focus-visible{outline:none; border-bottom-color:var(--bronze-300); box-shadow:0 1px 0 var(--bronze-300)}
.field--select{position:relative}
.field--select::after{content:""; position:absolute; right:.25rem; bottom:1.2rem; width:6px; height:6px; border-right:1px solid var(--ivory-64); border-bottom:1px solid var(--ivory-64); transform:rotate(45deg); pointer-events:none}
.field select option{background:var(--ink-800); color:var(--ivory)}
.booking .cta{align-self:end}

/* ---------- sections ---------- */
.sec{padding:var(--sec-y) var(--pad-x)}
#hotel{padding-top:clamp(5rem,9vw,9rem)}
.head-split{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(1.5rem,4vw,4rem); align-items:end}
.head-split .copy{padding-bottom:.35rem}

/* O hotelu: text and a 4:3 tile, then the index */
.about{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.08fr); gap:clamp(2rem,5.5vw,5.5rem); align-items:center}
.tile-fig figcaption{margin-top:.9rem; font-size:.66rem; letter-spacing:.18em; font-weight:500; color:var(--ivory-64)}
.tile{
  position:relative; overflow:hidden; border-radius:3px; background:var(--ink-800); aspect-ratio:4/3;
  border:1px solid var(--line);
  box-shadow:inset 0 1px 0 rgb(227 199 158 / .07),0 18px 44px -34px rgb(0 0 0 / .9);
  transition:border-color .24s ease,translate .24s var(--expo);
}
.tile img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:53% 50%}
/* a light warm-dark grade, so daylight frames sit in the night ground without being edited */
.tile::after{content:""; position:absolute; inset:0; background:linear-gradient(to top,rgb(14 13 12 / .32),rgb(14 13 12 / .08) 50%); pointer-events:none}
@media (hover:hover) and (pointer:fine){.tile:hover{border-color:var(--line-hi)}}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.tile:hover{translate:0 -3px}}

.index{margin-top:clamp(3.5rem,6.5vw,6rem)}
.index .eyebrow{margin-bottom:clamp(1rem,1.8vw,1.4rem)}
.index-list{margin:0; padding:0; list-style:none; border-top:1px solid var(--ivory-14)}
.index-row{
  display:grid; grid-template-columns:minmax(0,11rem) minmax(0,13rem) minmax(0,1fr); gap:.5rem 1.5rem; align-items:baseline;
  padding:clamp(1.05rem,1.7vw,1.45rem) 0; border-bottom:1px solid var(--ivory-14); transition:border-color .3s ease;
}
.index-row .n{font-family:var(--serif); font-weight:400; font-style:normal; color:var(--bronze-500); font-size:clamp(1.7rem,2.5vw,2.25rem); line-height:1; font-variant-numeric:lining-nums tabular-nums}
.index-row .k{font-size:.72rem; letter-spacing:.18em; font-weight:500; transition:transform .24s var(--expo),color .24s ease}
.index-row .v{color:var(--ivory-64); font-size:1rem}
@media (hover:hover) and (pointer:fine){
  .index-row:hover{border-bottom-color:var(--rule)}
  .index-row:hover .k{transform:translateY(-2px); color:var(--bronze-300)}
}

/* Sobe: a featured card (the apartment) over a pair */
.rooms{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(1rem,2vw,1.6rem); margin-top:clamp(2.25rem,4vw,3.5rem)}
.room{
  display:flex; flex-direction:column; border:1px solid var(--line); border-radius:3px;
  background:linear-gradient(170deg,rgb(34 31 28 / .74) 0%,rgb(24 22 20 / .55) 60%);
  box-shadow:inset 0 1px 0 rgb(227 199 158 / .07),0 18px 44px -34px rgb(0 0 0 / .9);
  transition:border-color .24s ease,translate .24s var(--expo);
}
.room-media{position:relative; overflow:hidden; border-radius:2px 2px 0 0; aspect-ratio:3/2; background:var(--ink-800)}
.room-media img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.room-media::after{content:""; position:absolute; inset:0; background:linear-gradient(to top,rgb(14 13 12 / .32),rgb(14 13 12 / .07) 48%); pointer-events:none}
.room-body{display:flex; flex-direction:column; flex:1; padding:clamp(1.2rem,2.1vw,1.8rem) clamp(1.2rem,2.1vw,1.8rem) clamp(1.3rem,2.2vw,1.9rem)}
.room-n{font-size:.68rem; letter-spacing:.2em; font-weight:500; color:var(--bronze-300)}
.room-name{font-size:var(--fs-h3); line-height:1.1; letter-spacing:-.015em; margin-top:.45rem}
.room-desc{margin-top:.65rem; color:var(--ivory-64); font-size:.98rem; max-width:48ch}
/* the pair keeps its facts lines level: each description holds two lines' room */
.room:not(.room--feature) .room-desc{min-height:3.2em}
.room-facts{margin-top:1rem; font-size:.66rem; letter-spacing:.16em; font-weight:500; color:var(--ivory-64)}
.room-actions{display:flex; flex-wrap:wrap; align-items:center; gap:.75rem 1.5rem; margin-top:auto; padding-top:clamp(1.2rem,1.9vw,1.6rem)}
.room--feature{grid-column:1/-1; flex-direction:row}
.room--feature .room-media{flex:1.42 1 0; border-radius:2px 0 0 2px}
.room--feature .room-body{flex:1 1 0; justify-content:center; padding:clamp(1.5rem,3.4vw,3.25rem)}
.room--feature .room-name{font-size:clamp(1.75rem,2.9vw,2.6rem); line-height:1.04; letter-spacing:-.02em}
.room--feature .room-actions{margin-top:0; padding-top:clamp(1.5rem,2.6vw,2.2rem)}
@media (hover:hover) and (pointer:fine){.room:hover{border-color:var(--line-hi)}}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.room:hover{translate:0 -3px}}
.room:focus-within{border-color:var(--line-hi)}
.features{margin-top:clamp(1.75rem,3vw,2.5rem); padding-top:1.1rem; border-top:1px solid var(--ivory-14); font-size:.9rem; color:var(--ivory-64); max-width:none}
.features-k{margin-right:1rem; font-size:.66rem; letter-spacing:.2em; font-weight:500; color:var(--bronze-300)}

/* split sections: photographs on one side, words on the other (wellness left, meetings right) */
.split{display:grid; gap:clamp(2rem,5.5vw,5.5rem); align-items:start}
.split--media-left{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
.split--media-left .split-media{grid-column:1; grid-row:1}
.split--media-left .split-text{grid-column:2; grid-row:1}
.split--media-right{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
.split-text{position:sticky; top:calc(var(--head-h) + 2rem); padding-top:.25rem}
.split-text--flow{position:static}
.tile-fig--sticky{position:sticky; top:calc(var(--head-h) + 2rem)}
.tile--hall{aspect-ratio:4/3}
.tile--hall img{object-position:52% 50%}

/* the photo rhythm: native ratios; a row shares one height because each figure grows by its ratio */
.ph-grid{display:flex; flex-direction:column; gap:var(--gap)}
.ph-row{display:flex; align-items:flex-start; gap:var(--gap)}
.ph{position:relative; overflow:hidden; border-radius:3px; background:var(--ink-800); box-shadow:0 18px 44px -34px rgb(0 0 0 / .9); transition:translate .24s var(--expo)}
.ph-row .ph{flex:var(--r) 1 0; min-width:0}
.ph::after{content:""; position:absolute; inset:0; border:1px solid var(--line); border-radius:inherit; pointer-events:none; transition:border-color .24s ease}
.ph img{width:100%; height:auto}
@media (hover:hover) and (pointer:fine){.ph:hover::after{border-color:var(--line-hi)}}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.ph:hover{translate:0 -3px}}

/* key / value rows: the index without its numeral */
.spec{margin-top:clamp(1.6rem,2.8vw,2.3rem); border-top:1px solid var(--ivory-14); max-width:var(--measure)}
.spec > div{display:grid; grid-template-columns:minmax(0,10rem) minmax(0,1fr); gap:1rem; align-items:baseline; padding:.8rem 0; border-bottom:1px solid var(--ivory-14)}
.spec dt{font-size:.66rem; letter-spacing:.18em; font-weight:500; color:var(--bronze-300)}
.spec dd{color:var(--ivory-92); font-size:.98rem; font-variant-numeric:tabular-nums}
.sub-block{margin-top:clamp(2.4rem,4.4vw,3.5rem)}
.sub-block .copy{margin-top:.8rem}
.sub-block .cta-row{margin-top:clamp(1.2rem,2vw,1.6rem)}

/* Pohorje: a full-bleed band, the forest under a warm scrim that closes to ink at both edges */
.band{position:relative; isolation:isolate; overflow:hidden; padding:clamp(5.5rem,10vw,9rem) var(--pad-x) clamp(5rem,9vw,8.5rem)}
/* the photograph starts 30rem into the content column, wherever the column sits */
.band-media{position:absolute; top:0; bottom:0; right:0; left:calc(max(var(--pad-x),(100% - var(--col)) / 2) + 30rem); z-index:-1}
.band-media img{width:100%; height:100%; object-fit:cover; object-position:0% 46%}
.band-media::after{content:""; position:absolute; inset:0; background:
  linear-gradient(to bottom,var(--ink-900) 0%,rgb(14 13 12 / .42) 18%,rgb(14 13 12 / .3) 55%,rgb(14 13 12 / .78) 86%,var(--ink-900) 100%),
  linear-gradient(to right,var(--ink-900) 0%,rgb(14 13 12 / .7) 16%,rgb(14 13 12 / .22) 44%,rgb(14 13 12 / .1) 100%)}
.band-head{max-width:36rem}
.band h2,.band .eyebrow{text-shadow:0 1px 24px rgb(14 13 12 / .6)}
.copy--on-photo{color:var(--ivory-92); text-shadow:0 1px 18px rgb(14 13 12 / .7)}
.spec--band{max-width:34rem; margin-top:clamp(2.2rem,4vw,3.25rem); border-top-color:rgb(243 239 232 / .2)}
.spec--band > div{grid-template-columns:minmax(0,10rem) minmax(0,1fr); padding:.95rem 0; border-bottom-color:rgb(243 239 232 / .2)}
.spec--band dd{text-shadow:0 1px 14px rgb(14 13 12 / .7)}

/* Kontakt: raised glass */
.sec--contact{padding-top:clamp(3rem,5.5vw,5rem); padding-bottom:0}
.contact{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:clamp(1.5rem,4vw,3.5rem); align-items:center;
  padding:clamp(1.75rem,3.8vw,3.25rem); border-radius:3px; border:1px solid rgb(196 151 94 / .22);
  background:linear-gradient(150deg,rgb(58 46 39 / .44) 0%,rgb(34 31 28 / .26) 46%,rgb(14 13 12 / .1) 100%);
  box-shadow:inset 0 1px 0 rgb(227 199 158 / .1),0 24px 60px -40px rgb(0 0 0 / .9);
}
.contact h2{font-size:clamp(1.6rem,2.6vw,2.3rem)}
.contact-address{margin-top:.9rem; color:var(--ivory-92); line-height:1.55}
.note{margin:.6rem 0 1.1rem; color:var(--ivory-64); font-size:.94rem}
.reach{display:flex; flex-direction:column; align-items:flex-start; gap:.45rem; margin-bottom:clamp(1.5rem,2.6vw,2.1rem)}
.phone{font-weight:300; font-size:clamp(1.7rem,3vw,2.4rem); line-height:1.1; letter-spacing:-.01em; color:var(--bronze-300); font-variant-numeric:lining-nums; transition:color .24s ease}
.phone:hover{color:var(--bronze-500)}
.mail{color:var(--ivory-92); border-bottom:1px solid var(--ivory-14); padding-bottom:2px; transition:color .24s ease,border-color .24s ease}
.mail:hover{color:var(--bronze-300); border-bottom-color:var(--rule)}
.contact .cta-row{margin-top:0}

/* ---------- footer ---------- */
.site-foot{margin-top:clamp(4rem,7vw,6.5rem); padding:clamp(2.8rem,4.4vw,3.8rem) var(--pad-x) clamp(1.5rem,2.6vw,2.25rem); border-top:1px solid var(--ivory-14); text-align:center}
.foot-lockup{
  display:block; height:clamp(44px,3.6vw,52px); aspect-ratio:1378/380; margin:0 auto clamp(1.7rem,2.8vw,2.4rem);
  background:var(--bronze-500);
  -webkit-mask:url('../logo/lockup.png') no-repeat center/contain; mask:url('../logo/lockup.png') no-repeat center/contain;
  transition:background-color .25s ease;
}
.foot-lockup:hover{background:var(--bronze-300)}
.foot-nav{display:flex; flex-wrap:wrap; justify-content:center; gap:0 1.6rem; margin:0; padding:0; list-style:none}
.foot-nav a,.foot-reach a,.foot-maps{display:inline-flex; align-items:center; min-height:2.25rem; color:var(--ivory-64); transition:color .24s ease}
.foot-nav a{font-size:.875rem}
.foot-reach{display:flex; flex-wrap:wrap; justify-content:center; gap:0 1.5rem; margin-top:1rem; font-size:.8125rem}
.foot-place{margin-top:.25rem; font-size:.75rem; line-height:1.6; color:var(--ivory-64)}
.foot-place .nw{white-space:nowrap}
.foot-maps{min-height:0; margin-left:.6rem; border-bottom:1px solid var(--ivory-14)}
@media (hover:hover) and (pointer:fine){.foot-nav a:hover,.foot-reach a:hover,.foot-maps:hover{color:var(--bronze-300)}}
.foot-nav a[aria-current]{color:var(--bronze-300)}
.foot-lang{display:flex; justify-content:center; margin-top:1rem}
.foot-lang button{min-width:40px; min-height:40px; padding:0 .4rem; font-size:.72rem; letter-spacing:.1em; color:var(--ivory-64); transition:color .24s ease}
.foot-lang button[aria-pressed="true"]{color:var(--bronze-300); text-decoration:underline; text-decoration-color:var(--bronze-500); text-underline-offset:.5em; text-decoration-thickness:1px}
.foot-lang button:not([aria-pressed="true"]):hover{color:var(--ivory)}
.foot-base{display:grid; justify-items:center; margin-top:1.8rem}
.foot-copy,.foot-legal{font-size:.75rem; line-height:1.6; color:var(--ivory-64)}
.foot-legal a{transition:color .24s ease}
.foot-legal a:hover{color:var(--bronze-300)}
.credit{display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; margin-top:.9rem; color:var(--ivory-38); transition:color .3s ease}
.credit:hover{color:var(--bronze-300)}
.avinii{width:46px; height:auto; display:block}

/* ---------- narrower screens: nothing breaks 1280-1920; under 900 one column ---------- */
@media (max-width:1180px){
  .booking{grid-template-columns:repeat(3,minmax(0,1fr)) auto}
  .booking-title{grid-column:1/-1}
}
@media (max-width:899px){
  .nav,.lang{display:none}
  .head-mark{height:40px}
  .head-split,.about,.split--media-left,.split--media-right,.contact{grid-template-columns:minmax(0,1fr)}
  .split--media-left .split-media,.split--media-left .split-text{grid-column:auto; grid-row:auto}
  .split-text,.tile-fig--sticky{position:static}
  .rooms{grid-template-columns:minmax(0,1fr)}
  .room--feature{flex-direction:column}
  .room--feature .room-media{flex:none; border-radius:2px 2px 0 0}
  .booking{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .booking .cta{grid-column:1/-1}
  .index-row{grid-template-columns:minmax(0,7rem) minmax(0,1fr)}
  .index-row .v{grid-column:2}
  .rail{flex-direction:column; align-items:flex-start; gap:.5rem}
  .rail-right{text-align:left}
  .menu-foot .cta{margin-left:0}
  .band-media{left:0}
}
@media (max-width:560px){
  .head-actions .cta--sm{display:none}
  .ph-row{flex-direction:column}
  .ph-row .ph{flex:none; width:100%}
  .spec > div,.spec--band > div{grid-template-columns:minmax(0,7.5rem) minmax(0,1fr)}
}

/* ---------- reduced motion: everything is simply there ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important; animation-delay:0s !important; animation-iteration-count:1 !important; transition-duration:.01ms !important}
  .js .reveal,.js [data-reveal] .reveal,.js [data-reveal].reveal,.js .act--i .reveal,.menu-links a{opacity:1 !important; transform:none !important}
  .js .stage img{filter:none; transform:none}
  .js .mark::before{transform:none}
  .mark .sheen{display:none}
  .scroll-cue i{animation:none; opacity:.6; transform:none}
}
@media (prefers-contrast:more){
  :root{--ivory-64:rgb(243 239 232 / .86); --ivory-38:rgb(243 239 232 / .62); --ivory-14:rgb(243 239 232 / .38)}
}
