/* AB Bauten AG — public site. Font and page width come from the admin settings (see design_css() in app/lib/site.php). */

:root {
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1180px;
  --ink: #10272b;
  --text: #55656a;
  --line: #e2e8e8;
  --tint: #f3f6f6;
  --dark: #0d2529;
  --darker: #081b1e;
  --teal: #1f7f8a;
  --brand: #51a8b1;
  --mint: #85ca9e;
  --r: 10px;
  --shadow: 0 20px 44px -24px rgba(16, 39, 43, .38);
  --gut: clamp(18px, 4vw, 32px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
::selection { background: var(--mint); color: var(--ink); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 999; padding: 10px 16px; background: var(--mint); color: var(--ink); font-weight: 600; border-radius: 6px; }

/* ---------- Type & basics ---------- */
h1, h2, h3 { color: var(--ink); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
h1 em, h2 em, h3 em, .hs__title em { font-style: normal; color: var(--teal); }
.h-xxl { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.h-xl { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.h-lg { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.lead { font-size: 1.15rem; color: var(--ink); font-weight: 500; line-height: 1.6; }
.label { display: inline-flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.label::before { content: ""; width: 34px; height: 2px; background: var(--mint); }
.label--light { color: #fff; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.sec { padding-block: clamp(64px, 8vw, 110px); }
.sec--tint { background: var(--tint); }
.sec--dark { background: var(--dark); color: #c9d6d6; }
.sec--dark h2, .sec--dark h3 { color: #fff; } .sec--dark em { color: var(--mint); } .sec--dark .label { color: var(--mint); }
.sec__head { display: grid; gap: 12px; margin-bottom: clamp(30px, 4vw, 52px); justify-items: start; }
.sec__head > div { display: grid; gap: 12px; justify-items: start; }
.sec__head--split { grid-template-columns: 1fr auto; align-items: end; gap: 16px 32px; }
.sec .wrap + .wrap { margin-top: clamp(40px, 5vw, 70px); }
@media (max-width: 700px) { .sec__head--split { grid-template-columns: 1fr; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 6px; background: var(--teal); color: #fff; font-weight: 600; font-size: .96rem; line-height: 1.2; border: 2px solid var(--teal); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--light { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--teal); }
.btn--ghost:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn--dark { background: var(--ink); border-color: var(--ink); }
.btn--dark:hover { background: var(--teal); border-color: var(--teal); }
.btn--mint { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: var(--teal); justify-self: start; }
.link::after { content: "→"; transition: transform .3s var(--ease); }
.link:hover::after, .feat__card:hover .link::after { transform: translateX(5px); }
.chip { font-size: .9rem; font-weight: 500; padding: 8px 16px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.chip sup { font-size: .72em; opacity: .6; margin-left: 3px; }
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }
.pk__status { display: inline-block; font-size: .72rem; font-weight: 600; padding: 2px 10px; border-radius: 20px; background: var(--mint); color: var(--ink); vertical-align: middle; }

/* background photo with slow parallax and a dark veil */
.pbg { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.pbg img { width: 100%; height: 125%; object-fit: cover; }
.pbg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 27, 30, .9), rgba(8, 27, 30, .72)); }

/* ---------- Header ---------- */
.top { background: var(--darker); color: #b9c8c8; font-size: .86rem; }
.top__in { display: flex; justify-content: space-between; gap: 20px; padding-block: 8px; }
.top p { display: flex; gap: 24px; } .top a:hover { color: var(--mint); }
.hd { position: sticky; top: 0; z-index: 100; background: var(--dark); color: #fff; transition: box-shadow .3s; }
.hd.is-stuck { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); }
.hd__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.hd__logo img { width: auto; height: 52px; }
.hd__nav > ul { display: flex; gap: 4px; }
.hd__nav a { display: block; padding: 10px 14px; font-size: .96rem; font-weight: 500; border-radius: 6px; transition: color .2s, background .2s; }
.hd__nav > ul > li > a:hover, .hd__nav > ul > li > a[aria-current] { color: var(--mint); }
.hd__nav .has-sub { position: relative; }
.hd__nav .has-sub > a::after { content: "▾"; margin-left: 6px; font-size: .8em; opacity: .7; }
.hd__sub { position: absolute; top: 100%; left: 0; min-width: 230px; padding: 8px; border-radius: var(--r); background: #fff; color: var(--ink); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .3s var(--ease), visibility .2s; }
.hd__sub a:hover { background: var(--tint); color: var(--teal); }
.has-sub:hover .hd__sub, .has-sub:focus-within .hd__sub { opacity: 1; visibility: visible; transform: none; }
.hd__end { display: flex; align-items: center; gap: 12px; }
.hd__burger { display: none; width: 44px; height: 44px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .3); place-items: center; }
.hd__burger i, .hd__burger i::before, .hd__burger i::after { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, background .3s; }
.hd__burger i { position: relative; } .hd__burger i::before, .hd__burger i::after { content: ""; position: absolute; left: 0; }
.hd__burger i::before { top: -6px; } .hd__burger i::after { top: 6px; }
.menu-open .hd__burger i { background: transparent; }
.menu-open .hd__burger i::before { transform: translateY(6px) rotate(45deg); } .menu-open .hd__burger i::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1020px) { .hd__nav { display: none; } .hd__burger { display: grid; } .top { display: none; } }
.hd--compact .hd__nav { display: none; } .hd--compact .hd__burger { display: grid; }
@media (max-width: 420px) { .hd__cta { display: none; } }

.menu { position: fixed; top: 0; right: 0; bottom: 0; z-index: 95; width: min(86vw, 360px); padding: 100px 26px 30px; background: var(--dark); color: #fff; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; display: grid; align-content: start; gap: 28px; }
.menu-open .menu { transform: none; visibility: visible; transition-delay: 0s; }
.menu__shade { position: fixed; inset: 0; z-index: 94; background: rgba(8, 27, 30, .6); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu-open .menu__shade { opacity: 1; visibility: visible; }
.menu__list > li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.menu__list > li > a { display: block; padding: 13px 0; font-size: 1.1rem; font-weight: 600; }
.menu__list a:hover, .menu__list a[aria-current] { color: var(--mint); }
.menu__sub { padding: 0 0 12px 14px; } .menu__sub a { display: block; padding: 5px 0; color: #b9c8c8; font-size: .95rem; }
.menu__aside { display: grid; gap: 16px; color: #b9c8c8; }

/* ---------- Home: photo slider ---------- */
.hs { position: relative; height: clamp(500px, 76vh, 700px); background: var(--dark); color: #fff; overflow: hidden; }
.hs__slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s 1.1s; }
.hs__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.hs__media { position: absolute; inset: -8% 0; }
.hs__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hs__slide.is-active .hs__media img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.13) translate(-1%, -1%); } }
.hs__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 27, 30, .88) 0, rgba(8, 27, 30, .62) 46%, rgba(8, 27, 30, .2) 100%); }
.hs__copy { position: relative; z-index: 2; display: grid; gap: 18px; justify-items: start; padding-bottom: 60px; }
.hs__title { max-width: 14em; font-size: clamp(2.1rem, 4.6vw, 3.7rem); font-weight: 700; line-height: 1.14; letter-spacing: -.015em; color: #fff; }
.hs__title em { color: var(--mint); font-style: normal; }
.hs__text { max-width: 34em; font-size: clamp(1rem, 1.3vw, 1.15rem); color: #d7e2e2; }
.hs__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.js .hs__copy > * { opacity: 0; transform: translateY(26px); }
.js .hs__slide.is-active .hs__copy > * { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .hs__slide.is-active .hs__copy > :nth-child(1) { transition-delay: .25s; } .js .hs__slide.is-active .hs__copy > :nth-child(2) { transition-delay: .38s; }
.js .hs__slide.is-active .hs__copy > :nth-child(3) { transition-delay: .5s; } .js .hs__slide.is-active .hs__copy > :nth-child(4) { transition-delay: .62s; }
.hs__ui { position: absolute; left: 0; right: 0; bottom: 96px; z-index: 3; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.hs__dots, .hs__arrows { display: flex; gap: 8px; pointer-events: auto; }
.hs__dot { width: 46px; height: 22px; display: grid; align-items: center; }
.hs__dot i { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; position: relative; }
.hs__dot i::after { content: ""; position: absolute; inset: 0; background: var(--mint); transform: scaleX(0); transform-origin: 0 50%; }
.hs__dot.is-active i::after { animation: hs-progress 6.5s linear forwards; }
.hs:hover .hs__dot.is-active i::after, .hs.is-paused .hs__dot.is-active i::after { animation-play-state: paused; }
@keyframes hs-progress { to { transform: scaleX(1); } }
.hs__arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); color: #fff; font-size: 1.1rem; transition: background .25s, color .25s, border-color .25s; }
.hs__arrow:hover { background: var(--mint); border-color: var(--mint); color: var(--ink); }
@media (max-width: 700px) { .hs { height: clamp(500px, 82vh, 640px); } .hs__arrows { display: none; } .hs__ui { bottom: 86px; } }

/* ---------- Home: service cards under the slider ---------- */
.feat { position: relative; z-index: 4; margin-top: -64px; }
.feat__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat__card { position: relative; display: grid; gap: 10px; align-content: start; justify-items: start; padding: 26px 24px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); border-bottom: 3px solid transparent; transition: transform .35s var(--ease), border-color .3s, opacity .8s var(--ease); --art-a: var(--teal); --art-b: var(--tint); }
.feat__card:hover { transform: translateY(-8px) !important; border-color: var(--mint); }
.feat__art { width: 74px; margin-bottom: 4px; }
.feat__title { font-size: 1.12rem; }
.feat__title a::after { content: ""; position: absolute; inset: 0; }
.feat__card p { font-size: .93rem; line-height: 1.55; }
@media (max-width: 960px) { .feat__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feat__grid { grid-template-columns: 1fr; } }

/* small looping illustrations for the services */
.art { width: 100%; height: auto; overflow: visible; }
.art__wall { fill: var(--art-b); }
.art__board, .art__tile { fill: var(--art-a); opacity: 0; transform-box: fill-box; transform-origin: center; animation: art-pop 6s var(--ease) infinite; animation-delay: calc(var(--i) * 90ms); }
.art__tile { animation-duration: 7s; }
@keyframes art-pop { 0% { opacity: 0; transform: scale(.4); } 7% { opacity: 1; transform: none; } 86% { opacity: 1; } 94%, 100% { opacity: 0; } }
.art__coat { fill: var(--mint); transform-box: fill-box; transform-origin: 50% 0; animation: art-coat 6s var(--ease) infinite; }
@keyframes art-coat { 0%, 36% { transform: scaleY(0); opacity: 1; } 60%, 88% { transform: scaleY(1); opacity: 1; } 96%, 100% { transform: scaleY(1); opacity: 0; } }
.art__detail rect { fill: var(--dark); animation: art-fade 6s infinite; }
@keyframes art-fade { 0%, 60% { opacity: 0; } 68%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
.art__band { fill: var(--art-a); transform-box: fill-box; animation: 5.5s var(--ease) infinite; }
.art__band--1 { transform-origin: 0 50%; animation-name: art-b1; } .art__band--2 { transform-origin: 100% 50%; animation-name: art-b2; } .art__band--3 { transform-origin: 0 50%; animation-name: art-b3; }
@keyframes art-b1 { 0% { transform: scaleX(0); } 26%, 92% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes art-b2 { 0%, 30% { transform: scaleX(0); } 56%, 92% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes art-b3 { 0%, 60% { transform: scaleX(0); } 86%, 92% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.art__trowel { animation: art-trowel 5.5s var(--ease) infinite; }
.art__trowel path { fill: var(--mint); stroke: var(--mint); stroke-width: 2; stroke-linejoin: round; }
@keyframes art-trowel { 0% { transform: translate(28px, 51px); } 26% { transform: translate(212px, 51px); } 30% { transform: translate(212px, 100px); } 56% { transform: translate(28px, 100px); } 60% { transform: translate(28px, 149px); } 86%, 92% { transform: translate(212px, 149px); opacity: 1; } 100% { transform: translate(212px, 149px); opacity: 0; } }
.art__drop { fill: var(--mint); animation: art-drop 2.4s ease-in infinite; animation-delay: calc(var(--i) * .7s); opacity: 0; }
@keyframes art-drop { 0% { transform: translateY(-20px); opacity: 0; } 15%, 80% { opacity: 1; } 100% { transform: translateY(120px); opacity: 0; } }
.art__rail, .art__stud { stroke: var(--art-a); stroke-width: 5; stroke-linecap: round; }
.art__stud { transform-box: fill-box; transform-origin: 50% 100%; animation: art-stud 6s var(--ease) infinite; animation-delay: calc(var(--i) * 140ms); }
@keyframes art-stud { 0% { transform: scaleY(0); } 14%, 92% { transform: scaleY(1); opacity: 1; } 100% { opacity: 0; } }
.art__panel { fill: var(--mint); animation: 6s var(--ease) infinite; }
.art__panel--1 { animation-name: art-p1; } .art__panel--2 { animation-name: art-p2; }
@keyframes art-p1 { 0%, 26% { transform: translateX(-60px); opacity: 0; } 42%, 92% { transform: none; opacity: .92; } 100% { opacity: 0; } }
@keyframes art-p2 { 0%, 44% { transform: translateX(60px); opacity: 0; } 60%, 92% { transform: none; opacity: .92; } 100% { opacity: 0; } }
.art__ring { fill: none; stroke: var(--art-a); stroke-width: 5; transform-box: fill-box; transform-origin: center; animation: art-ring 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * .4s); }
@keyframes art-ring { 0%, 100% { transform: scale(.9); opacity: .5; } 50% { transform: scale(1.05); opacity: 1; } }

/* ---------- Home: about, numbers ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__media { position: relative; padding: 0 12% 12% 0; }
.about__img { overflow: hidden; border-radius: var(--r); }
.about__img--a { aspect-ratio: 4 / 5; }
.about__img--a img { width: 100%; height: 118%; object-fit: cover; }
.about__img--b { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 8px solid #fff; box-shadow: var(--shadow); }
.about__img--b img { width: 100%; height: 100%; object-fit: cover; }
.about__badge { position: absolute; left: -14px; top: 28px; padding: 18px 22px; border-radius: var(--r); background: var(--teal); color: #fff; display: grid; box-shadow: var(--shadow); }
.about__badge b { font-size: 2.3rem; font-weight: 700; line-height: 1; } .about__badge span { font-size: .84rem; opacity: .9; }
.about__copy { display: grid; gap: 18px; justify-items: start; }
.checks { display: grid; gap: 10px; margin: 4px 0 8px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: var(--ink); font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .about__media { max-width: 460px; } .about__badge { left: 0; } }

.band { position: relative; isolation: isolate; padding-block: clamp(56px, 7vw, 90px); color: #fff; }
.band__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.band__grid li { display: grid; gap: 6px; }
.band__grid li + li { border-left: 1px solid rgba(255, 255, 255, .18); }
.band b { font-size: clamp(2.6rem, 5.4vw, 4.2rem); font-weight: 700; line-height: 1; color: var(--mint); font-variant-numeric: tabular-nums; }
.band span { font-size: .98rem; font-weight: 500; }
@media (max-width: 620px) { .band__grid { grid-template-columns: 1fr; } .band__grid li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 24px; } }

/* ---------- Home: the building that grows while scrolling ---------- */
.build__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.build__copy { display: grid; gap: 18px; justify-items: start; }
.steps { display: grid; gap: 8px; width: 100%; margin-top: 6px; }
.steps a { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); font-weight: 500; transition: border-color .25s, background .25s, transform .3s var(--ease); }
.steps a:hover { border-color: var(--mint); background: var(--tint); transform: translateX(6px); }
.steps b { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--teal); font-size: .86rem; display: grid; place-items: center; transition: background .4s, color .4s; }
/* a step lights up when the growing building reaches it */
.steps li.is-on a { border-color: var(--mint); }
.steps li.is-on b, .no-js .steps b { background: var(--teal); color: #fff; }
.build__stage { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: #e4f2ec; }
.build__svg { width: 100%; height: 100%; }
@media (max-width: 900px) { .build__grid { grid-template-columns: 1fr; } .build__stage { aspect-ratio: 1 / 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
.c-veil { display: none; }
.c-cloud ellipse { fill: #fff; opacity: .86; }
.c-cloud { animation: drift var(--t, 80s) ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateX(-70px); } to { transform: translateX(110px); } }
.c-rays { transform-box: fill-box; transform-origin: center; animation: spin 70s linear infinite; }
.c-rays line { stroke: #ffe7a8; stroke-width: 5; stroke-linecap: round; opacity: .85; }
.c-tree { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 5.5s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-1.8deg); } to { transform: rotate(1.8deg); } }
.c-lamp rect { fill: #2b3f43; } .c-lamp path { stroke: #2b3f43; } .c-lamp__light { fill: #ffe7a8; }
.c-truck__in { animation: drive 22s linear infinite; }
@keyframes drive { from { transform: translateX(-280px); } to { transform: translateX(1700px); } }
.c-truck text { font: 800 15px var(--sans); fill: #0e2022; }
.c-birds__in { animation: fly 28s linear infinite; }
.c-birds path { fill: none; stroke: #0f2a2f; stroke-width: 2; stroke-linecap: round; }
@keyframes fly { from { transform: translate(0, 300px); } to { transform: translate(1700px, 110px); } }
.c-crane line, .c-crane path { fill: none; stroke: #f0b441; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.c-crane .c-crane__fill { fill: #f0b441; stroke: none; }
.c-crane .c-cable { stroke: #0f2a2f; stroke-width: 1.6; }
.c-trolley { animation: trolley 9s ease-in-out infinite alternate; }
.c-load { animation: hoist 9s ease-in-out infinite alternate; }
.c-trolley > .c-cable { transform-box: fill-box; transform-origin: 50% 0; animation: cable 9s ease-in-out infinite alternate; }
@keyframes trolley { from { transform: translateX(0); } to { transform: translateX(230px); } }
@keyframes hoist { from { transform: translateY(0); } to { transform: translateY(90px); } }
@keyframes cable { from { transform: scaleY(1); } to { transform: scaleY(1.8); } }
.c-scaf line { stroke: var(--teal); stroke-width: 1.2; opacity: .42; }
.c-scaf .c-scaf__pole { stroke-width: 2; opacity: .6; } .c-scaf .c-scaf__deck { stroke-width: 3; opacity: .6; }
.c-tag { display: none; }
.no-js .c-crane, .no-js .c-scaf { display: none; }

/* ---------- Cards & grids ---------- */
.sk { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.sk__item { padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s, opacity .8s var(--ease); }
.sk__item:hover { transform: translateY(-6px) !important; box-shadow: var(--shadow); border-color: var(--mint); }
.sk__no { font-size: .84rem; font-weight: 700; color: var(--teal); }
.sk__item h3 { font-size: 1.02rem; line-height: 1.35; font-weight: 600; }
.sk__item p { font-size: .9rem; line-height: 1.55; }
.sec--dark .sk__item { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); } .sec--dark .sk__no { color: var(--mint); }

.pcg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pc { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--mint); transition: transform .35s var(--ease), box-shadow .35s, opacity .8s var(--ease); }
.pc:hover { transform: translateY(-6px) !important; box-shadow: var(--shadow); }
.pc__img { margin: -24px -24px 6px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r) var(--r) 0 0; } .pc__img img { width: 100%; height: 100%; object-fit: cover; }
.pc__year { font-size: .82rem; font-weight: 700; letter-spacing: .06em; color: var(--teal); }
.pc__title { font-size: 1.1rem; line-height: 1.35; }
.pc__facts div { display: grid; grid-template-columns: 7em 1fr; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: .88rem; line-height: 1.45; }
.pc__facts dt { color: #8a9799; } .pc__facts dd { color: var(--ink); }
@media (max-width: 900px) { .pcg { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pcg { grid-template-columns: 1fr; } }

.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gal__item, .reveal-img { display: block; overflow: hidden; border-radius: var(--r); }
.gal__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gal__item img, .reveal-img img, .tm__photo img { transition: transform .9s var(--ease); }
.gal__item:hover img, .reveal-img:hover img { transform: scale(1.07); }
@media (max-width: 640px) { .gal { grid-template-columns: repeat(2, 1fr); } }

.cta { position: relative; isolation: isolate; padding-block: clamp(70px, 9vw, 120px); color: #d7e2e2; text-align: center; }
.cta .pbg::after { background: linear-gradient(90deg, rgba(8, 27, 30, .9), rgba(31, 127, 138, .78)); }
.cta__inner { display: grid; gap: 16px; justify-items: center; }
.cta h2 { color: #fff; } .cta em { color: var(--mint); }
.cta__text { max-width: 36em; font-size: 1.08rem; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }

/* ---------- Footer ---------- */
.ft { background: var(--dark); color: #b3c3c3; font-size: .95rem; }
.ft__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-block: clamp(50px, 6vw, 76px); }
.ft__grid > div { display: grid; gap: 12px; align-content: start; }
.ft__brand img { width: 160px; height: auto; }
.ft__label { color: #fff; font-weight: 600; font-size: 1.02rem; }
.ft a:hover { color: var(--mint); } .ft .link { color: var(--mint); }
.ft__nav { display: grid; gap: 6px; }
.ft__bar { background: var(--darker); font-size: .86rem; }
.ft__bar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; padding-block: 16px; }
.ft__bar ul { display: flex; flex-wrap: wrap; gap: 6px 20px; } .ft__top { margin-left: auto; }
@media (max-width: 860px) { .ft__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ft__grid { grid-template-columns: 1fr; } .ft__top { margin-left: 0; } }

/* ---------- Inner page header ---------- */
.ph { position: relative; isolation: isolate; background: var(--dark); color: #d7e2e2; padding-block: clamp(56px, 8vw, 96px); }
.ph--full { min-height: 70vh; display: flex; align-items: center; }
.ph__inner { display: grid; gap: 14px; justify-items: start; }
.ph__crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; }
.ph__crumbs a:hover { color: var(--mint); } .ph__crumbs [aria-current] { color: var(--mint); } .ph__crumbs span[aria-hidden] { opacity: .5; }
.ph__title { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); overflow-wrap: anywhere; hyphens: auto; }
.ph__intro { max-width: 40em; font-size: 1.08rem; }
.ph__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.ph__facts div { padding: 10px 16px; border-radius: 8px; background: rgba(255, 255, 255, .1); }
.ph__facts dt { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); } .ph__facts dd { color: #fff; font-weight: 600; }

/* ---------- Text blocks ---------- */
.two { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 28px clamp(30px, 5vw, 70px); align-items: start; }
.two__aside { display: grid; gap: 16px; position: sticky; top: 110px; justify-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } .two__aside { position: static; } }
.prose { max-width: 46em; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; } .prose h3, .prose h4 { font-size: 1.2rem; margin-top: 1.4em; }
.prose ul li, .prose ol li { position: relative; padding: 8px 0 8px 32px; border-bottom: 1px solid var(--line); color: var(--ink); }
.prose ul li::before { content: "✓"; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%; background: var(--mint); color: var(--ink); font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.prose ol { counter-reset: n; } .prose ol li { counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .76rem; font-weight: 700; display: grid; place-items: center; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { padding-left: 18px; border-left: 3px solid var(--mint); font-size: 1.1rem; color: var(--ink); }
.prose--lead { margin-bottom: clamp(30px, 4vw, 50px); font-size: 1.12rem; color: var(--ink); }
.cover { margin-bottom: clamp(36px, 5vw, 60px); aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--r); } .cover img { width: 100%; height: 118%; object-fit: cover; }
.note { padding: 14px 18px; border-radius: 8px; margin: 20px 0; }
.note--ok { color: #14573b; background: #e1f3e8; } .note--err { color: #8f271c; background: #fbe6e2; }

.sl { display: grid; gap: 18px; }
.sl__row { display: grid; grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 44px); padding: clamp(22px, 3vw, 36px); border-radius: var(--r); background: #fff; border: 1px solid var(--line); align-items: center; transition: box-shadow .35s, transform .35s var(--ease); }
.sl__row:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.sl__no { font-size: 1.1rem; font-weight: 700; color: var(--mint); align-self: start; }
.sl__body { display: grid; gap: 10px; justify-items: start; }
.sl__body .h-lg a:hover { color: var(--teal); } .sl__tag { font-weight: 600; color: var(--teal); }
.sl__imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .sl__imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 860px) { .sl__row { grid-template-columns: 1fr; } }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; } .strip__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 640px) { .strip { grid-template-columns: 1fr 1fr; } }
.biglinks { margin-top: 18px; display: grid; gap: 10px; }
.biglinks a { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px 24px; padding: 18px 22px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .25s, border-color .25s, transform .3s var(--ease); }
.biglinks span { font-size: 1.25rem; font-weight: 600; color: #fff; } .biglinks em { font-style: normal; font-size: .92rem; text-align: right; } .biglinks i { font-style: normal; color: var(--mint); transition: transform .3s var(--ease); }
.biglinks a:hover { background: rgba(255, 255, 255, .11); border-color: var(--mint); transform: translateX(6px); } .biglinks a:hover i { transform: translateX(6px); }
@media (max-width: 700px) { .biglinks a { grid-template-columns: 1fr auto; } .biglinks em { grid-column: 1 / -1; grid-row: 2; text-align: left; } }

.pf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.pf__years { display: flex; flex-wrap: wrap; gap: 8px; } .pf__search { flex: 1 1 260px; max-width: 380px; }
.pf__search input, .field input, .field textarea { width: 100%; padding: 12px 14px; background: #fff; border: 1px solid #cfd8d8; border-radius: 6px; transition: border-color .2s, box-shadow .2s; }
.pf__search input:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(133, 202, 158, .4); }
.pl__group { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0 28px; margin-bottom: clamp(30px, 4vw, 50px); }
.pl__year { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--teal); line-height: 1; position: sticky; top: 110px; align-self: start; }
.pl__list { display: grid; gap: 8px; }
.pl__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 4fr) auto; gap: 4px 20px; align-items: center; padding: 16px 20px; border-radius: 8px; background: #fff; border: 1px solid var(--line); transition: border-color .25s, box-shadow .3s, transform .3s var(--ease); }
.pl__item:hover .pl__row { border-color: var(--mint); box-shadow: var(--shadow); transform: translateX(6px); }
.pl__title { font-size: 1.04rem; font-weight: 600; line-height: 1.35; } .pl__place { color: var(--ink); font-weight: 500; }
.pl__meta { display: grid; font-size: .88rem; line-height: 1.45; } .pl__when { font-size: .86rem; font-weight: 600; color: var(--teal); white-space: nowrap; } .pl__when i { font-style: normal; }
.pl__preview { position: fixed; left: 0; top: 0; z-index: 50; width: 280px; aspect-ratio: 4 / 3; border-radius: var(--r); pointer-events: none; overflow: hidden; opacity: 0; transition: opacity .3s; } .pl__preview img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .pl__group { grid-template-columns: 1fr; } .pl__year { position: static; margin-bottom: 12px; } .pl__row { grid-template-columns: 1fr auto; } .pl__place, .pl__meta { grid-column: 1 / -1; } .pl__when { grid-column: 2; grid-row: 1; } }

.masonry { columns: 3; column-gap: 14px; } .masonry__item { display: block; break-inside: avoid; margin-bottom: 14px; } .masonry__item img { width: 100%; } .masonry__item.is-hidden { display: none; }
@media (max-width: 900px) { .masonry { columns: 2; } } @media (max-width: 480px) { .masonry { columns: 1; } }
.lb { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-rows: auto 1fr auto; background: rgba(8, 27, 30, .96); color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gut); font-size: .9rem; }
.lb__stage { display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 6vw, 90px); position: relative; }
.lb__stage img { max-width: 100%; max-height: 100%; object-fit: contain; min-height: 0; border-radius: 6px; transition: opacity .3s; } .lb__stage img.is-loading { opacity: .25; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .12); font-size: 1.1rem; transition: background .25s, color .25s; }
.lb__nav:hover, .lb__close:hover { background: var(--mint); color: var(--ink); } .lb__nav--prev { left: var(--gut); } .lb__nav--next { right: var(--gut); }
.lb__close { padding: 8px 16px; border-radius: 6px; background: rgba(255, 255, 255, .12); transition: background .25s, color .25s; }
.lb__cap { padding: 14px var(--gut) 20px; text-align: center; min-height: 3.2em; }
@media (max-width: 700px) { .lb__nav { top: auto; bottom: 8px; transform: none; width: 44px; height: 44px; } }

.tm { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 28px 20px; }
.tm__card { display: grid; gap: 4px; align-content: start; }
.tm__card .label { font-size: .74rem; } .tm__card .label::before { display: none; }
.tm__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--tint); margin-bottom: 10px; }
.tm__photo img { width: 100%; height: 100%; object-fit: cover; } .tm__card:hover .tm__photo img { transform: scale(1.06); }
.tm__photo--empty { display: grid; place-items: center; background: linear-gradient(150deg, #e1f1e8, #cfe6e6); }
.tm__photo--empty span { font-size: 3.2rem; font-weight: 700; color: var(--teal); }
.tm__name { font-size: 1.15rem; } .tm__contact { display: grid; font-size: .9rem; } .tm__contact a:hover { color: var(--teal); }

.kt { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.kt__info { display: grid; gap: 14px; }
.kt__info > div { display: grid; gap: 8px; justify-items: start; padding: 22px; border-radius: var(--r); background: var(--tint); }
.kt__big { font-size: 1.1rem; font-weight: 600; color: var(--ink); line-height: 1.5; } .kt__big a:hover { color: var(--teal); }
.kt__form { padding: clamp(22px, 3vw, 40px); border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; margin-top: 20px; } .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; } .field label { font-size: .9rem; font-weight: 600; color: var(--ink); } .field textarea { resize: vertical; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; } .form__foot small { flex: 1 1 240px; font-size: .84rem; line-height: 1.5; }
@media (max-width: 860px) { .kt { grid-template-columns: 1fr; } } @media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Scroll reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .hs__copy > * { opacity: 1; transform: none; }
  .art__board, .art__tile, .art__detail rect, .art__drop { opacity: 1; }
}
@media print { .top, .hd, .menu, .cta, .hs__ui { display: none !important; } }

/* ==================== Motion & polish ==================== */

/* ---------- Header: glass over the photo, solid once the page moves; the line underneath shows scroll progress ---------- */
:root { --hd: 78px; }
main { margin-top: calc(-1 * var(--hd)); }
.top svg { display: inline-block; vertical-align: -2px; margin-right: 7px; color: var(--mint); }
.top__in { padding-block: 9px; }
.hd { background: transparent; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.hd::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; background: linear-gradient(rgba(8, 27, 30, .78), rgba(8, 27, 30, 0)); pointer-events: none; transition: opacity .35s; }
.hd::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--mint), var(--brand)); transform: scaleX(var(--progress, 0)); transform-origin: 0 50%; }
.hd.is-stuck { background: rgba(13, 37, 41, .9); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.hd.is-stuck::before { opacity: 0; }
.hd__in { min-height: var(--hd); transition: min-height .35s var(--ease); }
.hd.is-stuck .hd__in { min-height: 64px; }
.hd__logo img { transition: height .35s var(--ease); }
.hd.is-stuck .hd__logo img { height: 44px; }
.hd__nav > ul { gap: 2px; }
.hd__nav > ul > li > a { position: relative; padding: 10px 15px; }
.hd__nav > ul > li > a::before { content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--mint); transform: scaleX(0); transition: transform .35s var(--ease); }
.hd__nav > ul > li > a:hover::before, .hd__nav > ul > li > a[aria-current]::before { transform: scaleX(1); }
.hd__sub { top: calc(100% + 6px); border-top: 3px solid var(--mint); }
.hd__sub::before { content: ""; position: absolute; inset: -10px 0 100%; }
.hd__sub a { padding-left: 14px; transition: padding .25s var(--ease), background .2s, color .2s; }
.hd__sub a:hover { padding-left: 20px; }
.hd__cta { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.hd__cta:hover { background: #fff; border-color: #fff; color: var(--ink); }
.hs__copy { padding-top: 40px; }
.ph { padding-top: calc(var(--hd) + clamp(48px, 7vw, 84px)); }
.menu { z-index: 99; }
.hd { z-index: 100; }

/* ---------- Buttons with a moving arrow ---------- */
.btn::after { content: "→"; display: inline-block; transition: transform .3s var(--ease); }
.btn:hover::after { transform: translateX(5px); }
.hd__cta::after, .lb__close::after { content: none; }

/* ---------- Entrances: every block arrives in its own way ---------- */
.js [data-reveal="left"] { transform: translateX(-70px); }
.js [data-reveal="right"] { transform: translateX(70px); }
.js [data-reveal="zoom"] { transform: scale(.82); }
.js [data-reveal="flip"] { transform: perspective(900px) rotateX(22deg) translateY(50px); transform-origin: 50% 100%; }
.js [data-reveal].is-in { transform: none; }
/* photo reveal: a cover slides off while the picture settles (the frame itself stays measurable for the observer) */
.js [data-reveal="clip"] { opacity: 1; transform: none; position: relative; }
.js [data-reveal="clip"]::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, var(--mint), var(--brand)); transform-origin: 100% 50%; transition: transform 1s cubic-bezier(.7, 0, .2, 1); transition-delay: calc(var(--i, 0) * 110ms); pointer-events: none; }
.js [data-reveal="clip"] img { transform: scale(1.25); transition: transform 1.5s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js [data-reveal="clip"].is-in::after { transform: scaleX(0); }
.js [data-reveal="clip"].is-in img { transform: none; }
.js [data-reveal="clip"].is-in:hover img { transform: scale(1.07); transition-delay: 0s; }
/* headings: words rise one after another */
.wds .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.js .wds .w > i { display: inline-block; font-style: inherit; transform: translateY(108%); transition: transform .9s var(--ease); transition-delay: calc(var(--n) * 70ms); }
.js .wds.is-in .w > i { transform: none; }
/* the little line before a label draws itself */
.js [data-reveal] .label::before, .js .label[data-reveal]::before { width: 0; transition: width .8s var(--ease) .35s; }
.js [data-reveal].is-in .label::before, .js .label[data-reveal].is-in::before { width: 34px; }

/* ---------- Large words drifting behind the sections ---------- */
[data-ghost] { position: relative; overflow: hidden; }
[data-ghost]::before { content: attr(data-ghost); position: absolute; top: clamp(8px, 2vw, 28px); left: 0; z-index: 0; font-size: clamp(5rem, 14vw, 12rem); font-weight: 700; line-height: 1; white-space: nowrap; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(16, 39, 43, .075); transform: translateX(var(--gx, 4%)); pointer-events: none; }
[data-ghost] > .wrap { position: relative; z-index: 1; }

/* ---------- Refinements ---------- */
.feat__card { overflow: hidden; }
.feat__card::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(160deg, var(--teal), #17606a); transform: translateY(101%); transition: transform .5s var(--ease); }
.feat__card > * { position: relative; z-index: 1; transition: color .35s; }
.feat__card:hover::before { transform: none; }
.feat__card:hover, .feat__card:hover .feat__title, .feat__card:hover p, .feat__card:hover .link { color: #fff; }
.feat__card:hover { --art-a: #fff; --art-b: rgba(255, 255, 255, .16); }
.about__media::before { content: ""; position: absolute; left: -26px; bottom: 4%; width: 150px; height: 150px; z-index: -1; background-image: radial-gradient(var(--mint) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .7; }
.about__media::after { content: ""; position: absolute; right: 4%; top: -22px; width: 46%; height: 46%; z-index: -1; border: 2px solid var(--mint); border-radius: var(--r); }
.gal { grid-auto-rows: clamp(150px, 17vw, 220px); }
.gal__item img { height: 100%; aspect-ratio: auto; }
.gal__item:first-child { grid-column: span 2; grid-row: span 2; }
.pc { position: relative; overflow: hidden; }
.pc::after { content: "→"; position: absolute; right: 18px; top: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--teal); font-weight: 700; transform: scale(0) rotate(-45deg); transition: transform .4s var(--ease), background .3s, color .3s; }
.pc:hover::after { transform: none; background: var(--teal); color: #fff; }
.band b { display: inline-block; }
.steps li { transition: opacity .7s var(--ease), transform .8s var(--ease); }
.sk__item { position: relative; overflow: hidden; }
.sk__item::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--mint), var(--brand)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.sk__item:hover::after { transform: scaleX(1); }

/* ---------- Back to top ---------- */
.totop { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 48px; height: 48px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 1.2rem; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .35s, transform .45s var(--ease), visibility .35s, background .25s; }
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--ink); transform: translateY(-4px); }

@media (max-width: 640px) { .gal__item:first-child { grid-column: span 2; grid-row: span 1; } [data-ghost]::before { font-size: 4.2rem; } }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .wds .w > i, .js [data-reveal="clip"] img { opacity: 1; transform: none; }
  .js [data-reveal="clip"]::after { display: none; }
  .js [data-reveal] .label::before { width: 34px; }
}
/* page headers enter with plain CSS, so nothing flickers before the script has run */
.js .ph__inner > * { animation: ph-in .9s var(--ease) both; }
.js .ph__inner > :nth-child(2) { animation-delay: .12s; } .js .ph__inner > :nth-child(3) { animation-delay: .24s; } .js .ph__inner > :nth-child(4) { animation-delay: .36s; }
@keyframes ph-in { from { opacity: 0; transform: translateY(28px); } }

/* ==================== Preloader & page changes ==================== */
.pre { display: none; }
html.first .pre { display: grid; place-items: center; position: fixed; inset: 0; z-index: 1000; overflow: hidden; background: radial-gradient(circle at 50% 40%, #14393f, var(--darker)); animation: pre-safety 0s 6s forwards; transition: transform .7s cubic-bezier(.7, 0, .2, 1), border-radius .7s; }
html.first.is-ready .pre { transform: translateY(-101%); border-radius: 0 0 50% 50% / 0 0 14% 14%; }
@keyframes pre-safety { to { visibility: hidden; } }
.pre__sky { position: absolute; inset: auto 0 0; height: 48%; display: flex; align-items: flex-end; gap: 1.1%; padding: 0 2%; }
.pre__sky i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(rgba(133, 202, 158, .2), rgba(81, 168, 177, .03)); transform-origin: 50% 100%; animation: pre-rise .95s var(--ease) both; animation-delay: calc(var(--n) * 50ms); }
@keyframes pre-rise { from { transform: scaleY(0); } }
.pre__box { position: relative; display: grid; gap: 26px; justify-items: center; }
.pre__box img { width: min(60vw, 240px); height: auto; animation: pre-logo .8s var(--ease) .1s both; }
@keyframes pre-logo { from { opacity: 0; transform: translateY(28px) scale(.9); } }
.pre__bar { width: min(60vw, 240px); height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.pre__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--mint), var(--brand)); transform-origin: 0 50%; animation: pre-bar 1.05s cubic-bezier(.6, 0, .2, 1) .1s both; }
@keyframes pre-bar { from { transform: scaleX(0); } }
/* later page changes: a short cross-fade instead of a hard cut */
@view-transition { navigation: auto; }
::view-transition-group(root) { animation-duration: .22s; }

/* ==================== Icon circles ==================== */
.kc__ico, .kx__ring, .cta__ring { position: relative; flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(140deg, var(--mint), var(--brand)); color: #fff; }
.kx__ring::after, .cta__ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--mint); animation: pulse 2s ease-out infinite; }
@keyframes pulse { to { transform: scale(1.75); opacity: 0; } }
@keyframes wiggle { 30% { transform: rotate(-14deg) scale(1.1); } 60% { transform: rotate(9deg); } }

/* ==================== Contact page ==================== */
.t-contact .ph { padding-bottom: calc(60px + clamp(56px, 8vw, 96px)); }
.kc { position: relative; z-index: 3; margin-top: -60px; }
.kc__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kc__card { display: grid; gap: 8px; align-content: start; justify-items: start; padding: 26px 24px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); border-bottom: 3px solid transparent; transition: transform .35s var(--ease), border-color .3s, opacity .8s var(--ease); }
.kc__card:hover { transform: translateY(-8px) !important; border-color: var(--mint); }
.kc__card:hover .kc__ico { animation: wiggle .6s var(--ease); }
.kc__label { font-size: 1.05rem; margin-top: 8px; }
.kc__text { color: var(--ink); font-weight: 500; line-height: 1.55; overflow-wrap: anywhere; }
@media (max-width: 960px) { .kc__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .kc__grid { grid-template-columns: 1fr; } }
.kx__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(24px, 3.4vw, 44px); align-items: start; }
.kx__form { display: grid; gap: 14px; padding: clamp(24px, 3.4vw, 46px); border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.kx__form .form { margin-top: 6px; }
.field__in { position: relative; display: block; }
.field__in svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--teal); pointer-events: none; transition: transform .3s var(--ease); }
.field__in--area svg { top: 24px; }
.field__in input, .field__in textarea { padding-left: 44px; background: var(--tint); border-color: transparent; }
.field__in input:focus, .field__in textarea:focus { background: #fff; }
.field__in:focus-within svg { transform: scale(1.2); }
.kx__side { position: relative; overflow: hidden; display: grid; gap: 22px; padding: clamp(24px, 3vw, 38px); border-radius: 16px; background: linear-gradient(160deg, var(--dark), #14404a); color: #c3d2d2; }
.kx__side::before { content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; border: 2px solid rgba(133, 202, 158, .22); box-shadow: 0 0 0 34px rgba(133, 202, 158, .06); }
.kx__title { position: relative; color: #fff; font-size: 1.3rem; }
.kx__steps { display: grid; gap: 16px; }
.kx__steps li { display: flex; gap: 14px; align-items: flex-start; }
.kx__steps b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(133, 202, 158, .18); color: var(--mint); font-size: .9rem; }
.kx__steps span { display: grid; font-size: .93rem; line-height: 1.5; } .kx__steps strong { color: #fff; font-size: 1rem; }
.kx__call, .cta__phone { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); transition: background .25s, transform .3s var(--ease); }
.kx__call:hover, .cta__phone:hover { background: rgba(255, 255, 255, .15); transform: translateY(-3px); }
.kx__call small, .cta__phone small { display: block; font-size: .8rem; color: #b9c8c8; line-height: 1.3; } .kx__call b, .cta__phone b { color: #fff; font-size: 1.15rem; white-space: nowrap; }
.kx__ring, .cta__ring { width: 46px; height: 46px; } .kx__ring svg, .cta__ring svg { width: 20px; height: 20px; }
.kx__side .prose { color: #c3d2d2; font-size: .95rem; }
.kx__done { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: 12px; background: #e1f3e8; color: #14573b; }
.kx__check { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #2e9b63; color: #fff; }
@media (max-width: 860px) { .kx__grid { grid-template-columns: 1fr; } }

/* ==================== Call to action: a card that sits half on the footer ==================== */
.cta { position: relative; z-index: 2; padding: 0; margin-bottom: -96px; text-align: left; color: #d7e2e2; }
main:has(.cta) + .ft { padding-top: 96px; }
.cta__card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 26px 48px; align-items: center; padding: clamp(30px, 4.6vw, 62px); border-radius: 20px; background: linear-gradient(120deg, #1f7f8a, #0f4b52); box-shadow: 0 34px 60px -32px rgba(8, 27, 30, .7); }
.cta__card .pbg img { height: 100%; }
.cta__card .pbg::after { background: linear-gradient(105deg, rgba(31, 127, 138, .97) 28%, rgba(13, 55, 62, .86)); }
.cta__card::before, .cta__card::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .13); pointer-events: none; }
.cta__card::before { width: 300px; height: 300px; right: -90px; top: -150px; box-shadow: 0 0 0 40px rgba(255, 255, 255, .04); animation: drift-a 9s ease-in-out infinite alternate; }
.cta__card::after { width: 150px; height: 150px; left: 38%; bottom: -90px; animation: drift-a 7s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate(-22px, 18px) scale(1.08); } }
.cta__copy { display: grid; gap: 12px; justify-items: start; }
.cta__copy h2 { color: #fff; } .cta__copy em { color: var(--mint); }
.cta__text { max-width: 34em; font-size: 1.05rem; }
.cta__side { display: grid; gap: 14px; min-width: 270px; }
.cta__side .btn { justify-content: center; }
@media (max-width: 820px) { .cta__card { grid-template-columns: 1fr; } .cta__side { min-width: 0; } }

/* ==================== Footer ==================== */
.ft { position: relative; overflow: hidden; background: linear-gradient(180deg, #0f2a2f, var(--darker)); color: #a9bbbb; }
.ft::before { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; background-image: radial-gradient(rgba(133, 202, 158, .2) 2px, transparent 2.5px); background-size: 18px 18px; pointer-events: none; }
.ft__grid { position: relative; z-index: 1; grid-template-columns: 1.5fr .9fr 1.1fr 1.35fr; gap: 40px; padding-block: clamp(56px, 7vw, 92px) 30px; }
.ft__brand img { width: 190px; }
.ft__brand p { max-width: 24em; }
.ft__label { position: relative; padding-bottom: 12px; margin-bottom: 4px; }
.ft__label::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--mint); }
.ft__nav a { display: inline-flex; align-items: center; gap: 9px; transition: color .2s, transform .3s var(--ease); }
.ft__nav a::before { content: "›"; color: var(--mint); font-weight: 700; }
.ft__nav a:hover { transform: translateX(6px); }
.ft__contact { display: grid; gap: 13px; }
.ft__contact li { display: flex; gap: 12px; align-items: flex-start; }
.ft__contact svg { flex: none; width: 18px; height: 18px; margin-top: 5px; color: var(--mint); }
.ft__social { display: flex; gap: 10px; margin-top: 4px; }
.ft__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: background .25s, border-color .25s, color .25s, transform .3s var(--ease); }
.ft__social a:hover { background: var(--mint); border-color: var(--mint); color: var(--ink); transform: translateY(-4px); }
.ft__social svg { width: 18px; height: 18px; }
.ft__sky { position: relative; display: block; width: 100%; height: clamp(46px, 7vw, 100px); margin-top: -6px; }
.ft__sky rect { fill: rgba(255, 255, 255, .04); }
.ft__bar { position: relative; background: rgba(0, 0, 0, .28); border-top: 1px solid rgba(255, 255, 255, .07); }
.ft__bar-in { justify-content: space-between; }

@media (prefers-reduced-motion: reduce) { html.first .pre { display: none; } }
/* The card's backdrop continues the section above it, so no white strip appears between a grey (or dark) section and the footer */
.sec--tint + .cta { background: linear-gradient(var(--tint), var(--tint)) top / 100% calc(100% - 96px) no-repeat; }
.sec--dark + .cta { background: linear-gradient(var(--dark), var(--dark)) top / 100% calc(100% - 96px) no-repeat; }

/* footer line: copyright left, credit in the middle, legal links right */
.ft__bar-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px 24px; }
.ft__bar-in > ul { justify-self: end; }
.ft__credit a { color: #fff; font-weight: 600; }
.ft__heart { display: inline-block; color: #e25d6b; animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 20% { transform: scale(1.3); } 40% { transform: scale(1.1); } }
@media (max-width: 760px) { .ft__bar-in { grid-template-columns: 1fr; justify-items: center; text-align: center; } .ft__bar-in > ul { justify-self: center; } }

/* company van: lettering, turning wheels, a little suspension travel */
.c-truck text { font: 800 13px var(--sans); letter-spacing: 0; fill: #1f6f7a; }
.c-truck .c-van__sub { font-weight: 600; font-size: 6.4px; fill: #3d555a; }
.c-wheel { transform-box: fill-box; transform-origin: center; animation: spin 1.15s linear infinite; }
.c-van { animation: van-bob 1.1s ease-in-out infinite alternate; }
@keyframes van-bob { to { transform: translateY(-.8px); } }

/* an element marked hidden stays hidden, whatever display it normally has */
[hidden] { display: none !important; }
.pl__empty { padding: 44px 24px; text-align: center; border: 1px dashed #c4d0d0; border-radius: var(--r); background: var(--tint); color: var(--ink); font-weight: 500; }

/* ==================== Content pages: text card with a contact card beside it ==================== */
.two { grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); }
.two__aside { display: block; top: 96px; }
.kx__side .btn { justify-content: center; }
.side__facts { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .92rem; }
.side__facts li { display: flex; gap: 10px; align-items: flex-start; }
.side__facts svg { flex: none; width: 17px; height: 17px; margin-top: 4px; color: var(--mint); }
.side__facts a:hover { color: var(--mint); }
.prose--card { max-width: none; padding: clamp(24px, 3.4vw, 46px); border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.prose--card > p:first-child { padding-left: 18px; border-left: 3px solid var(--mint); font-size: 1.14rem; line-height: 1.65; font-weight: 500; color: var(--ink); }
.prose--card h2 { position: relative; padding-bottom: 12px; margin-top: 1.9em; }
.prose--card h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--mint), var(--brand)); }
.prose--card ol, .prose--card ul { display: grid; gap: 10px; margin-top: 1.2em; }
.prose--card ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prose--card ol li, .prose--card ul li { border: 1px solid var(--line); border-radius: 12px; background: var(--tint); transition: transform .3s var(--ease), border-color .25s, background .25s, box-shadow .3s, opacity .8s var(--ease); }
.prose--card ol li { padding: 16px 18px 16px 66px; }
.prose--card ul li { padding: 13px 14px 13px 46px; }
.prose--card ol li:hover, .prose--card ul li:hover { transform: translateX(6px); border-color: var(--mint); background: #fff; box-shadow: var(--shadow); }
.prose--card ol li::before { left: 16px; top: 50%; margin-top: -17px; width: 34px; height: 34px; font-size: .9rem; background: linear-gradient(140deg, var(--mint), var(--brand)); }
.prose--card ul li::before { left: 14px; top: 50%; margin-top: -10px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .prose--card ul { grid-template-columns: 1fr; } }

/* spam protection widget */
.cf-turnstile { min-height: 65px; }
/* ==================== Contact: map card ==================== */
.kx__col { display: grid; gap: 18px; align-content: start; }
.mapc { position: relative; display: block; overflow: hidden; border-radius: 16px; aspect-ratio: 16 / 10; background: #dfe9e6; box-shadow: var(--shadow); border: 1px solid var(--line); }
.mapc img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .4s; filter: saturate(.85); }
.mapc:hover img { transform: scale(1.08); filter: saturate(1.05); }
.mapc--plain { background: linear-gradient(0deg, rgba(255, 255, 255, .7) 2px, transparent 2px) 0 0 / 100% 46px, linear-gradient(90deg, rgba(255, 255, 255, .7) 2px, transparent 2px) 0 0 / 62px 100%, #cfe3df; }
.mapc__pin { position: absolute; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; margin: -46px 0 0 -23px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(140deg, var(--teal), #17606a); color: #fff; box-shadow: 0 10px 20px -8px rgba(8, 27, 30, .7); animation: pin-hop 2.4s var(--ease) infinite; }
.mapc__pin svg { width: 20px; height: 20px; transform: rotate(45deg); }
@keyframes pin-hop { 0%, 60%, 100% { transform: rotate(-45deg) translate(0, 0); } 30% { transform: rotate(-45deg) translate(7px, -7px); } }
.mapc__bar { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); color: var(--text); font-size: .9rem; line-height: 1.4; transition: transform .35s var(--ease); }
.mapc__bar strong { display: block; color: var(--ink); font-size: 1rem; }
.mapc__bar em { font-style: normal; font-weight: 600; color: var(--teal); white-space: nowrap; }
.mapc:hover .mapc__bar { transform: translateY(-4px); }
.mapc__credit { position: absolute; right: 8px; top: 8px; z-index: 2; padding: 2px 8px; border-radius: 10px; background: rgba(255, 255, 255, .8); color: #55656a; font-size: .68rem; }
/* ==================== Lighter scrolling ==================== */
.hd::after { content: none; }
.hd__bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--mint), var(--brand)); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; pointer-events: none; }
/* a blurred, see-through bar has to be re-rendered on every scrolled pixel; a solid one costs nothing */
.hd.is-stuck { background: #0d2529; backdrop-filter: none; -webkit-backdrop-filter: none; }
[data-ghost]::before { content: none; }
.ghost { position: absolute; top: clamp(8px, 2vw, 28px); left: 0; z-index: 0; font-size: clamp(5rem, 14vw, 12rem); font-weight: 700; line-height: 1; white-space: nowrap; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(16, 39, 43, .075); pointer-events: none; will-change: transform; }
.is-idle, .is-idle *, .is-idle *::before, .is-idle *::after { animation-play-state: paused !important; }
.pbg img, .hs__media, [data-parallax], [data-parallax-img] { will-change: transform; }
@media (max-width: 640px) { .ghost { font-size: 4.2rem; } }
/* ==================== Button hover states: always readable, on light and on dark backgrounds ==================== */
.btn:hover { background: #17606a; border-color: #17606a; color: #fff; }
.btn--mint:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--ghost:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn--dark:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.hd__cta:hover { background: #fff; border-color: #fff; color: var(--ink); }
/* on photos and dark panels the main button turns light instead of dark */
.hs .btn:not(.btn--light):hover, .ph .btn:hover, .sec--dark .btn:hover, .menu .btn:hover { background: var(--mint); border-color: var(--mint); color: var(--ink); }

/* ==================== Projects: three shelves ==================== */
.pf { display: grid; gap: 18px; }
.pf__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; }
.pf__tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 12px; background: var(--tint); justify-self: start; }
.tab { padding: 11px 20px; border-radius: 8px; font-weight: 600; font-size: .96rem; color: var(--ink); transition: background .25s, color .25s, box-shadow .25s; }
.tab sup { font-size: .72em; opacity: .6; margin-left: 4px; }
.tab:hover { background: #fff; }
.tab.is-active { background: var(--teal); color: #fff; box-shadow: var(--shadow); }
.pl__shelf { margin-bottom: clamp(36px, 5vw, 64px); }
.pl__shelf-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 26px; border-bottom: 2px solid var(--line); }
.pl__shelf-head .h-lg { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.pl__dot { width: 14px; height: 14px; border-radius: 50%; background: #9aa7a8; flex: none; }
.pl__shelf--running .pl__dot { background: #2e9b63; box-shadow: 0 0 0 0 rgba(46, 155, 99, .5); animation: live 1.8s ease-out infinite; }
.pl__shelf--planned .pl__dot { background: #e0a200; }
@keyframes live { to { box-shadow: 0 0 0 12px rgba(46, 155, 99, 0); } }
.pl__count { margin-left: auto; min-width: 38px; padding: 4px 12px; border-radius: 20px; background: var(--tint); color: var(--teal); font-weight: 700; text-align: center; }
.pl__shelf--running .pl__row { border-left: 3px solid #2e9b63; }
.pl__shelf--planned .pl__row { border-left: 3px solid #e0a200; }

/* ==================== Free pages: intro with photos, rows, step cards ==================== */
.pg__intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.pg__intro--solo { grid-template-columns: minmax(0, 46em); }
.pg__lead { display: grid; gap: 20px; justify-items: start; }
.pg__leadtext { max-width: none; font-size: 1.16rem; line-height: 1.7; color: var(--ink); }
.pg__leadtext > p:first-child { font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.4; font-weight: 600; letter-spacing: -.01em; }
.pg__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 6px; }
.pg__tel { display: flex; align-items: center; gap: 12px; }
.pg__tel .kc__ico { width: 46px; height: 46px; } .pg__tel .kc__ico svg { width: 20px; height: 20px; }
.pg__tel small { display: block; font-size: .8rem; line-height: 1.3; } .pg__tel b { color: var(--ink); font-size: 1.08rem; }
.pg__tel:hover b { color: var(--teal); } .pg__tel:hover .kc__ico { animation: wiggle .6s var(--ease); }
.pg-rows { padding-top: 0; }
.pg-rows > .wrap { display: grid; gap: 14px; }
.pg__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px clamp(24px, 5vw, 64px); padding: clamp(22px, 3vw, 38px); border-radius: 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--mint); transition: box-shadow .35s, transform .35s var(--ease), border-color .3s, opacity .8s var(--ease); }
.pg__row:hover { box-shadow: var(--shadow); transform: translateY(-3px) !important; border-left-color: var(--teal); }
.pg__row header { display: grid; gap: 6px; align-content: start; }
.pg__no { font-size: .84rem; font-weight: 700; letter-spacing: .1em; color: var(--teal); }
.pg__row h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.pg__row .prose { max-width: none; }
.proc { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: none; }
.proc__item { position: relative; display: grid; gap: 10px; align-content: start; padding: 28px 24px 26px; border-radius: 14px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, opacity .8s var(--ease); }
.proc__item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--teal), #17606a); transform: translateY(101%); transition: transform .5s var(--ease); }
.proc__item::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--mint), var(--brand)); }
.proc__item > * { position: relative; transition: color .35s; }
.proc__no { font-size: 2.6rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--mint); }
.proc__item h3 { font-size: 1.12rem; }
.proc__item p { font-size: .95rem; line-height: 1.6; }
.proc__item:hover { transform: translateY(-8px) !important; box-shadow: var(--shadow); }
.proc__item:hover::before { transform: none; }
.proc__item:hover h3, .proc__item:hover p { color: #fff; }
.proc__item:hover .proc__no { -webkit-text-stroke-color: #fff; }
@media (max-width: 860px) { .pg__intro { grid-template-columns: 1fr; } .pg__row { grid-template-columns: 1fr; } }
/* projects filter: years left, search right, on one line */
.pf__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 340px); align-items: center; gap: 14px 24px; }
.pf__search { max-width: none; }
.pl__year { font-weight: 700; }
@media (max-width: 760px) { .pf__row { grid-template-columns: 1fr; } }

/* ==================== Projects: filter panel ==================== */
.pf { position: relative; z-index: 2; display: grid; gap: 0; margin-bottom: clamp(34px, 5vw, 56px); border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pf__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 16px 18px; }
.pf__tabs { padding: 5px; border-radius: 12px; background: var(--tint); gap: 4px; }
.tab { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; }
.tab__dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa7a8; flex: none; }
.tab__dot--all { background: linear-gradient(140deg, var(--mint), var(--brand)); }
.tab__dot--running { background: #2e9b63; } .tab__dot--planned { background: #e0a200; }
.tab.is-active .tab__dot { background: #fff; }
.pf__search { position: relative; flex: 1 1 260px; max-width: 360px; }
.pf__search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--teal); pointer-events: none; }
.pf__search input { padding: 12px 14px 12px 44px; border-radius: 10px; background: var(--tint); border-color: transparent; }
.pf__search input:focus { background: #fff; }
.pf__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 13px 18px; border-top: 1px solid var(--line); background: #fafcfc; border-radius: 0 0 16px 16px; }
.pf__label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.pf__years { gap: 6px; }
.pf__years .chip { padding: 6px 14px; border-radius: 20px; font-size: .88rem; }
.pf__result { margin-left: auto; font-size: .9rem; }
.pf__result b { color: var(--ink); font-size: 1.05rem; }
@media (max-width: 700px) { .pf__search { max-width: none; } .pf__tabs { width: 100%; } .tab { flex: 1 1 auto; justify-content: center; padding-inline: 12px; } .pf__result { margin-left: 0; width: 100%; } }
.pf { grid-template-columns: minmax(0, 1fr); justify-content: stretch; align-items: stretch; }

/* ==================== Free pages: feature cards for bullet lists ==================== */
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.feats__item { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 14px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s, opacity .8s var(--ease); }
.feats__item:hover { transform: translateY(-6px) !important; box-shadow: var(--shadow); border-color: var(--mint); }
.feats__ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(140deg, var(--mint), var(--brand)); color: #fff; transition: transform .4s var(--ease); }
.feats__ico svg { width: 22px; height: 22px; stroke-width: 2.4; }
.feats__item:hover .feats__ico { transform: rotate(-8deg) scale(1.1); }
.feats__item p { color: var(--ink); font-weight: 500; line-height: 1.45; }
.feats__no { position: absolute; right: 14px; bottom: -6px; font-size: 3.2rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(16, 39, 43, .08); pointer-events: none; }
.feats { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.feats__item p { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.sec--tint + .pg-rows { padding-top: clamp(64px, 8vw, 110px); }

/* ==================== Service pages: intro card over the banner, the services around an arch-shaped photo ==================== */
.sec__head--center { justify-items: center; text-align: center; }
.sec__head--center .prose { max-width: 44em; }
.t-service .ph { padding-bottom: calc(80px + clamp(56px, 8vw, 96px)); }
.sv { display: flow-root; padding-top: 0; }
.sv > .wrap + .wrap { margin-top: clamp(56px, 7vw, 96px); }
.sv__top { position: relative; z-index: 3; margin-top: -80px; }
.sv__card { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; padding: clamp(28px, 4.4vw, 56px); border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -34px rgba(16, 39, 43, .5); overflow: hidden; }
.sv__card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--mint), var(--brand)); transform-origin: 0 50%; }
.sv__card::after { content: ""; position: absolute; right: -90px; bottom: -120px; width: 260px; height: 260px; border-radius: 50%; border: 2px solid rgba(133, 202, 158, .3); box-shadow: 0 0 0 36px rgba(133, 202, 158, .08); pointer-events: none; }
.js .sv__card::before { transform: scaleX(0); transition: transform 1.1s var(--ease) .35s; }
.js .sv__card.is-in::before { transform: none; }
.sv__head { display: grid; gap: 14px; justify-items: start; padding-right: clamp(24px, 4vw, 56px); }
.sv__art { display: block; width: 68px; padding: 9px; margin-bottom: 4px; border-radius: 16px; background: var(--tint); --art-a: var(--teal); --art-b: #dde8e8; }
.sv__text { position: relative; z-index: 1; display: grid; gap: 24px; justify-items: start; padding-left: clamp(24px, 4vw, 56px); border-left: 1px solid var(--line); }
.sv__text .prose { max-width: none; font-size: 1.06rem; }

.hub { --gap: clamp(26px, 4.4vw, 62px); }
.hub__grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(230px, 26vw, 310px) minmax(0, 1fr); gap: var(--gap); align-items: center; }
.hub__list { display: grid; gap: clamp(22px, 2.8vw, 36px); }
.hub__item { display: flex; align-items: center; gap: 18px; }
.hub__list--l .hub__item { flex-direction: row-reverse; text-align: right; }
.hub__item p { min-width: 0; color: var(--ink); font-size: 1.05rem; font-weight: 600; line-height: 1.4; overflow-wrap: break-word; transition: color .3s; }
.hub__item b { display: block; margin-bottom: 3px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--teal); }
.hub__ico { position: relative; flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--teal); box-shadow: 0 12px 26px -14px rgba(16, 39, 43, .5); transition: color .35s, transform .4s var(--ease); }
.hub__ico::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(140deg, var(--mint), var(--brand)); opacity: 0; transition: opacity .35s; }
.hub__ico svg { position: relative; stroke-width: 2.2; }
.hub__item:hover .hub__ico { color: #fff; transform: scale(1.1); }
.hub__item:hover .hub__ico::before { opacity: 1; }
.hub__item:hover p { color: var(--teal); }
/* dotted line from each point to the photo; it draws itself once the point has arrived */
.hub__ico::after { content: ""; position: absolute; top: 50%; left: calc(100% + 10px); width: calc(var(--gap) - 4px); margin-top: -1px; border-top: 2px dashed var(--mint); transform-origin: 0 50%; }
.hub__list--r .hub__ico::after { left: auto; right: calc(100% + 10px); transform-origin: 100% 50%; }
.js .hub__ico::after { transform: scaleX(0); transition: transform .7s var(--ease) calc(.45s + var(--i, 0) * 110ms); }
.js .hub__item.is-in .hub__ico::after { transform: none; }

.hub__photo { position: relative; z-index: 1; margin-bottom: 30px; }
.hub__photo::before { content: ""; position: absolute; inset: -16px 16px 16px -16px; z-index: -1; border: 2px solid var(--mint); border-radius: 50% 50% 22px 22px / 37.5% 37.5% 22px 22px; }
.hub__photo::after { content: ""; position: absolute; right: -30px; bottom: -22px; width: 130px; height: 130px; z-index: -2; background-image: radial-gradient(var(--mint) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .7; }
.hub__arch { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border: 8px solid #fff; border-radius: 50% 50% 22px 22px / 37.5% 37.5% 22px 22px; background: #dde8e8; box-shadow: 0 30px 56px -28px rgba(16, 39, 43, .55); }
.hub__pic { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .9s var(--ease); }
.hub__pic.is-on { z-index: 1; opacity: 1; pointer-events: auto; }
.hub__pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 6s linear; }
.hub__pic.is-on img { transform: none; }
.hub__dock { position: absolute; left: 50%; bottom: -26px; z-index: 3; display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 16px 30px -16px rgba(16, 39, 43, .55); transform: translateX(-50%); }
.hub__dock { align-items: center; }
.hub__track { display: flex; gap: 6px; transition: transform .5s var(--ease); }
.hub__dock--nav .hub__thumbs { width: 144px; overflow: hidden; border-radius: 11px; }
.hub__arrow { flex: none; width: 28px; height: 44px; border-radius: 10px; color: var(--teal); font-size: 1.5rem; line-height: 1; transition: background .25s, color .25s; }
.hub__arrow:hover { background: var(--tint); color: var(--ink); }
.hub__thumb { position: relative; flex: none; width: 44px; height: 44px; border-radius: 11px; overflow: hidden; opacity: .5; transition: opacity .3s, transform .3s var(--ease); }
.hub__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hub__thumb:hover { opacity: 1; transform: translateY(-2px); }
.hub__thumb.is-on { opacity: 1; }
/* the bar under the active thumbnail is the timer for the next photo */
.hub__thumb i { position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--mint), var(--brand)); transform: scaleX(0); transform-origin: 0 50%; }
.hub__thumb.is-on i { animation: hub-tick 5s linear forwards; }
.hub__photo:hover .hub__thumb i { animation-play-state: paused; }
@keyframes hub-tick { to { transform: scaleX(1); } }
.hub__seal { position: absolute; right: -40px; top: 8%; z-index: 3; display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%; background: var(--dark); box-shadow: 0 0 0 6px var(--tint), 0 18px 30px -14px rgba(16, 39, 43, .6); }
.hub__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.hub__ring text { font: 600 10.4px var(--sans); fill: #fff; }
.hub__mark { width: 38px; height: 38px; fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.hub__mark path:nth-child(1) { stroke: var(--mint); } .hub__mark path:nth-child(2) { stroke: var(--brand); }
/* entrance: the frame rises, a cover slides up off the photo, then seal and thumbnails follow */
.js .hub__photo[data-reveal] { transform: translateY(60px) scale(.94); }
.js .hub__photo[data-reveal].is-in { transform: none; }
.js .hub__arch::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(160deg, var(--mint), var(--brand)); transform-origin: 50% 0; transition: transform 1.1s cubic-bezier(.7, 0, .2, 1) .3s; pointer-events: none; }
.js .hub__photo.is-in .hub__arch::after { transform: scaleY(0); }
.js .hub__photo::before { opacity: 0; transform: translate(16px, 16px); transition: opacity .8s .8s, transform .9s var(--ease) .8s; }
.js .hub__photo.is-in::before { opacity: 1; transform: none; }
.js .hub__seal { transform: scale(0) rotate(-120deg); transition: transform .9s var(--ease) 1s; }
.js .hub__photo.is-in .hub__seal { transform: none; }
.js .hub__dock { opacity: 0; transform: translate(-50%, 16px); transition: opacity .6s 1.1s, transform .7s var(--ease) 1.1s; }
.js .hub__photo.is-in .hub__dock { opacity: 1; transform: translateX(-50%); }
/* without a photo the points stand in two plain columns */
.hub--plain .hub__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.hub--plain .hub__list--l .hub__item { flex-direction: row; text-align: left; }
.hub--plain .hub__ico::after { content: none; }

.sv__row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px clamp(24px, 5vw, 64px); padding-block: clamp(24px, 3vw, 38px); border-top: 1px solid #d3dddd; }
.sv__row:last-child { border-bottom: 1px solid #d3dddd; }
.sv__row::before { content: ""; position: absolute; left: 0; top: -2px; width: 90px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--mint), var(--brand)); transform-origin: 0 50%; }
.js .sv__row::before { transform: scaleX(0); transition: transform 1s var(--ease) .3s; }
.js .sv__row.is-in::before { transform: none; }
.sv__row header { display: flex; align-items: baseline; gap: 14px; }
.sv__no { font-size: .84rem; font-weight: 700; letter-spacing: .1em; color: var(--teal); }
.sv__row .prose { max-width: none; }

@media (max-width: 900px) {
  .sv__card { grid-template-columns: 1fr; gap: 22px; }
  .sv__head { padding-right: 0; }
  .sv__text { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .hub__grid, .hub--plain .hub__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: center; }
  .hub__photo { order: -1; width: min(70vw, 290px); margin-bottom: 46px; }
  .hub__list { width: 100%; max-width: 520px; gap: 20px; }
  .hub__list--l .hub__item { flex-direction: row; text-align: left; }
  .hub__ico { width: 50px; height: 50px; }
  .hub__ico::after { content: none; }
  .hub__seal { right: -24px; width: 92px; height: 92px; }
  .sv__row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hub__arch::after { display: none; }
  .hub__pic img { transform: none; }
}

/* contact: the map card grows until the right column ends level with the form */
@media (min-width: 861px) {
  .kx__grid { align-items: stretch; }
  .kx__col { grid-template-rows: auto minmax(260px, 1fr); align-content: stretch; }
  .mapc { aspect-ratio: auto; }
}
/* The photo covers the card whatever its shape; the pin follows the same crop, so it stays on its spot of the map */
.mapc { container-type: size; }
.mapc img { position: absolute; inset: 0; }
.mapc__pin { left: calc(50cqw + (var(--px, 50) - 50) * max(1cqw, 1cqh * var(--ar, 1.6))); top: calc(50cqh + (var(--py, 50) - 50) * max(1cqh, 1cqw / var(--ar, 1.6))); }
