/* Półchłopek Instalacje — home page concept. Design tokens follow the Arcadia style reference. */
:root {
  --canopy: #104336;
  --canopy-deep: #0b3329;
  --mint: #0fff87;
  --mint-soft: #c9ffe3;
  --violet: #7c18d3;
  --cream: #f3f1ec;
  --white: #ffffff;
  --bark: #101f1e;
  --ink: #000000;
  --slate: #535e5d;
  --charcoal: #333333;
  --sage: #afc4bf;
  --pale-sage: #c2cec8;
  --muted: #646c6b;
  --lav: #e8e7f5;
  --hero-wash: linear-gradient(212.12deg, #afc4bf 14.83%, #e8e7f5 52.99%, #f1eee9 79.47%);
  --mint-wash: linear-gradient(180deg, #e8f0ec 0%, #f1eee9 100%);

  --font: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --r-card: 16px;
  --r-btn: 8px;
  --r-input: 4px;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 8vw, 112px);
  --nav-h: 80px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--bark);
  background: var(--cream);
  font-feature-settings: "ss01" on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--mint); color: var(--bark); }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--white { background: var(--white); }
.section--dark { background: var(--canopy); color: var(--white); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--canopy); color: #fff; padding: 10px 16px; border-radius: var(--r-btn); }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; line-height: 1.2; margin-bottom: 16px; }
.eyebrow--canopy { color: var(--canopy); }
.eyebrow--mint { color: var(--mint); }
.eyebrow--violet { color: var(--violet); }
.h2 { font-size: clamp(34px, 4.3vw, 56px); line-height: 1.08; font-weight: 300; letter-spacing: -.025em; color: var(--ink); max-width: 16ch; text-wrap: balance; }
.section--dark .h2, .h2--light { color: var(--white); }
.lead { font-size: 18px; line-height: 1.55; color: var(--slate); max-width: 46ch; margin-top: 20px; }
.lead--light { color: rgba(255, 255, 255, .78); }
.stars { color: #f5b301; letter-spacing: 1px; }
/* The SplitText mask wrapper does the clipping; the line itself stays visible so glyph overhang (the final "e") is never cut */
.split-line { display: block; overflow: visible; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--canopy); --bd: var(--canopy);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: var(--r-btn);
  font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  /* No transform transition: GSAP drives the transform (reveals, magnetic pull) and a CSS transition corrupts its values */
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { --bg: var(--canopy); --fg: #fff; --bd: var(--canopy); }
.btn--primary:hover { --bg: var(--canopy-deep); --bd: var(--canopy-deep); }
.btn--mint { --bg: var(--mint); --fg: var(--bark); --bd: var(--mint); }
.btn--mint:hover { --bg: #5effae; --bd: #5effae; }
.btn--ghost:hover { --bg: var(--canopy); --fg: #fff; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.section--dark .btn--ghost, .cta .btn--ghost { --fg: #fff; --bd: rgba(255, 255, 255, .4); }
.section--dark .btn--ghost:hover { --bg: #fff; --fg: var(--canopy); --bd: #fff; }

/* ---------- Announcement + nav ---------- */
.announce { background: var(--canopy); color: #fff; font-size: 13.5px; text-align: center; position: relative; z-index: 61; }
.announce__link { display: flex; align-items: center; justify-content: center; gap: 6px 12px; padding: 9px var(--gutter); flex-wrap: wrap; }
.announce__tag { display: inline-flex; align-items: center; gap: 7px; height: 22px; padding: 0 10px 0 8px; border-radius: 99px; background: rgba(15, 255, 135, .12); color: var(--mint); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.announce__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(15, 255, 135, .6); }
.announce__more { display: inline-flex; align-items: center; gap: 4px; color: var(--mint); font-weight: 500; }
.announce__more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; transition: transform .3s var(--ease); }
.announce__link:hover .announce__more svg { transform: translateX(3px); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(15, 255, 135, .55); } 70% { box-shadow: 0 0 0 9px rgba(15, 255, 135, 0); } 100% { box-shadow: 0 0 0 0 rgba(15, 255, 135, 0); } }

/* Nav: a floating capsule. Once the page scrolls it lifts with a shadow and a mint reading-progress line;
   a pill follows the pointer across the links and every label rolls up to a fresh copy on hover */
.nav { position: sticky; top: 0; z-index: 60; height: var(--nav-h); padding: 8px var(--gutter) 0; pointer-events: none; transition: background-color .45s var(--ease); }
.nav__inner { pointer-events: auto; position: relative; height: calc(var(--nav-h) - 16px); max-width: 1440px; margin-inline: auto; padding: 0 8px 0 20px; display: flex; align-items: center; gap: 28px; background: var(--white); border: 1px solid rgba(175, 196, 191, .55); border-radius: 18px; box-shadow: 0 18px 44px -24px rgba(16, 31, 30, 0); transition: background-color .45s var(--ease), border-color .45s var(--ease), box-shadow .5s var(--ease); }
.nav.is-scrolled .nav__inner { border-color: rgba(175, 196, 191, .75); box-shadow: 0 18px 44px -24px rgba(16, 31, 30, .34); }
.nav__progress { position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--canopy), var(--mint)); transform: scaleX(0); transform-origin: left; opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.nav.is-scrolled .nav__progress { opacity: 1; }

/* Logo: the lettering wipes in, the clover spins into place, then a mint shine runs across the letters (again on hover) */
.nav__logo { position: relative; flex: none; display: block; width: 164px; }
.nav__logo-word { width: 100%; height: auto; transition: filter .45s var(--ease); }
.nav__clover { position: absolute; left: 12.12%; top: 0; width: 15.34%; transform-origin: 46% 60%; transition: rotate 1s var(--ease); }
.nav__clover img { width: 100%; height: auto; transform-origin: 46% 60%; }
.nav__logo:hover .nav__clover { rotate: 360deg; }
.nav__logo-shine { position: absolute; inset: 0; overflow: hidden; pointer-events: none; -webkit-mask: url(../brand/logo-word.png) 0 0 / 100% 100% no-repeat; mask: url(../brand/logo-word.png) 0 0 / 100% 100% no-repeat; }
.nav__logo-shine::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(100deg, transparent 10%, var(--mint) 50%, transparent 90%); transform: translateX(-110%); }
.nav__logo.is-shine .nav__logo-shine::before { animation: logoShine 1.3s var(--ease) both; }
.nav__logo.is-shine:hover .nav__logo-shine::before { animation: logoShineAgain 1s var(--ease) both; }
@keyframes logoShine { to { transform: translateX(235%); } }
@keyframes logoShineAgain { from { transform: translateX(-110%); } to { transform: translateX(235%); } }
.js .nav__logo-word { clip-path: inset(-10% 100% -10% 0); }
.js .nav__clover img, .js .nav__menu > a, .js .nav__menu > .nav__item, .js .nav__actions > * { opacity: 0; }

.nav__menu { position: relative; display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nav__pill { position: absolute; left: 0; top: 50%; width: 0; height: 40px; margin-top: -20px; border-radius: 10px; background: rgba(175, 196, 191, .3); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s var(--ease); }
.nav__pill.is-on { opacity: 1; }
.nav__link, .nav__trigger { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 12px; border-radius: 10px; font-size: 15px; color: var(--bark); white-space: nowrap; transition: color .3s; }
.nav__trigger svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .3s var(--ease); }
.nav__item { position: relative; }
.nav__item.is-open .nav__trigger svg { transform: rotate(180deg); }
.nav__roll { position: relative; display: block; overflow: hidden; line-height: 1.3; }
.nav__roll > span { position: relative; display: block; transition: transform .5s var(--ease); }
.nav__roll > span::after { content: attr(data-text); content: attr(data-text) / ""; position: absolute; left: 0; top: 100%; white-space: nowrap; }
.nav__link:hover .nav__roll > span, .nav__trigger:hover .nav__roll > span, .nav__cta:hover .nav__roll > span { transform: translateY(-100%); }

.nav__actions { display: flex; align-items: center; gap: 6px; }
.nav__phone { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px 0 4px; border-radius: 12px; color: var(--bark); transition: background-color .3s var(--ease), color .3s; }
.nav__phone:hover { background: rgba(175, 196, 191, .24); }
.nav__phone-icon { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; border: 1px solid rgba(175, 196, 191, .85); color: var(--canopy); transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s; }
.nav__phone:hover .nav__phone-icon { background: var(--canopy); border-color: var(--canopy); color: var(--mint); }
.nav__phone-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
@keyframes navRing { 0%, 8%, 100% { rotate: 0deg; } 1%, 3%, 5% { rotate: -14deg; } 2%, 4%, 6% { rotate: 12deg; } }
.nav__phone-text { display: flex; flex-direction: column; font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: -.005em; white-space: nowrap; }
.nav__phone-text small { font-size: 11.5px; font-weight: 400; color: var(--muted); transition: color .3s; }
.nav__cta { display: inline-flex; align-items: center; gap: 14px; height: 48px; padding: 0 6px 0 18px; border-radius: 12px; background: var(--canopy); color: #fff; font-size: 15px; font-weight: 500; white-space: nowrap; transition: background-color .35s var(--ease), color .35s var(--ease); }
.nav__cta:hover { background: var(--canopy-deep); }
.nav__cta-arrow { position: relative; flex: none; width: 36px; height: 36px; border-radius: 9px; background: var(--mint); color: var(--bark); overflow: hidden; transition: background-color .35s var(--ease), color .35s var(--ease); }
.nav__cta-arrow svg { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.nav__cta-arrow svg + svg { transform: translateX(-240%); }
.nav__cta:hover .nav__cta-arrow svg:first-child { transform: translateX(240%); }
.nav__cta:hover .nav__cta-arrow svg + svg { transform: none; }

.nav__burger { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; background: var(--canopy); color: #fff; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* The capsule stays white on every section; with the mobile menu open the strip is filled so no content shows around it */
.nav:has(.nav__burger[aria-expanded="true"]) { background: var(--cream); }

/* Dropdowns sit just under the capsule; an invisible bridge keeps them open while the pointer crosses the gap */
.mega, .drop { position: absolute; top: calc(100% + 20px); left: -12px; background: var(--white); border: 1px solid var(--sage); border-radius: var(--r-card); box-shadow: 0 24px 60px -30px rgba(16, 31, 30, .35); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.985); transform-origin: 40px 0; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s; color: var(--bark); }
.mega::before, .drop::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.nav__item.is-open .mega, .nav__item.is-open .drop { opacity: 1; visibility: visible; transform: none; }
.mega { width: min(880px, 90vw); padding: 24px; }
.mega__grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 24px; }
.mega__label { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px 10px; }
.mega__col > a:not(.mega__feature), .drop a { display: block; padding: 7px 10px; border-radius: 6px; font-size: 14.5px; transition: background-color .25s, color .25s; }
.mega__col > a:not(.mega__feature):hover, .drop a:hover { background: var(--cream); color: var(--canopy); }
.mega__feature { display: block; margin-top: 16px; border-radius: 12px; overflow: hidden; background: var(--cream); padding: 8px; }
.mega__feature img { border-radius: 8px; aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.mega__feature:hover img { transform: scale(1.04); }
.mega__feature-eyebrow { display: block; margin: 12px 6px 2px; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--violet); }
.mega__feature-title { display: block; margin: 0 6px 6px; font-size: 15px; line-height: 1.3; }
.drop { width: 260px; padding: 10px; }

.mobile-menu { position: fixed; inset: var(--nav-h) 0 0; z-index: 59; background: var(--cream); overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__inner { padding: 28px var(--gutter) 48px; display: flex; flex-direction: column; }
.mobile-menu .eyebrow { margin: 16px 0 10px; color: var(--muted); }
.mobile-menu a:not(.btn) { font-size: 24px; font-weight: 300; letter-spacing: -.01em; padding: 6px 0; border-bottom: 1px solid rgba(175, 196, 191, .5); }
.mobile-menu__cta { display: grid; gap: 10px; margin-top: 28px; }

/* ---------- Hero: headline left, copy right, a video frame below that grows to fill the screen (desktop) ---------- */
.hero { position: relative; }
.hero__stage { position: relative; padding: 0 12px 12px; }
.hero__wash { position: absolute; inset: 0 12px 12px; border-radius: var(--r-card); background: var(--hero-wash); overflow: hidden; }
.hero__wash::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 18% 20%, rgba(255, 255, 255, .55), transparent 70%), radial-gradient(40% 40% at 85% 75%, rgba(124, 24, 211, .07), transparent 70%); }
.hero__copy { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: stretch; gap: 28px clamp(40px, 5vw, 96px); max-width: calc(var(--max) + 2 * (var(--gutter) - 12px)); margin-inline: auto; padding: clamp(32px, 5.5vh, 68px) calc(var(--gutter) - 12px) clamp(28px, 4.5vh, 44px); }
.hero__eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 0 0 22px; }
.hero__eyebrow .eyebrow { margin: 0; }
.hero__title { font-size: clamp(38px, 4.3vw, 68px); line-height: 1.02; font-weight: 300; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.hero__title-soft { color: var(--slate); }
/* The side column spans the headline: the lead starts level with the H1, the actions sit on its last line */
.hero__side { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 54px 0 4px; }
.hero__lead { max-width: 44ch; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.55; color: var(--slate); text-wrap: pretty; }
.hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero__actions .btn { justify-content: center; padding-inline: 14px; }
.hero__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.exp-chip { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 12px; background: var(--canopy); color: #fff; font-size: 13.5px; line-height: 1.3; }
.exp-chip b { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--mint); color: var(--bark); font-weight: 500; font-size: 17px; }
.rating-chip { display: grid; grid-template-columns: auto auto 1fr; grid-template-areas: "g score stars" "g text text"; align-items: center; gap: 0 8px; padding: 9px 14px 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(175, 196, 191, .7); font-size: 13.5px; line-height: 1.3; color: var(--slate); transition: background-color .3s; }
.rating-chip .stars { grid-area: stars; color: #f5b301; letter-spacing: 1px; font-size: 12px; }
.rating-chip > span:last-child { grid-area: text; }
.rating-chip:hover { background: #fff; }
.rating-chip__g { grid-area: g; width: 26px; height: 26px; }
.rating-chip strong { grid-area: score; color: var(--bark); font-weight: 500; }
/* Proof tiles in motion: the 30 box fills while counting, a shine crosses the tile, stars pop in one by one,
   and the review line cycles through short real quotes from the Google reviews below */
.exp-chip { position: relative; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease); }
.exp-chip::after { content: ""; position: absolute; inset: -30% auto -30% 0; z-index: -1; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .16), transparent); transform: translateX(-140%) skewX(-18deg); animation: shine 6.5s var(--ease) infinite 3.4s; }
.exp-chip__num { position: relative; overflow: hidden; background: rgba(15, 255, 135, .16) !important; }
.exp-chip__num::before { content: ""; position: absolute; inset: 0; background: var(--mint); transform: scaleY(var(--fill, 1)); transform-origin: bottom; }
.exp-chip__num span { position: relative; font-variant-numeric: tabular-nums; }
.rating-chip { transition: background-color .3s, transform .5s var(--ease); }
.exp-chip:hover, .rating-chip:hover { transform: translateY(-3px); }
.rating-chip .stars i { display: inline-block; font-style: normal; }
.rating-chip strong { font-variant-numeric: tabular-nums; }
.rating-chip__rot { display: grid; overflow: hidden; font-size: 13px; }
.rating-chip__rot > span { grid-area: 1 / 1; white-space: nowrap; transition: transform .7s var(--ease), opacity .7s var(--ease); }
.rating-chip__rot > span:not(.is-on) { opacity: 0; transform: translateY(100%); }
.rating-chip__rot > span.is-off { transform: translateY(-100%); }
.rating-chip__rot > span:not(:first-child) { font-style: italic; color: var(--canopy); }

.hero__media { position: relative; z-index: 3; width: min(var(--max), calc(100% - 2 * (var(--gutter) - 12px))); margin: 0 auto; aspect-ratio: 16 / 9; }
.hero__frame { position: absolute; inset: 0; border-radius: var(--r-card); overflow: hidden; background: #c8d3cf; isolation: isolate; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 31, 30, 0) 40%, rgba(16, 31, 30, .6) 100%); opacity: 0; pointer-events: none; }
.hero__overlay-title { position: absolute; left: clamp(20px, 3.4vw, 48px); bottom: clamp(20px, 4.5vh, 48px); z-index: 2; max-width: 12ch; color: #fff; font-size: clamp(30px, 4.2vw, 64px); line-height: 1.02; font-weight: 300; letter-spacing: -.035em; pointer-events: none; }
.hero__overlay-title span { display: inline-block; opacity: 0; }
/* One quiet panel instead of floating cards: static icons, no backdrop blur, nothing repainting over the video */
.hero__specs { position: absolute; z-index: 2; right: clamp(16px, 2.4vw, 32px); bottom: clamp(20px, 4.5vh, 48px); display: grid; grid-template-columns: repeat(4, auto); border-radius: 14px; background: rgba(255, 255, 255, .95); color: var(--bark); opacity: 0; }
.hero__specs li { display: grid; grid-template-columns: auto auto; grid-template-areas: "icon name" "icon note"; align-items: center; column-gap: 10px; padding: 12px 18px 12px 12px; }
.hero__specs li + li { border-left: 1px solid var(--pale-sage); }
.hero__specs .fc-icon { grid-area: icon; width: 34px; height: 34px; }
.hero__specs b { grid-area: name; font-size: 14px; font-weight: 500; line-height: 1.2; }
.hero__specs small { grid-area: note; font-size: 12px; line-height: 1.3; color: var(--slate); }
/* Line-icon tiles: canopy square, mint strokes (the loops are used by the grant card) */
.fc-icon { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--canopy); color: var(--mint); }
.fc-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.fc-cell { fill: currentColor; stroke: none; opacity: .9; }
@keyframes fcCharge { 0%, 15% { opacity: .18; } 35%, 80% { opacity: 1; } 100% { opacity: .18; } }

/* Pinned desktop hero: the media box covers the stage; main.js scales/moves it and zooms the video (transforms and opacity only) */
.hero--pin .hero__stage { height: calc(100svh - var(--nav-h)); min-height: 640px; overflow: hidden; }
.hero--pin .hero__media { position: absolute; inset: 0 12px 12px; width: auto; margin: 0; aspect-ratio: auto; will-change: transform; }
.hero--pin .hero__video { will-change: transform; }
.hero--pin .hero__copy { will-change: transform, opacity; }

/* ---------- Credentials marquee ---------- */
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Statement bento: every cell filled and moving. Dark text card (words light up, glow follows the
   pointer), photo cell with parallax, four trades lighting in turn, and a dot travelling A to Z. ---------- */
.sb { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 12px; }
.sb__main { position: relative; grid-column: 1 / 7; grid-row: 1 / 3; display: flex; flex-direction: column; padding: clamp(28px, 3.6vw, 52px); border-radius: var(--r-card); background: var(--canopy); color: #fff; overflow: hidden; isolation: isolate; }
.sb__glow { position: absolute; left: 0; top: 0; z-index: -1; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 255, 135, .16), transparent); pointer-events: none; transform: translate(80%, 20%); }
.sb__main .eyebrow { margin-bottom: 18px; }
.sb__title { font-size: clamp(34px, 3.7vw, 58px); font-weight: 300; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.sb__title span { color: var(--mint); }
.sb__main .statement__text { max-width: 46ch; margin: 24px 0 0; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; font-weight: 300; letter-spacing: 0; color: #fff; }
.sb__main .is-scrub .w, .sb__main .is-scrub .hl { opacity: .26; }
.sb__more { max-width: 52ch; margin-top: 18px; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .62); }
.sb__cta { align-self: flex-start; margin-top: auto; }
.sb__more + .sb__cta { margin-top: 32px; }
.sb__photo { position: relative; grid-column: 7 / 13; grid-row: 1; min-height: 300px; margin: 0; border-radius: var(--r-card); overflow: hidden; background: var(--pale-sage); }
.sb__photo img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 40% 40%; }
.sb__photo figcaption { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 11px; border-radius: 999px; background: rgba(255, 255, 255, .95); font-size: 13.5px; font-weight: 500; color: var(--bark); }
.sb__photo figcaption i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.sb__team, .sb__flow { padding: clamp(20px, 2.2vw, 30px); border-radius: var(--r-card); }
.sb__team { grid-column: 7 / 10; grid-row: 2; background: var(--cream); border: 1px solid rgba(175, 196, 191, .5); }
.sb__flow { grid-column: 10 / 13; grid-row: 2; background: var(--lav); }
.sb__label { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.sb__big { margin-top: 6px; font-size: clamp(30px, 2.6vw, 40px); font-weight: 300; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.sb__icons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; margin-top: 18px; }
.sb__icons li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--slate); }
.sb__icons span { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--canopy); color: var(--mint); }
.sb__icons svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* "Od A do Z": the four steps as one ticked route */
.sb__steps { position: relative; display: grid; gap: 2px; margin-top: 14px; }
.sb__steps::before { content: ""; position: absolute; left: 10px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: rgba(16, 67, 54, .22); }
.sb__steps li { position: relative; display: flex; align-items: center; gap: 12px; min-height: 38px; font-size: 15px; color: var(--ink); }
.sb__steps li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--canopy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.2 2.2 4.8-5' fill='none' stroke='%230fff87' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.sb__steps li i { padding: 1px 7px; border-radius: 999px; background: var(--white); font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--violet); }

/* ---------- Statement: manifesto with photo capsules, then a photo spread with figures ---------- */
.statement { background: var(--white); }
/* Section heading */
.statement__h2 { max-width: 24ch; }
.statement__intro > div { flex: 1 1 auto; min-width: 0; }
.statement__intro .section-head__lead { flex: none; max-width: 36ch; }
.statement__head { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-bottom: 22px; margin-bottom: clamp(36px, 4.5vw, 64px); border-bottom: 1px solid var(--sage); }
.statement__head .eyebrow { margin: 0; }
.statement__kicker { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; color: var(--slate); }
.statement__kicker h3 { font: inherit; color: inherit; }
.statement__kicker span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--sage); font-family: var(--mono); font-size: 12px; color: var(--violet); }
/* Stage: a short sticky scene. The headline and paragraph hold centre while six photos float up through the side
   gutters at different depths (scroll) and lean toward the pointer. Only transforms move. */
.stage { position: relative; height: 210vh; }
.stage__sticky { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); min-height: 600px; display: grid; place-items: center; overflow: clip; }
.stage__float { position: absolute; inset: 0; pointer-events: none; }
.fl { position: absolute; top: var(--t); width: var(--w); margin: 0; }
.fl--l { left: var(--l); }
.fl--r { right: var(--r); }
.fl__in { aspect-ratio: var(--ar); border-radius: var(--r-card); overflow: hidden; background: var(--pale-sage); }
.fl__in img { width: 100%; height: 100%; object-fit: cover; }
.stage__copy { position: relative; z-index: 2; width: min(780px, calc(100% - 2 * var(--gutter))); text-align: center; }
.stage__copy .eyebrow { margin-bottom: 22px; }
.stage__title { font-size: clamp(40px, 5.2vw, 82px); font-weight: 300; line-height: 1; letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.stage__title span { color: var(--canopy); }
.statement__text { max-width: 44ch; margin: 30px auto 0; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.45; font-weight: 300; letter-spacing: -.01em; color: var(--ink); text-wrap: pretty; }
.statement__text .hl { font-style: normal; background: linear-gradient(var(--mint), var(--mint)) no-repeat 0 94% / calc(var(--hl, 1) * 100%) .2em; }
.is-scrub .w, .is-scrub .hl { opacity: .16; }
/* Photo capsules: GSAP drives --cap from 0 to 1 so each one opens and pushes the words aside */
.capw { white-space: nowrap; }
.cap { --cap: 1; position: relative; display: inline-block; width: calc(var(--cap) * 2.15em); height: 1em; margin-right: calc(var(--cap) * .2em); vertical-align: -.17em; border-radius: 999px; overflow: hidden; background: var(--pale-sage); opacity: min(1, calc(var(--cap) * 6)); }
.cap img { position: absolute; top: 0; left: 50%; width: 2.15em; height: 100%; max-width: none; object-fit: cover; transform: translateX(-50%) scale(calc(1.4 - .4 * var(--cap))); }

.statement__spread { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(56px, 7vw, 104px); }
.statement__media { position: relative; min-height: 480px; border-radius: var(--r-card); overflow: hidden; background: var(--pale-sage); }
.statement__media img { position: absolute; inset: 0; }
.statement__media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.statement__badge { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px); padding: 10px 20px 10px 10px; border-radius: 12px; background: rgba(255, 255, 255, .95); border: 1px solid rgba(175, 196, 191, .6); font-size: 14px; line-height: 1.35; color: var(--slate); }
.statement__badge-icons { display: flex; flex: none; }
.statement__badge-icons svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; border: 2px solid #fff; background: var(--canopy); fill: none; stroke: var(--mint); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.statement__badge-icons svg + svg { margin-left: -9px; }
.statement__badge-text b { display: block; font-size: 15px; font-weight: 500; color: var(--ink); }
.statement__more { font-size: 18px; line-height: 1.6; color: var(--slate); max-width: 46ch; }
.srows { margin-top: clamp(28px, 3vw, 44px); border-bottom: 1px solid var(--sage); }
.srow { --line: 1; position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: center; padding: 22px 0; }
.srow::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--sage); transform: scaleX(var(--line)); transform-origin: left; }
.srow__value { display: flex; align-items: baseline; gap: 8px; font-size: clamp(52px, 5.2vw, 78px); line-height: .9; font-weight: 300; letter-spacing: -.045em; color: var(--canopy); font-variant-numeric: tabular-nums; }
.srow__value small { font-size: 18px; font-weight: 400; letter-spacing: 0; color: var(--slate); }
.srow__value .srow__stars { align-self: center; font-size: 14px; letter-spacing: 2px; color: #f5b301; }
.srow__label { font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.srow__note { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--slate); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; font-weight: 500; color: var(--canopy); background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 100% 1px; transition: background-size .5s var(--ease); }
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.link-arrow:hover { background-size: 0 1px; }
.link-arrow:hover svg { transform: translateX(4px); }
.statement__link { margin-top: 28px; }

/* ---------- Section head ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head__lead { color: var(--slate); font-size: 17px; max-width: 44ch; }
.section--dark .section-head__lead { color: rgba(255, 255, 255, .72); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .h2 { max-width: 20ch; margin-inline: auto; }
.section-head--center .section-head__lead { max-width: 60ch; }

/* ---------- Services bento ---------- */
/* Services: expanding photo panels (a row on wide screens, a vertical accordion below 1025px). Each photo keeps
   a fixed size and the panel only widens the window onto it, so opening a panel never rescales an image. */
.services__title { display: flex; align-items: flex-start; gap: 10px; }
.services__count { margin-top: .6em; font-family: var(--mono); font-size: 14px; color: var(--violet); }
.svc { --open-w: 720px; display: flex; gap: 8px; height: clamp(540px, 70vh, 660px); }
.svc__panel { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r-card); overflow: hidden; background: var(--canopy-deep); isolation: isolate; transition: flex-grow .85s var(--ease); }
.svc__panel.is-active { flex-grow: 9.6; }
.svc__img { position: absolute; top: 0; left: 50%; width: var(--open-w); max-width: none; height: 100%; object-fit: cover; translate: -50% 0; scale: 1.1; transition: scale 1.4s var(--ease); }
.svc__panel.is-active .svc__img { scale: 1; }
.svc__shade { position: absolute; inset: 0; z-index: 1; background: rgba(11, 51, 41, .6); transition: opacity .6s var(--ease); }
.svc__panel::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 51, 41, 0) 28%, rgba(11, 51, 41, .9) 100%); opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.svc__panel.is-active .svc__shade { opacity: 0; }
.svc__panel.is-active::after { opacity: 1; }
.svc__panel:not(.is-active):hover .svc__shade { opacity: .7; }
.svc__rail { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 22px 0; color: #fff; transition: opacity .35s var(--ease); }
.svc__rail b { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--mint); }
.svc__rail em { font-style: normal; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; writing-mode: vertical-rl; rotate: 180deg; transition: color .35s; }
.svc__panel:not(.is-active):hover .svc__rail em { color: var(--mint); }
.svc__panel.is-active .svc__rail { opacity: 0; pointer-events: none; }
.svc__body { position: absolute; z-index: 3; left: 0; bottom: 0; width: 620px; max-width: 100%; padding: 32px; color: #fff; opacity: 0; visibility: hidden; translate: 0 20px; transition: opacity .25s var(--ease), translate .25s var(--ease), visibility 0s .25s; }
.svc__panel.is-active .svc__body { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .7s var(--ease) .32s, translate 1s var(--ease) .32s, visibility 0s; }
.svc__num { margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--mint); }
.svc__num i { font-style: normal; color: rgba(255, 255, 255, .55); }
.svc__title { margin-top: 8px; font-size: clamp(30px, 2.8vw, 42px); font-weight: 300; line-height: 1.04; letter-spacing: -.03em; color: #fff; }
.svc__text { max-width: 46ch; margin-top: 12px; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .8); }
.svc__sub { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.svc__sub a { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); font-size: 13px; color: #fff; transition: background-color .3s, color .3s, border-color .3s; }
.svc__sub a:hover { background: #fff; border-color: #fff; color: var(--canopy); }
.svc__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 11px 16px; border-radius: var(--r-btn); background: var(--mint); color: var(--bark); font-size: 14.5px; font-weight: 500; transition: background-color .3s; }
.svc__more:hover { background: #5effae; }
.svc__more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.svc__more:hover svg { transform: rotate(45deg); }

/* ---------- System (isometric) ---------- */
/* --iso-bg matches the render's backdrop so the isometric image sits seamlessly on the section */
.system { --iso-bg: #faf0e6; background: linear-gradient(180deg, #e8f0ec 0, var(--iso-bg) 560px); overflow: clip; }
.system__wash { position: absolute; inset: 0 0 auto; height: 560px; background: radial-gradient(45% 60% at 15% 0%, rgba(232, 231, 245, .9), transparent 70%); pointer-events: none; }
/* No pin: the steps scroll normally while the house sticks beside them (a carousel on small screens) */
.system__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); }
.system__steps { padding: clamp(24px, 10vh, 120px) 0 clamp(16px, 4vh, 40px); }
.system__step { position: relative; padding: clamp(28px, 6vh, 60px) 0 clamp(28px, 6vh, 60px) 28px; border-left: 1px solid var(--pale-sage); opacity: .35; cursor: pointer; transition: opacity .5s var(--ease); }
.system__step::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--canopy), var(--mint)); transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease); }
.system__step.is-active { opacity: 1; }
.system__step.is-active::before { transform: scaleY(1); }
.system__num { margin-bottom: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--violet); }
.system__step h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 300; line-height: 1.1; letter-spacing: -.025em; color: var(--ink); }
.system__step p:last-child { max-width: 44ch; margin-top: 10px; font-size: 16.5px; color: var(--slate); }
.system__visual { position: relative; }
.system__sticky { position: sticky; top: calc(var(--nav-h) + max(16px, (100vh - var(--nav-h) - 720px) / 2)); }
.system__canvas { position: relative; aspect-ratio: 1; width: 100%; max-width: 680px; margin-inline: auto; }
.system__canvas > img { width: 100%; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent), linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent), linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent); mask-composite: intersect; }
/* The flows sit on their own layer and use a static glow stroke, so the moving dashes never repaint the house image */
.system__flows { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; will-change: transform; }
.flow { fill: none; stroke: var(--mint); stroke-width: .55; stroke-linecap: round; stroke-dasharray: 1.2 1.6; opacity: 0; transition: opacity .5s var(--ease); animation: flow 1.6s linear infinite; }
.flow--glow { stroke-width: 1.9; stroke-dasharray: none; animation: none; }
.flow.is-on { opacity: 1; }
.flow--glow.is-on { opacity: .22; }
.system:not(.is-inview) .flow, .system:not(.is-inview) .node i::after { animation-play-state: paused; }
@keyframes flow { to { stroke-dashoffset: -5.6; } }
.node { position: absolute; left: var(--x); top: var(--y); z-index: 2; display: flex; align-items: center; gap: 8px; transform: translate(-7px, -50%); transition: opacity .5s var(--ease); opacity: .55; }
.node i { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 2px solid var(--canopy); box-shadow: 0 0 0 4px rgba(16, 67, 54, .1); transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
.node i::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1.5px solid var(--canopy); opacity: 0; }
.node em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; padding: 5px 11px; border-radius: 999px; background: var(--white); color: var(--bark); border: 1px solid rgba(175, 196, 191, .7); transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s; }
.node--left { flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -50%); }
.node--up { flex-direction: column-reverse; gap: 6px; transform: translate(-50%, calc(-100% + 7px)); }
.node.is-on { opacity: 1; }
.node.is-on i { background: var(--mint); box-shadow: 0 0 0 4px rgba(15, 255, 135, .25); }
.node.is-on i::after { animation: ring 1.8s var(--ease) infinite; }
.node.is-on em { background: var(--canopy); color: #fff; border-color: var(--canopy); }
@keyframes ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.system__meta { display: flex; align-items: center; gap: 14px; max-width: 520px; margin: 8px auto 0; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.system__count { color: var(--violet); }
.system__bar { flex: 1; height: 2px; border-radius: 2px; background: var(--pale-sage); overflow: hidden; }
.system__bar i { display: block; height: 100%; background: var(--canopy); transform: scaleX(var(--p, .2)); transform-origin: left; transition: transform .8s var(--ease); }

/* ---------- Process (dark, horizontal) ---------- */
/* Merged "how we work": the heading carries a kicker line; step cards get tags and a link pinned to the bottom */
/* The glow drifting behind the mock-up panels must not widen the page on narrow screens */
.process { overflow: clip; }
.process__title { max-width: 18ch; }
.process__kicker { display: block; margin-bottom: 16px; font-size: 13px; font-weight: 700; line-height: 1.35; letter-spacing: .07em; text-transform: uppercase; color: var(--mint); }
.process__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pcard { display: flex; flex-direction: column; background: rgba(255, 255, 255, .04); border: 1px solid rgba(175, 196, 191, .2); border-radius: var(--r-card); padding: 8px; transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.pcard:hover { border-color: rgba(15, 255, 135, .45); background: rgba(255, 255, 255, .06); }
.pcard__media { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.pcard__ui { border-radius: 10px; aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 28px; background: radial-gradient(70% 70% at 30% 20%, rgba(232, 231, 245, .16), transparent 70%), linear-gradient(160deg, rgba(175, 196, 191, .2), rgba(175, 196, 191, .05)); }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 24px 20px 22px; }
.pcard__num { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-family: var(--mono); font-size: 13px; color: var(--mint); }
.pcard__num span { font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.pcard h3 { font-size: clamp(24px, 2.1vw, 30px); font-weight: 300; line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
.pcard__text { margin-top: 10px; max-width: 50ch; color: rgba(255, 255, 255, .72); }
.pcard__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.pcard__tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(175, 196, 191, .28); font-size: 13px; color: rgba(255, 255, 255, .84); }
.pcard__link { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: auto; padding-top: 22px; font-weight: 500; color: var(--mint); }
.pcard__link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: translate .35s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .pcard--photo:hover .pcard__media img { scale: 1.04; }
  .pcard__link:hover svg { translate: 4px 0; }
}
.ui-panel { width: 100%; max-width: 360px; background: var(--white); color: var(--bark); border-radius: 12px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.ui-panel__head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding-bottom: 14px; border-bottom: 1px solid var(--pale-sage); }
.ui-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.ui-dot--mint { background: #0bd673; }
.ui-pill { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--lav); color: var(--violet); }
.ui-pill--mint { background: var(--mint-soft); color: var(--canopy); }
.ui-checks { display: grid; gap: 10px; padding: 14px 0; font-size: 13.5px; color: var(--slate); }
.ui-checks li { display: flex; align-items: center; gap: 10px; }
.ui-checks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--pale-sage); flex: none; }
.ui-checks li.is-done { color: var(--bark); }
.ui-checks li.is-done::before { border-color: var(--canopy); background: var(--canopy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.2 2.2 4.8-5' fill='none' stroke='%230fff87' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ui-checks li.is-progress::before { border-color: var(--violet); border-right-color: transparent; animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ui-bar { height: 6px; border-radius: 999px; background: var(--cream); overflow: hidden; }
.ui-bar span { display: block; height: 100%; width: calc(var(--p) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--canopy), var(--violet)); transform-origin: left; }
.ui-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.ui-tile { border: 1px solid var(--pale-sage); border-radius: 8px; padding: 12px; }
.ui-tile small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.ui-tile b { display: block; font-size: 18px; font-weight: 500; margin-top: 4px; color: var(--canopy); }
/* UI cards live: a mint glow drifts behind the panel and the panel floats */
/* clip-path rather than overflow: hidden, so the box still grows when its panel is taller than 16:9 (phones) */
.pcard__ui { position: relative; isolation: isolate; clip-path: inset(0 round 10px); }
.pcard__ui::before { content: ""; position: absolute; z-index: -1; left: 0; top: 0; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(15, 255, 135, .2), rgba(15, 255, 135, 0) 65%); animation: uiGlow 9s ease-in-out infinite alternate; pointer-events: none; }
.ui-panel { animation: uiFloat 6s ease-in-out infinite; }
.pcard--care .ui-panel { animation-delay: -3s; }
.ui-dot { position: relative; flex: none; }
.ui-dot--mint::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #0bd673; animation: uiPing 2.2s ease-out infinite; }
/* "Dbałość": the four handover items tick off one by one, then the status flips from Odbiór to Gotowe */
.ui-pill--swap { height: 22px; padding-block: 0; overflow: hidden; background: var(--mint-soft); color: var(--canopy); animation: uiPill 7s ease-in-out infinite both; }
.ui-pill__roll { display: flex; flex-direction: column; text-align: center; transform: translateY(-22px); animation: uiPillRoll 7s cubic-bezier(.7, 0, .2, 1) infinite both; }
.ui-pill__roll span { line-height: 22px; }
.pcard--care .ui-tile { position: relative; border-color: rgba(11, 214, 115, .5); background: rgba(15, 255, 135, .07); animation: uiTile 7s ease-out infinite both; }
.pcard--care .ui-tile::after { content: ""; position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--canopy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.2 2.2 4.8-5' fill='none' stroke='%230fff87' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: 0 0 0 2px var(--white); animation: uiTick 7s cubic-bezier(.34, 1.56, .64, 1) infinite both; }
.pcard--care .ui-tile:nth-child(2), .pcard--care .ui-tile:nth-child(2)::after { animation-delay: .6s; }
.pcard--care .ui-tile:nth-child(3), .pcard--care .ui-tile:nth-child(3)::after { animation-delay: 1.2s; }
.pcard--care .ui-tile:nth-child(4), .pcard--care .ui-tile:nth-child(4)::after { animation-delay: 1.8s; }
.js .process:not(.is-inview) .pcard__ui::before, .js .process:not(.is-inview) .ui-panel, .js .process:not(.is-inview) .ui-panel *, .js .process:not(.is-inview) .ui-panel *::before, .js .process:not(.is-inview) .ui-panel *::after { animation-play-state: paused; }
@keyframes uiGlow { from { transform: translate(-20%, -25%); } to { transform: translate(65%, 40%); } }
@keyframes uiFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes uiPing { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
@keyframes uiTile { 0%, 6% { border-color: var(--pale-sage); background-color: rgba(15, 255, 135, 0); } 10%, 70% { border-color: rgba(11, 214, 115, .5); background-color: rgba(15, 255, 135, .07); } 76%, 100% { border-color: var(--pale-sage); background-color: rgba(15, 255, 135, 0); } }
@keyframes uiTick { 0%, 6% { transform: scale(0); } 10%, 70% { transform: scale(1); } 76%, 100% { transform: scale(0); } }
@keyframes uiPill { 0%, 39% { background-color: var(--lav); color: var(--violet); transform: scale(1); } 43% { transform: scale(1.12); } 47%, 66% { background-color: var(--mint-soft); color: var(--canopy); transform: scale(1); } 71%, 100% { background-color: var(--lav); color: var(--violet); transform: scale(1); } }
@keyframes uiPillRoll { 0%, 39% { transform: translateY(0); } 44%, 66% { transform: translateY(-22px); } 71%, 100% { transform: translateY(0); } }
.process__foot { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Grants ---------- */
/* Grants: the feature card rolls its amount in on odometer columns while a grid of mint squares shimmers;
   program cards float their icons. Everything animates transform/opacity only. */
.grants__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px clamp(32px, 6vw, 96px); margin-bottom: clamp(36px, 4.5vw, 56px); }
.grants__head .lead { margin-top: 0; }
.gx { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.gx__feature { position: relative; display: flex; flex-direction: column; min-height: 420px; padding: clamp(26px, 3.2vw, 44px); border-radius: var(--r-card); background: var(--canopy); color: #fff; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease); }
.gx__feature:hover { transform: translateY(-4px); }
.gx__glow { position: absolute; left: 0; top: 0; z-index: -1; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 255, 135, .15), transparent); pointer-events: none; transform: translate(70%, 70%); }
.gx__squares { position: absolute; top: 22px; right: 22px; z-index: -1; display: grid; grid-template-columns: repeat(8, 12px); gap: 7px; -webkit-mask-image: radial-gradient(100% 100% at 100% 0, #000 30%, transparent 85%); mask-image: radial-gradient(100% 100% at 100% 0, #000 30%, transparent 85%); }
.gx__squares i { width: 12px; height: 12px; border-radius: 3px; background: var(--mint); opacity: .07; animation: gxSq 3.6s ease-in-out infinite; animation-delay: var(--d); }
@keyframes gxSq { 0%, 100% { opacity: .07; } 45% { opacity: .07; } 55% { opacity: .75; } 70% { opacity: .07; } }
.grants:not(.is-inview) .gx__squares i, .grants:not(.is-inview) .gx__icon { animation-play-state: paused; }
.gx__tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 12.5px; color: rgba(255, 255, 255, .85); }
.gx__tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: pulse 2.4s infinite; }
.gx__label { margin-top: auto; padding-top: 40px; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--mint); }
.gx__amount { margin-top: 10px; font-size: clamp(46px, 4.6vw, 76px); font-weight: 300; line-height: 1; letter-spacing: -.045em; }
.gx__amount-vis { display: inline-flex; align-items: baseline; gap: .18em; }
.odo { display: inline-flex; height: 1em; overflow: hidden; line-height: 1; font-variant-numeric: tabular-nums; }
.odo__col { display: block; height: 1em; overflow: hidden; }
.odo__strip { display: flex; flex-direction: column; transform: translateY(calc(var(--v) * -1em)); transition: transform 2s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * .12s); }
.odo__strip span { display: block; height: 1em; text-align: center; }
.odo__col + .odo__col { margin-left: -.04em; }
.odo__gap { width: .22em; }
.gx__feature:not(.is-rolled) .odo__strip { transform: translateY(0); transition: none; }
.gx__text { max-width: 40ch; margin-top: 14px; font-size: 16.5px; color: rgba(255, 255, 255, .72); }
.gx__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 500; color: var(--mint); }
.gx__cta svg, .gx__link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.gx__feature:hover .gx__cta svg, .gx__card:hover .gx__link svg { transform: translateX(4px); }
.gx__card { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-card); background: var(--white); border: 1px solid rgba(175, 196, 191, .6); transition: transform .5s var(--ease), border-color .4s var(--ease); }
.gx__card:hover { transform: translateY(-4px); border-color: var(--canopy); }
.gx__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--canopy); color: var(--mint); }
.gx__icon--violet { background: var(--lav); color: var(--violet); animation-delay: -2.7s; }
.gx__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gx__card h3 { margin-top: auto; padding-top: 32px; font-size: clamp(22px, 1.9vw, 28px); font-weight: 300; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.gx__card p { margin-top: 10px; font-size: 15.5px; color: var(--slate); }
.gx__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 500; color: var(--canopy); }
.grants__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips li { font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--sage); background: var(--white); }
.grant-card { position: relative; display: block; overflow: hidden; background: var(--white); border: 1px solid var(--sage); border-radius: var(--r-card); padding: clamp(28px, 4vw, 48px); transition: border-color .4s var(--ease); }
.grant-card:hover { border-color: var(--canopy); }
.grant-card__grid { position: absolute; top: 0; right: 0; width: 260px; height: 220px; background: radial-gradient(circle, var(--sage) 1px, transparent 1.4px) 0 0 / 14px 14px; -webkit-mask-image: radial-gradient(100% 100% at 100% 0%, #000, transparent 72%); mask-image: radial-gradient(100% 100% at 100% 0%, #000, transparent 72%); opacity: .8; pointer-events: none; }
.grant-card__badge { position: absolute; top: clamp(24px, 3.4vw, 40px); right: clamp(24px, 3.4vw, 40px); width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--canopy); color: var(--mint); transition: transform .5s var(--ease); }
.grant-card__badge svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.grant-card:hover .grant-card__badge { transform: rotate(-6deg) scale(1.04); }
.grant-card__label { position: relative; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--violet); }
.grant-card__value { position: relative; font-size: clamp(52px, 6vw, 88px); line-height: 1; font-weight: 300; letter-spacing: -.04em; color: var(--canopy); margin-top: 18px; }
.grant-card__text { position: relative; color: var(--slate); margin-top: 16px; max-width: 34ch; font-size: 17px; }
.grant-card__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-weight: 500; color: var(--canopy); }
.grant-card__cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; transition: transform .3s var(--ease); }
.grant-card:hover .grant-card__cta svg { transform: translateX(4px); }
.grant-card__bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin-top: 36px; padding-top: 12px; border-top: 1px solid var(--pale-sage); }
.grant-card__bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 4px 4px 0 0; background: var(--pale-sage); transform-origin: bottom; }
.grant-card__bars i:nth-child(3n) { background: var(--sage); }
.grant-card__bars i:nth-last-child(2) { background: var(--violet); }
.grant-card__bars i:last-child { background: var(--mint); }

/* ---------- Why us: the four reasons, then 30 years of experience with the owner and the proof ---------- */
.why__head { margin-bottom: clamp(32px, 4vw, 56px); }
.why__head .section-head__lead { max-width: 46ch; }
.why__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.why__item { position: relative; display: grid; align-content: start; gap: 12px; padding: 26px 24px 28px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(175, 196, 191, .2); overflow: hidden; isolation: isolate; transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.why__glow { position: absolute; left: 0; top: 0; z-index: -1; width: 380px; height: 380px; margin: -190px 0 0 -190px; border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 255, 135, .16), transparent); pointer-events: none; opacity: 0; transition: opacity .5s var(--ease); }
.why__num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 12px; background: rgba(15, 255, 135, .12); font-family: var(--mono); font-size: 13px; color: var(--mint); transition: background-color .45s var(--ease), color .45s var(--ease), rotate .5s var(--ease); }
.why__item h3 { font-size: clamp(20px, 1.7vw, 23px); font-weight: 400; line-height: 1.25; letter-spacing: -.01em; color: #fff; }
.why__item p { font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .72); transition: color .4s var(--ease); }
.why__story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(56px, 6vw, 96px); }
.why__photo { position: relative; margin: 0; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 5; }
.why__photo img { width: 100%; height: 100%; object-fit: cover; }
/* GSAP owns the photo's own transform (scroll parallax), so the hover zoom sits on a wrapper */
.why__photo-zoom { display: block; width: 100%; height: 100%; transition: scale 1.2s var(--ease); }
.why__photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(16, 67, 54, .8); color: #fff; font-size: 13px; }
.why__years { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px 22px; }
.why__years b { font-size: clamp(110px, 13vw, 200px); font-weight: 200; line-height: .8; letter-spacing: -.06em; color: var(--mint); }
.why__years > span { max-width: 13ch; padding-bottom: .2em; font-size: clamp(22px, 2.2vw, 32px); font-weight: 300; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.why__text { max-width: 54ch; margin-top: 28px; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .74); }
.why__owner { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; width: fit-content; max-width: 100%; margin-top: 32px; padding: 12px 14px 12px 12px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(175, 196, 191, .2); transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.why__owner img { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--mint); object-fit: cover; }
.why__owner-name { font-size: 17px; font-weight: 500; color: #fff; }
.why__owner-role { margin-top: 2px; font-size: 14px; color: rgba(255, 255, 255, .65); }
.why__owner-call { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--mint); color: var(--bark); font-size: 15px; font-weight: 500; transition: background-color .3s; }
.why__owner-call:hover { background: #5effae; }
.why__owner-call svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.why__proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(175, 196, 191, .25); }
.why__proof b { display: block; font-size: clamp(30px, 3vw, 42px); font-weight: 300; letter-spacing: -.03em; color: var(--mint); }
.why__proof > div > span { font-size: 14px; color: rgba(255, 255, 255, .65); transition: color .4s var(--ease); }
/* A mint segment of the top rule lights up above the stat under the pointer */
.why__proof > div { position: relative; }
.why__proof > div::before { content: ""; position: absolute; left: 0; right: 0; top: -25px; height: 2px; border-radius: 2px; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
/* Hover, on mouse devices only (no stuck states after a tap): the reason cards light up like the dark process
   cards with a glow that follows the pointer (main.js), and their badge flips to mint like the guide icons */
@media (hover: hover) and (pointer: fine) {
  .why__item:hover { border-color: rgba(15, 255, 135, .45); background: rgba(255, 255, 255, .07); }
  .why__item:hover .why__glow { opacity: 1; }
  .why__item:hover .why__num { background: var(--mint); color: var(--canopy); rotate: -6deg; }
  .why__item:hover p { color: rgba(255, 255, 255, .88); }
  .why__photo:hover .why__photo-zoom { scale: 1.05; }
  .why__owner:hover { border-color: rgba(15, 255, 135, .45); background: rgba(255, 255, 255, .09); }
  .why__owner-call:hover svg { animation: callWiggle 1.6s ease-in-out; }
  .why__proof > div:hover::before { transform: scaleX(1); }
  .why__proof > div:hover > span { color: rgba(255, 255, 255, .9); }
}
@media (max-width: 1024px) {
  .why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__story { grid-template-columns: minmax(0, 1fr); }
  .why__photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  .why__list { grid-template-columns: minmax(0, 1fr); }
  .why__proof { gap: 10px; }
  .why__proof b { font-size: 26px; }
  .why__proof > div > span { font-size: 12.5px; }
}
.quote-card { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 12px; padding: 22px; }
.quote-card blockquote { font-size: 18px; line-height: 1.45; font-weight: 300; color: var(--ink); }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 13.5px; color: var(--slate); }
.quote-card figcaption b { display: block; color: var(--bark); font-weight: 500; font-size: 14.5px; }
.quote-card__mono { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--canopy); color: var(--mint); font-weight: 500; font-size: 14px; letter-spacing: .04em; }
.review-block { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin-top: 32px; padding: 20px 24px; border-radius: var(--r-card); background: var(--cream); border: 1px solid transparent; transition: border-color .4s var(--ease); }
.review-block:hover { border-color: var(--canopy); }
.review-block__score { font-size: 56px; font-weight: 300; letter-spacing: -.04em; line-height: 1; color: var(--canopy); }
.review-block__meta { display: grid; gap: 2px; color: var(--slate); font-size: 14.5px; }
.review-block__meta .stars { font-size: 18px; }
.review-block__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--canopy); font-size: 15px; }
.review-block__cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

/* ---------- Area: branded 3D region map ---------- */
.regionmap { position: relative; height: clamp(560px, 46vw, 700px); border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--sage); background: radial-gradient(60% 70% at 62% 55%, #e8eee9, #f3f1ec 70%); isolation: isolate; }
/* The stage always "covers" the view at the render's aspect, so % marker positions stay locked to the image */
.regionmap__view { position: absolute; inset: 0; overflow: hidden; container-type: size; perspective: 1600px; --ar: calc(1240 / 700); }
.regionmap__stage { position: absolute; left: 50%; top: 50%; width: max(100cqw, calc(100cqh * var(--ar))); aspect-ratio: 1240 / 700; transform: translate(-50%, -50%); }
.regionmap__plane { position: absolute; inset: 0; transform-origin: 64% 53%; will-change: transform; }
.regionmap__plane picture, .regionmap__img { display: block; width: 100%; height: 100%; }
.regionmap__img { object-fit: cover; }
.regionmap__markers { position: absolute; inset: 0; }
.regionmap .mk { position: absolute; left: var(--x); top: var(--y); transform: translate(-6px, -50%); }
.regionmap .mk--left { transform: translate(calc(-100% + 6px), -50%); }
.regionmap .mk--hub { transform: translate(-50%, calc(-100% + 10px)); z-index: 2; }
.regionmap .mk--below { flex-direction: column; gap: 6px; transform: translate(-50%, -6px); }
.regionmap__radar { position: absolute; left: 63.96%; top: 52.75%; width: 49%; aspect-ratio: 1; margin: -24.5% 0 0 -24.5%; border-radius: 50%; border: 1.5px solid rgba(16, 67, 54, .35); background: radial-gradient(circle, rgba(15, 255, 135, .16), rgba(15, 255, 135, 0) 65%); opacity: 0; transform: scale(.06); pointer-events: none; }
@keyframes radar { 0% { transform: scale(.06); opacity: .9; } 80% { opacity: .15; } 100% { transform: scale(1); opacity: 0; } }
.regionmap__credit { position: absolute; z-index: 2; right: 10px; bottom: 8px; margin: 0; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .78); font-size: 10.5px; color: var(--muted); }
.regionmap__credit a { text-decoration: underline; text-underline-offset: 2px; }
.regionmap__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(243, 241, 236, .85) 0%, rgba(243, 241, 236, 0) 18%), linear-gradient(90deg, rgba(243, 241, 236, .7) 0%, rgba(243, 241, 236, 0) 26%); }
.regionmap__legend { position: absolute; z-index: 2; top: 24px; left: 24px; width: 268px; padding: 22px; border-radius: 14px; background: rgba(255, 255, 255, .96); border: 1px solid rgba(175, 196, 191, .7); box-shadow: 0 24px 50px -32px rgba(16, 31, 30, .5); }
.regionmap__kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.regionmap__addr { font-size: 21px; font-weight: 300; letter-spacing: -.01em; line-height: 1.25; color: var(--ink); margin-top: 8px; }
.regionmap__keys { display: grid; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--pale-sage); font-size: 13.5px; color: var(--slate); }
.regionmap__keys li { display: flex; align-items: center; gap: 10px; }
.key { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--canopy); }
.key--hub { width: 16px; height: 16px; background: var(--mint); border: 4px solid var(--canopy); }
.key--link { border-color: var(--violet); box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 6px var(--violet); }
.regionmap__route { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--canopy); border-bottom: 1px solid var(--sage); padding-bottom: 1px; transition: border-color .3s; }
.regionmap__route:hover { border-color: var(--canopy); }
.regionmap__route svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
/* Markers: the root is positioned and anchored, only its children animate in */
.mk { display: flex; align-items: center; gap: 8px; pointer-events: none; }
.mk > :not(.mk__pulse) { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.regionmap.is-in .mk > :not(.mk__pulse) { opacity: 1; transform: none; }
.mk__pulse { opacity: 0; }
.regionmap.is-in .mk__pulse { opacity: 1; }
.mk--left { flex-direction: row-reverse; }
.mk__dot { position: relative; flex: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--canopy); box-shadow: 0 2px 8px -2px rgba(16, 31, 30, .45); }
.mk__label { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .95); border: 1px solid rgba(175, 196, 191, .8); color: var(--bark); box-shadow: 0 6px 16px -10px rgba(16, 31, 30, .5); }
.mk--link { pointer-events: auto; }
.mk--link .mk__dot { border-color: var(--violet); box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 6px var(--violet), 0 2px 8px -2px rgba(16, 31, 30, .45); }
.mk--link .mk__label { color: var(--violet); border-color: rgba(124, 24, 211, .35); transition: background-color .3s, color .3s; }
.mk--link:hover .mk__label { background: var(--violet); color: #fff; }
.mk--hub { flex-direction: column-reverse; gap: 8px; }
.mk--hub .mk__dot { width: 20px; height: 20px; background: var(--mint); border: 5px solid var(--canopy); }
.mk--hub .mk__label { font-size: 12.5px; padding: 7px 14px; background: var(--canopy); color: #fff; border-color: var(--canopy); }
.mk__pulse { position: absolute; left: 50%; bottom: 0; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; border: 2px solid var(--canopy); }
@keyframes mkPulse { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(3.6); opacity: 0; } }
.regionmap:not(.is-in) .mk__pulse { animation: none; }

.area__towns { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; }
.area__towns p { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.area__towns ul { display: contents; }
.area__towns li { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid rgba(175, 196, 191, .8); color: var(--bark); }
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1100px; margin: clamp(40px, 5vw, 64px) auto 0; }
.contact-card { background: var(--white); border: 1px solid var(--sage); border-radius: var(--r-card); padding: 24px; }
.contact-card__role { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.contact-card__name { font-size: 22px; font-weight: 400; margin-top: 10px; color: var(--ink); }
.contact-card__phone { display: inline-block; margin-top: 6px; color: var(--canopy); font-weight: 500; border-bottom: 1px solid var(--sage); transition: border-color .3s; }
.contact-card__phone:hover { border-color: var(--canopy); }
.contact-card--local { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; }
.contact-card--local .contact-card__role { width: 100%; margin-bottom: 6px; }
.contact-card--local a { font-size: 14px; padding: 7px 13px; border-radius: 999px; background: var(--lav); color: var(--violet); transition: background-color .3s, color .3s; }
.contact-card--local a:hover { background: var(--violet); color: #fff; }

/* ---------- Posts ---------- */
/* Posts: one featured story (text over the photo) beside two rows of equal height */
.posts__layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; }
.post__link { position: relative; display: block; height: 100%; }
.post__media { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--pale-sage); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post__link:hover .post__media img { transform: scale(1.06); }
.post__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.post__meta span { padding: 4px 10px; border-radius: 999px; background: var(--lav); color: var(--violet); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.post__title { margin-top: 12px; font-weight: 300; letter-spacing: -.02em; color: var(--ink); text-wrap: pretty; transition: color .35s; }
.post__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--canopy); }
.post__more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.post__link:hover .post__more svg { transform: rotate(45deg); }
.post--feature .post__media { position: absolute; inset: 0; }
.post--feature .post__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 51, 41, 0) 35%, rgba(11, 51, 41, .88) 100%); }
.post--feature .post__link { min-height: 540px; display: flex; align-items: flex-end; border-radius: var(--r-card); overflow: hidden; }
.post--feature .post__body { position: relative; padding: clamp(24px, 3vw, 40px); transition: transform .7s var(--ease); }
.post--feature .post__link:hover .post__body { transform: translateY(-6px); }
.post--feature .post__meta { color: rgba(255, 255, 255, .75); }
.post--feature .post__meta span { background: var(--mint); color: var(--bark); }
.post--feature .post__title { max-width: 22ch; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.08; color: #fff; }
.post--feature .post__more { color: var(--mint); }
.posts__list { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.post--row .post__link { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 22px; padding: 12px; border-radius: var(--r-card); border: 1px solid var(--sage); transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.post--row .post__link:hover { border-color: var(--canopy); background: var(--cream); }
.post--row .post__media { border-radius: 10px; }
.post--row .post__body { display: flex; flex-direction: column; padding: 10px 8px 6px 0; }
.post--row .post__title { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.25; }
.post--row .post__link:hover .post__title { color: var(--canopy); }
.post--row .post__more { margin-top: auto; padding-top: 14px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__grid > div:first-child { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__grid .btn { margin-top: 28px; }
.faq__list { border-top: 1px solid var(--sage); }
.faq__item { border-bottom: 1px solid var(--sage); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; font-size: clamp(18px, 1.6vw, 21px); font-weight: 400; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--sage); transition: background-color .35s var(--ease), border-color .35s, transform .5s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--bark); translate: -50% -50%; transition: transform .45s var(--ease), background-color .3s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--canopy); border-color: var(--canopy); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--mint); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { overflow: hidden; }
.faq__answer p { color: var(--slate); padding-bottom: 26px; max-width: 62ch; font-size: 16.5px; }

/* ---------- CTA + form ---------- */
/* Contact panel sits on top of the footer (which rises behind it), its photo fades into the footer green at the
   bottom, and on scroll it lifts away while a mint horizon lights up beneath (transforms/opacity only) */
.cta { position: relative; z-index: 2; padding: 0 16px; }
.cta__panel { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--canopy); color: #fff; border: 1px solid rgba(201, 255, 227, .1); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .6); transform-origin: 50% 100%; }
.cta__panel::after { content: ""; position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(180deg, rgba(16, 67, 54, 0), var(--canopy) 92%); pointer-events: none; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: .9; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 67, 54, .97) 0%, rgba(16, 67, 54, .88) 38%, rgba(16, 67, 54, .35) 70%, rgba(16, 67, 54, .2) 100%); }
.cta__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(32px, 5vw, 80px); align-items: center; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding: clamp(64px, 8vw, 120px) var(--gutter); }
.cta__direct { display: grid; gap: 14px; margin-top: 36px; }
.cta__direct li { display: grid; grid-template-columns: 120px 1fr; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(175, 196, 191, .25); }
.cta__direct span { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.cta__direct a { font-size: 18px; transition: color .3s; }
.cta__direct a:hover { color: var(--mint); }
.form { background: var(--white); color: var(--bark); border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; }
.form__title { font-size: 24px; font-weight: 300; letter-spacing: -.01em; color: var(--ink); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field span, .form__chips legend { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--bark); background: var(--white); border: 1px solid var(--pale-sage); border-radius: var(--r-input); padding: 12px 14px; transition: border-color .25s, box-shadow .25s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--canopy); box-shadow: 0 0 0 3px rgba(15, 255, 135, .35); }
.field input.is-invalid { border-color: #c2412d; }
.form__chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__chips legend { margin-bottom: 8px; }
.form__chips label { position: relative; cursor: pointer; }
.form__chips input { position: absolute; opacity: 0; pointer-events: none; }
.form__chips span { display: inline-block; font-size: 13.5px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--pale-sage); transition: background-color .25s, color .25s, border-color .25s; }
.form__chips label:hover span { border-color: var(--canopy); }
.form__chips input:checked + span { background: var(--canopy); color: #fff; border-color: var(--canopy); }
.form__chips input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--slate); line-height: 1.45; }
.form__consent input { margin-top: 2px; accent-color: var(--canopy); width: 16px; height: 16px; flex: none; }
.form__consent a { color: var(--canopy); text-decoration: underline; text-underline-offset: 2px; }
.form__status { font-size: 14px; color: var(--canopy); min-height: 1em; }
.form__status.is-error { color: #c2412d; }
/* Form motion: labels float up on focus, a mint line draws under the active field, chips tick with a spring,
   a bar fills as the form is completed, and a soft shine crosses the button (all transform/opacity) */
.form { position: relative; }
.form__badge { position: absolute; top: -15px; right: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--violet); color: #fff; font-size: 12.5px; font-weight: 500; rotate: 3deg; }
.form__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.form__progress { display: flex; align-items: center; gap: 12px; margin-top: -4px; }
.form__bar { flex: 1; height: 4px; border-radius: 4px; background: var(--cream); overflow: hidden; }
.form__bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--canopy), var(--mint)); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .7s var(--ease); }
.form__count { font-family: var(--mono); font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.form.is-complete .form__count { color: var(--canopy); }
.form .field { position: relative; display: block; }
.form .field::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 2px; background: var(--mint); transform: scaleX(0); transition: transform .5s var(--ease); pointer-events: none; }
.form .field:focus-within::after { transform: scaleX(1); }
.form .field input, .form .field textarea { padding: 24px 14px 8px; }
.form .field span { position: absolute; left: 15px; top: 17px; font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .4s var(--ease), color .3s; }
.form .field input:focus + span, .form .field input:not(:placeholder-shown) + span,
.form .field textarea:focus + span, .form .field textarea:not(:placeholder-shown) + span { transform: translateY(-10px) scale(.76); color: var(--canopy); }
.form__chips span { position: relative; padding: 7px 13px 7px 30px; }
.form__chips span::before { content: ""; position: absolute; left: 10px; top: 50%; width: 13px; height: 13px; margin-top: -6.5px; border-radius: 50%; border: 1.5px solid var(--sage); transition: background-color .25s, border-color .25s; }
.form__chips span::after { content: ""; position: absolute; left: 14.5px; top: 50%; width: 4px; height: 7px; margin-top: -5px; border: solid var(--canopy); border-width: 0 1.6px 1.6px 0; rotate: 45deg; scale: 0; transition: scale .4s cubic-bezier(.34, 1.56, .64, 1); }
.form__chips input:checked + span::before { background: var(--mint); border-color: var(--mint); }
.form__chips input:checked + span::after { scale: 1; }
.btn--shine { position: relative; overflow: hidden; isolation: isolate; }
.btn--shine::before { content: ""; position: absolute; inset: -20% auto -20% 0; z-index: -1; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-120%) skewX(-18deg); }
@keyframes shine { 0% { transform: translateX(-120%) skewX(-18deg); } 45%, 100% { transform: translateX(340%) skewX(-18deg); } }
.form.is-sent .btn--shine svg { animation: sent .6s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes sent { 0% { transform: translateX(0); } 40% { transform: translateX(14px); opacity: 0; } 41% { transform: translateX(-14px); } 100% { transform: translateX(0); opacity: 1; } }

/* ---------- Footer ---------- */
.footer { --rise: clamp(120px, 14vw, 200px); position: relative; background: var(--canopy); color: rgba(255, 255, 255, .78); margin-top: calc(var(--rise) * -1); padding-top: calc(var(--rise) + clamp(64px, 8vw, 112px)); overflow: hidden; font-size: 14.5px; }
.footer__horizon { position: absolute; top: var(--rise); left: 0; right: 0; height: 120px; margin-top: -60px; background: radial-gradient(50% 50% at 50% 50%, rgba(15, 255, 135, .22), transparent 70%), linear-gradient(90deg, transparent 8%, rgba(15, 255, 135, .9) 50%, transparent 92%) 50% 50% / 100% 1.5px no-repeat; transform: scaleX(.3); opacity: 0; pointer-events: none; }
/* Footer: a slow light beam and a pointer glow drift behind the content and through the wordmark (transform only) */
.footer > .container { position: relative; z-index: 1; }
@keyframes beam { from { translate: -110% 0; } to { translate: 330% 0; } }
.footer__glow { position: absolute; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 255, 135, .13), transparent); opacity: 0; pointer-events: none; transition: opacity .6s var(--ease); }
.footer.is-glow .footer__glow { opacity: 1; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; gap: clamp(32px, 5vw, 80px); padding-bottom: 56px; border-bottom: 1px solid rgba(175, 196, 191, .2); }
.footer__intro { display: flex; flex-direction: column; }
.footer__logo { display: inline-block; width: 190px; }
.footer__motto { margin-top: 36px; max-width: 18ch; font-size: clamp(34px, 3.8vw, 56px); font-weight: 300; line-height: 1.04; letter-spacing: -.035em; color: #fff; }
.footer__motto span { color: var(--mint); }
.footer__tag { max-width: 44ch; margin-top: 18px; color: rgba(255, 255, 255, .62); font-size: 15.5px; }
.footer__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 32px; }
.footer .btn--ghost { --fg: #fff; --bd: rgba(255, 255, 255, .4); }
.footer .btn--ghost:hover { --bg: #fff; --fg: var(--canopy); --bd: #fff; }
.footer__up { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .4); color: #fff; transition: background-color .3s, color .3s, transform .5s var(--ease); }
.footer__up:hover { background: var(--mint); border-color: var(--mint); color: var(--bark); transform: translateY(-4px); }
.footer__up svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 48px; }
.footer__cols a { display: block; padding: 4px 0; transition: color .25s; }
.footer__cols a:hover { color: var(--mint); }
.footer__label { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--mint); margin-bottom: 12px; }
.footer__label--gap { margin-top: 28px; }
.footer__contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin-top: 6px; }
.footer__contact .footer__contact-grid > *, .footer__contact .footer__contact-foot p { margin: 0; font-style: normal; }
.footer__contact-grid span { display: block; margin-bottom: 4px; font-size: 12.5px; line-height: 1.35; color: rgba(255, 255, 255, .5); }
.footer__contact-grid a { color: #fff; overflow-wrap: anywhere; transition: color .25s; }
.footer__contact-grid a:hover { color: var(--mint); }
.footer__contact-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(175, 196, 191, .18); }
.footer__contact-foot .footer__social { margin-top: 0; }
.footer__contact-foot .footer__hours { margin: 0; }
.footer__contact { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--r-card); background: rgba(255, 255, 255, .05); border: 1px solid rgba(175, 196, 191, .2); }
.footer__contact address { font-style: normal; margin-bottom: 14px; }
.footer__contact p { margin-bottom: 12px; }
.footer__contact p span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.footer__hours { color: rgba(255, 255, 255, .6); }
.footer__social { display: flex; gap: 8px; margin-top: 16px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; padding: 0; transition: background-color .3s, border-color .3s, color .3s; }
.footer__social a:hover { background: var(--mint); border-color: var(--mint); color: var(--bark); }
.footer__social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.footer__local { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 20px 0; border-top: 1px solid rgba(175, 196, 191, .2); font-size: 13.5px; }
.footer__local span { color: rgba(255, 255, 255, .5); }
.footer__local a:hover { color: var(--mint); }
.footer__bottom-end { display: flex; align-items: center; gap: 20px; }
.footer__bottom-end .footer__up { width: 44px; height: 44px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0 24px; border-top: 1px solid rgba(175, 196, 191, .2); font-size: 13px; color: rgba(255, 255, 255, .55); }
.footer__bottom a:hover { color: var(--mint); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 16px); opacity: 0; max-width: calc(100% - 32px); background: var(--bark); color: #fff; padding: 12px 18px 12px 14px; border-radius: 999px; font-size: 14px; display: flex; align-items: center; gap: 10px; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Floating call bar: slides in after the hero, rings every few seconds, steps aside near the contact form and footer */
.callbar { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 55; display: flex; align-items: center; gap: 14px; padding: 7px 7px 7px 20px; border-radius: 999px; background: rgba(255, 255, 255, .97); border: 1px solid rgba(175, 196, 191, .7); box-shadow: 0 18px 40px -24px rgba(16, 31, 30, .5); color: var(--bark); opacity: 0; transform: translateY(150%); pointer-events: none; transition: transform .7s var(--ease), opacity .5s var(--ease), border-color .3s; }
.callbar.is-on { opacity: 1; transform: none; pointer-events: auto; }
.callbar.is-on.is-away { opacity: 0; transform: translateY(150%); pointer-events: none; }
.callbar:hover { border-color: var(--canopy); }
.callbar__text small { display: block; font-size: 11.5px; line-height: 1.3; color: var(--muted); }
.callbar__text b { display: block; font-size: 17px; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; color: var(--canopy); font-variant-numeric: tabular-nums; }
.callbar__ring { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--bark); transition: background-color .3s; }
.callbar:hover .callbar__ring { background: #5effae; }
.callbar__ring svg { position: relative; z-index: 1; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.callbar__ring i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--mint); opacity: 0; }
@keyframes callRing { 0% { scale: 1; opacity: .85; } 45%, 100% { scale: 1.9; opacity: 0; } }
@keyframes callWiggle { 0%, 30%, 100% { rotate: 0deg; } 4%, 12%, 20% { rotate: -16deg; } 8%, 16%, 24% { rotate: 16deg; } }

/* ---------- Big service marquee (live hero list) ---------- */

/* ---------- Section intro (live "Instalacje" copy) ---------- */
.h2--xl { font-size: clamp(56px, 9vw, 140px); line-height: .92; letter-spacing: -.05em; max-width: none; }
/* Instalacje intro: title + first paragraph on the left, second paragraph + contacts on the right, both ending level */
.section-head--intro { align-items: flex-end; }
.section-head--intro > div:first-child, .section-head--intro .intro-copy { flex: 1 1 0; min-width: 0; }
.services__lead { max-width: 48ch; margin-top: 28px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--bark); }
.intro-copy { display: grid; gap: 14px; max-width: 580px; }
.section-head__lead--muted { color: var(--slate); font-size: clamp(16px, 1.2vw, 17.5px); line-height: 1.65; }
.contact-trio { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 32px; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--sage); }
.contact-trio span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.contact-trio a { font-size: 15px; color: var(--canopy); border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact-trio a:hover { border-color: var(--canopy); }


/* ---------- Guide (long-form service copy) ---------- */
/* Category tabs: a white card slides under the chosen one; each tab names its topics count */
.gtabs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 6px; margin-bottom: clamp(24px, 3vw, 40px); border-radius: 20px; background: var(--cream); }
.gtabs__ind { position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: 15px; background: var(--white); box-shadow: 0 14px 30px -20px rgba(16, 31, 30, .35), 0 0 0 1px rgba(175, 196, 191, .45); transition: transform .6s var(--ease), width .6s var(--ease), height .6s var(--ease); pointer-events: none; }
.gtab { position: relative; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 16px; border-radius: 15px; text-align: left; color: var(--slate); transition: color .35s var(--ease); }
.gtab:hover { color: var(--bark); }
.gtab__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(175, 196, 191, .32); color: var(--canopy); transition: background-color .45s var(--ease), color .45s var(--ease), rotate .5s var(--ease); }
.gtab__icon svg, .chapter__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gtab:hover .gtab__icon { rotate: -8deg; }
.gtab.is-active { color: var(--bark); }
.gtab.is-active .gtab__icon { background: var(--canopy); color: var(--mint); }
.gtab__text { display: grid; gap: 2px; min-width: 0; }
.gtab__text b { font-size: 16.5px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.gtab__text small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.gtab:focus-visible { outline: 2px solid var(--canopy); outline-offset: 2px; }

/* Panels share one cell; the hidden ones stay in the page (until-found) for search and find-in-page */
.guide__panels { display: grid; }
.gpanel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.gpanel[hidden]:not([hidden="until-found"]) { display: none; }
/* An until-found panel keeps its box in the shared grid cell; without this it sits over the active panel and swallows its clicks */
.js .gpanel[hidden] { pointer-events: none; align-self: start; }
/* Without scripts every chapter is simply shown, one category after another */
html:not(.js) .gtabs { display: none; }
html:not(.js) .gpanel { grid-area: auto; }
html:not(.js) .gpanel[hidden] { display: grid; content-visibility: visible; }
html:not(.js) .gpanel + .gpanel { margin-top: 48px; }
.gpanel__media { position: sticky; top: calc(var(--nav-h) + 24px); margin: 0; height: min(660px, calc(100vh - var(--nav-h) - 48px)); min-height: 480px; border-radius: 20px; overflow: hidden; background: var(--pale-sage); isolation: isolate; }
.gpanel__media img { width: 100%; height: 100%; object-fit: cover; }
#gp-woda .gpanel__media img { object-position: 66% 50%; }
.gpanel__media::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(0deg, rgba(8, 28, 23, .82) 0%, rgba(8, 28, 23, .35) 34%, rgba(8, 28, 23, 0) 56%); pointer-events: none; }
.gpanel__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 16px; padding: clamp(20px, 2.2vw, 32px); color: #fff; }
.gpanel__name { display: flex; align-items: center; gap: 14px; font-size: clamp(26px, 2.3vw, 36px); font-weight: 300; line-height: 1.1; letter-spacing: -.03em; }
.gpanel__letter { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: var(--canopy); font-family: var(--mono); font-size: 15px; letter-spacing: 0; }
.gpanel__topics { display: flex; flex-wrap: wrap; gap: 8px; }
.gpanel__topics a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 6px; border-radius: 99px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); font-size: 13.5px; color: #fff; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.gpanel__topics a span { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 4px; border-radius: 99px; background: rgba(255, 255, 255, .16); font-family: var(--mono); font-size: 11px; }
.gpanel__topics a:hover { background: #fff; border-color: #fff; color: var(--canopy); }
.gpanel__topics a:hover span { background: var(--canopy); color: var(--mint); }

/* Chapter cards: icon tile with the number, then the full copy; the tile turns canopy as you point at a card */
.gpanel__list { display: grid; gap: 14px; }
.chapter { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; padding: clamp(22px, 2.4vw, 32px); border: 1px solid rgba(175, 196, 191, .6); border-radius: 18px; background: var(--white); scroll-margin-top: calc(var(--nav-h) + 24px); transition: border-color .4s var(--ease), box-shadow .5s var(--ease); }
.chapter:hover { border-color: var(--sage); box-shadow: 0 26px 50px -38px rgba(16, 31, 30, .4); }
.chapter__badge { display: grid; justify-items: center; align-content: start; gap: 10px; }
.chapter__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--cream); color: var(--canopy); transition: background-color .45s var(--ease), color .45s var(--ease), rotate .5s var(--ease); }
.chapter:hover .chapter__icon { background: var(--canopy); color: var(--mint); rotate: -6deg; }

/* ---------- Guide icons: each line icon draws itself in once (GSAP) ---------- */
.ai { overflow: visible; }
.chapter__num { font-family: var(--mono); font-size: 12px; color: var(--violet); }
.chapter h3 { font-size: clamp(22px, 1.9vw, 28px); font-weight: 400; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); padding-top: 4px; }
.chapter__body > p, .chapter__more p { color: var(--slate); margin-top: 12px; max-width: 68ch; font-size: 16px; line-height: 1.65; }
.chapter__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: #f7f8f5; }
.chapter__list li { display: flex; gap: 10px; font-size: 15px; color: var(--bark); }
.chapter__list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--canopy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.2 2.2 4.8-5' fill='none' stroke='%230fff87' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.js .chapter__more { height: 0; overflow: hidden; }
.chapter__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 18px; }
.chapter__toggle { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px 0 14px; border-radius: 999px; border: 1px solid var(--sage); font-size: 14px; font-weight: 500; color: var(--canopy); transition: background-color .3s, border-color .3s, color .3s; }
.chapter__toggle::before { content: ""; width: 10px; height: 10px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .45s var(--ease); }
.chapter__toggle:hover { background: var(--canopy); border-color: var(--canopy); color: #fff; }
.chapter__toggle[aria-expanded="true"]::before { transform: rotate(135deg); }
html:not(.js) .chapter__toggle { display: none; }
.chapter__link { font-size: 14px; color: var(--slate); border-bottom: 1px solid var(--sage); padding-bottom: 1px; transition: color .3s, border-color .3s; }
.chapter__link::after { content: " →"; }
.chapter__link:hover { color: var(--canopy); border-color: var(--canopy); }

/* ---------- Safety / qualifications ---------- */
.safety__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.safety .h2--xl { font-size: clamp(48px, 6.2vw, 100px); }
.safety__lead { font-size: clamp(20px, 1.9vw, 26px); font-weight: 300; line-height: 1.45; letter-spacing: -.01em; color: var(--ink); max-width: 34ch; margin-top: 28px; }
.creds-list { margin-top: 36px; border-top: 1px solid var(--sage); }
.creds-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--sage); }
/* Safety icons: the tile floats, a mint ring pulses out, a glowing dot orbits; the bolt sparks and the badge tick redraws */
.cred-icon { position: relative; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--canopy); color: var(--mint); animation: credFloat 5s ease-in-out infinite; }
.creds-list li:nth-child(2) .cred-icon { animation-delay: -2.5s; }
.cred-icon svg { position: relative; z-index: 1; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cred-icon::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid var(--mint); opacity: 0; animation: credRing 3.2s var(--ease) infinite; }
.cred-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px rgba(15, 255, 135, .8); animation: credOrbit 6s linear infinite; }
.creds-list li:nth-child(2) .cred-icon::before { animation-delay: -1.6s; }
.creds-list li:nth-child(2) .cred-icon::after { animation-direction: reverse; animation-duration: 7.5s; }
.cred-icon--bolt path { animation: credSpark 2.6s ease-in-out infinite; }
.cred-icon__tick { stroke-dasharray: 8; animation: credTick 3.4s var(--ease) infinite; }
.creds-list li:hover .cred-icon { animation-play-state: paused; }
@keyframes credFloat { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -7px; rotate: -3deg; } }
@keyframes credRing { 0% { scale: 1; opacity: .75; } 100% { scale: 1.55; opacity: 0; } }
@keyframes credOrbit { from { transform: rotate(0deg) translateX(38px); } to { transform: rotate(360deg) translateX(38px); } }
@keyframes credSpark { 0%, 64%, 100% { fill: transparent; } 68%, 76% { fill: var(--mint); } 72% { fill: transparent; } }
@keyframes credTick { 0%, 12% { stroke-dashoffset: 8; } 40%, 82% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -8; } }
.creds-list h3 { font-size: 19px; font-weight: 500; color: var(--ink); }
.creds-list p { color: var(--slate); margin-top: 4px; max-width: 48ch; }
.safety__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.safety__visual { position: relative; padding-bottom: 72px; }

/* ---------- Vista: a wide autumn panorama of the region; the credentials ride on floating chips along its foot ---------- */
.safety { padding-bottom: clamp(48px, 5vw, 72px); }
.vista + .grants { padding-top: clamp(72px, 7.5vw, 112px); }
.vista { padding-inline: clamp(8px, 1.2vw, 16px); }
.vista__frame { position: relative; height: clamp(560px, 44vw, 720px); border-radius: 24px; overflow: hidden; background: var(--canopy); color: #fff; isolation: isolate; }
.vista__media { position: absolute; inset: 0; margin: 0; overflow: hidden; z-index: -2; }
.vista__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 50% 60%; }
.vista__frame::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 28, 23, .74) 0%, rgba(8, 28, 23, .42) 32%, rgba(8, 28, 23, 0) 60%),
              linear-gradient(0deg, rgba(8, 28, 23, .8) 0%, rgba(8, 28, 23, .2) 32%, rgba(8, 28, 23, 0) 50%); }
.vista__copy { position: absolute; left: 0; top: 0; max-width: 680px; padding: clamp(32px, 4.4vw, 72px); }
.vista__copy .eyebrow { color: var(--mint); }
.vista__title { margin-top: 16px; font-size: clamp(34px, 3.7vw, 62px); font-weight: 300; line-height: 1.04; letter-spacing: -.035em; color: #fff; }
.vista__text { margin-top: 20px; max-width: 46ch; font-size: clamp(15.5px, 1.15vw, 17.5px); line-height: 1.6; color: rgba(255, 255, 255, .84); }
.vista__creds { position: absolute; left: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 10px; max-width: min(1080px, 74%); margin: 0; padding: clamp(28px, 4.4vw, 72px); list-style: none; }
/* Credential chips on the panorama */
.vchip { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 6px; border-radius: 99px; background: rgba(255, 255, 255, .11); border: 1px solid rgba(255, 255, 255, .22); font-size: 14px; line-height: 1.2;\1 transition: background-color .35s var(--ease), border-color .35s var(--ease); }
.vchip:hover { background: rgba(255, 255, 255, .2); border-color: rgba(15, 255, 135, .55); }
.vchip__icon { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--canopy); font-size: 12.5px; font-weight: 700; letter-spacing: -.02em; }
.vchip__icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vchip__icon--star svg { fill: currentColor; }
@keyframes vchipFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@keyframes vchipPass { 0%, 9%, 100% { background: var(--mint); scale: 1; } 3%, 6% { background: #fff; scale: 1.12; } }
.safety__photo { width: 76%; margin: 0 0 0 auto; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 3 / 4; }
.safety__photo img { width: 100%; height: 100%; object-fit: cover; }
/* Certificate as a 3D board: the face sits on eight stacked slices (its thickness), the whole board rests
   at a slight 3D angle above its floor shadow; the pointer tilt (--rx/--ry from main.js) rides on top */
.cert-card { position: absolute; left: 0; bottom: 0; width: 60%; display: block; transform-style: preserve-3d; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.cert-card__float { position: relative; display: block; transform-style: preserve-3d; transform: translateY(-10px) rotateX(8deg) rotateY(-12deg) rotateZ(.25deg); }
.cert-card__slab { position: absolute; inset: 0; border-radius: 12px; background: color-mix(in srgb, #e9eee9, #9fb2aa calc(var(--z) * 9%)); transform: translateZ(calc(var(--z) * -1.6px)); }
.cert-card__face { position: relative; display: block; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid rgba(175, 196, 191, .7); transform: translateZ(.5px); }
.cert-card__face img { width: 100%; }
.cert-card__shadow { position: absolute; left: 10%; right: 10%; bottom: -46px; height: 36px; border-radius: 50%; background: radial-gradient(closest-side, rgba(16, 31, 30, .32), transparent); }
@keyframes certFloat { 0%, 100% { transform: translateY(0) rotateX(12deg) rotateY(-18deg) rotateZ(1.5deg); } 50% { transform: translateY(-20px) rotateX(5deg) rotateY(-7deg) rotateZ(-1deg); } }
@keyframes certShadow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.78); opacity: .55; } }
.cert-card__glare { position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .55), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.cert-card:hover .cert-card__glare { opacity: 1; }
.cert-card__label { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; font-size: 14px; font-weight: 500; color: var(--bark); border-top: 1px solid var(--pale-sage); }
.cert-card__label svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }



/* ---------- Reviews wall ---------- */
.reviews { overflow: hidden; }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.reviews__score { display: flex; align-items: center; gap: 20px; padding: 18px 26px 18px 28px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--sage); transition: border-color .4s var(--ease); }
.reviews__score:hover { border-color: var(--canopy); }
.reviews__num { font-size: 76px; font-weight: 200; letter-spacing: -.05em; line-height: 1; color: var(--canopy); }
.reviews__meta { display: grid; gap: 2px; font-size: 14.5px; color: var(--slate); }
.reviews__meta b { color: var(--bark); font-weight: 500; }
.reviews__stars { font-size: 20px; letter-spacing: 2px; color: #f5b301; }
.reviews__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 500; color: var(--canopy); }
.reviews__cta svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.reviews__topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.reviews__topics li { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--sage); font-size: 14px; color: var(--bark); }
.reviews__topics b { margin-left: 6px; font-weight: 500; color: var(--violet); }
.reviews__rows { display: grid; gap: 16px; margin-top: clamp(36px, 4vw, 56px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reviews__row { overflow: hidden; }
.reviews__track { display: flex; gap: 16px; width: max-content; padding-right: 16px; animation: reviewsScroll 80s linear infinite; }
.reviews__row--reverse .reviews__track { animation-direction: reverse; animation-duration: 90s; }
.reviews__row:hover .reviews__track { animation-play-state: paused; }
@keyframes reviewsScroll { to { transform: translateX(-50%); } }
.review { flex: none; width: 400px; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--sage); transition: border-color .4s var(--ease), transform .5s var(--ease); }
.review:hover { border-color: var(--canopy); transform: translateY(-4px); }
.review__stars { color: #f5b301; letter-spacing: 2px; font-size: 15px; }
.review blockquote { flex: 1; font-size: 16.5px; line-height: 1.55; font-weight: 300; color: var(--ink); }
.review__who { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--pale-sage); font-size: 13.5px; color: var(--muted); }
.review__who b { color: var(--bark); font-weight: 500; font-size: 15px; }
.reviews__note { margin-top: 20px; text-align: center; font-size: 12.5px; color: var(--muted); }

/* ---------- About / founder ---------- */
/* About: a letter from the owner. His real portrait opens as a pill inside the heading, the quote lights up word by
   word, the live copy sits on a letter card, and a giant outlined quote mark drifts behind (transforms only). */
.about { position: relative; overflow: clip; isolation: isolate; }
.about.section--dark { background: radial-gradient(70% 55% at 50% 0%, rgba(15, 255, 135, .12), rgba(15, 255, 135, 0) 70%), var(--canopy); }
.about__mark { position: absolute; top: clamp(60px, 9vw, 140px); left: max(12px, calc(50% - 680px)); z-index: 0; font-size: clamp(260px, 30vw, 480px); line-height: .8; font-weight: 300; color: transparent; -webkit-text-stroke: 1.5px rgba(15, 255, 135, .2); pointer-events: none; user-select: none; }
.about__letter { position: relative; z-index: 1; text-align: center; }
.about__title { margin-top: 4px; font-size: clamp(38px, 5.2vw, 80px); font-weight: 300; line-height: 1.06; letter-spacing: -.035em; color: #fff; text-wrap: balance; }
/* The only real photo of the owner is a 104 px square crop of his face, so the frame is round and shows all of it */
.about__pill { display: inline-block; width: 1em; height: 1em; margin: 0 .1em; padding: .05em; vertical-align: -.2em; border-radius: 50%; border: 2px solid var(--mint); background: var(--canopy); overflow: hidden; }
.about__pill img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 50%; }
.about__quote { max-width: 28ch; margin: clamp(28px, 3vw, 44px) auto 0; font-size: clamp(24px, 2.7vw, 40px); font-weight: 300; line-height: 1.25; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.about .is-scrub .w { opacity: .26; }
.about__sign { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 14px; text-align: left; color: rgba(255, 255, 255, .62); }
.about__sign::before { content: ""; width: 48px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(15, 255, 135, .2), var(--mint)); }
.about__sign b { display: block; font-size: 16px; font-weight: 500; color: #fff; }
.about__card { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(56px, 7vw, 104px); padding: clamp(28px, 4vw, 56px); border-radius: var(--r-card); background: rgba(255, 255, 255, .05); border: 1px solid rgba(175, 196, 191, .2); }
.about__lede { font-size: clamp(20px, 1.9vw, 26px); font-weight: 300; line-height: 1.45; letter-spacing: -.01em; color: #fff; }
.about__side { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.about__side p { color: rgba(255, 255, 255, .7); font-size: 16.5px; }
.about__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- CTA video ---------- */
.cta__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: 0; transition: opacity 1.4s var(--ease); }
.cta__video.is-ready { opacity: .92; }

/* Media reveal: image starts slightly inset and zoomed, opens up on scroll (JS) */
[data-reveal-media] img { will-change: transform; }

@media (max-width: 1024px) {
  .vista__frame { height: auto; padding-bottom: 8px; }
  .vista__media, .vista__frame::before { inset: 0 0 auto; height: min(640px, 128vw); }
  .vista__media img { object-position: 78% 60%; }
  .vista__frame::before { background: linear-gradient(180deg, rgba(8, 28, 23, .78) 0%, rgba(8, 28, 23, .3) 42%, rgba(16, 67, 54, 0) 62%, var(--canopy) 100%); }
  .vista__copy { position: relative; max-width: none; padding: 36px 24px 0; }
  .vista__creds { position: relative; max-width: none; margin-top: min(300px, 62vw); padding: 0 16px 16px; gap: 8px; }
  .hero__copy { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 22px; }
  .hero__side { padding-top: 0; }
  .hero__media { aspect-ratio: 16 / 10; }
  .hero__specs { display: none; }
  .stage { height: auto; }
  .stage__sticky { position: relative; top: auto; height: auto; min-height: 0; padding: 150px 0 140px; }
  .fl { width: min(24vw, 150px) !important; }
  .fl:nth-child(even) .fl__in { animation-delay: -3s; }
  .fl:nth-child(2), .fl:nth-child(5) { display: none; }
  .fl:nth-child(1), .fl:nth-child(4) { top: 0 !important; }
  .fl:nth-child(3), .fl:nth-child(6) { top: auto !important; bottom: 0; }
  .sb__main { grid-column: 1 / -1; grid-row: auto; }
  .sb__photo { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; min-height: 0; }
  .sb__team { grid-column: 1 / 7; grid-row: auto; }
  .sb__flow { grid-column: 7 / 13; grid-row: auto; }
  .svc { --row: 72px; --open-h: 500px; flex-direction: column; height: calc(8 * var(--row) + var(--open-h) + 64px); }
  .svc__panel.is-active { flex-grow: calc((var(--open-h) / var(--row)) * 1); }
  .svc__img { top: 50%; left: 0; width: 100%; height: var(--open-h); translate: 0 -50%; }
  .svc__rail { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 0 20px; }
  .svc__rail em { writing-mode: horizontal-tb; rotate: none; font-size: 19px; }
  .svc__rail::after { content: "+"; margin-left: auto; font-size: 24px; font-weight: 300; line-height: 1; }
  .svc__body { width: 100%; padding: 22px 20px; }
  .statement__spread { grid-template-columns: minmax(0, 1fr); }
  .statement__media { min-height: 0; aspect-ratio: 16 / 10; }
  .statement__more { max-width: 60ch; }
  .gtabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gpanel { grid-template-columns: minmax(0, 1fr); }
  .gpanel__media { position: relative; top: auto; height: clamp(300px, 56vw, 460px); min-height: 0; }
  .safety__grid, .about__card { grid-template-columns: 1fr; }
  .reviews__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .vista__frame { border-radius: 20px; }
  .vista__copy { padding: 30px 20px 0; }
  .vista__creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vchip { height: auto; min-height: 54px; padding: 8px 10px 8px 8px; border-radius: 14px; gap: 9px; font-size: 12.5px; white-space: normal; }
  .vchip__icon { width: 28px; height: 28px; font-size: 11.5px; }
  .vchip__icon svg { width: 15px; height: 15px; }
  .hero__eyebrow { gap: 10px; }
  .h2--xl { font-size: clamp(52px, 17vw, 84px); }
  .contact-trio { grid-template-columns: 1fr; }
  .gtab { min-height: 64px; padding: 10px; gap: 10px; }
  .gtab__icon { width: 40px; height: 40px; border-radius: 12px; }
  .gtab__icon svg { width: 20px; height: 20px; }
  .gtab__text b { font-size: 14px; }
  .gtab__text small { font-size: 11px; }
  .gpanel__name { font-size: 24px; }
  .gpanel__topics a { height: 32px; font-size: 12.5px; }
  .chapter { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; }
  .chapter__badge { grid-auto-flow: column; justify-content: start; align-items: center; gap: 12px; }
  .chapter__icon { width: 46px; height: 46px; border-radius: 13px; }
  .chapter__icon svg { width: 22px; height: 22px; }
  .chapter h3 { padding-top: 0; }
  .chapter__list { grid-template-columns: 1fr; padding: 14px; }
  .safety__photo { width: 84%; }
  .cert-card { width: 72%; }
  .reviews__num { font-size: 56px; }
  .review { width: 300px; padding: 20px; }
  .review blockquote { font-size: 15.5px; }
  .services__count { font-size: 12px; }
  .svc { --row: 64px; --open-h: 520px; }
  .svc__rail em { font-size: 17px; }
  .svc__title { font-size: 27px; }
  .svc__text { font-size: 15px; }
  .svc__sub a { padding: 5px 10px; font-size: 12.5px; }
  .statement__head { flex-direction: column; align-items: flex-start; }
  .statement__text { font-size: 19px; }
  .sb__team, .sb__flow { grid-column: 1 / -1; }
  .sb__photo { aspect-ratio: 4 / 3; }
  .statement__media { aspect-ratio: 4 / 3; }
  .statement__badge { left: 10px; bottom: 10px; gap: 10px; padding: 8px 14px 8px 8px; font-size: 12.5px; }
  .statement__badge-icons svg { width: 30px; height: 30px; padding: 6px; }
  .statement__badge-icons svg + svg { margin-left: -7px; }
  .statement__badge-text b { font-size: 14px; }
  .srow { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; padding: 18px 0; }
  .srow__value { flex-wrap: wrap; row-gap: 8px; font-size: 46px; }
  .srow__value small { font-size: 15px; }
  .srow__value .srow__stars { flex-basis: 100%; font-size: 12px; }
  .srow__note { font-size: 14px; }
}

/* ---------- Reveal defaults (JS adds .js on <html>) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js [data-hero-in] { opacity: 0; }
.js [data-split] { visibility: hidden; }
.js [data-split].is-split { visibility: visible; }
/* The line masks clip the rising text; tight tracking lets the last glyph overhang its box, so give the clip a
   little room on the right without changing the layout */
.split-mask-line-mask { padding-right: .3em; margin-right: -.3em; }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .nav__phone-text { display: none; }
  .nav__phone { padding-right: 4px; }
  .nav__inner { gap: 20px; }
  .nav__link, .nav__trigger { padding-inline: 10px; }
}
@media (max-width: 1280px) {
  .nav__menu { display: none; }
  .nav__burger { display: inline-block; }
  .nav__inner { justify-content: space-between; }
  .nav__actions { margin-left: auto; }
}
@media (max-width: 1024px) {
  .system__grid, .grants__grid, .why__grid, .faq__grid { grid-template-columns: 1fr; }
  .grants__head { grid-template-columns: 1fr; }
  .gx { grid-template-columns: 1fr 1fr; }
  .gx__feature { grid-column: 1 / -1; min-height: 360px; }
  .system__grid { gap: 8px; }
  .system__visual { order: -1; }
  .system__sticky { position: static; }
  .system__steps { display: flex; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none; }
  .system__steps::-webkit-scrollbar { display: none; }
  .system__step { flex: 0 0 min(84%, 440px); scroll-snap-align: start; padding: 22px 22px 24px; border: 1px solid var(--pale-sage); border-radius: var(--r-card); background: rgba(255, 255, 255, .72); opacity: .6; }
  .system__step::before { display: none; }
  .system__step.is-active { border-color: var(--canopy); }
  .system__step h3 { font-size: 24px; }
  .system__step p:last-child { font-size: 15.5px; }
  .faq__grid > div:first-child { position: static; }
  .cta__grid { grid-template-columns: 1fr; }
  .cta__bg::after { background: linear-gradient(180deg, rgba(16, 67, 54, .78) 0%, rgba(16, 67, 54, .95) 45%); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-head--center { align-items: center; }
}
@media (max-width: 760px) {
  :root { --nav-h: 68px; }
  .nav { padding-top: 8px; }
  .nav__inner { padding: 0 6px 0 14px; border-radius: 15px; }
  .nav__logo { width: 128px; }
  .nav__cta { display: none; }
  .nav__phone { padding: 0; height: 44px; }
  .nav__phone-icon { width: 44px; height: 44px; border-radius: 12px; }
  .announce__text { flex-basis: 100%; order: 2; }
  .announce__tag { order: 0; }
  .announce__more { order: 1; }
  .announce { font-size: 12.5px; }
  .hero__stage { padding: 0 8px 8px; }
  .hero__wash { inset: 0 8px 8px; }
  .hero__copy { padding: 36px 12px 24px; }
  .hero__actions { grid-template-columns: 1fr; }
  .hero__chips { grid-template-columns: 1fr; }
  .about__mark { display: none; }
  .callbar { padding: 0; gap: 0; background: none; border: 0; box-shadow: none; }
  .callbar__text { display: none; }
  .callbar__ring { width: 58px; height: 58px; box-shadow: 0 12px 28px -12px rgba(16, 31, 30, .55); }
  .gx { grid-template-columns: 1fr; }
  .gx__squares { grid-template-columns: repeat(6, 10px); gap: 6px; }
  .gx__squares i { width: 10px; height: 10px; }
  .hero__media { width: calc(100% - 16px); aspect-ratio: 4 / 5; margin-bottom: 8px; }
  .hero__overlay-title { font-size: 30px; }
  .node em { font-size: 9.5px; padding: 4px 8px; }
  .node:not(.is-on) em { display: none; }
  .node--m-l { flex-direction: row-reverse; gap: 8px; transform: translate(calc(-100% + 7px), -50%); }
  .node--m-r { flex-direction: row; transform: translate(-7px, -50%); }
  .announce__link { gap: 2px 8px; padding-block: 9px; }
  .process__grid { grid-template-columns: minmax(0, 1fr); }
  .process__foot { flex-direction: column; align-items: stretch; }
  .review-block { grid-template-columns: auto 1fr; }
  .review-block__cta { grid-column: 1 / -1; }
  .regionmap { height: auto; display: flex; flex-direction: column; }
  .regionmap__view { position: relative; inset: auto; height: 420px; order: -1; --ar: calc(342 / 420); }
  .regionmap__stage { aspect-ratio: 342 / 420; }
  .regionmap__plane { transform-origin: 48% 53%; }
  .regionmap .mk { left: var(--mx); top: var(--my); }
  .regionmap .mk--m-out, .mk__suffix { display: none; }
  .regionmap__radar { left: 48.45%; top: 52.73%; width: 106%; margin: -53% 0 0 -53%; }
  .regionmap__credit { position: static; order: 0; align-self: flex-end; margin: -28px 8px 6px 0; position: relative; }
  .regionmap__shade { display: none; }
  .regionmap__legend { position: static; width: auto; border: 0; border-top: 1px solid var(--pale-sage); border-radius: 0; box-shadow: none; }
  .mk:not(.mk--hub) .mk__label { display: none; }
  .mk--hub .mk__label { font-size: 11px; padding: 5px 10px; }
  .contacts { grid-template-columns: 1fr; }
  .posts__layout { grid-template-columns: minmax(0, 1fr); }
  .post--feature .post__link { min-height: 440px; }
  .post--row .post__link { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 8px; }
  .post--row .post__media { aspect-ratio: 1; }
  .footer__cta { justify-content: flex-start; }
  .form__row { grid-template-columns: 1fr; }
  .cta { padding: 0 8px; }
  .cta__direct li { grid-template-columns: 1fr; gap: 2px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__contact-grid { grid-template-columns: 1fr; }
  .footer__top { row-gap: 36px; }
  .footer__cta { display: grid; grid-template-columns: 1fr; padding-top: 24px; }
  .footer__cta .btn { justify-content: center; }
  .footer__contact-foot { flex-wrap: wrap; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Realizacje: the client's own photos as a calm bento (tall = 2 rows, wide = 2 columns) ---------- */
.rgal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(190px, 16vw, 240px); grid-auto-flow: dense; gap: 12px; }
.rgal__item { position: relative; margin: 0; border-radius: var(--r-card); overflow: hidden; background: var(--pale-sage); }
.rgal__item--tall { grid-row: span 2; }
.rgal__item--wide { grid-column: span 2; }
.rgal__item img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.rgal__item figcaption { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--bark); }
@media (hover: hover) and (pointer: fine) { .rgal__item:hover img { scale: 1.04; } }
@media (max-width: 760px) {
  .rgal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 46vw; gap: 8px; }
  .rgal__item--tall, .rgal__item--wide { grid-row: auto; grid-column: auto; }
  .rgal__item figcaption { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 5px 9px; border-radius: 10px; font-size: 11.5px; }
}

/* ---------- Case study (PREVIEW ONLY: remove with the section before launch) ---------- */
.case { padding: clamp(80px, 9vw, 140px) 0; background: var(--cream); border-top: 1px solid var(--sage); }
.case__title { max-width: 20ch; }
.case__compare { position: relative; margin: 0; aspect-ratio: 1440 / 900; border-radius: var(--r-card); overflow: hidden; background: var(--white); box-shadow: 0 40px 80px -48px rgba(16, 31, 30, .45); border: 1px solid rgba(175, 196, 191, .6); }
.case__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.case__tag { position: absolute; top: 16px; z-index: 2; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.case__tag--before { left: 16px; background: var(--white); color: var(--slate); box-shadow: 0 6px 18px -8px rgba(16, 31, 30, .4); }
.case__tag--after { right: 16px; background: var(--canopy); color: var(--mint); }
.case__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 0 1px rgba(16, 31, 30, .12); pointer-events: none; }
.case__handle i { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--canopy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230fff87' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 24px no-repeat; box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 14px 30px -10px rgba(16, 31, 30, .5); }
.case__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.case__compare:has(.case__range:focus-visible) .case__handle i { box-shadow: 0 0 0 4px var(--mint), 0 14px 30px -10px rgba(16, 31, 30, .5); }
.case__hint { margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: center; }
.case__sub { margin: clamp(56px, 6vw, 88px) 0 24px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 300; letter-spacing: -.02em; color: var(--ink); }
.case__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.case-stat { padding: 24px; border-radius: 16px; background: var(--white); border: 1px solid rgba(175, 196, 191, .5); }
.case-stat__label { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.case-stat__vals { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: 14px; }
.case-stat__vals s { font-size: 17px; color: var(--muted); text-decoration-color: rgba(124, 24, 211, .55); }
.case-stat__vals span { color: var(--sage); }
.case-stat__vals b { font-size: clamp(26px, 2.4vw, 34px); font-weight: 300; letter-spacing: -.02em; line-height: 1.1; color: var(--canopy); }
.case-stat__note { margin-top: 10px; font-size: 14.5px; color: var(--slate); }
.case__whys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.case-why { display: grid; align-content: start; gap: 12px; padding: 26px; border-radius: 16px; background: var(--white); border: 1px solid rgba(175, 196, 191, .5); }
.case-why__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--canopy); color: var(--mint); font-family: var(--mono); font-size: 13px; }
.case-why h3 { font-size: 21px; font-weight: 400; letter-spacing: -.01em; color: var(--ink); }
.case-why p { font-size: 15px; line-height: 1.55; color: var(--slate); }
.case-why p b { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.case-why__before { padding: 12px 14px; border-radius: 10px; background: #f6f5f2; }
.case-why__before b { color: var(--muted); }
.case-why__after { padding: 12px 14px; border-radius: 10px; background: rgba(15, 255, 135, .1); color: var(--bark); }
.case-why__after b { color: var(--canopy); }
.case__phones { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 64px); margin-top: clamp(64px, 7vw, 104px); padding: clamp(28px, 4vw, 56px); border-radius: var(--r-card); background: var(--canopy); color: #fff; }
.case-phone { margin: 0; text-align: center; }
.case-phone__frame { max-width: 260px; margin: 0 auto; padding: 8px; border-radius: 34px; background: #0b1b17; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.case-phone__frame img { width: 100%; height: auto; border-radius: 27px; }
.case-phone figcaption { margin-top: 14px; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.case-phone figcaption b { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.case-phone--new figcaption b { color: var(--mint); }
.case-phones__copy h3 { margin-top: 4px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 300; line-height: 1.2; letter-spacing: -.02em; }
.case-phones__copy p:last-child { margin-top: 14px; color: rgba(255, 255, 255, .72); }
.case-phones__copy .eyebrow { color: var(--mint); }
.case__method { max-width: 80ch; margin: 32px auto 0; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 1024px) {
  .case__stats, .case__whys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case__phones { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .case-phones__copy { grid-column: 1 / -1; grid-row: 1; }
}
@media (max-width: 760px) {
  .case__stats, .case__whys { grid-template-columns: minmax(0, 1fr); }
  .case__compare { aspect-ratio: 4 / 3; }
  .case__tag { top: 10px; }
  .case__tag--before { left: 10px; }
  .case__tag--after { right: 10px; }
  .case-phone__frame { padding: 5px; border-radius: 24px; }
  .case-phone__frame img { border-radius: 20px; }
}
