/* ==========================================================================
   VITAL Ascenseurs — design system
   Palette: logo charcoal + signal green, brushed steel for elevator surfaces.
   Green is reserved for "lit" states: buttons, floor display, active links.
   ========================================================================== */

:root {
  --ink: #292727;
  --ink-2: #4b4a4a;
  --ink-3: #6f6e6e;
  --paper: #fbfbfa;
  --surface: #f2f2f0;
  --line: #dddcd9;
  --steel-1: #eceef0;
  --steel-2: #c9ccd0;
  --steel-3: #8e9399;
  --steel-4: #4f545a;
  --shaft: #1b1c1e;
  --shaft-2: #26282b;
  --green: #95c33a;
  --green-deep: #5c8817;
  --green-soft: #eef5df;
  --green-glow: rgba(149, 195, 58, .45);

  --font-display: "Jost", "Futura", "Avenir Next", "Century Gothic", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 72px;
  --r: 4px;
  --floor-h: 100vh;
}
@supports (height: 100svh) { :root { --floor-h: 100svh; } }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.375rem; }
p { margin: 0 0 1.1em; }
strong { font-weight: 600; }
ul, ol { padding-inline-start: 1.3em; }
li { margin-bottom: .35em; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px;
  background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: var(--r);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose a { color: var(--green-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Buttons — styled after an elevator call button: a small lamp that lights
   ----------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .85rem 1.4rem .85rem 1.15rem;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem; line-height: 1;
  border-radius: 999px; border: 1.5px solid var(--ink);
  color: var(--ink); background: transparent; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: var(--steel-2); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
  transition: background .2s, box-shadow .2s;
}
.btn:hover::before, .btn:focus-visible::before { background: var(--green); box-shadow: 0 0 0 4px var(--green-glow); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary::before { background: var(--steel-4); }
.btn--light { border-color: #fff; color: #fff; }
.btn--light.btn--primary { background: #fff; color: var(--ink); }
.btn--light.btn--primary::before { background: var(--steel-2); }

/* --------------------------------------------------------------------------
   Header
   ----------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 251, 250, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; color: var(--ink); }
.brand svg { height: 34px; width: auto; }
.nav { margin-inline-start: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.nav a { font-family: var(--font-display); font-weight: 500; font-size: .95rem; text-decoration: none; padding: .4rem 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 1rem; }
.lang-switch { font-family: var(--font-display); font-weight: 500; font-size: .9rem; text-decoration: none; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .7rem; }
.lang-switch:hover { color: var(--ink); border-color: var(--ink); }
.header-phone { font-family: var(--font-display); font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--ink); border-radius: 999px; width: 44px; height: 44px; cursor: pointer; padding: 0; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; content: ""; transition: transform .2s; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 900px) {
  .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem; display: none; }
  .nav[data-open="true"] { display: block; }
  .nav ul { flex-direction: column; gap: .2rem; }
  .nav a { display: block; padding: .7rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .header-tools { margin-inline-start: auto; }
}

/* --------------------------------------------------------------------------
   Hero with sliding doors
   ----------------------------------------------------------------------- */
.hero-wrap { height: calc(100vh - var(--header-h) + 60vh); height: calc(100svh - var(--header-h) + 60vh); }
.hero {
  position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); overflow: hidden;
  display: grid; align-items: center; background: var(--paper);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(3rem, 8vh, 6rem); display: grid; gap: 3rem; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; }
.hero h1 { margin-bottom: .6em; max-width: 22ch; font-size: clamp(2rem, 3.6vw, 3.25rem); }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__art { justify-self: end; width: min(100%, 420px); }
.hero__art svg { width: 100%; height: auto; }

.doors { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.door {
  position: absolute; top: 0; bottom: 0; width: 50.05%; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, #d9dcdf 0%, #eef0f2 22%, #c4c8cc 48%, #e6e8ea 70%, #c9ccd0 100%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
  transition: transform .1s linear;
  will-change: transform;
}
.door--left { left: 0; transform: translateX(calc(-100% * var(--open, 0))); border-right: 1px solid rgba(0,0,0,.18); }
.door--right { right: 0; transform: translateX(calc(100% * var(--open, 0))); border-left: 1px solid rgba(255,255,255,.6); }
.door__logo { position: absolute; top: 50%; width: min(52vw, 520px); color: var(--ink); }
.door--left .door__logo { left: 100%; transform: translate(-50%, -50%); }
.door--right .door__logo { left: 0; transform: translate(-50%, -50%); }
.door__logo svg { width: 100%; height: auto; }

.lantern {
  position: absolute; top: 28px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--shaft); color: var(--steel-2); border-radius: 6px; padding: .45rem .9rem;
  font-family: var(--font-display); font-weight: 400; font-size: .95rem; letter-spacing: .08em;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  opacity: calc(1 - var(--open, 0) * 1.6); pointer-events: none;
}
.lantern__arrow { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 9px solid var(--steel-3); }
.lantern[data-lit="true"] .lantern__arrow { border-bottom-color: var(--green); filter: drop-shadow(0 0 4px var(--green)); }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  font-family: var(--font-display); font-size: .9rem; color: var(--ink-2); text-decoration: none;
  display: inline-flex; flex-direction: column; align-items: center; gap: .3rem;
  opacity: calc(1 - var(--open, 0) * 3);
}
.scroll-hint::after { content: ""; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(5px) rotate(45deg); } }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__art { justify-self: start; width: min(100%, 300px); }
  .door__logo { width: 80vw; }
}
@media (prefers-reduced-motion: reduce) {
  .doors, .scroll-hint { display: none; }
  .scroll-hint::after { animation: none; }
  .hero-wrap { height: auto; }
  .hero { position: relative; top: 0; height: auto; min-height: calc(100vh - var(--header-h)); }
}

/* --------------------------------------------------------------------------
   Journey — the building cross-section with the cabin rising by scroll
   ----------------------------------------------------------------------- */
.journey { --floors: 6; position: relative; height: calc(var(--floors) * var(--floor-h) + 30vh); background: var(--shaft); color: #fff; }
.journey__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.journey__grid { height: 100%; padding-top: var(--header-h); display: grid; grid-template-columns: minmax(280px, 34%) 1fr auto; gap: clamp(1.5rem, 4vw, 4rem); align-items: stretch; }

.building { height: 100%; display: flex; align-items: center; }
.building svg { height: min(calc(100vh - var(--header-h) - 56px), 720px); height: min(calc(100svh - var(--header-h) - 56px), 720px); width: auto; max-width: 100%; }
.building .room { fill: #2a2c30; stroke: #3a3d42; stroke-width: 1; transition: fill .4s; }
.building .room.on { fill: #4a4d33; }
.building .window { fill: #34373b; transition: fill .4s; }
.building .room.on .window { fill: #cfe38f; }
.building .slab { stroke: #4a4e54; stroke-width: 2; }
.building .shaft { fill: #141517; }
.building .rail { stroke: #5c6167; stroke-width: 1.5; }
.building .cable { stroke: #8e9399; stroke-width: 1.5; }
.building .machine { fill: #3b3e43; stroke: #5c6167; }
.building .cabin-body { fill: #d9dcdf; stroke: #9aa0a6; stroke-width: 1; }
.building .cabin-inner { fill: #f7e7a9; transition: fill .6s; }
.building .cabin.modern .cabin-inner { fill: #ffffff; }
.building .cabin-strip { fill: var(--green); opacity: 0; transition: opacity .6s; }
.building .cabin.modern .cabin-strip { opacity: 1; }
.building .cabin-door { fill: #b8bcc1; }
.building .counterweight { fill: #3f4247; stroke: #6b7076; }
.building .floor-label { font-family: var(--font-display); font-size: 13px; fill: #7e838a; letter-spacing: .06em; transition: fill .3s; }
.building .floor-label.on { fill: var(--green); }
.building .ground { fill: #0f1011; }

.chapters { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding-block: 4rem; }
.floor-display {
  display: inline-flex; align-items: baseline; gap: .6rem; margin-bottom: 1.6rem;
  background: #0e0f10; border: 1px solid #3a3d42; border-radius: 6px; padding: .2rem 1rem .35rem;
  font-family: var(--font-display); color: var(--green); text-shadow: 0 0 10px var(--green-glow);
  align-self: flex-start;
}
.floor-display__arrow { font-size: 1.2rem; transform: translateY(-.1em); }
.floor-display__num { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 300; line-height: 1; min-width: 2.2ch; }
.chapter-stack { position: relative; min-height: clamp(260px, 42vh, 400px); }
.chapter { position: absolute; top: 0; inset-inline: 0; opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .35s; pointer-events: none; max-width: 52ch; }
.chapter.active { opacity: 1; transform: none; pointer-events: auto; }
.chapter__floor { font-family: var(--font-display); color: var(--steel-3); font-size: .95rem; margin-bottom: .6rem; letter-spacing: .04em; }
.chapter h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 400; }
.chapter p { color: #c8cbcf; font-size: 1.05rem; max-width: 46ch; }
.chapter a { color: var(--green); font-family: var(--font-display); font-weight: 500; text-decoration: none; border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.chapter a:hover { border-color: var(--green); }

.panel { display: flex; flex-direction: column-reverse; justify-content: center; gap: .9rem; padding: 1.4rem .9rem; margin-block: auto; background: linear-gradient(180deg, #34373c, #26282b); border: 1px solid #45494f; border-radius: 12px; align-self: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 30px rgba(0,0,0,.35); }
.panel__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid #62676e; cursor: pointer;
  background: radial-gradient(circle at 35% 30%, #5a5f66, #33363b 70%); color: #d7dadd;
  font-family: var(--font-display); font-weight: 500; font-size: .95rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 2px 4px rgba(0,0,0,.5);
  transition: box-shadow .2s, color .2s, border-color .2s;
}
.panel__btn:hover { color: #fff; border-color: #8e9399; }
.panel__btn[aria-current="true"] { color: var(--ink); background: radial-gradient(circle at 35% 30%, #c8e58a, var(--green) 70%); border-color: var(--green); box-shadow: 0 0 0 4px var(--green-glow), 0 0 18px var(--green-glow); }

@media (max-width: 900px) {
  .journey__grid { grid-template-columns: 84px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 0 1rem; }
  .building { grid-row: 1; align-items: stretch; }
  .building svg { height: 100%; width: 100%; }
  .chapters { padding-block: 1.5rem 0; min-width: 0; }
  .chapter-stack { min-height: clamp(220px, 46svh, 380px); }
  .chapter { max-width: none; }
  .chapter h2 { font-size: 1.45rem; }
  .chapter p { font-size: .95rem; }
  .panel { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: .4rem; padding: .6rem .7rem; margin: 0 auto 1.1rem; align-self: end; max-width: 100%; }
  .panel__btn { width: 38px; height: 38px; font-size: .78rem; flex: none; }
  .floor-display__num { font-size: 2.2rem; }
  /* the hero scrolls normally on small screens; the doors still open with the first scroll */
  .hero-wrap { height: auto; }
  .hero { position: relative; top: 0; height: auto; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }
  .hero__inner { padding-block: 3.5rem 4.5rem; }
}

/* Reduced motion: the journey becomes a plain stacked section */
@media (prefers-reduced-motion: reduce) {
  .journey { height: auto; padding-block: 4rem; }
  .journey__stage { position: static; height: auto; overflow: visible; }
  .journey__grid { grid-template-columns: 1fr; }
  .building { display: none; }
  .chapter-stack { min-height: 0; }
  .chapter { position: static; opacity: 1; transform: none; pointer-events: auto; margin-bottom: 2.5rem; }
  .panel, .floor-display { display: none; }
}

/* --------------------------------------------------------------------------
   Sections
   ----------------------------------------------------------------------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--surface { background: var(--surface); }
.section__head { max-width: 62ch; margin-bottom: 2.5rem; }
.section__head p { color: var(--ink-2); font-size: 1.1rem; }

/* Service rows — a sequence of three, laid out like a floor list */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--paper); padding: 2rem; display: flex; flex-direction: column; gap: .8rem; text-decoration: none; transition: background .2s; }
.service:hover { background: var(--green-soft); }
.service svg { width: 40px; height: 40px; color: var(--green-deep); }
.service h3 { margin: 0; }
.service p { margin: 0; color: var(--ink-2); font-size: .98rem; flex: 1; }
.service__more { font-family: var(--font-display); font-weight: 500; color: var(--green-deep); }
@media (max-width: 800px) { .services { grid-template-columns: 1fr; } }

/* The load plate — every cabin has one; ours carries the company facts */
.plate-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.plate {
  border: 1px solid #b6babf; border-radius: 6px; padding: 1.4rem 1.6rem;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1px, transparent 1px 3px),
    linear-gradient(135deg, #e6e8ea, #cfd3d7 45%, #e9ebed);
  box-shadow: inset 0 1px 0 #fff, 0 8px 24px rgba(0,0,0,.08);
  font-family: var(--font-display); color: var(--steel-4);
  position: relative;
}
.plate::before, .plate::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #9aa0a6; box-shadow: inset 0 1px 1px rgba(0,0,0,.35); top: 10px; }
.plate::before { left: 10px; } .plate::after { right: 10px; }
.plate__title { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; text-align: center; margin: 0 0 1rem; color: var(--ink-2); }
.plate table { width: 100%; border-collapse: collapse; }
.plate th, .plate td { text-align: left; padding: .5rem 0; border-top: 1px solid rgba(0,0,0,.12); font-weight: 400; font-size: 1rem; vertical-align: top; }
.plate th { width: 42%; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; color: var(--ink-3); padding-top: .65rem; }
.plate td { color: var(--ink); }
@media (max-width: 800px) { .plate-wrap { grid-template-columns: 1fr; } }

/* Solutions list */
.solutions { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem 2rem; }
.solutions--six { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem 2rem; }
.solution { padding-top: 1.2rem; border-top: 2px solid var(--ink); }
.solution svg { width: 44px; height: 44px; margin-bottom: .8rem; color: var(--ink); }
.solution h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.solution p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.project { display: grid; gap: .8rem; }
.project__art { background: var(--surface); border: 1px solid var(--line); aspect-ratio: 4 / 3; display: grid; place-items: end center; overflow: hidden; }
.project__art svg { width: 100%; height: 100%; }
.project h3 { font-size: 1.15rem; margin: 0; }
.project dl { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; margin: 0; font-size: .92rem; color: var(--ink-2); }
.project dt { font-family: var(--font-display); color: var(--ink-3); }
.project dd { margin: 0; }
.todo { color: var(--green-deep); font-weight: 600; }

/* Tables in prose */
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-display); font-weight: 500; border-bottom: 2px solid var(--ink); }
.prose tr:hover td { background: var(--surface); }
.table-wrap { overflow-x: auto; }

/* FAQ */
.faq { max-width: 74ch; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details[open] summary { color: var(--green-deep); }
.faq .faq__a { padding: 0 0 1.4rem; color: var(--ink-2); max-width: 68ch; }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* CTA band */
.cta { background: var(--ink); color: #fff; }
.cta__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; padding-block: clamp(3rem, 7vw, 5rem); }
.cta h2 { color: #fff; margin-bottom: .4em; }
.cta p { color: #c8cbcf; max-width: 50ch; margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-self: end; }
@media (max-width: 800px) { .cta__inner { grid-template-columns: 1fr; } .cta__actions { justify-self: start; } }

/* --------------------------------------------------------------------------
   Inner pages
   ----------------------------------------------------------------------- */
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.page-hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; }
.page-hero h1 { max-width: 16ch; }
.page-hero__lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 52ch; }
.page-hero__art { justify-self: end; width: min(100%, 440px); }
.page-hero__art svg { width: 100%; height: auto; }
.breadcrumb { font-family: var(--font-display); font-size: .9rem; color: var(--ink-3); margin-bottom: 1.4rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: .4rem; color: var(--steel-3); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--green-deep); }
@media (max-width: 900px) { .page-hero__inner { grid-template-columns: 1fr; } .page-hero__art { justify-self: start; width: min(100%, 360px); } }

.page-body { padding-block: clamp(3rem, 6vw, 5rem); }
.page-body .prose > *:first-child { margin-top: 0; }
.page-body .prose h2 { margin-top: 2.4em; }
.page-body .prose h2:first-of-type { margin-top: 0; }

/* Schematic illustration (elevator technical drawing) */
.schematic { font-family: var(--font-display); }
.schematic .line { stroke: var(--steel-3); stroke-width: 1.2; fill: none; }
.schematic .fill { fill: var(--steel-1); stroke: var(--steel-3); stroke-width: 1.2; }
.schematic .dark { fill: var(--steel-2); stroke: var(--steel-4); stroke-width: 1.2; }
.schematic .hi { fill: var(--green-soft); stroke: var(--green-deep); stroke-width: 1.6; }
.schematic .hi-line { stroke: var(--green-deep); stroke-width: 2; fill: none; }
.schematic .label { font-size: 11px; fill: var(--ink-3); letter-spacing: .04em; }
.schematic .label.hi { fill: var(--green-deep); stroke: none; font-weight: 500; }
.schematic .leader { stroke: var(--steel-3); stroke-width: .8; stroke-dasharray: 3 3; }

/* Cabin front illustration on the home hero */
.cabin-front .frame { fill: #e8eaec; stroke: #b6babf; }
.cabin-front .door { fill: #cfd3d7; stroke: #9aa0a6; }
.cabin-front .seam { stroke: #7f858c; }
.cabin-front .display { fill: var(--shaft); }
.cabin-front .display text { font-family: var(--font-display); fill: var(--green); font-size: 22px; font-weight: 300; }
.cabin-front .lamp { fill: var(--green); }

/* Blog */
.post-list { display: grid; gap: 0; max-width: 74ch; }
.post-card { padding: 1.8rem 0; border-top: 1px solid var(--line); display: grid; gap: .4rem; }
.post-card:last-child { border-bottom: 1px solid var(--line); }
.post-card time { font-family: var(--font-display); color: var(--ink-3); font-size: .9rem; }
.post-card h2 { font-size: 1.5rem; margin: 0; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { color: var(--green-deep); }
.post-card p { margin: 0; color: var(--ink-2); }
.post-meta { font-family: var(--font-display); color: var(--ink-3); font-size: .95rem; margin-bottom: 1.5rem; }
.post .prose { font-size: 1.1rem; }
.post .prose ul, .post .prose ol { margin-bottom: 1.3em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-card { display: grid; gap: 1.2rem; }
.contact-card p { margin: 0; }
.contact-card .label { font-family: var(--font-display); color: var(--ink-3); font-size: .9rem; }
.contact-card .value { font-size: 1.15rem; }
.contact-card a { text-decoration: none; border-bottom: 1.5px solid var(--green); }
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-family: var(--font-display); font-weight: 500; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; padding: .75rem .9rem; border: 1.5px solid var(--steel-2); border-radius: var(--r); background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--green-glow); }
.form textarea { min-height: 140px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form small { color: var(--ink-3); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } .form .row { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 3.5rem 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; }
.site-footer .brand svg { height: 30px; }
.site-footer h3 { font-size: 1rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { text-decoration: none; color: var(--ink-2); }
.site-footer a:hover { color: var(--green-deep); }
.footer-address { color: var(--ink-2); font-style: normal; margin-top: 1rem; line-height: 1.7; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: var(--ink-3); font-size: .88rem; }
.footer-bottom a { color: var(--ink-3); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Utilities */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
