/* VG Reforma Integral — immersive design.
   Night slate world (the obra at night) that turns to day; reading happens on light "sheets" that
   slide over it. Colours from the logo: sky blue #62AAE2, deep blue #1B5D96, slate #303F4A, black.
   Display: Bricolage Grotesque. Text: Host Grotesk (the brand's face). One easing family.
   Class names driven by /app.js (vg-web) are kept: pjx, pnt, stp, ba, spot, #fl, #pf, #bgrid, #f … */
:root {
  --night: #0b1116; --night-2: #121b23; --slate: #303f4a;
  --ground: #eef2f4; --ground-2: #e0e8ee; --paper: #ffffff;
  --ink: #07090b; --muted: #46525d; --on-dark: #eef3f7; --on-dark-muted: #a9bbca;
  --accent: #62aae2; --accent-deep: #1b5d96; --blue: #62aae2; --wa: #136f43; --err: #a3221a;
  --display: "Bricolage Grotesque", "Host Grotesk", system-ui, sans-serif;
  --text: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --m: clamp(16px, 4.6vw, 80px); --gap: clamp(16px, 2vw, 28px); --section: clamp(84px, 11vw, 180px); --bar-h: 72px;
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem); --step-lead: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem); --step-mid: clamp(1.375rem, 1.1rem + 1vw, 2rem);
  --ease: cubic-bezier(.16, 1, .3, 1); --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); --ease-soft: cubic-bezier(0.33, 1, 0.68, 1); --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --t-press: 140ms; --t-hover: 200ms; --t-ui: 240ms;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); color: var(--on-dark); font: 400 18px/1.55 var(--text); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); scrollbar-color: var(--blue) var(--night); overflow-x: clip; }
body { margin: 0; background: transparent; overflow-x: clip; -webkit-tap-highlight-color: rgb(98 170 226 / .25); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.07em; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--blue); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--blue); color: var(--ink); padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }

/* ---------- type scale ---------- */
.h-hero { font-size: clamp(2.9rem, 6.4vw, 7.4rem); font-weight: 800; letter-spacing: -0.048em; line-height: .9; }
html[lang="de"] .h-hero, html[lang="da"] .h-hero { font-size: clamp(2.6rem, 5.6vw, 6.6rem); }
.h-xxl { font-size: clamp(2.8rem, 7.2vw, 8.4rem); font-weight: 800; letter-spacing: -0.05em; line-height: .9; }
.h-xl { font-size: clamp(2.5rem, 5.6vw, 6.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: .92; }
.h-l { font-size: clamp(2.1rem, 3.8vw, 4.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: .95; }
.k-label { font: 500 16px/1.3 var(--text); letter-spacing: 0; color: var(--blue); margin-bottom: 18px; }
.lead { font-size: var(--step-lead); line-height: 1.45; color: var(--on-dark-muted); max-width: 52ch; }
.paper .lead, .paper .hint { color: var(--muted); }
.hint { font-size: var(--step-small); color: var(--on-dark-muted); }
.note { margin-top: 22px; color: var(--on-dark-muted); }
.paper .note { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- poster, curtain, progress, cursor ---------- */
.world-poster { background: linear-gradient(90deg, rgb(11 17 22 / .97) 0%, rgb(11 17 22 / .78) 40%, rgb(11 17 22 / .2) 75%), url("/img/proyectos/reforma-integral-madrid-1-cocina-abierta-1600.jpg") 70% 50% / cover no-repeat, var(--night); }
.is-page .world-poster { background: radial-gradient(120% 90% at 80% 0%, #1c3a56 0%, #0b1116 62%); }
[data-curtain] { background: var(--night); }
[data-curtain] .mark { width: 120px; height: auto; }
.mark .m-black { fill: #0f1418; stroke: #eef3f7; stroke-width: 2; }
.mark .m-blue { fill: var(--blue); }
.mark .m-line { fill: none; stroke: #a9bbca; stroke-width: 3; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 1.4s var(--ease) .15s forwards; }
.mark polygon:not(.m-line) { transform-box: fill-box; transform-origin: 50% 0; animation: drop 1s var(--ease) both; }
.mark .m-blue { animation-delay: .12s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drop { from { transform: translateY(-14px) scaleY(.6); opacity: 0; } }
.progress-line { position: fixed; inset: 0 0 auto; height: 2px; background: var(--blue); z-index: 60; }
.cursor { width: 72px; height: 72px; border-radius: 50%; background: var(--blue); color: var(--ink); font: 600 18px/1 var(--text); transform: scale(0); transition: transform .35s var(--ease); }
.cursor[data-state="label"] { transform: scale(1); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: .85em 1.6em; border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1.1 var(--text); text-decoration: none; text-align: center; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: progress; }
.btn--s { min-height: 44px; padding: .6em 1.15em; font-size: .9375rem; }
.btn--blue { background: var(--blue); color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--line { background: transparent; color: var(--ink); border-color: currentColor; }
.btn--glass { background: rgb(238 243 247 / .06); color: inherit; border-color: rgb(238 243 247 / .35); }
.paper .btn--glass { background: transparent; border-color: rgb(7 9 11 / .3); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--light { background: var(--on-dark); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn--blue:hover { background: #8cc3ee; } .btn--ink:hover { background: var(--accent-deep); }
  .btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
  .btn--glass:hover { background: rgb(238 243 247 / .14); } .paper .btn--glass:hover { background: var(--ink); color: #fff; }
  .btn--wa:hover { background: #0d5a35; } .btn--light:hover { background: var(--blue); }
}

/* ---------- numbers: WhatsApp first, the office phone second ---------- */
.nums { display: grid; gap: 10px; }
.num { display: grid; gap: 2px; text-decoration: none; }
.num small { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--on-dark-muted); }
.num b { font: 700 1.25rem/1.15 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.num--wa small { color: #4fd18b; }
.paper .num small { color: var(--muted); } .paper .num--wa small { color: var(--wa); }
.nums--big .num--wa b { font-size: clamp(2rem, 3.8vw, 3.6rem); letter-spacing: -0.04em; }
.nums--big .num b { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.nums--cta { grid-auto-flow: column; justify-content: center; gap: clamp(20px, 4vw, 56px); margin-top: 36px; }
.nums--cta .num { justify-items: center; }
.nums--foot .num--wa b { font-size: clamp(1.8rem, 3.4vw, 3rem); color: var(--blue); letter-spacing: -0.04em; }
@media (hover: hover) and (pointer: fine) { .num:hover b { text-decoration: underline; text-decoration-thickness: .06em; } }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--bar-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 var(--m); color: var(--on-dark); transition: transform .5s var(--ease), background-color .4s; }
.top.is-backed { background: rgb(11 17 22 / .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgb(255 255 255 / .06); }
.top.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 600 16px/1 var(--text); letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 44px; height: auto; background: #f3f7fa; border-radius: 8px; padding: 4px 5px; }
.nav { display: flex; gap: clamp(14px, 2vw, 32px); }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; position: relative; padding: 8px 0; color: var(--on-dark-muted); transition: color .25s; }
.nav a[aria-current], .nav a:hover { color: var(--on-dark); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.top__act { display: flex; align-items: center; gap: 10px; }
.cw { position: relative; }
#cp { position: absolute; right: 0; top: calc(100% + 10px); width: 300px; display: none; gap: 14px; padding: 20px; background: var(--night-2); color: var(--on-dark); border-radius: 14px; box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 24px 60px -16px rgb(0 0 0 / .6); }
#cp.on { display: grid; }
.cp__mail { font-weight: 500; overflow-wrap: anywhere; color: var(--blue); }
.lg { display: flex; gap: 2px; }
.lg a { font: 600 12px/1 var(--text); letter-spacing: .04em; text-decoration: none; padding: 8px 6px; border-radius: 6px; color: var(--on-dark-muted); }
.lg a[aria-current] { color: var(--on-dark); background: rgb(255 255 255 / .08); }
.mb { display: none; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / .08); color: var(--on-dark); }
.sheet { position: fixed; inset: 0; z-index: 70; background: var(--night); color: var(--on-dark); overflow-y: auto; opacity: 0; transition: opacity .35s var(--ease); }
.sheet.is-open { opacity: 1; }
.sheet__x { position: absolute; top: 14px; right: 16px; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / .08); }
.sheet__in { display: grid; gap: 28px; padding: 88px var(--m) 40px; }
.sheet__nav { display: grid; gap: 4px; }
.sheet__nav a { font: 800 clamp(2rem, 9vw, 3rem)/1.1 var(--display); letter-spacing: -0.04em; text-decoration: none; }
.sheet__hr { color: var(--on-dark-muted); font-size: 15px; }
.sheet__act { display: flex; flex-wrap: wrap; gap: 10px; }
body.sheet-open { overflow: hidden; }
.crumbs { font-size: 14px; color: var(--on-dark-muted); margin-bottom: clamp(24px, 5vh, 56px); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--on-dark); }
.crumbs [aria-current] { color: var(--blue); }

/* ================= HOME: one world, seven chapters ================= */
.scn { position: relative; padding: clamp(96px, 16vh, 200px) var(--m); }
.hero { min-height: 100svh; display: grid; align-content: end; padding-bottom: clamp(48px, 9vh, 110px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgb(11 17 22 / .8), rgb(11 17 22 / .35) 45%, transparent 66%); }
.hero__copy { max-width: min(800px, 54vw); }
.kicker { font-size: 15px; font-weight: 500; color: var(--blue); margin-bottom: 22px; }
.hero .lead { margin-top: 28px; }
.yr { position: absolute; right: var(--m); bottom: clamp(48px, 9vh, 110px); display: grid; justify-items: end; text-align: right; max-width: 230px; }
.yr strong { font: 800 clamp(4rem, 8vw, 8.5rem)/.85 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.yr__t { font-size: 14px; color: var(--on-dark-muted); margin-top: 10px; }
.cue { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); font-size: 12px; color: var(--on-dark-muted); display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.cue span { width: 1px; height: 28px; background: linear-gradient(var(--blue), transparent); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.detail { min-height: 120svh; display: grid; align-content: center; justify-items: end; }
.detail__copy { max-width: 620px; --veil: var(--night); }
.values { margin-top: 40px; border-top: 1px solid rgb(255 255 255 / .16); }
.values li { border-bottom: 1px solid rgb(255 255 255 / .16); padding: 18px 0; display: flex; align-items: baseline; gap: 18px; }
.values li::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--blue); transform: rotate(45deg) translateY(-2px); }
.values h3 { font-size: clamp(1.35rem, 2.3vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em; }
.values--ink, .values--ink li { border-color: rgb(7 9 11 / .14); }
.values--ink li::before { background: var(--accent-deep); }

.process { height: 560vh; padding: 0; }
.process__stage { position: sticky; top: 0; height: 100svh; padding: calc(var(--bar-h) + 24px) var(--m) clamp(28px, 5vh, 56px); display: grid; grid-template-rows: auto 1fr auto; pointer-events: none; }
.process__head { max-width: 520px; background: rgb(11 17 22 / .86); padding: 24px 28px; border-radius: 14px; }
.process__head p { margin-top: 12px; color: var(--on-dark-muted); }
.steps { position: relative; align-self: end; max-width: 520px; min-height: 190px; }
.step { position: absolute; inset: auto 0 0 0; background: var(--night); border-top: 2px solid var(--blue); padding: 22px 28px 24px; border-radius: 0 0 14px 14px; }
.step__k { font-size: 13px; font-weight: 600; color: var(--blue); }
.step h3 { font-size: clamp(1.8rem, 3vw, 3rem); margin-top: 10px; }
.step p { margin-top: 12px; color: var(--on-dark-muted); font-size: 16px; }
.has-motion .step { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.has-motion .step.is-on { opacity: 1; transform: none; transition: opacity .6s var(--ease) .1s, transform .8s var(--ease) .1s; }
.gauge { margin-top: 14px; display: flex; align-items: center; gap: 14px; max-width: 520px; font-size: 13px; background: rgb(11 17 22 / .86); padding: 10px 16px; border-radius: 999px; }
.gauge__track { flex: 1; height: 2px; background: rgb(255 255 255 / .15); }
.gauge__track i { display: block; height: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(var(--build, 0)); }
.gauge__num { font-variant-numeric: tabular-nums; min-width: 4ch; text-align: right; }
html:not(.has-motion) .process, .reduce-motion .process { height: auto; padding: var(--section) var(--m); }
html:not(.has-motion) .process__stage { position: static; height: auto; padding: 0; display: block; }
html:not(.has-motion) .steps { min-height: 0; display: grid; gap: 12px; margin-top: 24px; }
html:not(.has-motion) .step { position: static; }
html:not(.has-motion) .gauge { display: none; }

/* light sheets: reading happens here */
.paper { position: relative; z-index: 1; background: var(--ground); color: var(--ink); color-scheme: light; padding: var(--section) var(--m); }
.paper h1, .paper h2, .paper h3 { color: var(--ink); }
.svc-ch { border-radius: 28px 28px 0 0; margin-top: 10vh; }
.svcx { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.svcx__side { position: sticky; top: calc(var(--bar-h) + 32px); display: grid; gap: 32px; }
.svc__prev { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--ground-2); }
.svc__prev::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--ground-2), #d2dde6); opacity: 0; transition: opacity .4s; }
.svc__prev.is-empty::after { opacity: 1; }
.svc__pimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .5s ease, transform 1.2s var(--ease-soft); }
.svc__pimg.is-on { opacity: 1; transform: none; }
.idx { border-top: 1px solid rgb(7 9 11 / .14); }
.idx li { border-bottom: 1px solid rgb(7 9 11 / .14); }
.idx h3 { font-size: clamp(1.6rem, 3.2vw, 3.2rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; }
.idx a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; text-decoration: none; transition: color .3s, transform .5s var(--ease); }
.idx__pair { display: flex; align-items: center; gap: .25em; flex-wrap: wrap; padding: 18px 0; }
.idx__pair a { display: inline; padding: 0; }
.idx__and { color: var(--muted); font-weight: 500; }
.idx__go { color: var(--accent-deep); opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .45s var(--ease); }
@media (hover: hover) and (pointer: fine) { .idx a:hover { color: var(--accent-deep); } .idx a:hover .idx__go { opacity: 1; transform: none; } .idx li:has(> h3 > a:hover):not(:has(.idx__pair)) h3 > a { transform: translateX(8px); } }
@media (hover: none) { .idx__go { opacity: 1; transform: none; } }
.spcx { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); margin-top: var(--section); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips li { border: 1.5px solid rgb(7 9 11 / .18); border-radius: 999px; padding: 10px 18px; font-size: 15.5px; font-weight: 500; }

.work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(72px, 14vh, 160px); }
.work > * { min-width: 0; }
.work__head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.ft { display: grid; gap: 22px; align-content: start; }
.ft figure { overflow: hidden; border-radius: 14px; }
.ft img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ft__text { --veil: var(--night); max-width: 520px; }
.ft h3 { font-size: clamp(1.6rem, 2.6vw, 2.7rem); margin-top: 8px; }
.ft h3 a { text-decoration: none; } .ft h3 a:hover { color: var(--blue); }
.ft p { margin-top: 12px; color: var(--on-dark-muted); font-size: 16px; }
.ft .pjk { font-size: 13px; font-weight: 600; color: var(--blue); }
.ft--0 { grid-column: 1 / span 7; }
.ft--1 { grid-column: 9 / span 4; margin-top: 22vh; } .ft--1 img { aspect-ratio: 5 / 6; }
.ft--2 { grid-column: 2 / span 5; }
.ft--3 { grid-column: 8 / span 5; margin-top: 12vh; }

.toggle { min-height: 150svh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: space-between; padding-bottom: 0; }
.toggle > * { min-width: 0; }
.toggle__copy { max-width: 520px; --veil: var(--night); }
.toggle__copy p { margin-top: 18px; color: var(--on-dark-muted); }
.glba { margin-top: 30px; display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; background: rgb(11 17 22 / .86); padding: 12px 18px; border-radius: 999px; max-width: 460px; }
.glba input { flex: 1; appearance: none; -webkit-appearance: none; height: 44px; background: transparent; cursor: ew-resize; }
.glba input::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, #b8623f, var(--blue)); }
.glba input::-moz-range-track { height: 2px; background: linear-gradient(90deg, #b8623f, var(--blue)); }
.glba input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgb(98 170 226 / .35); }
.glba input::-moz-range-thumb { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgb(98 170 226 / .35); }
.no-webgl .glba, .no-webgl .toggle__copy > p { display: none; }
.no-webgl .toggle { min-height: auto; }
.areas { margin: 0 calc(var(--m) * -1); padding: 40px 0 clamp(48px, 8vh, 96px); overflow: clip; background: linear-gradient(transparent, rgb(11 17 22 / .9) 40%); }
.areas__lead { font-size: 16px; color: var(--on-dark-muted); padding: 0 var(--m) 10px; }
.areas__row { font: 800 clamp(3rem, 8vw, 8.5rem)/1.05 var(--display); letter-spacing: -0.045em; }
.areas__row p { white-space: nowrap; padding-right: .3em; }
.paper--areas .areas { background: none; margin: 0 calc(var(--m) * -1); }
.paper--areas .areas__lead { color: var(--muted); }

.close { padding: 46svh 0 0; }
.close__inner { border-radius: 28px 28px 0 0; display: grid; gap: var(--section); }

/* ================= inner pages ================= */
.ph { position: relative; min-height: 64svh; display: grid; align-content: end; padding: calc(var(--bar-h) + 56px) var(--m) clamp(48px, 8vh, 96px); }
.ph--visual { min-height: 100svh; }
.ph__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: end; }
.ph:not(.ph--visual) .ph__grid { grid-template-columns: minmax(0, 1fr); }
.ph .lead { margin-top: 26px; }
.ph__pic { margin: 0; border-radius: 14px; overflow: hidden; }
.ph__pic img { width: 100%; aspect-ratio: 4 / 5; max-height: calc(100svh - 240px); object-fit: cover; }
.ph__mark { display: grid; place-items: center; aspect-ratio: 4 / 5; max-height: calc(100svh - 240px); background: radial-gradient(closest-side, rgb(98 170 226 / .18), transparent); }
.ph__mark .mark { width: 46%; height: auto; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .5)); }
.ph + .paper { border-radius: 28px 28px 0 0; }
.inc { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.avail { background: var(--night); color: var(--on-dark); padding: clamp(24px, 3vw, 40px); border-radius: 18px; display: grid; gap: 20px; position: sticky; top: calc(var(--bar-h) + 24px); }
.avail h2 { font-size: clamp(1.6rem, 2.4vw, 2.4rem); color: var(--on-dark) !important; }
.avr { border-top: 1px solid rgb(255 255 255 / .14); padding-top: 16px; display: grid; gap: 10px; justify-items: start; }
.avr h3 { font-size: 1.15rem; letter-spacing: -0.02em; color: var(--on-dark) !important; }
.avr p { color: var(--on-dark-muted); font-size: 16px; font-variant-numeric: tabular-nums; }
.links2 { columns: 2; column-gap: clamp(24px, 5vw, 80px); border-top: 1px solid rgb(7 9 11 / .14); margin-top: 40px; }
.links2 li { break-inside: avoid; border-bottom: 1px solid rgb(7 9 11 / .14); }
.links2 a { display: flex; justify-content: space-between; align-items: center; min-height: 64px; text-decoration: none; font: 700 clamp(1.25rem, 2vw, 1.8rem)/1.1 var(--display); letter-spacing: -0.03em; transition: color .3s, padding .45s var(--ease); }
.links2 a span { color: var(--accent-deep); transition: transform .45s var(--ease); }
@media (hover: hover) and (pointer: fine) { .links2 a:hover { color: var(--accent-deep); padding-left: 8px; } .links2 a:hover span { transform: translateX(6px); } }
.oth { padding-top: 0; }
.sol .lead { margin-top: 20px; }
.sol__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); margin-top: 48px; counter-reset: s; }
.sol__list li { border-top: 2px solid var(--ink); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.sol__list .k { font-size: 13px; font-weight: 600; color: var(--accent-deep); }
.sol__list h3 { font-size: clamp(1.25rem, 1.7vw, 1.7rem); }
.sol__list p { color: var(--muted); font-size: 16px; }
.vals .h-xl { max-width: 14ch; }
.vals .k-label { color: var(--accent-deep); }
.cta { text-align: center; display: grid; justify-items: center; gap: 22px; min-height: 80svh; align-content: center; padding: var(--section) var(--m); }
.cta .h-xxl { max-width: 13ch; }
.cta .lead { max-width: 46ch; }
.cta .actions { justify-content: center; margin-top: 8px; }
.legal-page { display: grid; gap: 14px; max-width: 900px; }
.legal-page h2 { font-size: clamp(1.4rem, 2vw, 1.9rem); margin-top: 24px; }
.legal-page p { color: var(--muted); }
.nf__list { display: grid; gap: 8px; color: var(--on-dark-muted); max-width: 60ch; margin-top: 24px; }

/* ================= components from vg-web, restyled (portfolio, reviews, booking, forms) ================= */
.pf .h-xl { margin-bottom: 8px; }
.ch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(24px, 3vw, 40px); }
.ch button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgb(7 9 11 / .2); background: transparent; font-weight: 500; font-size: .9375rem; transition: background-color var(--t-hover) ease, border-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.ch button:active { transform: scale(.96); }
.ch button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .ch button:not(.on):hover { border-color: var(--ink); } }
.pf__list { display: grid; gap: clamp(72px, 9vw, 160px); margin-top: clamp(40px, 5vw, 80px); }
.pf__more { margin-top: clamp(48px, 6vw, 96px); font-size: var(--step-lead); color: var(--muted); max-width: 40ch; }
.pf__more.is-empty { color: var(--ink); font-size: var(--step-mid); margin-top: 0; }
.card { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; scroll-margin-top: calc(var(--bar-h) + 24px); }
.card__media { grid-column: 1 / span 7; display: grid; gap: 10px; min-width: 0; }
.card__info { grid-column: 9 / -1; display: grid; gap: 18px; align-content: start; position: sticky; top: calc(var(--bar-h) + 24px); }
.card--flip .card__media { grid-column: 6 / -1; grid-row: 1; }
.card--flip .card__info { grid-column: 1 / span 4; grid-row: 1; }
.card--tall .card__media { grid-column: 2 / span 5; }
.card--tall.card--flip .card__media { grid-column: 7 / span 5; }
.card--tall .card__info { grid-column: 8 / -1; }
.card--tall.card--flip .card__info { grid-column: 1 / span 5; }
.pjk { font-size: var(--step-small); font-weight: 600; color: var(--accent-deep); }
.card__info h3 { font-size: clamp(1.75rem, 1rem + 1.8vw, 2.75rem); line-height: 1.02; letter-spacing: -0.04em; }
.card__info > p { max-width: 44ch; color: var(--muted); }
.card .btn--line { justify-self: start; }
.pjcv { position: relative; }
.pjm { display: block; width: 100%; padding: 0; border: 0; background: var(--ground-2); overflow: hidden; cursor: zoom-in; border-radius: 14px; }
.pjc0 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity 260ms ease, transform 900ms var(--ease-soft); }
.card--tall .pjc0 img { aspect-ratio: 4 / 5; }
.pjc0 img.sw { opacity: .25; }
@media (hover: hover) and (pointer: fine) { .pjc0:hover img { transform: scale(1.03); } }
.pjn { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgb(5 6 7 / .72); color: #fff; font-size: .875rem; font-variant-numeric: tabular-nums; pointer-events: none; }
.pjf { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pjf::-webkit-scrollbar { display: none; }
.pjfb { flex: none; height: 72px; padding: 0; border: 0; background: none; opacity: .55; scroll-snap-align: start; border-radius: 8px; overflow: hidden; transition: opacity var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.pjfb img { height: 100%; width: auto; }
.pjfb.on { opacity: 1; box-shadow: inset 0 0 0 3px var(--accent); }
.pjfb.on img { outline: 3px solid var(--accent); outline-offset: -3px; }
.pjfb:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .pjfb:hover { opacity: 1; } }
.pjst2 { display: flex; flex-wrap: wrap; gap: 6px 14px; counter-reset: s; }
.pjst2 li { counter-increment: s; font-weight: 500; }
.pjst2 li::before { content: counter(s) ". "; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.ba-l { position: absolute; top: 14px; z-index: 3; padding: 6px 12px; border-radius: 999px; background: rgb(5 6 7 / .72); color: #fff; font-size: .875rem; font-weight: 500; pointer-events: none; }
.ba-lb { left: 14px; } .ba-la { right: 14px; }
.pnt { position: relative; }
.pnt-m { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--ground-2); container-type: inline-size; border-radius: 14px; }
.pnt-m img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pnt-a { clip-path: inset(0 100% 0 0); transition: clip-path 1500ms var(--ease-in-out); }
.pnt.on .pnt-a { clip-path: inset(0); }
.pnt-r { position: absolute; top: 0; bottom: 0; left: 0; width: 6px; margin-left: -3px; background: var(--accent); opacity: 0; transition: transform 1500ms var(--ease-in-out), opacity 300ms ease 1300ms; }
.pnt.on .pnt-r { transform: translateX(100cqi); }
.pnt-np .pnt-a, .pnt-np .pnt-r { transition: none; }
@media (prefers-reduced-motion: no-preference) { .pnt:not(.on) .pnt-r { opacity: 1; transition: transform 1500ms var(--ease-in-out), opacity 0s; } }
.pnts { display: inline-flex; justify-self: start; padding: 4px; border-radius: 999px; background: var(--ground-2); }
.pnts button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font-weight: 500; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.pnts button.on { background: var(--ink); color: #fff; }
.pntg { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pntg span { font-weight: 500; margin-right: 4px; }
.pntd { width: 72px; height: 72px; border-radius: 8px; }
.pntd img { width: 100%; height: 100%; object-fit: cover; }
.stp { position: relative; }
.stp-m { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--ground-2); border-radius: 14px; }
.pjs3p .stp-m { aspect-ratio: 4 / 5; }
.stp-i { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 600ms ease, transform 1200ms var(--ease-soft); }
.stp-i.on { opacity: 1; transform: none; }
.stps { display: grid; gap: 4px; counter-reset: s; }
.stp-b { counter-increment: s; width: 100%; display: grid; grid-template-columns: 2em 1fr; column-gap: 4px; text-align: left; padding: 12px 14px 12px 10px; border: 0; border-radius: 10px; background: transparent; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.stp-b::before { content: counter(s) "."; grid-row: span 2; font-weight: 600; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.stp-b b { font-weight: 600; font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.2; }
.stp-b span { color: var(--muted); font-size: .9375rem; display: none; }
.stp-b.on { background: var(--paper); }
.stp-b.on span { display: block; }
@media (hover: hover) and (pointer: fine) { .stp-b:not(.on):hover { background: var(--ground-2); } }
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ground-2); --p: 50%; touch-action: pan-y; border-radius: 14px; }
.card--tall .ba { aspect-ratio: 3 / 4; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-b { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ba-h { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: #fff; z-index: 2; pointer-events: none; }
.ba-h::after { content: ""; position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2307090B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 26px no-repeat; box-shadow: 0 6px 18px -4px rgb(0 0 0 / .4); }
.ba input { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:has(input:focus-visible) .ba-h::after { outline: 3px solid var(--accent); outline-offset: 2px; }
.pjst { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pjst li { display: grid; gap: 6px; font-size: .9375rem; font-weight: 500; }
.pjst .pjm img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.phs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: var(--gap); }
.pho { display: grid; gap: 14px; align-content: start; }
.pho .pjm img { width: 100%; height: auto; transition: transform 900ms var(--ease-soft); }
@media (hover: hover) and (pointer: fine) { .pho .pjm:hover img { transform: scale(1.03); } }
.pho figcaption { display: grid; gap: 4px; max-width: 46ch; }
.pho figcaption p:first-child { font-size: var(--step-lead); line-height: 1.3; }
.pho figcaption p:last-child { color: var(--muted); }
/* detail explorer */
.spot__stage { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--ground-2); border-radius: 14px; }
.spot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform-origin: var(--ox, 50%) var(--oy, 50%); transition: opacity 500ms ease, transform 900ms var(--ease-in-out); }
.spot__img.is-on { opacity: 1; }
.spotc.is-zoomed .spot__img.is-on { transform: scale(2); }
.spotc.is-zoomed .spot__stage { cursor: zoom-out; }
.spot__pin { display: none; }
.js .spot__pin { display: grid; position: absolute; z-index: 2; left: var(--x); top: var(--y); width: 48px; height: 48px; margin: -24px 0 0 -24px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 0 0 6px rgb(255 255 255 / .3), 0 8px 20px -6px rgb(0 0 0 / .45); transition: transform var(--t-ui) var(--ease-out), opacity var(--t-ui) ease, background-color var(--t-hover) ease; }
.spot__pin::before, .spot__pin::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 2px; background: currentColor; }
.spot__pin::after { transform: rotate(90deg); }
@media (hover: hover) and (pointer: fine) { .spot__pin:hover { background: var(--accent); transform: scale(1.08); } }
.spotc.is-zoomed .spot__pin { opacity: 0; transform: scale(.6); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .spotc.is-live .spot__pin { animation: pin-in 520ms var(--ease-out) calc(var(--d) * 90ms + 150ms) backwards, pin-ring 1600ms ease-out calc(var(--d) * 90ms + 800ms) 2; }
  @keyframes pin-in { from { opacity: 0; scale: .5; } }
  @keyframes pin-ring { from { box-shadow: 0 0 0 0 rgb(255 255 255 / .75), 0 8px 20px -6px rgb(0 0 0 / .45); } to { box-shadow: 0 0 0 18px rgb(255 255 255 / 0), 0 8px 20px -6px rgb(0 0 0 / .45); } }
  .js .spotc:not(.is-live) .spot__pin { opacity: 0; }
}
.spot__x { position: absolute; z-index: 3; top: 12px; right: 12px; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 6px 18px -6px rgb(0 0 0 / .45); }
.spot__cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: start; min-height: 7.5em; margin-top: 14px; }
.spot__hint { grid-column: 1 / -1; color: var(--muted); }
.spot__txt b { display: block; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 4px; }
.spot__nav { display: flex; gap: 8px; }
.spot__nav button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1.5px solid var(--ink); border-radius: 50%; background: none; }
@media (hover: hover) and (pointer: fine) { .spot__nav button:hover { background: var(--ink); color: #fff; } }
.spot__dl { display: grid; gap: 10px; }
.spot__dl > span { font-weight: 500; }
.spot__list { display: flex; flex-wrap: wrap; gap: 8px; }
.spot__chip { min-height: 44px; padding: 8px 16px; border: 1.5px solid rgb(7 9 11 / .2); border-radius: 999px; background: transparent; text-align: left; transition: background-color var(--t-hover) ease, border-color var(--t-hover) ease, color var(--t-hover) ease; }
.spot__chip b { font-weight: 500; }
.spot__chip span { display: block; font-size: .9375rem; color: var(--muted); }
.js .spot__chip span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spot__chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
/* reviews */
.rev { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); }
#grv { display: grid; gap: 28px; }
.grs { font-size: var(--step-lead); line-height: 1.35; max-width: 32ch; }
.rev__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--gap); }
.rev__grid:empty { display: none; }
.grc { background: var(--paper); padding: 24px; border-radius: 14px; box-shadow: 0 1px 2px rgb(20 40 60 / .05); }
.grc .in { display: grid; gap: 12px; }
.grh { display: flex; gap: 12px; align-items: center; }
.grp { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.gri { display: grid; place-items: center; background: var(--accent); font-weight: 600; }
.grh > div { display: grid; }
.gra { font-weight: 600; text-decoration: none; }
.grt, .grsrc { font-size: var(--step-small); color: var(--muted); }
.st, .grst { color: var(--accent-deep); letter-spacing: .08em; }
.grx { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.grx.open { display: block; }
.grm { justify-self: start; border: 0; background: none; padding: 8px 0; min-height: 44px; text-decoration: underline; font-weight: 500; }
.grf { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.grf .b { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; }
.grf .b.o { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
/* booking */
.cita__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--gap); align-items: end; }
.bkw { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap); margin-top: clamp(32px, 4vw, 56px); }
.calb { background: var(--paper); padding: clamp(20px, 2.6vw, 40px); border-radius: 18px; box-shadow: 0 1px 2px rgb(20 40 60 / .05), 0 20px 50px -30px rgb(20 40 60 / .25); }
.calh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.calh b { font: 700 var(--step-mid)/1 var(--display); letter-spacing: -0.03em; }
.calh b::first-letter { text-transform: uppercase; }
.calh button { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--ink); background: none; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.calh button:disabled { opacity: .25; cursor: default; }
@media (hover: hover) and (pointer: fine) { .calh button:not(:disabled):hover { background: var(--ink); color: #fff; } }
.bgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.bgrid .wd { text-align: center; font-size: var(--step-small); color: var(--muted); padding: 6px 0; text-transform: capitalize; }
.bgrid button { aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 10px; background: var(--ground); font-size: clamp(1rem, .9rem + .4vw, 1.25rem); font-variant-numeric: tabular-nums; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.bgrid button:active:not(:disabled) { transform: scale(.94); }
.bgrid button:disabled { background: transparent; color: rgb(7 9 11 / .3); cursor: default; }
.bgrid button.on { background: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .bgrid button:not(:disabled):not(.on):hover { background: var(--accent); } }
.calb--slots h3 { font-size: var(--step-mid); letter-spacing: -0.02em; margin-bottom: 16px; }
.bdt { font-weight: 600; margin-bottom: 12px; }
.bdt::first-letter { text-transform: uppercase; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-bottom: 20px; }
.slots button { min-height: 48px; border: 1.5px solid rgb(7 9 11 / .2); border-radius: 10px; background: transparent; font-variant-numeric: tabular-nums; transition: background-color var(--t-hover) ease, border-color var(--t-hover) ease; }
.slots button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .slots button:not(.on):hover { border-color: var(--ink); } }
.bsum { font-weight: 600; }
.bok { margin-top: 16px; padding: 16px 20px; background: var(--accent); font-weight: 500; border-radius: 10px; }
.bkm { margin-top: 20px; color: var(--muted); }
.bkm a { color: var(--ink); overflow-wrap: anywhere; }
/* forms */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; }
.form label > span:first-child { font-size: .9375rem; font-weight: 500; }
.form input:not([type=checkbox]), .form textarea { width: 100%; min-height: 52px; padding: 14px 16px; font-size: 1rem; border: 1.5px solid rgb(7 9 11 / .18); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color var(--t-hover) ease, box-shadow var(--t-hover) ease; }
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form textarea:focus { border-color: var(--accent-deep); outline: none; box-shadow: 0 0 0 4px rgb(98 170 226 / .25); }
.form .ck { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; }
.form .ck span { font-weight: 400 !important; }
.form .ck input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent-deep); flex: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.er { color: var(--err); font-size: .9375rem; font-weight: 500; }
.er:empty { display: none; }
/* contact */
.ct { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap); align-items: start; }
.ct__text { display: grid; gap: 22px; align-content: start; background: var(--night); color: var(--on-dark); padding: clamp(24px, 3.4vw, 52px); border-radius: 18px; }
.ct__text .h-l { color: var(--on-dark) !important; }
.ct__text .lead, .ct__text .hint { color: var(--on-dark-muted) !important; }
.ct__text .num small { color: var(--on-dark-muted); } .ct__text .num--wa small { color: #4fd18b; }
.ct__mail { font-weight: 500; overflow-wrap: anywhere; color: var(--blue); }
.ct__form { background: var(--paper); padding: clamp(24px, 3vw, 48px); border-radius: 18px; box-shadow: 0 1px 2px rgb(20 40 60 / .05), 0 20px 50px -30px rgb(20 40 60 / .25); }
#ok { display: none; font-size: var(--step-lead); line-height: 1.4; }
/* floating WhatsApp, phone dock, cookie bar, lightbox */
.waf { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 30; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 2px 4px rgb(0 0 0 / .1), 0 12px 28px -8px rgb(0 0 0 / .45); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.waf:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .waf:hover { background: #0d5a35; } }
.dock { display: none; }
.ckb { position: fixed; left: var(--m); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80; width: min(560px, calc(100vw - 2 * var(--m))); display: grid; gap: 14px; padding: 20px; background: #fff; color: var(--ink); font-size: .9375rem; border-radius: 16px; box-shadow: 0 16px 40px -10px rgb(0 0 0 / .5); }
.ckb[hidden] { display: none; }
.ckb a { color: var(--accent-deep); }
.ckbb { display: flex; gap: 10px; }
.ckb .b { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font-weight: 600; }
.ckb .b.o { background: transparent; color: var(--ink); }
.lb { position: fixed; inset: 0; z-index: 90; background: rgb(5 6 7 / .96); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 24px 12px; color: var(--on-dark); }
.lb[hidden] { display: none; }
.lb figure { grid-column: 2; display: grid; gap: 14px; justify-items: center; max-height: 100%; }
.lb img { max-height: calc(100svh - 120px); width: auto; max-width: 100%; object-fit: contain; border-radius: 8px; }
.lb figcaption { font-size: var(--step-small); color: #c9d3dc; text-align: center; }
.lb button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgb(243 247 250 / .4); background: none; color: var(--on-dark); font-size: 1.75rem; line-height: 1; }
.lbx { position: absolute; top: 16px; right: 16px; }
.lbp { grid-column: 1; } .lbn { grid-column: 3; }

/* ---------- footer: the name, large ---------- */
.foot { position: relative; z-index: 1; background: var(--ink); color: var(--on-dark-muted); padding: clamp(64px, 10vh, 120px) var(--m) 120px; overflow: clip; }
.foot__name { font: 800 clamp(3.2rem, 11.4vw, 13rem)/.85 var(--display); letter-spacing: -0.055em; color: var(--on-dark); white-space: nowrap; }
.foot__cols { margin-top: 56px; display: grid; grid-template-columns: 1fr 2fr; gap: 48px; font-size: 15px; }
.foot__svc { display: grid; gap: 8px; align-content: start; }
.foot__svc b { color: var(--on-dark); margin-bottom: 6px; }
.foot__svc a, .foot a { text-decoration: none; } .foot a:hover { color: var(--on-dark); }
.foot__contact { display: grid; gap: 16px; align-content: start; }
.foot__mail { color: var(--blue); font-weight: 500; }
.sc { display: flex; gap: 16px; flex-wrap: wrap; }
.sc span { color: var(--on-dark); }
.cklink { border: 0; background: none; padding: 0; text-decoration: underline; color: inherit; font-size: inherit; }
.lg--foot a { font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav, .top__act .cw, .top__act > .lg { display: none; }
  .mb { display: grid; }
}
@media (max-width: 900px) {
  .svcx, .spcx, .inc, .rev, .cita__head, .bkw, .ct, .card, .foot__cols { grid-template-columns: minmax(0, 1fr); }
  .card > *, .card--flip > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .card__info, .svcx__side, .avail { position: static; }
  .svc__prev { display: none; }
  .sol__list { grid-template-columns: 1fr 1fr; }
  .links2 { columns: 1; }
  .ph__grid { grid-template-columns: minmax(0, 1fr); }
  .ph__pic { order: -1; } .ph__pic img, .ph__mark { aspect-ratio: 4 / 3; max-height: 46svh; }
}
@media (max-width: 767px) {
  :root { --bar-h: 64px; }
  html { font-size: 17px; }
  .brand span { display: none; }
  .top__cita span { display: none; }
  .hero { padding-top: 54svh; padding-bottom: 36px; }
  .hero::before { background: linear-gradient(transparent 30%, rgb(11 17 22 / .86) 58%); }
  .hero__copy { max-width: none; }
  .h-hero { font-size: clamp(2.5rem, 11.5vw, 3.8rem); }
  html[lang="de"] .h-hero, html[lang="da"] .h-hero { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .hero .lead { font-size: 16px; margin-top: 16px; }
  .yr { position: static; justify-items: start; text-align: left; margin-top: 26px; max-width: none; grid-template-columns: auto 1fr; align-items: end; gap: 12px; }
  .yr strong { font-size: 3.4rem; } .yr__t { margin: 0 0 6px; }
  .cue { display: none; }
  .detail { min-height: auto; padding-top: 58svh; justify-items: stretch; }
  .process__stage { padding: 72px 16px 18px; }
  .process__head { padding: 16px 18px; } .process__head p { font-size: 15px; }
  .steps { min-height: 170px; }
  .step { padding: 16px 18px 18px; } .step h3 { font-size: 1.7rem; } .step p { font-size: 15px; }
  .svc-ch { margin-top: 0; }
  .work { display: flex; flex-direction: column; gap: 64px; }
  .ft--1, .ft--3 { margin-top: 0; }
  .toggle { min-height: 130svh; padding-top: 60svh; }
  .glba { max-width: none; }
  .close { padding-top: 42svh; }
  .sol__list { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .nums--cta { grid-auto-flow: row; }
  .pjf { padding-inline: 0; }
  .foot__name { white-space: normal; font-size: 17vw; line-height: .9; }
  .waf { display: none; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: grid; grid-template-columns: 1.15fr 1.2fr 1fr; gap: 6px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: rgb(7 9 11 / .94); backdrop-filter: blur(10px); transform: translateY(110%); transition: transform 360ms var(--ease-drawer); }
  body.scrolled .dock { transform: none; }
  body.sheet-open .dock { transform: translateY(110%); }
  .dock__a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 8px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: .9375rem; background: rgb(243 247 250 / .12); white-space: nowrap; }
  .dock__cita { background: var(--blue); color: var(--ink); }
  .dock__wa { background: var(--wa); }
  .ckb { left: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); width: calc(100vw - 24px); }
  .lb { grid-template-columns: 52px 1fr 52px; padding: 16px 4px; }
}
/* reduced motion: no pinned sequence, the phases read as a list */
@media (prefers-reduced-motion: reduce) {
  .process { height: auto !important; padding: var(--section) var(--m) !important; }
  .process__stage { position: static !important; height: auto !important; padding: 0 !important; display: block !important; pointer-events: auto; }
  .steps { min-height: 0 !important; display: grid; gap: 12px; margin-top: 24px; }
  .step { position: static !important; opacity: 1 !important; transform: none !important; }
  .gauge { display: none !important; }
  .cue span, .mark * { animation: none !important; stroke-dashoffset: 0 !important; }
}
/* page transitions between all pages of the site */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 380ms cubic-bezier(.76, 0, .24, 1) both vt-out; }
::view-transition-new(root) { animation: 650ms cubic-bezier(.16, 1, .3, 1) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-3vh); } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 1ms; } }
@media (max-width: 767px) { .ckb { padding: 14px; gap: 10px; font-size: 13.5px; line-height: 1.4; } .ckb .b { min-height: 40px; padding: 0 14px; } }
[hidden] { display: none !important; }
/* portfolio over the world: captions sit on solid panels; photos are shown at full brightness */
.work { isolation: isolate; }
.ft__text { background: rgb(11 17 22 / .88); padding: 22px 24px 24px; border-radius: 14px; box-shadow: 0 20px 50px -24px rgb(0 0 0 / .6); }
/* main number: WhatsApp and calls; the second number below is calls only */
.num--wa small a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: inherit; }
.num--wa small a + a, .num--wa small { white-space: nowrap; }
.num__main { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .num--wa small a:hover { text-decoration: underline; } }

/* ---------- staircase "descent" (portfolio): walk down the stairs, one stop per photo ---------- */
.desc { display: grid; gap: clamp(24px, 3vw, 40px); scroll-margin-top: calc(var(--bar-h) + 24px); }
.desc__head { display: grid; gap: 14px; max-width: 760px; }
.desc__head h3 { font-size: clamp(2rem, 1rem + 2.6vw, 3.6rem); line-height: 1; letter-spacing: -0.045em; }
.desc__head > p { color: var(--muted); max-width: 62ch; }
.desc__hint { display: none; }
/* default (no JS, reduced motion): a calm list, photo and its caption */
.desc__frames { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--gap); }
.desc__f { margin: 0; display: grid; gap: 12px; align-content: start; }
.desc__f .pjm img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.desc__f figcaption { display: grid; gap: 4px; }
.desc__k { font: 700 1.2rem/1.1 var(--display); letter-spacing: -0.02em; }
.desc__t { color: var(--muted); font-size: 15.5px; }
.desc__stair { display: none; }
.desc__cta { justify-self: start; }
/* live: the stage holds still while the stairs pass under it */
.desc.is-live .desc__hint { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--accent-deep); }
.desc.is-live .desc__hint::before { content: ""; width: 1px; height: 22px; background: linear-gradient(var(--accent-deep), transparent); }
.desc.is-live .desc__run { height: calc(var(--n) * 78svh + 100svh); margin-inline: calc(var(--m) * -1); }
.desc.is-live .desc__stage { position: sticky; top: calc(var(--bar-h) + 8px); height: calc(100svh - var(--bar-h) - 16px); padding: 0 var(--m); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: stretch; }
.desc.is-live .desc__frames { display: block; position: relative; grid-column: 1 / -1; grid-row: 1; }
.desc.is-live .desc__f { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); pointer-events: none; }
.desc.is-live .desc__f.is-on { pointer-events: auto; }
.desc.is-live .desc__f .pjm { grid-column: 2; grid-row: 1; height: 100%; border-radius: 18px; clip-path: inset(0 0 100% 0 round 18px); transition: clip-path 1s var(--ease); }
.desc.is-live .desc__f.is-on .pjm, .desc.is-live .desc__f.is-past .pjm { clip-path: inset(0 0 0 0 round 18px); }
.desc.is-live .desc__f.is-past { z-index: 0; } .desc.is-live .desc__f.is-on { z-index: 1; }
.desc.is-live .desc__f .pjm img { height: 100%; aspect-ratio: auto; transform: translateY(calc((var(--lp, 0) - 0.5) * -4%)) scale(calc(1.12 - var(--lp, 0) * 0.08)); transition: transform .2s linear; }
.desc.is-live .desc__f figcaption { grid-column: 1; grid-row: 1; align-self: end; padding-bottom: clamp(160px, 26vh, 260px); gap: 12px; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .8s var(--ease); }
.desc.is-live .desc__f.is-on figcaption { opacity: 1; transform: none; transition-delay: .15s; }
.desc.is-live .desc__k { font-size: clamp(2rem, 3.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: .95; }
.desc.is-live .desc__t { font-size: var(--step-lead); line-height: 1.45; max-width: 34ch; color: var(--muted); }
.desc.is-live .desc__stair { display: block; grid-column: 1; grid-row: 1; align-self: end; width: clamp(110px, 12vw, 170px); height: auto; margin-bottom: 8px; overflow: visible; position: relative; z-index: 2; }
.desc__ghost { fill: none; stroke: rgb(7 9 11 / .14); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.desc__step { fill: none; stroke: var(--accent-deep); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
@media (max-width: 860px) {
  .desc.is-live .desc__run { height: calc(var(--n) * 70svh + 100svh); }
  .desc.is-live .desc__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); height: calc(100svh - var(--bar-h) - 92px); } /* clears the phone action bar */
  .desc.is-live .desc__f { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 16px; }
  .desc.is-live .desc__f .pjm { grid-column: 1; grid-row: 1; }
  .desc.is-live .desc__f figcaption { grid-column: 1; grid-row: 2; padding: 0 64px 4px 0; min-height: 9.5em; align-self: start; }
  .desc.is-live .desc__k { font-size: 1.8rem; }
  .desc.is-live .desc__t { font-size: 15.5px; }
  .desc.is-live .desc__stair { position: absolute; right: var(--m); bottom: 14px; width: 48px; margin: 0; }
}

/* ---------- ceiling "pan" (portfolio): look up and travel along the ceiling ---------- */
.pan { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); scroll-margin-top: calc(var(--bar-h) + 24px); }
.pan > * { min-width: 0; }
.pan__head { display: grid; gap: 14px; max-width: 760px; }
.pan__head h3 { font-size: clamp(2rem, 1rem + 2.6vw, 3.6rem); line-height: 1; letter-spacing: -0.045em; }
.pan__head > p { color: var(--muted); max-width: 62ch; }
.pan__hint, .pan__line { display: none; }
/* default (no JS, reduced motion): the panoramas one under another, each with its caption */
.pan__track { display: grid; gap: clamp(28px, 4vw, 48px); }
.pan__f { margin: 0; display: grid; gap: 12px; }
.pan__f .pjm img { width: 100%; height: auto; }
.pan__f figcaption { display: grid; gap: 4px; max-width: 62ch; }
.pan__k { font: 700 1.2rem/1.1 var(--display); letter-spacing: -0.02em; }
.pan__t { color: var(--muted); font-size: 15.5px; }
.pan__cta { justify-self: start; }
/* live: the strip glides sideways overhead */
.pan.is-live .pan__hint { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--accent-deep); }
.pan.is-live .pan__hint::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--accent-deep), transparent); }
.pan.is-live .pan__run { margin-inline: calc(var(--m) * -1); }
.pan.is-live .pan__stage { position: sticky; top: calc(var(--bar-h) + 8px); height: calc(100svh - var(--bar-h) - 16px); overflow: hidden; perspective: 1500px; perspective-origin: 50% 0%; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
.pan.is-live .pan__line { display: block; position: absolute; left: var(--m); right: var(--m); top: 6%; height: 2px; background: rgb(7 9 11 / .1); border-radius: 2px; }
.pan.is-live .pan__line i { display: block; height: 100%; background: var(--accent-deep); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgb(98 170 226 / .7); }
.pan.is-live .pan__track { display: flex; gap: clamp(28px, 4vw, 64px); align-items: center; width: max-content; will-change: transform; transform-style: preserve-3d; }
.pan.is-live .pan__f { --h: min(44svh, 29vw); width: calc(var(--h) * var(--ar)); max-width: 66vw; flex: none; transform-origin: 50% 0%;
  transform: rotateX(calc(14deg * min(1, var(--ad, 0) * 1.4))) rotateY(calc(var(--d, 0) * -16deg)) scale(calc(1 - var(--ad, 0) * 0.1));
  opacity: calc(1 - var(--ad, 0) * 0.45); transition: opacity .3s linear; }
.pan.is-live .pan__f .pjm { border-radius: 16px; box-shadow: 0 30px 60px -30px rgb(7 9 11 / .45); }
.pan.is-live .pan__f .pjm img { width: 100%; height: auto; aspect-ratio: var(--ar); object-fit: cover; }
.pan.is-live .pan__f figcaption { margin-top: 18px; max-width: 46ch; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.pan.is-live .pan__f.is-on figcaption { opacity: 1; transform: none; }
.pan.is-live .pan__k { font-size: clamp(1.6rem, 2.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: .95; }
.pan.is-live .pan__t { font-size: var(--step-lead); line-height: 1.45; }
@media (max-width: 860px) {
  .pan.is-live .pan__stage { height: calc(100svh - var(--bar-h) - 92px); } /* clears the phone action bar */
  .pan.is-live .pan__f { --h: 36svh; max-width: 88vw; }
  .pan.is-live .pan__f .pjm img { height: var(--h); width: 100%; aspect-ratio: auto; }
  .pan.is-live .pan__line { top: 3%; }
  .pan.is-live .pan__k { font-size: 1.6rem; }
  .pan.is-live .pan__t { font-size: 15px; }
}
