/* =====================================================================
   Elektro Fröhli AG – main stylesheet
   ===================================================================== */
:root {
  --red: #e2372a;
  --red-600: #c22a1e;
  --red-050: #fbe9e7;
  --ink: #131518;
  --ink-2: #1e2126;
  --ink-3: #2b2f36;
  --muted: #5d636b;
  --paper: #f7f5f1;
  --paper-2: #efebe4;
  --stone: #e4dfd6;
  --white: #ffffff;
  --line: rgba(19, 21, 24, 0.12);
  --line-strong: rgba(19, 21, 24, 0.22);
  --font-head: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.7, 0.18, 1);
  --shadow: 0 1px 2px rgba(16, 18, 22, 0.05), 0 18px 40px -22px rgba(16, 18, 22, 0.35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -0.02em; margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
dl, dd { margin: 0; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------------------------------------------------------------- shared atoms */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 4px; background: currentColor; transform: skewX(-24deg); flex: none; }
.eyebrow__num { color: inherit; opacity: .85; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-600); transform: translateY(-1px); box-shadow: 0 12px 26px -14px rgba(226, 55, 42, .8); }
.btn--ghost { border-color: currentColor; color: var(--fg, var(--ink)); background: transparent; }
.btn--ghost:hover { background: var(--fg, var(--ink)); color: var(--bg-contrast, #fff); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; text-decoration: none; color: var(--red); }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); display: inline-block; flex: none; box-shadow: 0 0 0 0 rgba(226, 55, 42, .55); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(226, 55, 42, .55); } 70% { box-shadow: 0 0 0 9px rgba(226, 55, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(226, 55, 42, 0); } }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--ink);
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header__inner { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.brand { position: relative; display: block; flex: none; width: 168px; }
.brand__logo { width: 100%; height: auto; transition: opacity .4s; }
.brand__logo--light { position: absolute; inset: 0; opacity: 0; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: 15px; transition: background-color .2s, color .2s; }
.main-nav a:hover { background: rgba(127, 127, 127, .14); }
.main-nav__mobile-extra { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.emergency-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; font-weight: 500; }
.emergency-link strong { font-family: var(--font-head); font-weight: 600; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), background-color .3s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-header::before { content: ""; position: absolute; inset: 0 0 -28px 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s; background: linear-gradient(180deg, rgba(8, 12, 26, .82) 0%, rgba(8, 12, 26, .5) 55%, rgba(8, 12, 26, 0) 100%); }
.site-header.is-dark::before { opacity: 1; }
.site-header.is-dark { color: #f4f1ec; }
.site-header.is-dark .brand__logo--light { opacity: 1; }
.site-header.is-dark .brand__logo--dark { opacity: 0; }
.site-header.is-dark .nav-toggle { border-color: rgba(255, 255, 255, .3); }
.site-header.is-solid { background: rgba(247, 245, 241, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); color: var(--ink); }
.site-header.is-solid .brand__logo--light { opacity: 0; }
.site-header.is-solid .brand__logo--dark { opacity: 1; }

/* ---------------------------------------------------------------- journey */
.journey { position: relative; --fg: var(--ink); --fg-muted: var(--muted); --bg-contrast: #fff; }
.journey__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; isolation: isolate; }
@media (max-width: 860px), (max-aspect-ratio: 1/1) { .journey__sticky { height: 100svh; } }
.journey__track { height: calc(var(--journey-stages, 9) * var(--stage-h, 90vh)); }

.sky, .sky > div { position: absolute; inset: 0; }
.sky { z-index: -2; }
.sky__day { background: linear-gradient(180deg, #c6d8e6 0%, #dbe6ee 34%, #ecefee 62%, #ebe6dc 100%); }
.sky__dusk { background: radial-gradient(120% 70% at 50% 100%, #3b3046 0%, rgba(59, 48, 70, 0) 60%), linear-gradient(180deg, #070c1c 0%, #111a33 38%, #212541 72%, #1a1a22 100%); opacity: var(--dusk, 0); }

.stage { position: absolute; inset: 0; z-index: 0; }
.house { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.house__layer { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.house__layer--day { opacity: var(--day, 1); transition: opacity .45s linear; }
.house__rooms { position: absolute; inset: 0; pointer-events: none; }
.room-light { position: absolute; overflow: hidden; opacity: 0; transition: opacity .8s var(--ease); }
.room-light img { position: absolute; max-width: none; pointer-events: none; }
.room-light--variant { transition: opacity .9s var(--ease); }
.house__sheen { position: absolute; pointer-events: none; overflow: hidden; opacity: var(--sheen, 0); mix-blend-mode: screen; }
.house__sheen::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 34%; left: -40%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 244, 220, .32) 45%, rgba(255, 255, 255, .5) 50%, rgba(255, 244, 220, .32) 55%, rgba(255, 255, 255, 0) 100%);
  animation: sheen 7s var(--ease) infinite; animation-delay: 1.2s;
}
@keyframes sheen { 0% { transform: translateX(0); } 55%, 100% { transform: translateX(460%); } }
.house__energy { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.energy-glow { fill: none; stroke: #ff6a3d; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; opacity: .35; filter: blur(4px); vector-effect: non-scaling-stroke; }
.energy-line { fill: none; stroke: #ffb35c; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.energy-pulse { fill: none; stroke: #fff4d6; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 0.018 0.982; animation: flow 3.2s linear infinite; }
@keyframes flow { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.house__hotspots { position: absolute; inset: 0; pointer-events: none; }
.hotspot { position: absolute; width: 0; height: 0; opacity: 0; transition: opacity .5s var(--ease); }
.hotspot.is-visible { opacity: 1; }
.hotspot__btn {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(var(--inv, 1)); transform-origin: 50% 50%;
  width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; background: transparent; cursor: pointer; pointer-events: auto;
}
.hotspot:not(.is-visible) .hotspot__btn { pointer-events: none; }
.hotspot__btn::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(226, 55, 42, .95), 0 4px 14px rgba(0, 0, 0, .35); transition: transform .25s var(--ease); }
.hotspot__btn::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.hotspot__label {
  position: absolute; left: 22px; top: 50%; transform: translateY(-50%) translateX(-4px); white-space: nowrap;
  background: rgba(19, 21, 24, .9); color: #fff; font-size: 13px; font-weight: 500; line-height: 1.2; padding: 7px 11px; border-radius: 9px;
  opacity: 0; transition: opacity .2s, transform .2s var(--ease); pointer-events: none;
}
.hotspot__btn:hover::before, .hotspot.is-active .hotspot__btn::before { transform: scale(1.25); }
.hotspot__btn:hover .hotspot__label, .hotspot__btn:focus-visible .hotspot__label, .hotspot.is-active .hotspot__label { opacity: 1; transform: translateY(-50%) translateX(0); }
.hotspot--left .hotspot__label { left: auto; right: 22px; }

.stage__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(var(--shade-rgb, 236, 240, 242), .92) 0%, rgba(var(--shade-rgb, 236, 240, 242), .55) 26%, rgba(var(--shade-rgb, 236, 240, 242), 0) 42%); transition: background .6s; }

/* panels */
.panels { position: absolute; z-index: 2; left: var(--gutter); top: var(--header-h); bottom: 0; width: min(440px, 34vw); pointer-events: none; }
.panel {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--fg); pointer-events: none; opacity: 0; visibility: hidden;
}
.panel.is-active { pointer-events: auto; }
.panel.is-shown { visibility: visible; }
.panel p { color: var(--fg-muted); font-size: 16.5px; }
.panel__title { font-size: clamp(30px, 3.1vw, 46px); margin-bottom: 18px; color: var(--fg); }
.panel__title--hero { font-size: clamp(38px, 4.2vw, 62px); letter-spacing: -0.03em; }
.panel--hero { right: auto; width: min(580px, 44vw); }
.panel__lead { font-size: 18px !important; max-width: 34em; }
.panel__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.panel__note { display: flex; align-items: center; gap: 10px; font-size: 15px !important; }
.panel__note a { color: var(--fg); font-weight: 600; text-decoration: none; }
.panel__items { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.panel__items button {
  border: 1px solid var(--chip-line, var(--line-strong)); background: var(--chip-bg, rgba(255, 255, 255, .55)); color: var(--fg);
  border-radius: 999px; padding: 7px 13px 7px 11px; font-size: 13.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: background-color .2s, border-color .2s;
}
.panel__items button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.panel__items button:hover, .panel__items button[aria-pressed="true"] { border-color: var(--red); background: var(--chip-bg-hover, #fff); }
.panel__contact { font-size: 14px !important; opacity: .9; margin-bottom: 14px !important; }
.panel .link-arrow { color: var(--link, var(--red)); }

/* scenes */
.scenes { margin: 18px 0 6px; padding: 16px; border-radius: var(--radius); background: var(--chip-bg, rgba(255, 255, 255, .5)); border: 1px solid var(--chip-line, var(--line)); }
.scenes__label { font-size: 13px !important; font-weight: 600; letter-spacing: .02em; color: var(--fg) !important; margin-bottom: 10px !important; }
.scenes__buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.scene-btn { border: 1px solid var(--chip-line, var(--line-strong)); background: transparent; color: var(--fg); border-radius: 10px; padding: 9px 6px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.scene-btn:hover { border-color: var(--red); }
.scene-btn[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.scenes__status { font-size: 13px !important; margin: 10px 0 0 !important; min-height: 1.4em; }

/* dusk theme for the journey */
.journey.is-dusk { --fg: #f4f1ec; --fg-muted: rgba(244, 241, 236, .74); --bg-contrast: var(--ink); --shade-rgb: 9, 13, 28; --chip-bg: rgba(255, 255, 255, .06); --chip-bg-hover: rgba(255, 255, 255, .14); --chip-line: rgba(255, 255, 255, .22); --link: #ff7a6b; }
.journey.is-dusk .stage__shade { background: linear-gradient(90deg, rgba(8, 12, 26, .9) 0%, rgba(8, 12, 26, .55) 26%, rgba(8, 12, 26, 0) 44%); }

/* floor navigation */
.floors { position: absolute; z-index: 3; right: calc(var(--gutter) - 14px); top: 50%; transform: translateY(-50%); padding: 6px 6px 6px 10px; text-shadow: 0 1px 6px var(--floors-shadow, rgba(247, 245, 241, .9)); }
.journey.is-dusk .floors { --floors-shadow: rgba(8, 12, 26, .95); }
.floors ol { display: flex; flex-direction: column; gap: 4px; }
.floors button { width: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 12px; background: none; border: 0; cursor: pointer; padding: 6px 4px; color: var(--fg); font-size: 13px; font-weight: 500; }
.floors button span { opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s var(--ease); white-space: nowrap; }
.floors button::after { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .6; transition: background-color .25s, transform .25s, opacity .25s; flex: none; }
.floors button:hover span, .floors button:focus-visible span, .floors button[aria-current="step"] span { opacity: 1; transform: none; }
.floors button[aria-current="step"]::after { background: var(--red); border-color: var(--red); opacity: 1; transform: scale(1.35); }

.scroll-cue { position: absolute; z-index: 3; left: var(--gutter); bottom: 28px; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--fg); opacity: var(--cue, 1); transition: opacity .3s; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; background: var(--fg); transform: translateX(-50%); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translate(-50%, 0); opacity: 1; } 80%, 100% { transform: translate(-50%, 14px); opacity: 0; } }

/* no-JS: journey becomes a simple stacked intro */
.no-js .journey__sticky { position: relative; height: auto; overflow: visible; padding: calc(var(--header-h) + 40px) var(--gutter) 40px; }
.no-js .stage, .no-js .stage__shade, .no-js .floors, .no-js .scroll-cue, .no-js .journey__track, .no-js .scenes { display: none; }
.no-js .panels { position: static; width: auto; max-width: 720px; }
.no-js .panel { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; margin-bottom: 48px; }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__head--row .section__lead { max-width: 420px; margin: 0; }
.section__title { font-size: clamp(32px, 4vw, 54px); letter-spacing: -0.025em; margin-bottom: 18px; }
.section__lead { font-size: 18.5px; color: var(--muted); }

/* services */
.services { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.service-card__body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 21px; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 15px; flex: 1; }
.service-card__links { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.service-card .link-arrow { font-size: 15px; }
.link-house { border: 0; background: none; padding: 4px 0; font-size: 14px; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-house:hover { color: var(--ink); }

.emergency-band { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 32px; border-radius: var(--radius-lg); background: var(--ink); color: #f4f1ec; }
.emergency-band__kicker { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin: 0 0 6px; color: #ff7a6b; }
.emergency-band__title { font-family: var(--font-head); font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; margin: 0; max-width: 32em; line-height: 1.3; }

/* shop */
.shop { background: var(--paper); }
.shop__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.shop__text > p { color: var(--muted); }
.hours { margin: 28px 0; padding: 22px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.hours__title { font-size: 16px; margin-bottom: 12px; }
.hours__list > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours__list > div:last-child { border-bottom: 0; }
.hours__list dt { color: var(--muted); }
.hours__list dd { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.hours__address { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.shop__gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; gap: 14px; }
.shop__fig { border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.shop__fig img { width: 100%; height: 100%; object-fit: cover; }
.shop__fig--a { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.shop__fig--b, .shop__fig--c { aspect-ratio: 4 / 3; }
.shop__fig--d { grid-column: 1 / -1; aspect-ratio: 1920 / 501; background: #fff; }
.shop__fig--d img { object-fit: contain; }

/* about */
.about { background: var(--white); }
.about__intro { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); margin-bottom: clamp(36px, 5vw, 56px); }
.about__text p { color: var(--muted); font-size: 17.5px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.facts li { padding: 18px 18px 16px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--font-head); font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; margin-bottom: 6px; }
.facts span { font-size: 14px; color: var(--muted); }
.about__team { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.about__team img { width: 100%; aspect-ratio: 1920 / 800; object-fit: cover; }
.about__team figcaption { font-size: 14px; color: var(--muted); padding: 12px 2px 0; }
.history { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); }
.history__title { font-size: clamp(26px, 2.6vw, 36px); grid-column: 1 / -1; }
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--red), var(--stone)); }
.timeline li { position: relative; padding: 0 0 18px; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2.5px solid var(--red); }
.timeline time { font-family: var(--font-head); font-weight: 600; font-size: 18px; display: block; }
.timeline p { color: var(--muted); font-size: 15.5px; margin: 2px 0 0; }
.history__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.history__photos figure:last-child { grid-column: 1 / -1; }
.history__photos img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.9); }
.history__photos figcaption { font-size: 13.5px; color: var(--muted); padding-top: 8px; }

/* insights gallery */
.insights { background: var(--paper); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(160px, 17vw, 240px); gap: 14px; }
.gallery li { min-width: 0; }
.gallery__item { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--stone); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery li:has(.gallery__item--wide) { grid-column: span 2; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 12, 16, .86); }
.lightbox img { max-height: 84vh; width: auto; border-radius: 12px; }
.lightbox__close { margin: 12px auto 0; display: block; background: #fff; border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 600; cursor: pointer; }

/* jobs */
.jobs { background: var(--ink); color: #f4f1ec; }
.jobs__grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.jobs__media { display: grid; gap: 14px; }
.jobs__media img { border-radius: var(--radius); width: 100%; }
.jobs__media img:first-child { background: #fff; }
.jobs__text p { color: rgba(244, 241, 236, .76); font-size: 17.5px; }
.jobs .eyebrow { color: #ff7a6b; }
.roles { display: grid; gap: 8px; margin: 24px 0; }
.roles li { padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); font-family: var(--font-head); font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; }
.roles li::after { content: "(m/w/d)"; font-weight: 400; color: rgba(244, 241, 236, .55); font-size: 14px; }
.benefits { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.benefits li { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); }

/* news */
.news { background: var(--white); }
.news-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.news-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.news-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #fff; }
.news-card--feature { grid-row: span 2; }
.news-card--feature img { aspect-ratio: auto; height: 100%; max-height: 520px; object-fit: contain; background: #f1eeea; }
.news-card__body { padding: 20px 22px 22px; }
.news-card__date { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--red); margin-bottom: 8px; }
.news-card h3 { font-size: 21px; margin-bottom: 8px; }
.news-card p:last-child { color: var(--muted); font-size: 15px; margin: 0; }
.news-grid > .news-card:nth-child(4) { grid-column: 2 / span 2; flex-direction: row; }
.news-grid > .news-card:nth-child(4) img { width: 42%; aspect-ratio: 1; flex: none; }

/* contact */
.contact { background: var(--paper-2); }
.contact__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__cards { display: grid; gap: 12px; margin: 26px 0 22px; }
.contact__card { padding: 20px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.contact__card h3 { font-size: 17px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.contact__card p { margin: 0 0 6px; color: var(--muted); font-size: 15.5px; }
.contact__card a { text-decoration: none; }
.contact__card a:hover { color: var(--red); }
.contact__big { font-family: var(--font-head); font-size: 24px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.contact__card--alert { background: var(--ink); border-color: var(--ink); }
.contact__card--alert h3, .contact__card--alert .contact__big { color: #fff; }
.contact__region { font-size: 15px; color: var(--muted); }

.form { background: var(--white); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(19, 21, 24, .08); }
.field [aria-invalid="true"] { border-color: var(--red); background: #fff7f6; }
.field__error { color: var(--red-600); font-size: 13.5px; margin: 6px 0 0; min-height: 0; }
.field__error:empty { display: none; }
.field--check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.field--check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--red); }
.field--check label { font-weight: 400; color: var(--muted); font-size: 14.5px; margin: 0; }
.field--check .field__error { grid-column: 2; }
.form__hint { font-size: 13px; color: var(--muted); }
.form__submit { width: 100%; }
.form__submit[disabled] { opacity: .6; cursor: progress; }
.form__status { margin: 14px 0 0; font-size: 15px; }
.form__status.is-success { color: #1d7a3c; }
.form__status.is-error { color: var(--red-600); }

/* footer */
.site-footer { background: #0d0f12; color: rgba(244, 241, 236, .72); padding: 72px 0 28px; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer__logo { width: 180px; margin-bottom: 18px; }
.site-footer h2 { font-size: 15px; color: #fff; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__vat { font-size: 13px; opacity: .7; }
.social { display: flex !important; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .06); transition: background-color .2s; }
.social a:hover { background: rgba(255, 255, 255, .14); }
.social img { width: 22px; height: 22px; border-radius: 4px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 14px; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom nav { display: flex; gap: 20px; }

.fab { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: none; align-items: center; min-height: 52px; padding: 0 22px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 600; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(226, 55, 42, .8); }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .main-nav a { padding: 8px 9px; font-size: 14.5px; }
  .emergency-link--header > span:not(.pulse-dot) { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .brand { width: 144px; }
  .nav-toggle { display: inline-flex; }
  .site-header__actions .btn, .emergency-link--header { display: none; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--paper); color: var(--ink); padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; max-height: calc(100svh - var(--header-h)); overflow: auto; }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { font-size: 18px; padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav__mobile-extra { display: grid; gap: 14px; margin-top: 18px; }
  .nav-open .site-header { background: var(--paper); color: var(--ink); }
  .nav-open .site-header .brand__logo--light { opacity: 0; }
  .nav-open .site-header .brand__logo--dark { opacity: 1; }
  .shop__grid, .about__intro, .history, .jobs__grid, .contact__grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card--feature { grid-row: auto; grid-column: 1 / -1; flex-direction: row; }
  .news-card--feature img { width: 42%; max-height: none; height: auto; flex: none; }
  .news-grid > .news-card:nth-child(4) { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* journey on tablet / phone: bottom sheet panels */
@media (max-width: 860px), (max-aspect-ratio: 1/1) {
  .panels { left: 0; right: 0; width: auto; top: auto; bottom: 0; height: var(--sheet-h, 44svh); }
  .panel { top: auto; bottom: 0; transform: none; max-height: 100%; overflow: hidden; padding: 22px var(--gutter) calc(18px + env(safe-area-inset-bottom)); background: var(--sheet-bg, rgba(247, 245, 241, .97)); border-radius: 22px 22px 0 0; box-shadow: 0 -18px 40px -24px rgba(0, 0, 0, .35); -webkit-overflow-scrolling: touch; }
  .journey.is-dusk { --sheet-bg: rgba(14, 18, 32, .96); }
  .panel--hero .panel__note { display: none; }
  .panel--hero { width: auto; right: 0; }
  .panel__title { font-size: clamp(24px, 6.4vw, 34px); margin-bottom: 10px; }
  .panel__title--hero { font-size: clamp(32px, 8.6vw, 46px); }
  .panel p { font-size: 15px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; margin-bottom: .6em; }
  .panel .panel__lead { -webkit-line-clamp: 3; line-clamp: 3; }
  .panel .scenes p { display: block; }
  .panel[data-stage="4"] .panel__items { display: none; }
  .panel[data-stage="4"] > p:not(.eyebrow) { -webkit-line-clamp: 3; line-clamp: 3; }
  .panel__actions { margin: 16px 0 8px; }
  .panel__lead { font-size: 16px !important; }
  .panel__items { flex-wrap: nowrap; overflow-x: auto; margin: 12px calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .panel__items::-webkit-scrollbar { display: none; }
  .panel__items button { white-space: nowrap; }
  .panel__contact { display: none; }
  .eyebrow { margin-bottom: 10px; font-size: 12px; }
  .stage__shade { display: none; }
  .floors { display: none; }
  .scroll-cue { display: none; }
  .scenes { padding: 12px; }
  .scenes__label { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .service-grid, .gallery, .news-grid, .site-footer__grid, .form__row--2, .facts { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-auto-rows: 200px; }
  .gallery li:has(.gallery__item--wide) { grid-column: auto; }
  .news-card--feature, .news-grid > .news-card:nth-child(4) { flex-direction: column; }
  .news-card--feature img, .news-grid > .news-card:nth-child(4) img { width: 100%; }
  .history__photos { grid-template-columns: 1fr; }
  .emergency-band { padding: 22px; }
  .emergency-band .btn { width: 100%; }
  .fab { display: inline-flex; }
  .fab.is-hidden, .in-journey .fab { display: none; }
  .roles li { font-size: 15.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .house__sheen { display: none; }
  .energy-pulse { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   Sub pages
   ===================================================================== */
.subpage { padding-top: var(--header-h); }
.subhero { background: linear-gradient(180deg, #dfe7ed 0%, var(--paper) 100%); padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: clamp(24px, 4vw, 44px); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.subhero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.subhero__title { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.03em; margin-bottom: 18px; }
.subhero__lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 36em; }
.subhero__media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); background: #fff; }
.house-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 15px; transition: transform .25s var(--ease); }
.house-link:hover { transform: translateY(-2px); }
.house-link__icon { width: 28px; height: 28px; border-radius: 50%; background: var(--red); position: relative; }
.house-link__icon::before { content: ""; position: absolute; left: 7px; top: 9px; width: 14px; height: 11px; background: #fff; clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%); }
.subbody { padding-top: clamp(48px, 6vw, 80px); background: var(--white); }
.subbody__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.subbody__grid--single { grid-template-columns: minmax(0, 860px); }
.prose { font-size: 17.5px; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 1.6em 0 .55em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 1.6em 0 .7em; }
.prose p { color: #3c4148; }
.prose ul:not([class]) { margin: 0 0 1.2em; padding-left: 0; display: grid; gap: 10px; }
.prose ul:not([class]) li { position: relative; padding-left: 26px; color: #3c4148; }
.prose ul:not([class]) li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 3px; background: var(--red); transform: skewX(-24deg); }
.prose a:not(.btn):not(.link-arrow) { color: var(--red); }
.prose .btn { margin: 4px 8px 8px 0; }
.prose .hours { margin-top: 36px; }
.sub-figure { margin: 28px 0; }
.sub-figure img { width: 100%; border-radius: var(--radius); }
.sub-figure figcaption { font-size: 14px; color: var(--muted); padding-top: 8px; }
.sub-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.sub-gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); background: var(--stone); }
.sub-gallery--3 { grid-template-columns: repeat(3, 1fr); }
.sub-gallery--3 img { aspect-ratio: 1; }
.sub-banners { display: grid; gap: 12px; margin: 28px 0; }
.sub-banners img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.people { position: sticky; top: calc(var(--header-h) + 24px); padding: 26px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.people h2 { font-size: 18px; margin-bottom: 14px; }
.people h2:not(:first-child) { margin-top: 22px; }
.people ul { display: grid; gap: 12px; margin-bottom: 22px; }
.people li { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.people li:last-child { border-bottom: 0; padding-bottom: 0; }
.people li strong { font-family: var(--font-head); font-size: 17px; font-weight: 600; }
.people li span { font-size: 14.5px; color: var(--muted); }
.people p { color: var(--muted); font-size: 15.5px; }
.people .btn { width: 100%; }
.people__phone { margin: 12px 0 0; text-align: center; font-size: 14.5px; }
.people__phone a, .people a { color: var(--ink); font-weight: 600; text-decoration: none; }
.people__alert { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: #fff !important; }
.people__alert a { color: #fff; }
.mini-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 28px; }
.mini-card { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 17px; transition: border-color .2s, transform .25s var(--ease); }
.mini-card::after { content: "→"; color: var(--red); }
.mini-card:hover { border-color: var(--red); transform: translateY(-2px); }
.team-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 12px; }
.team-list li { padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 2px; }
.team-list strong { font-family: var(--font-head); font-weight: 600; }
.team-list span { font-size: 14px; color: var(--muted); }
.roles--light li { border-color: var(--line-strong); color: var(--ink); }
.roles--light li::after { color: var(--muted); }
.news-item { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.news-item:first-child { padding-top: 0; }
.news-item:not(:has(img)) { grid-template-columns: 1fr; }
.news-item img { width: 100%; border-radius: var(--radius); background: var(--paper); }
.news-item h2 { margin-top: 0 !important; }
.news-item--feature { grid-template-columns: 280px 1fr; }
.cta-band { background: var(--ink); color: #f4f1ec; padding: clamp(44px, 6vw, 72px) 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band .eyebrow { color: #ff7a6b; }
.cta-band__title { font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 32px); font-weight: 500; line-height: 1.25; margin: 0; max-width: 24em; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--ghost { --fg: #f4f1ec; --bg-contrast: var(--ink); }
@media (max-width: 980px) {
  .subhero__grid, .subbody__grid { grid-template-columns: 1fr; }
  .people { position: static; }
}
@media (max-width: 640px) {
  .mini-cards, .team-list, .sub-gallery, .sub-gallery--3 { grid-template-columns: 1fr; }
  .news-item, .news-item--feature { grid-template-columns: 1fr; }
  .news-item img { max-width: 320px; }
}

/* =====================================================================
   Phone / portrait: simple start without the 3D house
   ===================================================================== */
.journey--simple .journey__sticky { position: static; height: auto; overflow: visible; padding-top: var(--header-h); }
.journey--simple .sky, .journey--simple .stage, .journey--simple .stage__shade,
.journey--simple .floors, .journey--simple .scroll-cue, .journey--simple .journey__track { display: none; }
.journey--simple .panels { position: static; width: auto; height: auto; }
.journey--simple .panel:not(.panel--hero) { display: none; }
.journey--simple .panel--hero {
  position: static; transform: none !important; opacity: 1 !important; visibility: visible; pointer-events: auto;
  max-height: none; overflow: visible; border-radius: 0; box-shadow: none;
  background: linear-gradient(180deg, #dfe7ed 0%, var(--paper) 100%); padding: 44px var(--gutter) 52px;
}
.journey--simple .panel--hero p { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.journey--simple .panel--hero .panel__note { display: flex; margin-top: 4px; }
.journey--simple .panel__title--hero { font-size: clamp(34px, 9.4vw, 50px); margin-bottom: 14px; }
.journey--simple .panel__lead { font-size: 17px !important; }
@media (max-width: 860px), (max-aspect-ratio: 1/1) {
  .nav-house, .house-link { display: none !important; }
}
