/* =====================================================================
   FinishPro Malta — v2 "Atelier"
   Limestone ground, navy ink, the logo's blue + yellow used sparingly.
   Jost bold (headlines) · Jost (text) · IBM Plex Mono (labels)
   ===================================================================== */
:root {
  --lime: #F1ECE3;        /* Maltese limestone: page ground */
  --plaster: #F8F5EF;     /* raised surface */
  --stone: #E2DACC;       /* hairlines, image placeholders */
  --stone-2: #CBBFAC;     /* stronger hairlines */
  --ink: #111833;         /* text */
  --ink-2: #4E536A;       /* secondary text (6.4:1 on lime) */
  --night: #0D1330;       /* dark bands */
  --on-night: #EEE8DD;
  --on-night-2: #B9B8C4;  /* secondary on night (9:1) */
  --cobalt: #1E3FA5;      /* brand blue: emphasis on light */
  --yellow: #FFC414;      /* brand yellow: marks, progress, emphasis on dark. Never text on light. */
  --sans: "Jost", "Avenir Next", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --g: clamp(20px, 4vw, 64px);
  --nav: 76px;
  --fs-hero: clamp(2.9rem, 8vw, 6.6rem);
  --fs-h2: clamp(2.2rem, 4.4vw, 4.8rem);
  --fs-h3: clamp(1.6rem, 2.3vw, 2.4rem);
  --fs-stmt: clamp(1.4rem, 2.4vw, 2.5rem);
  --fs-lede: clamp(1.05rem, 1.2vw, 1.2rem);
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--lime); color: var(--ink);
  font: 400 clamp(1rem, 0.96rem + 0.2vw, 1.125rem)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, ol, ul, dl, dd, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 4px; }
.night :focus-visible { outline-color: var(--yellow); }
::selection { background: var(--ink); color: var(--lime); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 14px 18px; background: var(--ink); color: var(--lime);
  font: 500 0.8rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; transition: top 0.25s var(--ease); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1600px; margin: 0 auto; padding-left: var(--g); padding-right: var(--g); }
.mono { font-family: var(--mono); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- type ---------- */
.display { font-family: var(--sans); font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
.display em { font-style: normal; font-weight: 700; color: inherit; }
/* keyword underline = the Ukrainian flag in the logo's colours: blue stripe over yellow stripe.
   Stripes are placed from the bottom of Jost's content box (descent ≈ 0.375em), so they sit just under the
   baseline at any size. --u is the drawn length (JS animates 0% → 100%; stays 100% without JS / reduced motion). */
.display em, .statement__text em {
  --u: 100%; --st: 0.065em; --lift: 0.2em;
  background-image: linear-gradient(var(--cobalt), var(--cobalt)), linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-size: var(--u) var(--st), var(--u) var(--st);
  background-position: 0 calc(100% - var(--lift) - var(--st)), 0 calc(100% - var(--lift));
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.statement__text em { --st: 0.07em; --lift: 0.14em; }
/* give the line masks (SplitText / hero .l) room below the letters so the stripes aren't clipped */
[data-split] > div { padding-bottom: 0.16em; margin-bottom: -0.16em; }
.night .display em { background-image: linear-gradient(#3F66E0, #3F66E0), linear-gradient(var(--yellow), var(--yellow)); } /* lighter blue so the stripe shows on navy */
.h2 { font-size: var(--fs-h2); }
.lede { font-size: var(--fs-lede); line-height: 1.6; color: var(--ink-2); max-width: 34rem; }
.night { background: var(--night); color: var(--on-night); }
.night .lede, .night p { color: var(--on-night-2); }

.kicker { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(20px, 3vh, 32px);
  font: 400 0.75rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.kicker__n { color: var(--cobalt); }
.night .kicker { color: var(--on-night-2); }
.night .kicker__n { color: var(--yellow); }
.kicker__rule { width: 48px; height: 1px; background: currentColor; transform-origin: left center; }

/* ---------- buttons + links ---------- */
.roll { position: relative; display: block; overflow: hidden; height: 1.25em; line-height: 1.25em; }
.roll > span { display: block; transition: transform 0.55s var(--ease); }
.roll > span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; white-space: nowrap; }
.arrow { width: 12px; height: 12px; flex: none; transition: transform 0.45s var(--ease); }

/* ACTION BUTTONS — Ukrainian flag in the logo's colours: blue gradient body, yellow stripe along the base.
   On hover the yellow rises and fills the button (text turns ink). A straight blue→yellow gradient was
   avoided on purpose: the mix goes muddy green in the middle and no text colour reads across it. */
:root { --flag-blue: linear-gradient(135deg, #2D58D1 0%, var(--cobalt) 52%, #172F82 100%); }
/* slim flag stripe (option A): blue body with the text, a 6px yellow stripe along the base. Outlined buttons carry
   no yellow (a half-yellow outline read as a mistake). Every button, outlined too, lifts its label by half the
   stripe (--btn-lift), so labels line up across a pair and both buttons stay the same height. */
.btn { --band: 6px; --btn-lift: calc(var(--band) / 2); position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 28px var(--btn-lift);
  background: linear-gradient(to top, var(--yellow) var(--band), transparent var(--band)), var(--flag-blue); color: #fff; font: 500 0.82rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform 0.16s ease-out, color 0.35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--yellow);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.5s var(--ease); }
.btn:active { transform: scale(0.97); }
.btn--ghost { background: transparent; color: var(--cobalt); box-shadow: inset 0 0 0 1.5px var(--cobalt); }
.btn--sm { min-height: 46px; padding: 0 18px var(--btn-lift); font-size: 0.74rem; }
.night .btn { background: linear-gradient(to top, var(--yellow) var(--band), transparent var(--band)), var(--flag-blue); color: #fff; }
.night .btn--ghost { background: transparent; color: var(--on-night); box-shadow: inset 0 0 0 1.5px rgba(238, 232, 221, 0.5); }
.magnet { display: inline-flex; align-items: center; gap: 14px; }

.tlink { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 500 0.82rem/1 var(--sans); letter-spacing: 0.12em;
  text-transform: uppercase; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat; }
.tlink--plain { font: inherit; letter-spacing: inherit; text-transform: none; min-height: 0; padding: 4px 0;
  background-position: 0 100%; }
@keyframes redraw {
  0% { background-size: 100% 1px; background-position: 100% calc(100% - 10px); }
  45% { background-size: 0% 1px; background-position: 100% calc(100% - 10px); }
  46% { background-size: 0% 1px; background-position: 0 calc(100% - 10px); }
  100% { background-size: 100% 1px; background-position: 0 calc(100% - 10px); }
}
@keyframes redraw-plain {
  0% { background-size: 100% 1px; background-position: 100% 100%; }
  45% { background-size: 0% 1px; background-position: 100% 100%; }
  46% { background-size: 0% 1px; background-position: 0 100%; }
  100% { background-size: 100% 1px; background-position: 0 100%; }
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
  .btn:hover, .btn:focus-visible { color: var(--ink); }
  .btn:hover .roll > span, .tlink:hover .roll > span, .wa-cta:hover .roll > span { transform: translateY(-100%); }
  .btn:hover .arrow, .tlink:hover .arrow { transform: translate(3px, -3px); }
  .tlink:hover { animation: redraw 0.9s var(--ease); }
  .tlink--plain:hover { animation: redraw-plain 0.9s var(--ease); }
}

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 70; height: var(--nav);
  transition: transform 0.5s var(--ease), background-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease; }
.nav.is-scrolled { background: color-mix(in srgb, var(--lime) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--stone); }
.nav.is-hidden { transform: translateY(-101%); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { display: inline-flex; align-items: center; min-height: 44px; }
.nav__logo img { height: 36px; width: auto; }
@media (min-width: 1000px) { .nav__logo img { height: 44px; } }
.nav__links { display: none; gap: clamp(20px, 2.4vw, 40px); }
.nav__link { position: relative; padding: 12px 0; font-size: 0.95rem; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right center; transition: transform 0.5s var(--ease); }
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
.nav__end { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px;
  font: 400 0.72rem var(--mono); letter-spacing: 0.12em; box-shadow: inset 0 0 0 1px var(--stone-2); transition: background-color 0.25s ease; }
.lang:hover { background: var(--plaster); }
.nav__call { display: none; }
.menu-btn { display: none; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px;
  font: 400 0.75rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.js .menu-btn { display: inline-flex; }
.menu-btn__bars { position: relative; width: 22px; height: 10px; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.menu-btn__bars::before { top: 0; }
.menu-btn__bars::after { top: 8px; }
.menu-open .menu-btn__bars::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-btn__bars::after { top: 4px; transform: rotate(-45deg); }
.menu-open .nav { background: transparent; box-shadow: none; color: var(--on-night); -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .nav .lang { box-shadow: inset 0 0 0 1px rgba(238, 232, 221, 0.4); }
.menu-open .nav .lang:hover { background: transparent; }
@media (min-width: 640px) { .nav__call { display: inline-flex; } }
@media (min-width: 1000px) {
  .nav__links { display: flex; }
  .js .menu-btn { display: none; }
}

/* ---------- menu overlay (phones/tablets) ---------- */
.menu { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav) + 32px) 0 calc(28px + env(safe-area-inset-bottom, 0px));
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 0.8s var(--ease-io), visibility 0s linear 0.8s; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.8s var(--ease-io), visibility 0s; }
.menu__links li { overflow: hidden; border-top: 1px solid rgba(238, 232, 221, 0.14); }
.menu__links li:last-child { border-bottom: 1px solid rgba(238, 232, 221, 0.14); }
.menu__links a { display: flex; align-items: baseline; gap: 18px; padding: 10px 0; color: var(--on-night);
  font: 700 clamp(2rem, 9vw, 3.2rem)/1.1 var(--sans); letter-spacing: -0.03em;
  transform: translateY(105%); transition: transform 0.8s var(--ease); }
.menu__links a .mono { color: var(--yellow); font-size: 0.7rem; }
.menu.is-open .menu__links a { transform: none; transition-delay: calc(0.25s + var(--i) * 0.06s); }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.8s var(--ease); }
.menu.is-open .menu__foot { opacity: 1; transform: none; transition-delay: 0.55s; }
.menu__hours { width: 100%; margin-top: 8px; color: var(--on-night-2); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--lime); }
.hero__head { position: relative; z-index: 1; padding-top: calc(var(--nav) + clamp(12px, 4vh, 48px)); }
.hero__grid { display: grid; gap: 28px; }
.hero__kicker { display: flex; align-items: center; gap: 14px; color: var(--ink-2); margin-bottom: clamp(14px, 2.4vh, 26px); }
.hero__kicker .kicker__rule { flex: none; color: var(--cobalt); }
@media (max-width: 599px) { .hero__kicker { gap: 12px; font-size: 0.68rem; letter-spacing: 0.1em; } .hero__kicker .kicker__rule { display: none; } }
.hero__main { container-type: inline-size; }
/* never wider than its column: --fit = the widest line in em (set per language in make.py; Ukrainian words are longer) */
.hero__title { font-size: var(--fs-hero); font-size: min(var(--fs-hero), calc(100cqi / var(--fit, 5))); letter-spacing: -0.04em; line-height: 0.95; }   /* first value = fallback where cqi is unknown */
.hero__title .l { display: block; overflow: hidden; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.hero__title .l > span { display: block; }
.hero__side .lede { margin-bottom: 26px; max-width: 26rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
/* the offer under the buttons: yellow price tag + "free visit first / clear price" on two lines */
.hero__offer { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; margin-top: clamp(14px, 2.2vh, 22px); padding: 8px 18px 8px 8px;
  background: var(--plaster); box-shadow: inset 0 0 0 1px var(--stone-2); }
.hero__offer-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; background: var(--yellow); color: var(--ink); }
.hero__offer-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hero__offer-t { display: grid; gap: 1px; font-size: 0.9rem; line-height: 1.3; color: var(--ink-2); }
.hero__offer-t b { font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em; color: var(--ink); }
.hero__text { display: grid; gap: 28px; }
/* the four numbers: one joined bar of cells (each cell draws its own 1px outline; the 1px gap makes the seams single) */
.hero__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 1px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px; background: var(--plaster); box-shadow: 0 0 0 1px var(--stone-2); }
.stat__n { font: 700 clamp(1.8rem, 2.4vw, 2.6rem)/1 var(--sans); letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat__n::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 3px; background: var(--yellow); vertical-align: 0.1em; }
.stat__l { font-size: 0.82rem; line-height: 1.3; color: var(--ink-2); }
.hero__slot { display: none; }
/* desktop: split hero — text left, the film in a tall frame right (the frame's clip-path is fitted to .hero__slot by JS) */
@media (min-width: 1000px) {
  .hero__head { height: 100%; padding-top: calc(var(--nav) + 16px); padding-bottom: var(--g); }
  .hero__grid { height: 100%; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 96px); align-items: stretch; }
  /* left column spans the frame's full height: text group centred in the space, facts row on the frame's bottom edge */
  .hero__text { display: flex; flex-direction: column; gap: clamp(20px, 3vh, 36px); }
  .hero__main { margin-top: auto; }
  .hero__side { margin-bottom: auto; }
  .hero__title { font-size: min(clamp(3rem, 6vw, 9rem), 14vh); font-size: min(clamp(3rem, 7.4vw, 9rem), 14vh, calc(100cqi / var(--fit, 5))); }
  /* the lede grows a little on tall screens, where the column has height to spare */
  .hero__side .lede { font-size: max(clamp(1.05rem, 1.25vw, 1.3rem), min(1.5rem, 2.2vh)); }
  .hero__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { padding: clamp(12px, 2.2vh, 26px) clamp(12px, 1.1vw, 20px); }
  .stat__n { font-size: max(clamp(1.8rem, 2.4vw, 2.6rem), min(3.2rem, 4.6vh)); }
  .stat__l { font-size: max(0.82rem, min(0.95rem, 1.45vh)); }
  .hero__side .lede { max-width: 30rem; }
  .hero__slot { display: block; align-self: stretch; }
}

.hero__frame { position: absolute; inset: 0; z-index: 2; margin: 0; overflow: hidden; background: var(--night);
  clip-path: inset(calc(var(--nav) + 16px) var(--g) var(--g) 52%); }   /* no-JS fallback ≈ the right-hand slot */
.hero__media { position: absolute; inset: 0; transform-origin: 50% 60%; }
.hero__media img, .hero__media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media .final { opacity: 0; }
.hero__media canvas { opacity: 0; transition: opacity 0.4s ease; }
.hero__media canvas.is-ready { opacity: 1; }
.hero__grain { position: absolute; inset: -10%; background: url(/assets/grain.png) repeat; background-size: 180px; opacity: 0.07;
  mix-blend-mode: overlay; pointer-events: none; }
.hero__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(13, 19, 48, 0.62) 0%, rgba(13, 19, 48, 0.12) 28%, rgba(13, 19, 48, 0) 45%); }
.hero__cover { position: absolute; inset: 0; background: var(--lime); transform: scaleY(0); transform-origin: 50% 0; pointer-events: none; }
.hero__hint { position: absolute; left: calc(var(--wl, 52%) + 26px); bottom: calc(var(--wb, var(--g)) + 22px); display: flex; align-items: center; gap: 14px;
  color: rgba(255, 255, 255, 0.88); font-size: 0.7rem; }
@media (max-width: 1279px) { .hero__hint { display: none; } }
.hint__line { position: relative; width: 1px; height: 34px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.hint__line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--yellow);
  animation: hint 2.2s var(--ease-io) infinite; }
@keyframes hint { 0% { transform: translateY(-110%); } 60%, 100% { transform: translateY(260%); } }
.meter { position: absolute; right: calc(var(--wr, var(--g)) + 26px); bottom: calc(var(--wb, var(--g)) + 22px); display: grid; grid-template-columns: auto auto; column-gap: 18px; row-gap: 10px;
  align-items: baseline; color: #fff; }
.meter__l { font: 400 0.7rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.meter__v { font: 500 clamp(1.6rem, 2.2vw, 2.2rem)/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; text-align: right; }
.meter__bar { grid-column: 1 / -1; position: relative; width: 180px; height: 2px; background: rgba(255, 255, 255, 0.28); justify-self: end; }
.meter__fill { position: absolute; inset: 0; background: var(--yellow); transform: scaleX(0); transform-origin: left center; }
.meter.is-done .meter__l { color: var(--yellow); opacity: 1; }

/* phones, tablets, save-data: the frame is a plain figure under the text */
@media (max-width: 999px), (pointer: coarse) {
  .hero { height: auto; min-height: 0; overflow: visible; }
  .hero__head { padding-bottom: 0; }
  .hero__frame { position: relative; inset: auto; clip-path: none; aspect-ratio: 4 / 5; max-height: 78vh;
    margin: clamp(32px, 5vh, 48px) var(--g) 0; }
  .hero__hint { display: none; }
  .meter { right: 20px; bottom: 20px; }
  .meter__bar { width: 120px; }
}
@media (min-width: 700px) and (max-width: 999px), (min-width: 700px) and (pointer: coarse) {
  .hero__frame { aspect-ratio: 16 / 11; }
}

/* ---------- statement + facts: statement left, compact spec card right ---------- */
.statement { padding: clamp(56px, 8vh, 104px) 0 clamp(24px, 3.5vh, 48px); }
.statement__grid { display: grid; gap: clamp(32px, 5vh, 48px); align-items: center; }
.statement__main { container-type: inline-size; }
.kicker__heart { width: 18px; height: auto; }
.statement__text { max-width: 54rem; font: 500 var(--fs-stmt)/1.3 var(--sans); letter-spacing: -0.02em; text-wrap: pretty; }
.statement__text em { font-style: normal; color: inherit; }
.statement__text .sw { display: inline !important; }

/* the four trades: one joined bar (1px stone seams via gap), each cell jumps to its service card */
.stmt__trades { display: grid; grid-auto-flow: column; gap: 1px; padding: 1px; width: fit-content; max-width: 100%;
  margin-top: clamp(24px, 3.6vh, 36px); background: var(--stone-2); }
.stmt__trades li { display: flex; background: var(--plaster); }
.stmt__trade { display: flex; flex: 1; align-items: center; gap: 10px; min-height: 52px; padding: 7px 14px 7px 7px; font: 600 0.96rem/1.2 var(--sans);
  letter-spacing: -0.01em; color: var(--ink); transition: background-color 0.3s ease, color 0.3s ease; }
.stmt__ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; background: var(--lime); color: var(--cobalt); transition: background-color 0.3s ease, color 0.3s ease; }
.stmt__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.stmt__name { flex: 1; }
.stmt__arr { flex: none; width: 12px; height: 12px; margin-left: 4px; fill: none; stroke: var(--ink-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.35s var(--ease), stroke 0.3s ease; }
.stmt__trade:hover, .stmt__trade:focus-visible { background: var(--ink); color: var(--lime); }
.stmt__trade:hover .stmt__ico, .stmt__trade:focus-visible .stmt__ico { background: var(--yellow); color: var(--ink); }
.stmt__trade:hover .stmt__arr, .stmt__trade:focus-visible .stmt__arr { stroke: var(--yellow); transform: translateY(3px); }
.stmt__trade:active { transform: scale(0.97); }
@container (max-width: 700px) { .stmt__trades { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); width: auto; } }
@container (max-width: 520px) {
  .stmt__trade { gap: 9px; padding-right: 10px; font-size: 0.9rem; }
  .stmt__ico { width: 32px; height: 32px; }
  .stmt__arr { display: none; }
}

/* facts card: flag edge on top, the free visit as a navy block, the other four in a 2×2 grid */
.facts { position: relative; background: var(--plaster); box-shadow: 0 0 0 1px var(--stone), 0 30px 60px -45px rgba(13, 19, 48, 0.35);
  padding: 6px clamp(18px, 2vw, 28px) clamp(4px, 0.6vw, 8px); }
.facts__edge { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(var(--cobalt) 50%, var(--yellow) 50%); transform-origin: 0 50%; }
.facts__head { display: flex; align-items: center; gap: 10px; padding: 18px 0 14px; color: var(--ink); }
.facts__dot { width: 8px; height: 8px; background: var(--yellow); box-shadow: inset 0 0 0 1px var(--ink); }
.facts__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(16px, 1.6vw, 24px); }
.fact { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; align-content: start; padding: 18px 0; border-top: 1px solid var(--stone); }
.fact__ico { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; box-shadow: inset 0 0 0 1px var(--stone-2); color: var(--cobalt); }
.fact__ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fact__k { color: var(--ink-2); font-size: 0.66rem; align-self: end; }
.fact__v { margin-top: 3px; font: 600 clamp(0.98rem, 1.05vw, 1.08rem)/1.3 var(--sans); letter-spacing: -0.01em; }
.fact--hl { grid-column: 1 / -1; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: center; margin-bottom: 2px; padding: 18px 20px;
  border: 0; background: var(--ink); color: var(--lime); }
.fact--hl .fact__ico { width: 44px; height: 44px; background: var(--yellow); color: var(--ink); box-shadow: none; }
.fact--hl .fact__ico svg { width: 22px; height: 22px; }
.fact--hl .fact__k { color: rgba(241, 236, 227, 0.62); }
.fact--hl .fact__v { font-size: clamp(1.15rem, 1.4vw, 1.4rem); font-weight: 700; letter-spacing: -0.02em; }
.fact__sub { display: block; margin-top: 2px; font: 400 0.95rem/1.35 var(--sans); letter-spacing: 0; color: rgba(241, 236, 227, 0.74); }
.fact--hl + .fact, .fact--hl + .fact + .fact { border-top: 0; }
/* phones: one fact per row (two columns broke "08–18" and "All Malta & Gozo" mid-value) */
@media (max-width: 599px) { .facts__grid { grid-template-columns: minmax(0, 1fr); } .fact--hl + .fact + .fact { border-top: 1px solid var(--stone); }
  .fact { padding: 15px 0; } .fact--hl { padding: 16px 18px; } }
@media (min-width: 1000px) {
  .statement__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 33rem); column-gap: clamp(48px, 6vw, 120px); }
}

/* ---------- sections ---------- */
.section { padding: clamp(96px, 14vh, 176px) 0; }
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(32px, 5vh, 56px); }
@media (min-width: 1000px) { .sec-head { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: 64px; } }

/* figures: shared reveal container */
.fig__media { position: relative; overflow: hidden; background: var(--stone); }
.fig__media img { width: 100%; height: 100%; object-fit: cover; }
.fig figcaption { display: flex; gap: 14px; margin-top: 14px; font: 400 0.75rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.fig figcaption .mono { color: var(--cobalt); letter-spacing: 0.14em; }

/* services follows the same-colour statement band: no second full padding */
.services { padding-top: clamp(40px, 6vh, 72px); }

/* ---------- 01 services: sticky stacked cards (desktop), stacked list (phones) ---------- */
.svc-stack { display: grid; gap: clamp(20px, 3vh, 32px); }
.svc-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); background: #fff; overflow: hidden; transform-origin: 50% 0;
  box-shadow: 0 0 0 1px var(--stone), 0 40px 80px -50px rgba(13, 19, 48, 0.45); }
.svc-card::after { content: ""; position: absolute; inset: 0; background: var(--night); opacity: var(--dim, 0); pointer-events: none; }
.svc-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.svc-card__num { position: absolute; left: 0; top: 0; display: grid; place-items: center; min-width: 56px; height: 48px; padding: 0 14px;
  background: var(--yellow); color: var(--ink); font: 700 1.15rem/1 var(--sans); letter-spacing: -0.02em; }
.svc-card__body { display: flex; flex-direction: column; gap: clamp(20px, 2.8vh, 30px); padding: clamp(22px, 3vw, 48px); }
.svc-card__top { display: flex; align-items: center; gap: 14px; }
.svc-card__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--cobalt); }
.svc-card__kicker > span:first-of-type { color: var(--ink-2); }
/* where this trade sits in the four: one flag segment per trade reached */
.svc-card__seg { display: inline-flex; gap: 4px; margin-left: 6px; }
@media (max-width: 599px) { .svc-card__seg { margin-left: 0; } }
.svc-card__seg i { width: 24px; height: 4px; background: var(--stone); }
.svc-card__seg i.on { background: linear-gradient(var(--cobalt) 50%, var(--yellow) 50%); }
.svc-card__ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; box-shadow: inset 0 0 0 1px var(--stone-2); color: var(--cobalt); }
.svc-card__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc-card__mid { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.svc-card__title { font: 700 clamp(1.9rem, 2.9vw, 3.2rem)/1.02 var(--sans); letter-spacing: -0.035em; }
.svc-card__native { margin-top: 10px; color: var(--ink-2); letter-spacing: 0.12em; }
.svc-card__desc { margin-top: 16px; max-width: 32rem; color: var(--ink-2); font-size: clamp(1.05rem, 1.25vw, 1.25rem); line-height: 1.55; }
/* what the trade covers: the shared chip (see .wk__tag) with a tick */
.svc-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.svc-card__tags li { min-height: 36px; padding: 0 13px 0 10px; font-size: 0.92rem; }
.svc-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: clamp(18px, 2.4vh, 24px); border-top: 1px solid var(--stone-2); }
.svc-card__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.svc-card__note { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.svc-card__tag { flex: none; display: grid; place-items: center; width: 26px; height: 26px; background: var(--yellow); color: var(--ink); }
.svc-card__tag svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* phones / touch: long labels (esp. Ukrainian) wrap instead of pushing the card wider; the hover roll is not needed there */
@media (max-width: 999px), (hover: none) {
  .svc-card .btn { white-space: normal; max-width: 100%; min-height: 56px; padding: 14px 20px calc(14px + var(--btn-lift)); line-height: 1.3; }
  .svc-card .btn .roll { height: auto; overflow: visible; }
  .svc-card .btn .roll > span::after { display: none; }
}
@media (max-width: 599px) {
  .btn { white-space: normal; max-width: 100%; padding: 14px 20px calc(14px + var(--btn-lift)); line-height: 1.3; }
  .btn .roll { height: auto; overflow: visible; }
  .btn .roll > span::after { display: none; }
}
@media (min-width: 1000px) {
  .svc-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: min(560px, calc(100svh - var(--nav) - 90px)); }
  .svc-card__media { aspect-ratio: auto; }
}
@media (min-width: 1000px) and (min-height: 720px) {
  .svc-card { position: sticky; top: calc(var(--nav) + 24px + var(--i) * 14px); }
}

/* ---------- 02 work: horizontal filmstrip ---------- */
.work { background: var(--plaster); overflow: hidden; }
.work__head { display: grid; gap: 18px; margin-bottom: clamp(22px, 3.4vh, 40px); }
@media (min-width: 1000px) { .work__head { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: 64px; } }
/* beside the heading: lede, then counter · flag progress · arrows */
.work__side { display: grid; gap: clamp(12px, 1.8vh, 18px); }
.work__ctrl { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); }
.work__progress { flex: 1; min-width: 0; display: flex; align-items: center; gap: 16px; }
.work__count { color: var(--ink-2); white-space: nowrap; }
.work__count b { font-weight: 400; color: var(--ink); }
.work__bar { flex: 1; position: relative; height: 4px; background: var(--stone); }
.work__fill { position: absolute; inset: 0; background: linear-gradient(var(--cobalt) 50%, var(--yellow) 50%); transform: scaleX(0.2); transform-origin: 0 50%;
  transition: transform 0.25s ease-out; }
.work__arrows { display: flex; gap: 8px; }
.work__arrows[hidden] { display: none; }
.work__arrow { position: relative; display: grid; place-items: center; width: 48px; height: 48px; background: var(--flag-blue); color: #fff; overflow: hidden; isolation: isolate;
  transition: color 0.3s ease, opacity 0.25s ease, transform 0.12s ease-out; }
.work__arrow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--yellow); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.4s var(--ease); }
.work__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.work__arrow:active:not(:disabled) { transform: scale(0.95); }
.work__arrow:disabled { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--stone-2); opacity: 0.4; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .work__arrow:hover:not(:disabled)::before, .work__arrow:focus-visible:not(:disabled)::before { transform: scaleY(1); }
  .work__arrow:hover:not(:disabled), .work__arrow:focus-visible:not(:disabled) { color: var(--ink); }
}

.work__viewport { --edge: max(var(--g), calc((100vw - 1600px) / 2 + var(--g))); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-left: var(--edge); scrollbar-width: none; outline-offset: -2px; }
.work__viewport::-webkit-scrollbar { display: none; }
.work__track { display: flex; gap: clamp(14px, 1.8vw, 28px); width: max-content; padding: 1px var(--edge); }
/* a job = one card: photo on top, caption bar below (number badge · room · a chip per trade) */
.wk { flex: none; width: min(84vw, 620px); scroll-snap-align: start; }
.wk figure { background: #fff; box-shadow: 0 0 0 1px var(--stone); }
.wk__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); }
.wk__media img { width: 100%; height: 100%; object-fit: cover; }
.wk figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px 12px 12px; }
.wk__n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; background: var(--yellow); color: var(--ink);
  font: 700 1.02rem/1 var(--sans); letter-spacing: -0.02em; transition: background-color 0.35s ease, color 0.35s ease; }
.work.has-cur .wk:not(.is-current) .wk__n { background: var(--lime); color: var(--ink-2); }
.wk__room { font: 600 clamp(1.05rem, 1.25vw, 1.25rem)/1.2 var(--sans); letter-spacing: -0.015em; }
.wk__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.wk__tag, .step__tag, .svc-card__tags li { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 11px 0 8px; box-shadow: inset 0 0 0 1px var(--stone-2);
  font: 500 0.86rem/1 var(--sans); color: var(--ink); white-space: nowrap; }
.wk__tag svg, .step__tag svg, .svc-card__tags svg { width: 16px; height: 16px; fill: none; stroke: var(--cobalt); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 599px) { .wk__tags { flex-basis: 100%; margin-left: 0; } }

.work__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: clamp(14px, 2.2vh, 24px); }
.work .note { color: var(--ink-2); }

/* desktop: the strip is pinned and driven by the vertical scroll. Photo height = the screen minus heading, caption bar and foot */
.work.is-pinned { padding: 0; }
.work.is-pinned .work__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--nav) * 0.6); }
.work.is-pinned .work__viewport { overflow: visible; scroll-snap-type: none; }
.work.is-pinned .wk { width: calc(clamp(280px, 100svh - 372px, 680px) * 1.5); }

/* ---------- 03 process: sticky intro + free-visit box left, step cards on a timeline right ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.process { padding: clamp(64px, 9vh, 112px) 0; }
.proc-grid { display: grid; gap: clamp(28px, 4.4vh, 44px); }
.proc-side { display: contents; }
.proc-head { order: 1; container-type: inline-size; }
/* never wider than its column: --fit = the widest line in em, per language (as the hero title) */
.proc-head .h2 { font-size: min(var(--fs-h2), calc(100cqi / var(--fit, 5.4))); }
.proc-head .lede { margin-top: 18px; }
.proc-list { order: 2; container-type: inline-size; }
/* free-visit box: same language as the facts card (flag edge on top, yellow price tag) */
.proc-cta { order: 3; position: relative; padding: calc(clamp(20px, 2.2vw, 28px) + 6px) clamp(20px, 2.2vw, 28px) clamp(18px, 2vw, 24px); background: #fff;
  box-shadow: 0 0 0 1px var(--stone), 0 30px 60px -45px rgba(13, 19, 48, 0.35); }
.proc-cta__edge { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(var(--cobalt) 50%, var(--yellow) 50%); transform-origin: 0 50%; }
.proc-cta__head { display: flex; align-items: center; gap: 14px; }
.proc-cta__ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; background: var(--yellow); color: var(--ink); }
.proc-cta__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.proc-cta__t { font: 700 clamp(1.25rem, 1.6vw, 1.6rem)/1.15 var(--sans); letter-spacing: -0.025em; }
.proc-cta__d { margin-top: 12px; color: var(--ink-2); max-width: 30rem; }
.proc-cta__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 20px; }
.proc-cta__hours { margin-top: 14px; color: var(--ink-2); font-size: 0.68rem; }
@media (min-width: 1000px) {
  .proc-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(48px, 6vw, 112px); align-items: start; }
  .proc-side { display: flex; flex-direction: column; gap: clamp(26px, 4vh, 40px); position: sticky; top: calc(var(--nav) + 28px); }
}

/* steps: one card per step, hung on a timeline (line fills blue with the scroll; a tick joins each marker to its card) */
.steps { position: relative; display: grid; gap: 10px; padding-left: 36px; }
.steps__track { position: absolute; left: 5px; top: 0; bottom: 0; width: 2px; background: var(--stone-2); }
.steps__fill { position: absolute; inset: 0; background: var(--cobalt); transform-origin: 50% 0; }
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; column-gap: clamp(14px, 1.6vw, 22px); align-items: center;
  padding: clamp(14px, 2vh, 18px) clamp(16px, 1.6vw, 22px) clamp(14px, 2vh, 18px) clamp(14px, 1.4vw, 18px); background: var(--plaster); box-shadow: 0 0 0 1px var(--stone);
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.step::before { content: ""; position: absolute; left: -24px; top: 50%; width: 24px; height: 1px; background: var(--stone-2); transition: background-color 0.4s ease; }
.step__dot { position: absolute; left: -36px; top: 50%; translate: 0 -50%; width: 12px; height: 12px;
  background: var(--lime); box-shadow: inset 0 0 0 1px var(--ink); transition: background-color 0.4s ease, transform 0.5s var(--ease); }
.step__num { display: grid; place-items: center; width: 56px; height: 56px; background: var(--lime); color: var(--cobalt);
  font: 700 1.4rem/1 var(--sans); letter-spacing: -0.03em; transition: background-color 0.4s ease, color 0.4s ease, opacity 0.7s var(--ease), transform 0.8s var(--ease); }
.step__t { font: 700 clamp(1.15rem, 1.4vw, 1.4rem)/1.2 var(--sans); letter-spacing: -0.025em; }
.step__d { margin-top: 5px; color: var(--ink-2); max-width: 34rem; }
.step__tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 15rem; }
.step__tag--free { background: var(--yellow); box-shadow: none; font-weight: 700; }
.step__tag--free svg { stroke: var(--ink); }
.step.is-current { background: #fff; box-shadow: 0 0 0 1px var(--stone-2), 0 22px 40px -30px rgba(13, 19, 48, 0.4); }
.step.is-current .step__num { background: var(--yellow); color: var(--ink); }
.step.is-on::before { background: var(--ink); }
/* desktop: pointing at a card marks it; the scroll-marked card steps back while another one is hovered */
@media (hover: hover) and (pointer: fine) {
  .step.is-on:hover, .steps:not(.steps--anim) .step:hover { background: #fff; box-shadow: 0 0 0 1px var(--stone-2), 0 22px 40px -30px rgba(13, 19, 48, 0.4); }
  .step.is-on:hover .step__num, .steps:not(.steps--anim) .step:hover .step__num { background: var(--yellow); color: var(--ink); }
  .steps:has(.step.is-on:hover) .step.is-current:not(:hover) { background: var(--plaster); box-shadow: 0 0 0 1px var(--stone); }
  .steps:has(.step.is-on:hover) .step.is-current:not(:hover) .step__num { background: var(--lime); color: var(--cobalt); }
}
.steps__end { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-left: 36px; color: var(--ink-2); }
.steps__end svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--cobalt); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* tight column (phones, small laptops): chips drop under the text instead of squeezing it */
@container (max-width: 680px) {
  .step { grid-template-columns: 56px minmax(0, 1fr); align-items: start; }
  .step__tags { grid-column: 2; justify-content: flex-start; max-width: none; margin-top: 10px; }
}
@media (max-width: 599px) {
  .steps { padding-left: 28px; }
  .step { grid-template-columns: 48px minmax(0, 1fr); align-items: start; }
  .step::before { left: -16px; width: 16px; }
  .step__dot { left: -28px; }
  .step__num { width: 48px; height: 48px; font-size: 1.2rem; }
  .steps__end { padding-left: 28px; }
}
/* motion states: only when JS drives them (.steps--anim); otherwise every card is fully shown */
.steps--anim .step > :not(.step__dot) { opacity: 0.3; transition: opacity 0.7s var(--ease), transform 0.8s var(--ease), background-color 0.4s ease, color 0.4s ease; }
.steps--anim .step__num { transform: translateX(-6px); }
.steps--anim .step.is-on > :not(.step__dot) { opacity: 1; transform: none; }
.step.is-on .step__dot { background: var(--yellow); transform: scale(1.3); }

/* ---------- 04 family: framed photo left; story, quote, values row, sign-off right ---------- */
.family { padding: clamp(72px, 10vh, 120px) 0; }
.fam-grid { display: grid; gap: clamp(40px, 6vh, 56px); }
.fam__photo { position: relative; }
/* offset frame shows above and left of the photo (below/right would cross the caption) */
.fam__photo::before { content: ""; position: absolute; left: -18px; top: -18px; right: 18px; bottom: calc(1em + 32px); translate: var(--fx, 0px) var(--fx, 0px); box-shadow: inset 0 0 0 1px var(--yellow); pointer-events: none; }
.fam__photo .fig__media { position: relative; aspect-ratio: 4 / 5; max-height: min(78vh, 720px); background: var(--night); }
.fam__photo figcaption { color: var(--on-night-2); }
.fam__photo figcaption::before { content: ""; width: 24px; height: 1px; background: var(--yellow); align-self: center; }
.fam__p { margin-top: 22px; max-width: 36rem; font-size: var(--fs-lede); }
.fam__quote { margin: 28px 0 0; padding-left: 22px; border-left: 2px solid var(--yellow); max-width: 36rem;
  font: 500 clamp(1.3rem, 1.9vw, 1.9rem)/1.3 var(--sans); letter-spacing: -0.02em; color: var(--on-night); }
.fam__values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(26px, 4vh, 36px); max-width: 40rem; }
.fam__values li { display: flex; flex-direction: column; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(238, 232, 221, 0.18);
  font: 600 clamp(0.92rem, 1vw, 1rem)/1.3 var(--sans); color: var(--on-night); }
.fam__vico { display: grid; place-items: center; width: 40px; height: 40px; box-shadow: inset 0 0 0 1px rgba(238, 232, 221, 0.28); color: var(--yellow); }
.fam__vico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fam__p--last { margin-top: clamp(24px, 3.5vh, 32px); }
.fam__sign { display: flex; align-items: center; gap: 12px; margin-top: 20px; font: 700 1.15rem/1 var(--sans); letter-spacing: -0.02em; color: var(--on-night) !important; }
.fam__sign img { width: 26px; height: auto; }
@media (max-width: 479px) { .fam__values { grid-template-columns: 1fr; } .fam__values li { flex-direction: row; align-items: center; } }
@media (min-width: 1000px) {
  .fam-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(56px, 7vw, 128px); align-items: center; }
  .fam__photo { justify-self: start; width: 100%; max-width: calc(min(78vh, 720px) * 0.8); }
}

/* ---------- 05 faq: sticky intro + "ask Leo" card left, question cards right ---------- */
.faq { padding: clamp(72px, 10vh, 120px) 0; }
.faq-grid { display: grid; gap: clamp(32px, 5vh, 48px); }
.faq__head .lede { margin-top: 20px; }
/* phones: intro, questions, then the ask-Leo card */
.faq__head { display: contents; }
.faq__intro { order: 1; }
.faq__list { order: 2; }
.faq-ask { order: 3; }
/* the ask card: same language as the facts and free-visit cards (white, flag edge), with a box to type a question into */
.faq-ask { position: relative; padding: calc(clamp(20px, 2.2vw, 28px) + 6px) clamp(20px, 2.2vw, 28px) clamp(18px, 2vw, 24px); background: #fff;
  box-shadow: 0 0 0 1px var(--stone), 0 30px 60px -45px rgba(13, 19, 48, 0.35); }
.faq-ask__edge { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(var(--cobalt) 50%, var(--yellow) 50%); transform-origin: 0 50%; }
.faq-ask__head { display: flex; align-items: center; gap: 14px; }
.faq-ask__ava { flex: none; display: grid; place-items: center; width: 48px; height: 48px; background: var(--lime); box-shadow: inset 0 0 0 1px var(--stone-2); }
.faq-ask__ava img { width: 24px; height: auto; }
.faq-ask__t { font: 700 clamp(1.2rem, 1.5vw, 1.5rem)/1.2 var(--sans); letter-spacing: -0.025em; }
.faq-ask__hours { margin-top: 5px; color: var(--ink-2); font-size: 0.66rem; }
.faq-form { margin-top: 18px; }
.faq-form__q { display: block; width: 100%; min-height: 78px; padding: 12px 14px; font: 400 1rem/1.5 var(--sans); color: var(--ink); background: var(--plaster);
  border: 0; border-radius: 0; box-shadow: inset 0 0 0 1px var(--stone-2); resize: vertical; transition: background-color 0.25s ease, box-shadow 0.25s ease; }
.faq-form__q::placeholder { color: var(--ink-2); opacity: 1; }
.faq-form__q:hover { box-shadow: inset 0 0 0 1px var(--ink-2); }
.faq-form__q:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--cobalt); }
.faq-form.is-filled .faq-form__q { animation: filled 0.7s var(--ease); }
@keyframes filled { 0% { box-shadow: inset 0 0 0 2px var(--yellow), 0 0 0 6px rgba(255, 196, 20, 0.35); } 100% { box-shadow: inset 0 0 0 2px var(--cobalt), 0 0 0 0 rgba(255, 196, 20, 0); } }
@media (prefers-reduced-motion: reduce) { .faq-form.is-filled .faq-form__q { animation: none; } }
.faq-ask__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.faq-ask__d { margin-top: 14px; color: var(--ink-2); font-size: 0.92rem; max-width: 30rem; }
.faq-ask [hidden] { display: none; }

.faq__list { display: grid; gap: 10px; }
.faq details { position: relative; background: var(--plaster); box-shadow: 0 0 0 1px var(--stone); transition: box-shadow 0.35s ease, background-color 0.35s ease; }
.faq details::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--yellow); transform: scaleY(0); transform-origin: 50% 0;
  transition: transform 0.5s var(--ease); z-index: 1; }
.faq details[open] { background: #fff; box-shadow: 0 0 0 1px var(--stone-2), 0 24px 48px -36px rgba(13, 19, 48, 0.35); }
.faq details[open]::before { transform: scaleY(1); }
.faq summary { list-style: none; display: grid; grid-template-columns: 40px minmax(0, 1fr) 36px; align-items: center; gap: 16px; padding: 14px 16px 14px 18px;
  cursor: pointer; font: 600 clamp(1.05rem, 1.35vw, 1.3rem)/1.3 var(--sans); letter-spacing: -0.015em; transition: color 0.25s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cobalt); }
.faq details:not([open]):hover { box-shadow: 0 0 0 1px var(--stone-2); }
.q-ico { display: grid; place-items: center; width: 40px; height: 40px; background: var(--lime); color: var(--cobalt); transition: background-color 0.35s ease, color 0.35s ease; }
.q-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.faq details[open] .q-ico { background: var(--yellow); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .faq details:not([open]):hover { background: #fff; }
  .faq details:not([open]):hover .q-ico { background: var(--yellow); color: var(--ink); }
  .faq details:not([open]):hover .pm { background: var(--ink); color: var(--lime); box-shadow: none; }
}
.pm { position: relative; width: 36px; height: 36px; box-shadow: inset 0 0 0 1px var(--stone-2); color: var(--ink); transition: background-color 0.35s ease, color 0.35s ease, transform 0.5s var(--ease); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transition: transform 0.5s var(--ease); }
.pm::before { width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px; }
.pm::after { width: 1.5px; height: 14px; margin: -7px 0 0 -0.75px; }
.faq details[open] .pm { background: var(--ink); color: var(--lime); box-shadow: none; transform: rotate(180deg); }
.faq details[open] .pm::after { transform: scaleY(0); }
.faq .a p { padding: 0 66px 14px 74px; max-width: 48rem; color: var(--ink-2); }
.faq .a__ask { margin: 0 66px 22px 74px; }
@media (max-width: 599px) { .faq summary { grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 12px; padding-left: 14px; } .q-ico { width: 36px; height: 36px; }
  .faq .a p { padding: 0 16px 14px 62px; } .faq .a__ask { margin: 0 16px 20px 62px; } }
/* under the questions: ready-made openers that drop into the ask box */
.faq-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 6px; padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--stone-2); }
.faq-quick[hidden] { display: none; }
.faq-quick__t { font: 600 0.98rem/1.3 var(--sans); letter-spacing: -0.01em; }
.faq-quick__list { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-quick__chip { min-height: 38px; padding: 0 14px; font: 500 0.92rem/1 var(--sans); color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--stone-2);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.12s ease-out; }
.faq-quick__chip:hover, .faq-quick__chip:focus-visible { background: var(--yellow); box-shadow: none; }
.faq-quick__chip:active { transform: scale(0.97); }
@media (pointer: coarse) { .faq-quick__chip { min-height: 44px; } }
.faq details::details-content { block-size: 0; overflow: clip; opacity: 0;
  transition: block-size 0.45s var(--ease), opacity 0.35s ease, content-visibility 0.45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; opacity: 1; }
@media (min-width: 1000px) {
  .faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 112px); align-items: start; }
  .faq__head { display: flex; flex-direction: column; gap: clamp(28px, 4vh, 40px); position: sticky; top: calc(var(--nav) + 32px); }
}

/* ---------- 06 coverage ---------- */
.coverage { background: var(--plaster); padding: clamp(64px, 9vh, 104px) 0 0; overflow: hidden; }
.cov-grid { display: grid; gap: clamp(32px, 5vh, 48px); align-items: center; }
.cov__text .lede { margin-top: 20px; }
.cov__areas { display: grid; gap: 18px; margin-top: clamp(26px, 4vh, 36px); }
.cov__k { color: var(--ink-2); margin-bottom: 10px; }
.cov__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 12px; font: 500 0.9rem/1 var(--sans); color: var(--ink); background: var(--lime); box-shadow: inset 0 0 0 1px var(--stone-2);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease; cursor: default; }
.cov__k { display: flex; align-items: center; gap: 8px; }
.cov__sw { width: 12px; height: 12px; background: var(--yellow); box-shadow: inset 0 0 0 1px rgba(17, 24, 51, 0.35); }
.cov__group--gozo .cov__sw { background: var(--cobalt); box-shadow: none; }
.cov__group--malta .chip:hover { background: var(--yellow); color: var(--ink); box-shadow: none; }
.cov__group--gozo .chip:hover { background: var(--cobalt); color: #fff; box-shadow: none; }
.cov__cta { margin-top: clamp(24px, 3.4vh, 34px); }
.map { width: 100%; max-width: 760px; justify-self: end; }
.map svg { width: 100%; height: auto; overflow: visible; }
/* dot-matrix flag map: dots inherit the group's gradient fill (blue Gozo + Comino, yellow Malta) */
.map .isl-label { font: 700 34px var(--sans); fill: var(--ink); letter-spacing: -0.02em; }
.map .isl-label--gozo { fill: var(--cobalt); }
.map .isl-label--sm { font-size: 24px; fill: var(--ink-2); }
.map .sea { font: 400 17px var(--mono); letter-spacing: 0.2em; text-transform: uppercase; fill: var(--ink-2); }
.map .town { cursor: pointer; }
.map .dot { fill: var(--ink); stroke: var(--plaster); stroke-width: 3.5; transform-box: fill-box; transform-origin: 50% 50%;
  transition: fill 0.25s ease, stroke 0.25s ease, transform 0.35s var(--ease); }
.map .town--gozo .dot { fill: var(--yellow); }
.map .ping { fill: none; stroke: var(--ink); stroke-width: 2; opacity: 0; }
.map .town--gozo .ping { stroke: var(--cobalt); }
.map .town.is-hi .dot { fill: #fff; stroke: var(--ink); stroke-width: 3; transform: scale(1.55); }
/* hover tooltip (desktop only) */
.map-tip { opacity: 0; transition: opacity 0.2s ease; pointer-events: none; }
.map-tip.is-on { opacity: 1; }
.map-tip__box, .map-tip__arrow { fill: var(--ink); }
.map-tip__t { font: 600 21px var(--sans); letter-spacing: -0.01em; fill: #fff; }
@media (hover: none) { .map-tip { display: none; } }
@media (max-width: 699px) { .map .sea { display: none; } .map .isl-label { font-size: 52px; } .map .isl-label--sm { font-size: 34px; } .map .dot { r: 11; } }
@media (min-width: 1000px) { .cov-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 112px); } }
.marquee { margin-top: clamp(40px, 6vh, 72px); padding: clamp(14px, 2.4vh, 24px) 0; border-top: 1px solid var(--stone-2); overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee__track.is-js { animation: none; will-change: transform; }
.marquee__set { display: flex; align-items: center; flex: none; }
.mq-item { padding: 0 clamp(18px, 2.4vw, 40px); font: 600 clamp(1.2rem, 2vw, 1.9rem)/1.1 var(--sans); letter-spacing: -0.03em; color: var(--ink-2); white-space: nowrap; }
.mq-heart { width: clamp(12px, 1.1vw, 18px); height: auto; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 07 contact: heading + family line, two action cards, info row with icons ---------- */
.contact { position: relative; z-index: 2; }
.contact__head { display: grid; gap: 18px; }
.contact__h { font-size: clamp(2rem, 3.6vw, 3.8rem); }
.contact__line { display: flex; align-items: center; gap: 12px; max-width: 30rem; font-size: 1rem; line-height: 1.5; }
.contact__line img { width: 22px; height: auto; flex: none; }
@media (min-width: 1000px) { .contact__head { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: 48px; } .contact__line { justify-self: end; padding-bottom: 6px; } }

.contact__cards { display: grid; gap: 14px; margin-top: clamp(24px, 3.5vh, 40px); }
@media (min-width: 800px) { .contact__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.ccard { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k go" "v go" "d go"; align-items: center; row-gap: 10px; column-gap: 20px;
  padding: clamp(22px, 2.6vw, 36px); transition: background-color 0.3s ease, transform 0.16s ease-out; }
.ccard:active { transform: scale(0.985); }
.ccard__k { grid-area: k; }
.ccard__v { grid-area: v; font: 700 clamp(1.7rem, 2.7vw, 2.8rem)/1 var(--sans); letter-spacing: -0.03em; white-space: nowrap; }
/* call card: the number is the link (stretched over the whole card); the copy button sits beside it, above the link */
.ccard__vrow { grid-area: v; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.ccard__link { display: block; padding: 10px 0; margin: -10px 0; }   /* a 44px-tall target even where the digits are small */
.ccard__link::after { content: ""; position: absolute; inset: 0; }
.ccard__link:focus-visible { outline: none; }
.ccard--call:has(.ccard__link:focus-visible) { outline: 2px solid var(--yellow); outline-offset: 3px; }
.ccard--call { cursor: pointer; }
.ccard__msg { text-wrap: pretty; }
.ccard__d { grid-area: d; font-size: 0.95rem; }
.ccard__go { grid-area: go; display: grid; place-items: center; width: 52px; height: 52px; transition: background-color 0.3s ease, color 0.3s ease; }
.ccard__go .arrow { width: 14px; height: 14px; }
.ccard--call { background: var(--flag-blue); color: #fff; }
.ccard--call .ccard__k, .ccard--call .ccard__d { color: rgba(255, 255, 255, 0.82); }
.ccard--call .ccard__go { background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.ccard--call:hover { background: linear-gradient(135deg, #3564E0 0%, #2448B8 52%, #1B3790 100%); }
.ccard--call:hover .ccard__go { background: var(--yellow); color: var(--ink); box-shadow: none; }
.ccard--wa { background: var(--yellow); color: var(--ink); }
.ccard--wa .ccard__k, .ccard--wa .ccard__d { color: rgba(17, 24, 51, 0.78); }
.ccard--wa .ccard__go { background: var(--ink); color: var(--yellow); }
.ccard--wa:hover { background: #FFD043; }
.ccard:hover .arrow { transform: translate(3px, -3px); }
/* laser-level corner brackets on the WhatsApp card close in on hover */
.ccard--wa .bk { position: absolute; width: 16px; height: 16px; border: 0 solid var(--yellow); transition: transform 0.45s var(--ease); }
.ccard--wa .bk-tl { top: -10px; left: -10px; border-width: 1.5px 0 0 1.5px; }
.ccard--wa .bk-tr { top: -10px; right: -10px; border-width: 1.5px 1.5px 0 0; }
.ccard--wa .bk-bl { bottom: -10px; left: -10px; border-width: 0 0 1.5px 1.5px; }
.ccard--wa .bk-br { bottom: -10px; right: -10px; border-width: 0 1.5px 1.5px 0; }
.ccard--wa:hover .bk-tl, .ccard--wa:focus-visible .bk-tl { transform: translate(6px, 6px); }
.ccard--wa:hover .bk-tr, .ccard--wa:focus-visible .bk-tr { transform: translate(-6px, 6px); }
.ccard--wa:hover .bk-bl, .ccard--wa:focus-visible .bk-bl { transform: translate(6px, -6px); }
.ccard--wa:hover .bk-br, .ccard--wa:focus-visible .bk-br { transform: translate(-6px, -6px); }
@media (max-width: 799px) { .ccard--wa .bk { display: none; } }
/* narrow phones: drop the decorative arrow box so the phone number keeps the full card width */
@media (max-width: 420px) { .ccard { grid-template-columns: minmax(0, 1fr); grid-template-areas: "k" "v" "d"; } .ccard__go { display: none; } }
/* phone digits roll to yellow when the call card is hovered */
.phone .ch { display: inline-block; overflow: hidden; vertical-align: top; height: 1em; line-height: 1; }
.phone .ch > span { display: block; transition: transform 0.6s var(--ease); transition-delay: calc(var(--i) * 22ms); }
.phone .ch > span::after { content: attr(data-c); display: block; color: var(--yellow); }
.phone .ch--sp { width: 0.28em; }
@media (hover: hover) and (pointer: fine) { .ccard--call:hover .phone .ch > span, .ccard--call:focus-within .phone .ch > span { transform: translateY(-50%); } }

.contact__info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; margin-top: clamp(28px, 4vh, 44px); }
.contact__info > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: start; }
.ci__ico { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; box-shadow: inset 0 0 0 1px rgba(238, 232, 221, 0.24); color: var(--yellow); }
.ci__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact__info dt { color: var(--on-night-2); }
.contact__info dd { margin-top: 6px; color: var(--on-night); font: 500 clamp(0.98rem, 1.05vw, 1.08rem)/1.45 var(--sans); }
@media (min-width: 1000px) { .contact__info { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 479px) { .contact__info { grid-template-columns: 1fr; } }

/* ---------- footer: continues the navy contact band, no repeated contact details ---------- */
.contact { padding-top: clamp(72px, 10vh, 112px); padding-bottom: clamp(36px, 5vh, 56px); }
.contact .kicker { margin-bottom: 16px; }
.foot { padding: 0 0 calc(24px + env(safe-area-inset-bottom, 0px)); }
.foot__in { display: grid; grid-template-columns: 1fr; gap: 10px; }
.foot__in::before { content: ""; grid-column: 1 / -1; height: 1px; background: rgba(238, 232, 221, 0.16); margin-bottom: clamp(14px, 2vh, 20px); } /* rule sits inside the text column, like the ones above */
.foot__mark { display: flex; font: 700 clamp(1.6rem, 2.3vw, 2.4rem)/1 var(--sans); letter-spacing: -0.04em; white-space: nowrap; margin-left: -0.04em; color: var(--on-night); }
.foot__mark .wm { display: inline-block; overflow: hidden; padding-bottom: 0.06em; }
.foot__mark .wm > span { display: block; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot__links .tlink { color: var(--on-night); }
.foot__svc { color: var(--on-night-2); font-size: 0.9rem; }
.foot__rights { color: var(--on-night-2); }
@media (min-width: 1000px) {
  .foot__in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; row-gap: 6px; }
  .foot__links { justify-self: end; }
  .foot__rights { justify-self: end; }
}
@media (pointer: coarse), (max-width: 999px) { .foot .tlink--plain { display: inline-flex; align-items: center; min-height: 44px; } }

/* ---------- sticky action bar (phones) ---------- */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--ink); transform: translateY(110%); transition: transform 0.5s var(--ease); }
.bar.is-on { transform: translateY(0); }
.bar a { display: flex; align-items: center; justify-content: center; min-height: 58px; font: 500 0.82rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  transition: transform 0.12s ease-out, opacity 0.12s ease-out; }
.bar__call { background: var(--flag-blue); color: #fff; }
.bar__wa { background: var(--yellow); color: var(--ink); }
.bar a:active { transform: scale(0.97); opacity: 0.9; }
@media (min-width: 1000px) and (pointer: fine) { .bar { display: none; } }
@media (max-width: 999px), (pointer: coarse) { .foot { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- JS-owned first-paint states (only when motion is allowed and the libraries loaded) ----------
   Desktop only (same query as DESK in app.js). On phones the hero paints straight away: on a slow connection the
   text would otherwise stay hidden until the animation scripts arrive (measured 4.3 s to largest paint on slow 4G). */
@media (prefers-reduced-motion: no-preference) and (min-width: 1000px) and (pointer: fine) {
  .js:not(.no-anim) [data-intro] { visibility: hidden; }
  .js:not(.no-anim) .hero__title .l > span { transform: translateY(105%); }
  .js:not(.no-anim) .hero__cover { transform: scaleY(1); }
}

/* ---------- reduced motion: everything visible, finished wall, no loops ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero__media .final { opacity: 1; }
  .hero__media canvas, .meter, .hero__hint { display: none; }
  .marquee__track { animation: none; }
}

/* ---------- 404 ---------- */
.nf { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: var(--g); text-align: center; }
.nf .display { font-size: clamp(2.6rem, 7vw, 6rem); margin-top: 18px; }
.nf .lede { margin: 20px auto 0; }
.nf__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.nf__call { margin-top: 28px; color: var(--ink-2); }


/* =====================================================================================================
   INTERACTION LAYER (2026-10-02): the page answers back — live status, progress, jump arrows, town picker
   ===================================================================================================== */

/* page progress: a flag line across the very top */
.prog { position: fixed; left: 0; right: 0; top: 0; z-index: 80; height: 4px; pointer-events: none; }
.prog span { display: block; height: 100%; background: linear-gradient(var(--cobalt) 50%, var(--yellow) 50%); transform: scaleX(0); transform-origin: 0 50%; }

/* nav: the section you are in stays underlined */
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left center; height: 2px; background: var(--cobalt); }

/* live status from the opening hours (Malta time). Hidden until app.js fills it */
.live { display: inline-flex; align-items: center; gap: 9px; }
.live[hidden] { display: none; }
.live__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #9BA0B2; }
.live.is-on .live__dot { background: #1FA35B; animation: live 2.4s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(31, 163, 91, 0.55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(31, 163, 91, 0); } }
@media (prefers-reduced-motion: reduce) { .live.is-on .live__dot { animation: none; } }
.proc-cta__hours, .faq-ask__hours, .menu__hours, .ccard__d { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.proc-cta__hours .live.is-on, .faq-ask__hours .live.is-on { color: var(--ink); }
.ccard--call .live.is-on, .menu__hours .live.is-on { color: #fff; }

/* hero: the offer card and the live status share a row; the stat cells answer the pointer */
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: clamp(14px, 2.2vh, 22px); }
.hero__meta .hero__offer { margin-top: 0; }
.hero__meta .live { font-size: 0.92rem; color: var(--ink-2); }
.hero__meta .live.is-on { color: var(--ink); }
/* desktop hero is one fixed screen: the status only shows where it cannot push the numbers off it */
@media (min-width: 1000px) and (max-width: 1499px) and (pointer: fine), (min-width: 1000px) and (max-height: 799px) and (pointer: fine) { .hero__meta .live { display: none; } }
.stat { transition: background-color 0.3s ease, transform 0.35s var(--ease); }
.stat__n { transition: color 0.3s ease; }
@media (hover: hover) and (pointer: fine) {
  .stat:hover { background: #fff; transform: translateY(-3px); }
  .stat:hover .stat__n { color: var(--cobalt); }
  .fact:not(.fact--hl) .fact__ico { transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
  .fact:not(.fact--hl):hover .fact__ico { background: var(--yellow); color: var(--ink); box-shadow: none; }
}

/* services: previous / next trade arrows (same language as the work arrows); the icon wakes up with the card */
.svc-card__nav { display: flex; gap: 6px; margin-left: auto; }
.svc-card__nav[hidden] { display: none; }
.svc-card__arrow { position: relative; display: grid; place-items: center; width: 44px; height: 44px; background: var(--flag-blue); color: #fff; overflow: hidden; isolation: isolate;
  transition: color 0.3s ease, transform 0.12s ease-out; }
.svc-card__arrow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--yellow); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.4s var(--ease); }
.svc-card__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-card__arrow:active:not(:disabled) { transform: scale(0.95); }
.svc-card__arrow:disabled { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--stone-2); opacity: 0.35; cursor: default; }
.svc-card__ico { transition: background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease; }
.svc-card__tags li { transition: background-color 0.25s ease; }
@media (hover: hover) and (pointer: fine) {
  .svc-card__arrow:hover:not(:disabled)::before, .svc-card__arrow:focus-visible:not(:disabled)::before { transform: scaleY(1); }
  .svc-card__arrow:hover:not(:disabled), .svc-card__arrow:focus-visible:not(:disabled) { color: var(--ink); }
  .svc-card:hover .svc-card__ico { background: var(--yellow); color: var(--ink); box-shadow: none; }
  .svc-card__tags li:hover { background: var(--lime); }
}

/* work: a card that is not the current one can be clicked to bring it forward */
.work.has-cur .wk:not(.is-current) figure { cursor: pointer; }
.wk figure { transition: box-shadow 0.35s ease; }
@media (hover: hover) and (pointer: fine) { .wk figure:hover { box-shadow: 0 0 0 1px var(--stone-2), 0 26px 44px -30px rgba(13, 19, 48, 0.45); } }

/* family: the three values answer the pointer */
.fam__vico { transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
@media (hover: hover) and (pointer: fine) { .fam__values li:hover .fam__vico { background: var(--yellow); color: var(--night); box-shadow: none; } }

/* coverage: towns are buttons; the picked one stays lit and fills the booking button */
button.chip { cursor: pointer; }
@media (pointer: coarse) { button.chip { min-height: 44px; min-width: 44px; } }
.cov__group--malta .chip[aria-pressed="true"] { background: var(--yellow); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.cov__group--gozo .chip[aria-pressed="true"] { background: var(--cobalt); color: #fff; box-shadow: none; }
.map .town.is-sel .dot { fill: #fff; stroke: var(--ink); stroke-width: 3; transform: scale(1.55); }

/* contact: copy the number (pointer devices; phones just dial) */
.ccard__copy { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; min-height: 36px; padding: 0 12px;
  color: #fff; font-size: 0.66rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
.ccard__copy[hidden] { display: none; }
.ccard__copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.ccard__copy:hover, .ccard__copy:focus-visible, .ccard__copy.is-done { background: var(--yellow); color: var(--ink); box-shadow: none; }
@media (pointer: coarse), (max-width: 599px) { .ccard__copy { display: none; } }

/* contact: message builder — tick the trades, pick the town, and the WhatsApp card shows the message it will send */
.cbuild { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px clamp(24px, 3.4vw, 56px); margin-top: clamp(22px, 3.2vh, 36px); }
.cbuild[hidden] { display: none; }
.cbuild + .contact__cards { margin-top: clamp(18px, 2.4vh, 24px); }
.cbuild__k { display: block; margin-bottom: 10px; color: var(--on-night-2); font-size: 0.68rem; }
.cbuild__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cbuild__chip { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 15px 0 11px; color: var(--on-night); font: 500 0.95rem/1 var(--sans);
  box-shadow: inset 0 0 0 1px rgba(238, 232, 221, 0.34); transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.12s ease-out; }
.cbuild__chip svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--yellow); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.25s ease; }
.cbuild__chip:hover { box-shadow: inset 0 0 0 1px var(--yellow); }
.cbuild__chip:active { transform: scale(0.97); }
.cbuild__chip[aria-pressed="true"] { background: var(--yellow); color: var(--ink); box-shadow: none; font-weight: 600; }
.cbuild__chip[aria-pressed="true"] svg { stroke: var(--ink); }
.cbuild__sel { -webkit-appearance: none; appearance: none; min-height: 44px; min-width: min(15rem, 100%); padding: 0 44px 0 14px; color: var(--on-night); font: 500 1rem/1 var(--sans);
  border: 0; border-radius: 0; box-shadow: inset 0 0 0 1px rgba(238, 232, 221, 0.34); cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC414' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
  transition: box-shadow 0.25s ease; }
.cbuild__sel:hover { box-shadow: inset 0 0 0 1px var(--yellow); }
.cbuild__sel.is-set { box-shadow: inset 0 0 0 1.5px var(--yellow); }
.cbuild__sel option, .cbuild__sel optgroup { color: #111833; background: #fff; }
.ccard--wa.is-built .ccard__msg { color: var(--ink); font-weight: 500; }
.ccard--wa.is-bump { animation: bump 0.5s var(--ease); }
@media (prefers-reduced-motion: reduce) { .ccard--wa.is-bump { animation: none; } }
@media (max-width: 599px) { .cbuild__group, .cbuild__sel { width: 100%; } }
.cov__cta.is-bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.035); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .cov__cta.is-bump { animation: none; } }
/* phones: the service top row is label + flag on the left, arrows on the right (the icon would wrap the label) */
@media (max-width: 599px) { .svc-card__ico { display: none; } }
/* phones: the hero status keeps its line before app.js fills it, so the numbers below do not jump when it appears */
@media (max-width: 999px), (pointer: coarse) {
  .hero__meta .live { min-height: 1.5em; flex-basis: 100%; }   /* always its own line: empty it is narrow and would sit beside the offer card, then wrap when filled */
  .hero__meta .live[hidden] { display: inline-flex; visibility: hidden; }
}
/* without scripts the film cannot be scrubbed: drop the "scroll to finish" hint and the 000% meter */
html:not(.js) .hero__hint, html:not(.js) .meter { display: none; }
