/*
 * The sections of "Filo d'oro" (one block per type in inc/render/components.php), ported from the
 * approved drafts. Motion: opacity and transform only, driven by assets/js/imhotel.js; without
 * motion (prefers-reduced-motion or no JS) every section is complete and static.
 */

/* ---------- reveal on scroll ---------- */
.imh-motion .imh-reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .7s var(--imh-ease), transform .7s var(--imh-ease); }
.imh-motion .imh-reveal.is-in { opacity: 1; transform: none; }
.imh-cue { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #F1ECE4; }
.imh-cue i { display: block; width: 1px; height: 42px; background: linear-gradient(var(--imh-gold-soft), transparent); animation: imh-cue 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes imh-cue { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }

/* ---------- hero ---------- */
.imh-hero { position: relative; height: 100vh; height: 100svh; background: var(--imh-night); color: var(--imh-white); }
.imh-pin .imh-hero--seq { height: 230vh; }
.imh-hero--short { height: 72vh; height: 72svh; min-height: 460px; }
.imh-hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.imh-hero--short .imh-hero__stage { height: 100%; position: relative; }
.imh-hero__layer { position: absolute; inset: 0; will-change: transform, opacity; }
.imh-hero__layer .imh-pic { height: 100%; }
.imh-hero__layer--2 { opacity: 0; }
html:not(.imh-pin) .imh-hero__layer--2 { display: none; }
.imh-hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 18, 16, .62) 0%, rgba(20, 18, 16, .26) 34%, rgba(20, 18, 16, .32) 62%, rgba(20, 18, 16, .7) 100%); }
.imh-hero__copy { position: absolute; inset: auto 0 0 0; padding-bottom: clamp(110px, 16vh, 180px); will-change: transform, opacity; }
.imh-hero--short .imh-hero__copy { padding-bottom: clamp(48px, 9vh, 96px); }
.imh-hero .imh-eyebrow { color: var(--imh-gold-soft); }
.imh-hero__title { font-size: clamp(40px, 5.4vw, 78px); max-width: 16ch; margin-top: 18px; }
.imh-hero--short .imh-hero__title { font-size: clamp(38px, 4.6vw, 64px); }
.imh-hero__title span { display: block; }
.imh-hero__sub { margin-top: 22px; font-size: clamp(17px, 1.5vw, 20px); max-width: 46ch; color: #F1ECE4; }
.imh-hero__cta { margin-top: 28px; }
.imh-hero__caption { position: absolute; left: 0; right: 0; bottom: clamp(110px, 16vh, 180px); opacity: 0; will-change: opacity, transform; }
.imh-hero__caption .imh-eyebrow { margin-bottom: 16px; }
.imh-hero__line { font-family: var(--imh-font-display); font-size: clamp(30px, 4.2vw, 58px); line-height: 1.15; max-width: 17ch; }

/* ---------- booking bar ---------- */
.imh-bookbar { position: relative; z-index: 5; margin-top: -64px; }
.imh-bookbar__card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; background: var(--imh-white); border-top: 2px solid var(--imh-gold); box-shadow: 0 30px 70px -36px rgba(42, 38, 34, .5); padding: 26px clamp(18px, 3vw, 40px); }
.imh-bookbar__title { font-family: var(--imh-font-display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.imh-bookbar__notes { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14.5px; color: var(--imh-muted); }
.imh-bookbar__notes li { display: inline-flex; align-items: center; gap: 8px; }
.imh-bookbar__notes .imh-icon { width: 18px; height: 18px; }
.imh-bookbar__act { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.imh-bookbar__safe, .imh-roombook__safe { font-size: 12.5px; color: var(--imh-muted); text-align: center; }

/* ---------- gold thread ---------- */
.imh-main { position: relative; }
.imh-thread { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.imh-thread svg { position: absolute; left: 0; top: 0; overflow: visible; }
.imh-thread__track { fill: none; stroke: var(--imh-gold-soft); stroke-width: 1; opacity: .6; }
.imh-thread__draw { fill: none; stroke: var(--imh-gold); stroke-width: 1.6; stroke-linecap: round; }
.imh-thread__dot { fill: var(--imh-white); stroke: var(--imh-gold); stroke-width: 1.4; transition: fill .5s; }
.imh-thread__dot.is-lit, .imh-thread__end { fill: var(--imh-gold); }
.imh-wp { position: absolute; left: 0; top: clamp(44px, 5.5vw, 72px); width: 1px; height: 1px; }
.imh-wp-label { position: absolute; transform: translate(-50%, calc(-100% - 12px)); text-align: center; background: var(--imh-white); padding: 4px 8px; line-height: 1.25; white-space: nowrap; opacity: .4; transition: opacity .6s; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--imh-gold-deep); }
.imh-wp-label small { display: block; font-size: 10px; font-weight: 400; letter-spacing: .12em; color: var(--imh-muted); }
.imh-wp-label--warm { background: var(--imh-warm); }
.imh-wp-label--dark { background: var(--imh-accent); color: var(--imh-gold-soft); }
.imh-wp-label--dark small { color: var(--imh-accent-soft); }
.imh-wp-label.is-lit { opacity: 1; }
.imh-thread--simple .imh-wp-label { display: none; }
html:not(.imh-pin) .imh-thread { display: none; }

/* ---------- intro ---------- */
.imh-intro__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.imh-intro h2 { font-size: clamp(34px, 4vw, 54px); margin-top: 18px; }
.imh-intro .imh-lead { margin-top: 26px; }
.imh-intro__p { margin-top: 18px; color: var(--imh-muted); max-width: 60ch; }
.imh-intro__media { position: relative; }
.imh-intro__frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.imh-intro__frame > div { height: 118%; will-change: transform; }
.imh-intro__frame .imh-pic { height: 100%; }
.imh-badge { position: absolute; right: -1px; top: 28px; background: var(--imh-accent); color: var(--imh-white); padding: 14px 18px; text-align: right; }
.imh-badge b { display: block; font-family: var(--imh-font-display); font-weight: 400; font-size: 34px; line-height: 1; }
.imh-badge span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--imh-accent-soft); }
.imh-seal { position: absolute; width: 150px; height: 150px; left: -62px; bottom: -48px; color: var(--imh-gold-deep); }
.imh-seal svg { width: 100%; height: 100%; overflow: visible; }
.imh-seal__ring { fill: var(--imh-white); }
.imh-seal__spin { transform-box: view-box; transform-origin: 75px 75px; will-change: transform; }
.imh-seal text { font-family: var(--imh-font-body); font-size: 10.6px; letter-spacing: .32em; text-transform: uppercase; fill: var(--imh-gold-deep); }
.imh-seal .imh-seal__core { font-family: var(--imh-font-display); font-size: 30px; letter-spacing: .04em; fill: var(--imh-accent); }

/* ---------- facts ---------- */
.imh-facts__head, .imh-rooms__head, .imh-others__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.imh-facts h2, .imh-rooms h2 { font-size: clamp(32px, 3.6vw, 48px); margin-top: 16px; max-width: 20ch; }
.imh-facts__cols { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.imh-facts__cols--1 { grid-template-columns: minmax(0, 1fr); }
.imh-facts__cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.imh-facts__cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.imh-facts__group h3 { font-family: var(--imh-font-body); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--imh-gold-deep); padding-bottom: 14px; border-bottom: 1px solid var(--imh-line); }
.imh-fact { display: flex; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--imh-line); }
.imh-fact b { display: block; font-weight: 500; font-size: 15.5px; }
.imh-fact span { display: block; font-size: 14.5px; color: var(--imh-muted); line-height: 1.5; }
.imh-facts__note { margin-top: 34px; display: flex; gap: 16px; align-items: flex-start; font-size: 15.5px; color: var(--imh-ink); max-width: 80ch; }

/* ---------- rooms ---------- */
.imh-rooms__lead { margin-top: 20px; }
.imh-rooms__grid { margin-top: 60px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 40px; }
.imh-rooms__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 56px; }
.imh-room__link { display: block; text-decoration: none; color: inherit; position: relative; }
.imh-room__media { overflow: hidden; aspect-ratio: 4 / 3; }
.imh-room__media .imh-pic { height: 100%; }
.imh-room__media img { transition: transform 1.2s var(--imh-ease); }
.imh-frame { position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); overflow: visible; pointer-events: none; }
.imh-frame rect { fill: none; stroke: var(--imh-gold); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.6, .05, .2, 1); }
.imh-room__link:hover .imh-frame rect, .imh-room__link:focus-visible .imh-frame rect { stroke-dashoffset: 0; }
.imh-room__link:hover .imh-room__media img, .imh-room__link:focus-visible .imh-room__media img { transform: scale(1.05); }
.imh-room__body { padding-top: 20px; }
.imh-room h3 { font-size: 26px; }
.imh-room__short { margin-top: 8px; color: var(--imh-muted); font-size: 15.5px; }
.imh-room__chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 14px; color: var(--imh-muted); }
.imh-room__chips span { display: inline-flex; align-items: center; gap: 7px; }
.imh-room__chips .imh-icon { width: 20px; height: 20px; }
.imh-room__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--imh-line); font-size: 14px; }
.imh-room__foot em { font-style: normal; color: var(--imh-muted); }
.imh-room__foot strong { font-weight: 500; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; color: var(--imh-accent); white-space: nowrap; }

/* ---------- split ---------- */
.imh-split { overflow: hidden; }
.imh-split__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.imh-split--left .imh-split__text { order: 2; }
.imh-split--text .imh-split__grid { grid-template-columns: minmax(0, 1fr); }
.imh-split--text .imh-split__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(40px, 6vw, 96px); align-items: start; }
.imh-split--text .imh-split__text > :not(.imh-picks):not(.imh-picks__cap) { grid-column: 1; }
.imh-split--text .imh-picks__cap { grid-column: 2; grid-row: 1; margin-top: 0; }
.imh-split--text .imh-picks { grid-column: 2; grid-row: 2 / span 6; }
.imh-split h2 { font-size: clamp(32px, 3.8vw, 52px); margin-top: 16px; }
.imh-split .imh-lead { margin-top: 22px; }
.imh-split__p { margin-top: 16px; color: var(--imh-muted); max-width: 60ch; }
.imh-split__media figure { margin: 0; }
.imh-split__media--single .imh-pic { aspect-ratio: 4 / 3; }
.imh-split__media--pair { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: end; }
.imh-split__media--pair figure:first-child .imh-pic { aspect-ratio: 1; }
.imh-split__media--pair figure:last-child .imh-pic { aspect-ratio: 3 / 4; }
.imh-split__media--collage { position: relative; height: clamp(440px, 46vw, 620px); }
.imh-split__media--collage figure { position: absolute; overflow: hidden; box-shadow: 0 30px 60px -34px rgba(42, 38, 34, .55); will-change: transform; }
.imh-split__media--collage .imh-pic { height: 100%; }
.imh-collage__1 { left: 0; top: 6%; width: 68%; height: 70%; }
.imh-collage__2 { right: 0; top: 0; width: 38%; height: 40%; }
.imh-collage__3 { right: 6%; bottom: 0; width: 46%; height: 44%; }
.imh-collage__tag { position: absolute; left: 8%; bottom: 4%; background: var(--imh-white); padding: 12px 16px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--imh-gold-deep); box-shadow: 0 16px 40px -26px rgba(42, 38, 34, .6); will-change: transform; }
.imh-cells { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--imh-line); border: 1px solid var(--imh-line); }
.imh-cells div { background: var(--imh-white); padding: 18px 16px; }
.imh-cells:has(> :nth-child(4):last-child), .imh-cells:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.imh-cells b { display: block; font-family: var(--imh-font-display); font-weight: 400; font-size: 24px; }
.imh-cells span { display: block; font-size: 13px; color: var(--imh-muted); margin-top: 4px; line-height: 1.4; }
.imh-picks__cap { margin-top: 30px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--imh-gold-deep); padding-bottom: 10px; border-bottom: 1px solid var(--imh-line); }
.imh-picks { list-style: none; padding: 0; margin: 0; }
.imh-picks li { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--imh-line); }
.imh-picks b { font-family: var(--imh-font-display); font-weight: 400; font-size: 22px; }
.imh-picks span { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--imh-muted); white-space: nowrap; }

/* ---------- band ---------- */
.imh-band { position: relative; height: min(82vh, 760px); overflow: hidden; color: var(--imh-white); padding: 0; display: flex; }
.imh-band__img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; will-change: transform; }
.imh-band__img .imh-pic { height: 100%; }
.imh-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 18, 16, .62), rgba(20, 18, 16, .15) 62%); pointer-events: none; }
.imh-band__copy { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding-bottom: clamp(48px, 8vw, 96px); }
.imh-band .imh-eyebrow { color: var(--imh-gold-soft); margin-bottom: 18px; }
.imh-band__line { font-family: var(--imh-font-display); font-size: clamp(30px, 4.4vw, 62px); line-height: 1.12; max-width: 16ch; }

/* ---------- direct ---------- */
.imh-direct { background: var(--imh-accent); color: var(--imh-white); }
.imh-direct .imh-eyebrow { color: var(--imh-gold-soft); }
.imh-direct h2 { font-size: clamp(34px, 4.2vw, 58px); margin-top: 16px; max-width: 18ch; }
.imh-direct .imh-lead { color: var(--imh-accent-soft); margin-top: 18px; }
.imh-direct__grid { margin-top: 54px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.imh-perk { border-top: 1px solid rgba(255, 255, 255, .28); padding-top: 20px; }
.imh-perk .imh-icon { stroke: var(--imh-gold-soft); width: 30px; height: 30px; }
.imh-perk b { display: block; margin-top: 16px; font-family: var(--imh-font-display); font-weight: 400; font-size: 22px; line-height: 1.2; }
.imh-perk span { display: block; margin-top: 8px; font-size: 15px; color: var(--imh-accent-soft); }
.imh-direct__cta { margin-top: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.imh-direct__cta p { font-size: 15px; color: var(--imh-accent-soft); max-width: 50ch; }
.imh-magnetic { will-change: transform; transition: transform .5s var(--imh-ease), background-color .35s, color .35s; }

/* ---------- sisters ---------- */
.imh-sisters { padding-top: 0; }
.imh-sisters__box { border: 1px solid var(--imh-line); background: var(--imh-warm); padding: clamp(26px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: center; }
.imh-sisters__box h2 { font-size: clamp(26px, 2.8vw, 36px); }
.imh-sisters__box p { margin-top: 12px; color: var(--imh-muted); font-size: 15.5px; }
.imh-sisters__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.imh-sister { display: block; text-decoration: none; background: var(--imh-white); border: 1px solid var(--imh-line); padding: 20px; transition: border-color .35s, transform .45s var(--imh-ease); }
.imh-sister:hover { border-color: var(--imh-gold); transform: translateY(-4px); }
.imh-sister__num { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 30px; padding: 0 8px; border: 1px solid var(--imh-gold); font-family: var(--imh-font-display); color: var(--imh-gold-deep); font-size: 16px; }
.imh-sister b { display: block; margin-top: 12px; font-family: var(--imh-font-display); font-weight: 400; font-size: 22px; }
.imh-sister span:not(.imh-sister__num) { display: block; font-size: 14px; color: var(--imh-muted); margin-top: 4px; }

/* ---------- stage: the photo stays, the story scrolls over it ---------- */
.imh-stage { position: relative; background: var(--imh-night); color: var(--imh-white); }
.imh-stage__sticky { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.imh-pin .imh-stage__sticky { position: sticky; top: 0; }
.imh-stage__bg { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.imh-stage__bg.is-on { opacity: 1; }
.imh-stage__bg .imh-pic { height: 100%; }
.imh-stage__bg img { transform: scale(1.04); will-change: transform; }
.imh-stage__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(20, 18, 16, .64) 0%, rgba(20, 18, 16, .26) 46%, rgba(20, 18, 16, 0) 72%), linear-gradient(180deg, rgba(20, 18, 16, .45) 0%, rgba(20, 18, 16, 0) 26%, rgba(20, 18, 16, 0) 70%, rgba(20, 18, 16, .5) 100%); }
.imh-stage__steps { position: absolute; inset: 0; pointer-events: none; }
.imh-step { position: absolute; left: 0; right: 0; bottom: clamp(64px, 12vh, 140px); }
.imh-step .imh-container { padding-left: max(var(--imh-gutter), 120px); }
.imh-step__in { max-width: 540px; pointer-events: auto; }
.imh-pin .imh-step { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity .7s ease, transform .7s var(--imh-ease); }
.imh-pin .imh-step.is-on { opacity: 1; transform: none; }
.imh-pin .imh-step.is-past { opacity: 0; transform: translate3d(0, -40px, 0); }
.imh-step .imh-eyebrow { color: var(--imh-gold-soft); display: flex; align-items: center; gap: 14px; }
.imh-step .imh-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--imh-gold); }
.imh-step h1 { font-size: clamp(50px, 7vw, 104px); margin-top: 18px; line-height: 1; }
.imh-step h2 { font-size: clamp(32px, 3.8vw, 54px); margin-top: 16px; }
.imh-step p { margin-top: 18px; font-size: clamp(17px, 1.4vw, 19px); color: #F1ECE4; max-width: 46ch; }
.imh-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.imh-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid rgba(228, 214, 189, .55); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; background: rgba(20, 18, 16, .25); backdrop-filter: blur(6px); }
.imh-chip--accent { background: var(--imh-accent); border-color: var(--imh-accent); }
.imh-step__note { display: flex !important; align-items: center; gap: 12px; font-size: 13.5px !important; letter-spacing: .06em; color: var(--imh-gold-soft) !important; }
.imh-step__note .imh-icon { stroke: var(--imh-gold-soft); width: 22px; height: 22px; }
.imh-stage__inset { position: absolute; right: clamp(24px, 8vw, 140px); top: 22vh; width: clamp(150px, 17vw, 250px); aspect-ratio: 6 / 7; border: 1px solid var(--imh-gold-soft); padding: 8px; background: rgba(255, 255, 255, .08); backdrop-filter: blur(4px); pointer-events: none; margin: 0; }
.imh-stage__inset .imh-pic { height: 100%; }
.imh-pin .imh-stage__inset { opacity: 0; transform: translate3d(0, 50px, 0) rotate(2deg); transition: opacity .7s ease, transform .7s var(--imh-ease); }
.imh-pin .imh-stage__inset.is-on { opacity: 1; transform: rotate(-2deg); }
.imh-stage__inset figcaption { position: absolute; left: 8px; right: 8px; bottom: -34px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--imh-gold-soft); text-align: center; }
.imh-stage__count { position: absolute; right: max(32px, var(--imh-gutter-r)); bottom: clamp(64px, 12vh, 140px); color: var(--imh-gold-soft); font-family: var(--imh-font-display); font-size: 15px; letter-spacing: .2em; }
.imh-stage__count b { font-weight: 400; color: var(--imh-white); font-size: 28px; }
/* static version (phones, reduced motion, no JS): steps stack under the first photo */
html:not(.imh-pin) .imh-stage__steps { position: relative; inset: auto; background: var(--imh-night); }
html:not(.imh-pin) .imh-step { position: relative; bottom: auto; padding-block: 48px; border-top: 1px solid rgba(228, 214, 189, .18); }
html:not(.imh-pin) .imh-stage__sticky { height: auto; }
html:not(.imh-pin) .imh-stage__bg { position: relative; opacity: 1; height: 70vh; }
html:not(.imh-pin) .imh-stage__bg + .imh-stage__bg { display: none; }
html:not(.imh-pin) .imh-stage__veil, html:not(.imh-pin) .imh-stage__count, html:not(.imh-pin) .imh-stage__inset { display: none; }

/* ---------- rail ---------- */
.imh-rail { position: fixed; z-index: 40; left: calc(30px + env(safe-area-inset-left, 0px)); top: 26vh; bottom: 18vh; width: 180px; pointer-events: none; }
.imh-rail__line, .imh-rail__fill { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: rgba(228, 214, 189, .55); }
.imh-rail__fill { background: var(--imh-gold); transform-origin: top; transform: scaleY(0); }
.imh-rail ol { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.imh-rail li { position: absolute; left: 0; transform: translateY(-50%); }
.imh-rail a { pointer-events: auto; display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .78); text-shadow: 0 1px 8px rgba(0, 0, 0, .45); transition: color .4s; }
.imh-rail a i { display: block; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; border: 1px solid var(--imh-gold); background: rgba(20, 18, 16, .35); transition: background-color .4s, transform .4s; }
.imh-rail a span { opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .4s; }
.imh-rail a.is-done i { background: var(--imh-gold); }
.imh-rail a.is-on i { background: var(--imh-gold); transform: scale(1.5); }
.imh-rail a.is-on span, .imh-rail:hover a span { opacity: 1; transform: none; }
.imh-rail a.is-on { color: var(--imh-white); }
.imh-rail.is-light a { color: var(--imh-muted); text-shadow: none; }
.imh-rail.is-light a.is-on { color: var(--imh-ink); }
.imh-rail.is-light .imh-rail__line { background: var(--imh-line); }

/* ---------- sheet ---------- */
.imh-sheet { position: relative; background: var(--imh-night); }
.imh-sheet__bg { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.imh-sheet__bg .imh-pic { height: 100%; }
.imh-sheet__bg img { transform: scale(1.06); }
.imh-sheet__bg::after { content: ""; position: absolute; inset: 0; background: rgba(20, 18, 16, .4); }
.imh-sheet__panel { position: relative; margin-top: -100vh; margin-top: -100svh; padding-block: 22vh 18vh; }
.imh-sheet__card { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .6); padding: clamp(28px, 5vw, 72px); border-top: 2px solid var(--imh-gold); max-width: 1080px; margin-inline: auto; }
.imh-sheet__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.imh-sheet__head h2 { font-size: clamp(34px, 4vw, 56px); margin-top: 12px; }
.imh-sheet__head > p { color: var(--imh-muted); max-width: 40ch; }
.imh-big { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--imh-line); border-bottom: 1px solid var(--imh-line); }
.imh-big div { padding: 26px 18px 24px; border-left: 1px solid var(--imh-line); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.imh-big div:first-child { border-left: 0; padding-left: 0; }
.imh-big b { font-family: var(--imh-font-display); font-weight: 400; font-size: clamp(32px, 3.6vw, 52px); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.imh-big b small { font-size: .45em; letter-spacing: .04em; margin-left: 2px; color: var(--imh-gold-deep); }
.imh-big span { font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--imh-gold-deep); }
.imh-big em { font-style: normal; font-size: 14px; color: var(--imh-muted); line-height: 1.45; }
.imh-sheet__groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 32px; margin-top: clamp(36px, 5vw, 56px); }
.imh-sheet__groups h3 { font-size: 22px; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.imh-sheet__groups h3::after { content: ""; flex: 1; height: 1px; background: var(--imh-line); }
.imh-sheet__groups ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.imh-sheet__groups li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; line-height: 1.45; }
.imh-sheet__groups .imh-icon { width: 22px; height: 22px; margin-top: 1px; }
.imh-honest { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 20px 24px; background: var(--imh-warm); font-size: 15px; }

/* ---------- room booking ---------- */
.imh-roombook__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.imh-roombook__card { background: var(--imh-white); border-top: 2px solid var(--imh-accent); box-shadow: 0 30px 70px -40px rgba(42, 38, 34, .45); padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.imh-roombook__card h2 { font-size: clamp(32px, 3.4vw, 46px); margin-top: -2px; }
.imh-roombook__lead { color: var(--imh-muted); }
.imh-roombook__card .imh-btn { margin-top: 10px; }
.imh-roombook__perks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.imh-roombook__perks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 15px; }
.imh-roombook__perks .imh-icon { width: 20px; height: 20px; margin-top: 2px; }
.imh-policies h3 { font-size: 26px; margin-top: 12px; }
.imh-policies dl { margin: 24px 0 0; }
.imh-policies dl div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--imh-line); }
.imh-policies dt { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--imh-gold-deep); padding-top: 3px; }
.imh-policies dd { margin: 0; font-size: 15.5px; }

/* ---------- other rooms ---------- */
.imh-others h2 { font-size: clamp(30px, 3.2vw, 44px); margin-top: 10px; }
.imh-others__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.imh-ocard { position: relative; text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.imh-ocard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.imh-ocard__media .imh-pic { height: 100%; }
.imh-ocard__media img { transition: transform 1.2s var(--imh-ease); }
.imh-ocard:hover .imh-ocard__media img { transform: scale(1.05); }
.imh-ocard__media svg { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); pointer-events: none; }
.imh-ocard__media rect { fill: none; stroke: var(--imh-gold-soft); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.6, .1, .2, 1); }
.imh-ocard:hover .imh-ocard__media rect, .imh-ocard:focus-visible .imh-ocard__media rect { stroke-dashoffset: 0; }
.imh-ocard h3 { font-size: 24px; }
.imh-ocard p { font-size: 14px; color: var(--imh-muted); letter-spacing: .04em; }

/* ---------- route ---------- */
.imh-route h2 { font-size: clamp(32px, 3.6vw, 48px); margin-top: 16px; max-width: 22ch; }
.imh-route .imh-lead { margin-top: 20px; }
.imh-route__steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 0; max-width: 860px; }
.imh-route__steps li { display: grid; grid-template-columns: 40px 30px minmax(0, 1fr); gap: 16px; align-items: start; padding-block: 20px; border-bottom: 1px solid var(--imh-line); }
.imh-route__n { font-family: var(--imh-font-display); font-size: 26px; color: var(--imh-gold-deep); line-height: 1; }
.imh-route__steps b { display: block; font-weight: 500; font-size: 16.5px; }
.imh-route__steps span:not(.imh-route__n) { display: block; color: var(--imh-muted); font-size: 15.5px; margin-top: 4px; }

/* ---------- faq ---------- */
.imh-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.imh-faq h2 { font-size: clamp(32px, 3.6vw, 48px); margin-top: 16px; }
.imh-faq .imh-lead { margin-top: 18px; }
.imh-qa { border-bottom: 1px solid var(--imh-line); }
.imh-qa:first-child { border-top: 1px solid var(--imh-line); }
.imh-qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 17px; font-weight: 400; }
.imh-qa summary::-webkit-details-marker { display: none; }
.imh-qa summary::after { content: "+"; font-family: var(--imh-font-display); font-size: 24px; line-height: 1; color: var(--imh-gold-deep); transition: transform .35s var(--imh-ease); }
.imh-qa[open] summary::after { transform: rotate(45deg); }
.imh-qa > div { padding: 0 0 22px; color: var(--imh-muted); max-width: 64ch; }
.imh-qa > div p + p { margin-top: .8em; }

/* ---------- contact ---------- */
.imh-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.imh-contact h1, .imh-contact h2 { font-size: clamp(36px, 4.4vw, 60px); margin-top: 16px; }
.imh-contact .imh-lead { margin-top: 20px; }
.imh-contact__cards { margin-top: 36px; display: grid; gap: 0; }
.imh-ccard { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--imh-line); text-decoration: none; }
.imh-ccard:first-child { border-top: 1px solid var(--imh-line); }
.imh-ccard b { display: block; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--imh-gold-deep); margin-bottom: 4px; }
.imh-ccard em { display: block; font-style: normal; font-size: 13px; color: var(--imh-accent); margin-top: 4px; }
.imh-ccard:hover span { text-decoration: underline; text-decoration-color: var(--imh-gold); }
.imh-contact__p { margin-top: 22px; color: var(--imh-muted); }
.imh-contact__side .imh-pic { aspect-ratio: 4 / 5; }
.imh-contact__side h3 { font-size: 26px; margin-bottom: 18px; }

/* ---------- legal ---------- */
.imh-legalpage .imh-container { max-width: 820px; }
.imh-legalpage h1 { font-size: clamp(36px, 4vw, 54px); }
.imh-legalpage__date { margin-top: 12px; color: var(--imh-muted); font-size: 14px; }
.imh-legalpage h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 2em 0 .6em; }
.imh-legalpage p { margin-top: .9em; }
.imh-legalpage > .imh-container > p:first-of-type { margin-top: 2em; }

/* ---------- pages that start under a solid header ---------- */
body:not(.imh-over) .imh-main > .imh-section:first-child { padding-top: clamp(56px, 8vw, 110px); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.imh-facts__cols, .imh-facts__cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.imh-direct__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.imh-big { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.imh-big div:nth-child(4) { border-left: 0; padding-left: 0; }
	.imh-big div:nth-child(n+4) { border-top: 1px solid var(--imh-line); }
	.imh-sheet__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.imh-rail { display: none; }
	.imh-step .imh-container { padding-left: var(--imh-gutter); }
}
@media (max-width: 960px) {
	.imh-bookbar__card { grid-template-columns: minmax(0, 1fr); }
	.imh-intro__grid, .imh-split__grid, .imh-sisters__box, .imh-roombook__grid, .imh-faq__grid, .imh-contact__grid { grid-template-columns: minmax(0, 1fr); }
	.imh-split--left .imh-split__text { order: 0; }
	.imh-split--text .imh-split__text { grid-template-columns: minmax(0, 1fr); }
	.imh-split--text .imh-picks__cap, .imh-split--text .imh-picks { grid-column: 1; grid-row: auto; }
	.imh-split--text .imh-picks__cap { margin-top: 30px; }
	.imh-rooms__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.imh-others__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.imh-seal { left: auto; right: 0; width: 120px; height: 120px; }
	.imh-stage__inset { top: 16vh; }
}
@media (max-width: 640px) {
	.imh-bookbar { margin-top: -40px; }
	.imh-facts__cols, .imh-facts__cols--2, .imh-facts__cols--4, .imh-rooms__grid, .imh-rooms__grid--2, .imh-direct__grid, .imh-others__grid, .imh-sheet__groups, .imh-cells { grid-template-columns: minmax(0, 1fr); }
	.imh-split__media--collage { height: 400px; }
	.imh-collage__1 { width: 78%; }
	.imh-collage__2 { width: 46%; }
	.imh-collage__3 { width: 56%; }
	.imh-frame { inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); }
	.imh-seal { width: 100px; height: 100px; bottom: -34px; }
	.imh-badge b { font-size: 28px; }
	.imh-stage__veil { background: linear-gradient(180deg, rgba(20, 18, 16, .4) 0%, rgba(20, 18, 16, .1) 30%, rgba(20, 18, 16, .58) 62%, rgba(20, 18, 16, .85) 100%); }
	.imh-step { bottom: 72px; }
	.imh-stage__count { display: none; }
	.imh-stage__inset { right: 16px; top: 14vh; width: 112px; }
	.imh-big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.imh-big div { border-left: 0; padding-left: 0; border-top: 1px solid var(--imh-line); }
	.imh-big div:nth-child(-n+2) { border-top: 0; }
	.imh-big div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--imh-line); }
	.imh-policies dl div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.imh-sheet__card { padding: 28px 20px; }
	.imh-route__steps li { grid-template-columns: 30px 26px minmax(0, 1fr); gap: 12px; }
	.imh-picks li { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
	.imh-cue i { animation: none; }
	.imh-frame rect, .imh-room__media img, .imh-ocard__media img, .imh-magnetic, .imh-sister, .imh-stage__bg { transition: none; }
}

/* ---------- group site: the six hotels ---------- */
.imh-hotels h2, .imh-chooser h2, .imh-posts h2 { font-size: clamp(32px, 3.6vw, 48px); margin-top: 16px; max-width: 20ch; }
.imh-chooser .imh-lead { max-width: 36ch; }
.imh-btn--line { background: transparent; border-color: var(--imh-accent); color: var(--imh-accent); min-height: 44px; padding: 0 22px; }
.imh-btn--line:hover { background: var(--imh-accent); color: var(--imh-on-accent); }
.imh-chips--light { margin-top: 16px; gap: 8px; }
.imh-chips--light .imh-chip { background: transparent; backdrop-filter: none; border-color: var(--imh-line); color: var(--imh-muted); padding: 6px 12px; font-size: 11px; }
.imh-hotels__grid { margin-top: 60px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 40px; }
.imh-hotel { display: flex; flex-direction: column; }
.imh-hotel__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; }
.imh-hotel__media .imh-pic { height: 100%; }
.imh-hotel__media img { transition: transform 1.2s var(--imh-ease); }
.imh-hotel:hover .imh-hotel__media img { transform: scale(1.05); }
.imh-hotel__num { position: absolute; left: 18px; top: 18px; min-width: 46px; height: 40px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .92); border: 1px solid var(--imh-gold); font-family: var(--imh-font-display); font-size: 20px; color: var(--imh-gold-deep); }
.imh-hotel__body { padding-top: 22px; display: flex; flex-direction: column; flex: 1; }
.imh-hotel__line { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--imh-gold-deep); }
.imh-hotel h3 { font-size: 30px; margin-top: 8px; }
.imh-hotel h3 a { color: inherit; text-decoration: none; }
.imh-hotel__text { margin-top: 10px; color: var(--imh-muted); font-size: 15.5px; }
.imh-hotel__foot { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.imh-hotel__foot .imh-link { margin-top: 0; }

/* ---------- group site: which one is for you ---------- */
.imh-chooser__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.imh-choose { display: flex; gap: 18px; align-items: flex-start; padding-top: 22px; border-top: 1px solid var(--imh-line); }
.imh-choose > .imh-icon { width: 30px; height: 30px; flex: none; color: var(--imh-gold-deep); }
.imh-choose h3 { font-size: 22px; }
.imh-choose p { margin-top: 6px; color: var(--imh-muted); font-size: 15px; }
.imh-choose__links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.imh-choose__links a { color: var(--imh-ink); text-decoration: none; font-size: 14px; border-bottom: 1px solid var(--imh-gold); padding-bottom: 2px; }
.imh-choose__links .imh-civic { border-color: var(--imh-gold); color: var(--imh-gold-deep); margin-right: 6px; }

/* ---------- blog ---------- */
.imh-posts__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 40px; }
.imh-post__link { display: block; color: inherit; text-decoration: none; }
.imh-post__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--imh-warm); }
.imh-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--imh-ease); }
.imh-post__link:hover .imh-post__media img { transform: scale(1.04); }
.imh-post__blank { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--imh-gold); }
.imh-post__blank svg { width: 64px; height: 64px; }
.imh-post__body { padding-top: 18px; }
.imh-post__meta { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--imh-gold-deep); }
.imh-post h3 { font-size: 24px; margin-top: 8px; }
.imh-post p:not(.imh-post__meta) { margin-top: 8px; color: var(--imh-muted); font-size: 15px; }
.imh-post strong { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--imh-accent); }
.imh-blog { padding-top: clamp(48px, 7vw, 96px); }
.imh-blog__head h1 { font-size: clamp(40px, 5vw, 68px); margin-top: 14px; }
.imh-blog__head .imh-lead { margin-top: 18px; max-width: 60ch; }
.imh-blog__empty { margin-top: 40px; color: var(--imh-muted); }
.imh-pager { margin-top: 64px; display: flex; justify-content: space-between; gap: 24px; }
.imh-link--back::after { content: none; }
.imh-link--back::before { content: "←"; letter-spacing: 0; }
.imh-article__head { padding: clamp(48px, 7vw, 96px) 0 40px; }
.imh-article__head .imh-container, .imh-article .imh-prose { max-width: 800px; }
.imh-article__head h1 { font-size: clamp(36px, 4.6vw, 60px); margin-top: 14px; }
.imh-article__cover .imh-container { max-width: 1200px; }
.imh-article__cover img { width: 100%; height: auto; display: block; }
.imh-article__body { padding: 48px 0 24px; margin: 0 auto; font-size: 18px; }
.imh-article__body h2 { margin-top: 1.6em; }
.imh-article__body h3 { font-size: 24px; margin: 1.4em 0 .5em; }
.imh-article__body img { max-width: 100%; height: auto; }
.imh-article__body ul, .imh-article__body ol { margin: 1em 0 1em 1.2em; }
.imh-article__body a { color: var(--imh-accent); }
.imh-article__body blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 1px solid var(--imh-gold); font-family: var(--imh-font-display); font-size: 24px; }
.imh-article__back { max-width: 800px; margin: 0 auto; padding-bottom: 40px; }
.imh-404 { min-height: 60vh; }
.imh-404 h1 { margin-top: 14px; font-size: clamp(36px, 4.6vw, 60px); }

@media (max-width: 960px) {
	.imh-hotels__grid, .imh-posts__grid, .imh-chooser__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.imh-hotels__grid, .imh-posts__grid, .imh-chooser__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.imh-hotel__media { aspect-ratio: 4 / 3; }
	.imh-article__body { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
	.imh-hotel__media img, .imh-post__media img { transition: none; }
}

/* ---------- gallery: chapters as mosaics (a mood, not a catalogue) ---------- */
.imh-toc { padding: 28px 0 0; }
.imh-toc__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.imh-toc__chips a { padding: 9px 16px; border: 1px solid var(--imh-line); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--imh-ink); text-decoration: none; transition: border-color .35s, color .35s; }
.imh-toc__chips a:hover, .imh-toc__chips a:focus-visible { border-color: var(--imh-accent); color: var(--imh-accent); }
.imh-mosaic { padding-block: clamp(56px, 7vw, 96px); }
.imh-mosaic__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.imh-mosaic__head h2 { font-size: clamp(30px, 3.4vw, 46px); margin-top: 14px; max-width: 16ch; }
.imh-mosaic__head p { color: var(--imh-muted); font-size: 16.5px; max-width: 46ch; }
.imh-mosaic__head p + p { margin-top: .8em; }
.imh-mosaic__head .imh-link { margin-top: 18px; }
.imh-mosaic__grid { margin-top: 40px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(84px, 9vw, 150px); grid-auto-flow: row dense; gap: 12px; }
.imh-tile { margin: 0; grid-column: span var(--c, 2); grid-row: span var(--r, 2); overflow: hidden; }
.imh-tile .imh-pic { height: 100%; }
.imh-tile img { transition: transform 1.4s var(--imh-ease); }
.imh-tile:hover img { transform: scale(1.04); }
.imh-mosaic + .imh-mosaic { padding-top: 0; }
@media (max-width: 960px) {
	.imh-mosaic__head { grid-template-columns: minmax(0, 1fr); }
	.imh-mosaic__grid { gap: 8px; }
}
@media (max-width: 640px) {
	.imh-mosaic__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 38vw; }
	.imh-tile { grid-column: span 1; grid-row: span 1; }
	.imh-tile--big { grid-column: span 2; grid-row: span 2; }
	.imh-tile--wide { grid-column: span 2; }
}
@media (prefers-reduced-motion: reduce) {
	.imh-tile img { transition: none; }
}

/* ---------- map of the centre (location pages) ---------- */
.imh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.imh-map__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.imh-map__head h2 { font-size: clamp(32px, 3.6vw, 48px); margin-top: 16px; max-width: 18ch; }
.imh-map__hint { margin-top: 12px; font-size: 14.5px; color: var(--imh-muted); }
.imh-map__print { margin-top: 20px; gap: 10px; }
.imh-map__print .imh-icon { width: 18px; height: 18px; }
.imh-map__wrap { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.imh-map__figure { margin: 0; position: sticky; top: 24px; }
.imh-map__viewport { border: 1px solid var(--imh-line); overflow: hidden; }
.imh-map__canvas { position: relative; width: 100%; overflow: hidden; background: #FBF9F5; }
.imh-map__base, .imh-map__routes { position: absolute; inset: 0; width: 100%; height: 100%; display: block; -webkit-user-drag: none; user-select: none; }
.imh-mpath { fill: none; stroke: var(--imh-gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .28; }
.imh-motion [data-map].is-ready .imh-mpath { opacity: 0; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--imh-ease), opacity .3s var(--imh-ease); }
.imh-motion [data-map].is-ready .imh-mpath.is-on { opacity: 1; stroke-dashoffset: 0; }
[data-map].is-ready .imh-mpath { opacity: 0; }
[data-map].is-ready .imh-mpath.is-on { opacity: 1; }
.imh-mk { position: absolute; z-index: 2; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--imh-gold); background: var(--imh-white); color: var(--imh-gold-deep); font: 500 13px/1 var(--imh-font-body); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: transform .35s var(--imh-ease), background-color .3s, color .3s; box-shadow: 0 2px 8px rgba(42, 38, 34, .08); }
.imh-mk:hover, .imh-mk:focus-visible { transform: translate(-50%, -50%) scale(1.12); }
.imh-mk.is-on { background: var(--imh-gold); color: var(--imh-white); transform: translate(-50%, -50%) scale(1.15); z-index: 3; }
.imh-door { position: absolute; transform: translate(-50%, -50%); z-index: 1; pointer-events: none; display: flex; align-items: center; gap: 10px; }
.imh-door__dot { width: 40px; height: 40px; border-radius: 50%; background: var(--imh-accent); color: var(--imh-white); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(255, 255, 255, .8), 0 6px 18px rgba(42, 38, 34, .18); }
.imh-door__dot .imh-monogram { width: 34px; height: 34px; color: var(--imh-white); }
.imh-door__dot .imh-monogram circle { stroke: transparent; }
.imh-door__dot .imh-monogram text { font-size: 12px; fill: currentColor; }
.imh-door__label { position: absolute; left: 52px; white-space: nowrap; background: rgba(255, 255, 255, .94); padding: 6px 10px; font-size: 12px; color: var(--imh-muted); line-height: 1.3; border-left: 2px solid var(--imh-accent); }
.imh-door__label b { display: block; font-family: var(--imh-font-display); font-weight: 400; font-size: 15px; color: var(--imh-ink); }
.imh-map__legend { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13.5px; color: var(--imh-muted); }
.imh-map__legend b { font-family: var(--imh-font-display); font-weight: 400; font-size: 16px; color: var(--imh-ink); }
.imh-map__legend .imh-door__dot { width: 26px; height: 26px; box-shadow: none; }
.imh-map__legend .imh-door__dot .imh-monogram { width: 22px; height: 22px; }
.imh-map__credit { flex-basis: 100%; font-size: 11.5px; color: var(--imh-muted); }
.imh-map__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--imh-line); }
.imh-place { border-bottom: 1px solid var(--imh-line); }
.imh-place__head { width: 100%; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 15px 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.imh-place__num { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--imh-gold); color: var(--imh-gold-deep); font-size: 12.5px; display: flex; align-items: center; justify-content: center; transition: background-color .3s, color .3s; }
.imh-place__name { font-family: var(--imh-font-display); font-size: 19px; line-height: 1.25; }
.imh-place__min { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--imh-muted); white-space: nowrap; }
.imh-place.is-on .imh-place__num { background: var(--imh-gold); color: var(--imh-white); }
.imh-place__body { padding: 0 0 22px 46px; }
[data-map].is-ready .imh-place__body { display: none; }
[data-map].is-ready .imh-place.is-on .imh-place__body { display: block; }
.imh-motion [data-map].is-ready .imh-place.is-on .imh-place__body { animation: imh-fade .5s var(--imh-ease); }
@keyframes imh-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.imh-place__photo { margin: 0; }
.imh-place__photo .imh-pic { aspect-ratio: 3 / 2; }
.imh-place__photo figcaption { margin-top: 6px; font-size: 11px; color: var(--imh-muted); }
.imh-place__photo figcaption a { color: inherit; }
.imh-place__tip { margin-top: 14px; font-size: 15.5px; }
.imh-place__meta { margin-top: 8px; font-size: 13px; color: var(--imh-muted); }
.imh-place .imh-link { margin-top: 14px; }
.imh-map__sheet { display: none; }
@media (max-width: 960px) {
	.imh-map__head, .imh-map__wrap { grid-template-columns: minmax(0, 1fr); }
	.imh-map__figure { position: relative; top: 0; }
	.imh-door__label { display: none; }
}
@media (max-width: 640px) {
	.imh-map__viewport { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
	.imh-map__viewport::-webkit-scrollbar { display: none; }
	.imh-map__canvas { width: 175%; } /* on a phone the centre is shown larger and scrolls sideways */
	.imh-mk { width: 26px; height: 26px; font-size: 12px; }
	.imh-door__dot { width: 32px; height: 32px; }
	.imh-door__dot .imh-monogram { width: 28px; height: 28px; }
	.imh-place__body { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.imh-mk { transition: none; }
}

/* the A4 pocket map: only the map, every route, the numbered list and the hotel's details */
@media print {
	@page { size: A4 portrait; margin: 12mm; }
	body.imh-print-map > *:not(main), body.imh-print-map main > *:not(.imh-map), body.imh-print-map .imh-rail, body.imh-print-map .imh-thread { display: none !important; }
	body.imh-print-map .imh-map { padding: 0 !important; }
	body.imh-print-map .imh-map__head { display: block; }
	body.imh-print-map .imh-map__head h2 { font-size: 22pt; margin: 0; }
	body.imh-print-map .imh-map__head .imh-eyebrow, body.imh-print-map .imh-map__hint, body.imh-print-map .imh-map__print, body.imh-print-map .imh-lead { display: none; }
	body.imh-print-map .imh-map__sheet { display: block; margin: 0 0 4mm; font-size: 9.5pt; color: #444; min-height: 24mm; }
	body.imh-print-map .imh-map__qr { float: right; width: 24mm; height: 24mm; margin-left: 6mm; }
	body.imh-print-map .imh-map__sheet-name { font-family: var(--imh-font-display); font-size: 14pt; color: #111; }
	body.imh-print-map .imh-map__wrap { display: block; margin-top: 4mm; }
	body.imh-print-map .imh-map__figure { position: static; }
	body.imh-print-map .imh-map__viewport { border: 0; overflow: visible; }
	body.imh-print-map .imh-map__canvas { width: 150mm !important; margin: 0 auto; }
	body.imh-print-map .imh-mpath { opacity: .9 !important; stroke-dashoffset: 0 !important; stroke-width: 1.6; }
	body.imh-print-map .imh-mk { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	body.imh-print-map .imh-door__dot { -webkit-print-color-adjust: exact; print-color-adjust: exact; box-shadow: none; }
	body.imh-print-map .imh-map__list { columns: 2; column-gap: 8mm; margin-top: 4mm; border: 0; }
	body.imh-print-map .imh-place { break-inside: avoid; border: 0; }
	body.imh-print-map .imh-place__head { padding: 1.2mm 0; grid-template-columns: 7mm 1fr auto; gap: 2mm; }
	body.imh-print-map .imh-place__num { width: 5.5mm; height: 5.5mm; font-size: 8pt; }
	body.imh-print-map .imh-place__name { font-size: 10pt; }
	body.imh-print-map .imh-place__min { font-size: 7.5pt; letter-spacing: .06em; }
	body.imh-print-map .imh-place__body { display: none !important; }
}
@media print {
	body.imh-print-map .imh-map .imh-container { display: flex; flex-direction: column; }
	body.imh-print-map .imh-map__head { order: 0; }
	body.imh-print-map .imh-map__sheet { order: 1; }
	body.imh-print-map .imh-map__wrap { order: 2; }
}

/* ---------- slider: the photos of a room, to swipe (room pages) ---------- */
.imh-slider { padding-block: clamp(48px, 6vw, 88px); }
.imh-slider__head h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 12px; }
.imh-slider__track { margin-top: 24px; display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--imh-gutter), calc((100vw - var(--imh-max)) / 2)); padding-inline: max(var(--imh-gutter), calc((100vw - var(--imh-max)) / 2)); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.imh-slider__track::-webkit-scrollbar { display: none; }
.imh-slider__track:focus-visible { outline: 2px solid var(--imh-gold); outline-offset: 4px; }
.imh-slide { margin: 0; flex: 0 0 min(760px, 66vw); aspect-ratio: 3 / 2; scroll-snap-align: start; overflow: hidden; }
.imh-slide .imh-pic { height: 100%; }
.imh-slider__track::after { content: ""; flex: 0 0 1px; } /* lets the last photo snap to the start */
.imh-slider__foot { margin-top: 18px; display: flex; align-items: center; gap: 18px; }
.imh-slider__count { font-family: var(--imh-font-display); font-size: 18px; color: var(--imh-muted); white-space: nowrap; }
.imh-slider__count b { font-weight: 400; color: var(--imh-ink); }
.imh-slider__bar { position: relative; flex: 1; height: 1px; background: var(--imh-line); overflow: hidden; }
.imh-slider__bar i { position: absolute; left: 0; top: -1px; height: 3px; background: var(--imh-gold); transform: translateX(var(--x, 0%)); transition: transform .45s var(--imh-ease); }
.imh-slider__hint { display: none; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--imh-gold-deep); white-space: nowrap; transition: opacity .4s var(--imh-ease); }
.imh-slider__hint svg { width: 28px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.imh-motion .imh-slider__hint svg { animation: imh-nudge 1.6s var(--imh-ease) infinite; }
@keyframes imh-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.imh-slider.is-moved .imh-slider__hint { opacity: 0; }
.imh-slider__arrows { display: flex; gap: 8px; }
.imh-slider__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--imh-line); background: var(--imh-white); color: var(--imh-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .3s, color .3s, opacity .3s; }
.imh-slider__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.imh-slider__btn:hover, .imh-slider__btn:focus-visible { border-color: var(--imh-accent); color: var(--imh-accent); }
.imh-slider__btn[disabled] { opacity: .35; cursor: default; }
@media (hover: none) {
	.imh-slider__arrows { display: none; }
	.imh-slider__hint { display: inline-flex; }
}
@media (max-width: 640px) {
	.imh-slider__track { gap: 8px; }
	.imh-slide { flex-basis: 86vw; aspect-ratio: 4 / 3; } /* nearly full width, the next photo peeks at the edge */
}
@media (prefers-reduced-motion: reduce) {
	.imh-slider__bar i { transition: none; }
}

/* ---------- getting here: tabs by starting point, a timeline of steps ---------- */
.imh-arr__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.imh-arr__head h2 { font-size: clamp(32px, 3.6vw, 48px); margin-top: 16px; max-width: 18ch; }
.imh-arr__tabs { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.imh-arr__tabs::-webkit-scrollbar { display: none; }
.imh-arr__tab { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--imh-line); background: var(--imh-white); color: var(--imh-ink); font: 500 12.5px/1 var(--imh-font-body); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; scroll-snap-align: start; transition: border-color .3s, background-color .3s, color .3s; }
.imh-arr__tab .imh-icon { width: 20px; height: 20px; color: var(--imh-gold-deep); transition: color .3s; }
.imh-arr__tab:hover { border-color: var(--imh-gold); }
.imh-arr__tab[aria-selected="true"] { background: var(--imh-accent); border-color: var(--imh-accent); color: var(--imh-on-accent); }
.imh-arr__tab[aria-selected="true"] .imh-icon { color: currentColor; }
.imh-arr__panels { margin-top: 28px; }
.imh-arr__panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 32px 64px; padding: clamp(24px, 3.5vw, 44px); background: var(--imh-white); border: 1px solid var(--imh-line); }
.imh-arr__panel + .imh-arr__panel { margin-top: 16px; }
[data-arrivals].is-tabs .imh-arr__panel[hidden] { display: none; }
[data-arrivals].is-tabs .imh-arr__panel + .imh-arr__panel { margin-top: 0; }
.imh-motion [data-arrivals].is-tabs .imh-arr__panel:not([hidden]) { animation: imh-fade .45s var(--imh-ease); }
.imh-arr__side h3 { display: flex; align-items: center; gap: 12px; font-size: 26px; }
.imh-arr__side h3 .imh-icon { width: 26px; height: 26px; color: var(--imh-gold-deep); }
.imh-arr__time { margin-top: 18px; font-family: var(--imh-font-display); font-size: clamp(34px, 3.4vw, 46px); line-height: 1.1; color: var(--imh-accent); }
.imh-arr__time small { display: block; font-family: var(--imh-font-body); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--imh-muted); margin-bottom: 6px; }
.imh-arr__time--word { font-size: clamp(26px, 2.6vw, 34px); }
.imh-arr__side .imh-link { margin-top: 22px; }
.imh-arr__warn { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; padding: 16px 18px; background: var(--imh-accent-soft); border-left: 3px solid var(--imh-accent); font-size: 15px; line-height: 1.55; }
.imh-arr__warn .imh-icon { flex: none; width: 24px; height: 24px; color: var(--imh-accent); margin-top: 2px; }
.imh-arr__steps { list-style: none; margin: 0; padding: 0; position: relative; }
.imh-arr__steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1px; background: var(--imh-gold); opacity: .5; }
.imh-arr__steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 8px 0; }
.imh-arr__steps li .imh-icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--imh-white); border: 1px solid var(--imh-gold); color: var(--imh-gold-deep); position: relative; }
.imh-arr__steps li p { padding-top: 10px; font-size: 16px; }
.imh-arr__note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--imh-line); font-size: 14.5px; color: var(--imh-muted); }
.imh-arr__note b { font-weight: 500; color: var(--imh-ink); letter-spacing: .1em; text-transform: uppercase; font-size: 12px; margin-right: 6px; }
@media (max-width: 960px) {
	.imh-arr__head, .imh-arr__panel { grid-template-columns: minmax(0, 1fr); }
	.imh-arr__side { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 6px 20px; }
	.imh-arr__side h3 { grid-column: 1 / -1; }
	.imh-arr__time { margin-top: 6px; }
	.imh-arr__side .imh-link { margin-top: 0; }
}
@media (max-width: 640px) {
	.imh-arr__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding-bottom: 2px; margin-inline: calc(-1 * var(--imh-gutter)); padding-inline: var(--imh-gutter); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.imh-arr__side { grid-template-columns: minmax(0, 1fr); }
	.imh-arr__steps li { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
	.imh-arr__steps li .imh-icon { width: 38px; height: 38px; padding: 8px; }
	.imh-arr__steps::before { left: 18px; }
	.imh-arr__steps li p { padding-top: 7px; font-size: 15.5px; }
}
