/* Spatharos Renovations. Navy, sky blue and white from their roof badge.
   Manrope (statements and text) with Noto Serif Display italic for the one word that carries the feeling; both have Greek.
   The roof is the motif: photos rise into place behind a pitched roof line, and three roof stripes mark the big moments. */
:root {
  --bg: #fff; --bg-2: #f1f4f8; --card: #fff; --ink: #0c1a2e; --ink-2: #4c5a6e; --line: rgba(12, 26, 46, .12);
  --accent: #1466b5; --accent-ink: #fff; --navy: #0a2240; --navy-2: #12305a; --sky: #2b97e3; --sky-2: #8cc9f2;
  --f-display: "Manrope", system-ui, sans-serif; --f-body: "Manrope", system-ui, sans-serif; --f-em: "Noto Serif Display", Georgia, serif;
  --dw: 800; --dt: -.035em; --dl: 1.02;
  --radius: 18px; --radius-sm: 12px; --radius-btn: 999px;
  --max: 1240px; --hd-h: 72px;
  --ft-bg: #0a2240; --ft-ink: #e8eef6;
  --shadow: 0 30px 60px -32px rgba(10, 34, 64, .5);
  --roof-0: polygon(0 125%, 50% 105%, 100% 125%, 100% 125%, 0 125%);
  --roof-1: polygon(0 0, 50% -26%, 100% 0, 100% 100%, 0 100%);
}
body { font-size: 16.5px; }
/* Greek capitals keep no accents, so labels are written in the case they are shown in */
.eyebrow, .ft-grid h4 { text-transform: none; letter-spacing: .01em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--accent); }
.eyebrow::before { content: ""; width: 18px; height: 11px; flex: none; background: currentColor;
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 82% 100%, 50% 34%, 18% 100%); }
h1 em, h2 em, .values-big em { font-family: var(--f-em); font-style: italic; font-weight: 500; letter-spacing: -.02em; color: var(--accent); }
.sec-head h2 { font-size: clamp(34px, 4.6vw, 62px); max-width: 15ch; }
.sec-head p { font-size: 17px; }
.sec-alt { background: var(--bg-2); box-shadow: 0 0 0 1px var(--bg-2); }

/* ---------- Buttons ---------- */
.btn { font-weight: 700; letter-spacing: -.01em; }
.btn.ghost { border-color: var(--line); color: var(--ink); }
.btn.light { color: var(--navy); }
@media (hover: hover) {
  .btn:hover { background: var(--navy); border-color: var(--navy); box-shadow: 0 14px 30px -14px rgba(10, 34, 64, .7); }
  .btn.ghost:hover { background: transparent; color: var(--accent); border-color: var(--accent); box-shadow: none; }
  .btn.light:hover { background: var(--sky-2); border-color: var(--sky-2); color: var(--navy); }
}
.link { position: relative; border-bottom-color: var(--sky); }
.link::after { content: ""; position: absolute; inset: -9px -6px; }   /* a finger-sized hit area around a text link */
/* Phones: the three short page links share one row and the six services sit in two columns,
   so neither column ends early next to a long one */
@media (max-width: 600px) {
  .ft-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ft-grid > div:nth-child(2) ul { display: flex; flex-wrap: wrap; column-gap: 26px; }
  .ft-grid > div:nth-child(3) ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
  .ft-grid h4 { margin-bottom: 6px; }
}
@media (hover: none) {
  .ft-grid li { margin: 0; }
  .ft-grid li a { display: inline-block; padding: 10px 0; }
}
.link svg:first-child:not(:last-child) { width: 18px; height: 18px; }

/* ---------- Logo, header, language ---------- */
.logo { gap: 11px; }
.logo .mk { width: 42px; height: 42px; filter: drop-shadow(0 2px 6px rgba(10, 34, 64, .18)); }
.lg-t { display: grid; line-height: 1; }
.lg-t b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
.lg-t small { margin-top: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--sky); }
.ft .lg-t small { color: var(--sky-2); }
.hd-nav a[aria-current="page"]::after { background: var(--sky); }
.lang { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 700; }
.lang a, .lang b { display: grid; place-items: center; min-width: 36px; height: 32px; padding: 0 6px; border-radius: 999px; text-decoration: none; }
.lang a { position: relative; opacity: .7; } .lang a::after { content: ""; position: absolute; inset: -6px -4px; } .lang a:hover { opacity: 1; }
.lang b { background: var(--navy); color: #fff; }
.burger { flex: none; }
@media (max-width: 900px) { .lang { margin-left: auto; } .burger { margin-left: 4px; } }
@media (max-width: 420px) {
  .hd-in { gap: 8px; }
  .logo { gap: 9px; min-width: 0; }
  .logo .mk { width: 38px; height: 38px; }
  .lg-t b { font-size: 18px; }
  .lg-t small { font-size: 9.5px; letter-spacing: .28em; }
  .lang a, .lang b { min-width: 32px; }
  .burger { margin-left: 0; }
}

/* ---------- The roof stripes (badge motif) ---------- */
.roofs { position: absolute; pointer-events: none; display: block; width: min(560px, 70vw); aspect-ratio: 2.4; }
.roofs i { position: absolute; inset: 0; background: currentColor;
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 92% 100%, 50% 19%, 8% 100%); }
.roofs i:nth-child(2) { inset: 22% 9% -22%; } .roofs i:nth-child(3) { inset: 44% 18% -44%; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 84px) 0 clamp(56px, 7vw, 100px);
  background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--bg-2) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(48px, 7.4vw, 104px); margin: 16px 0 22px; }
.hero h1 em { display: inline-block; padding-right: .06em; }
.hero .lead { font-size: clamp(17px, 1.45vw, 20px); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* Their Instagram highlights, as round photo bubbles */
.bubbles { display: flex; gap: clamp(10px, 1.6vw, 22px); margin-top: clamp(30px, 4vw, 48px); }
.bubbles a { display: grid; justify-items: center; gap: 8px; width: 76px; text-decoration: none; text-align: center; }
.bub { display: block; width: 66px; height: 66px; padding: 3px; border-radius: 50%; background: conic-gradient(from 200deg, var(--sky), var(--navy), var(--sky)); transition: scale .35s var(--ease); }
.bub img { width: 100%; height: 100%; border: 2.5px solid #fff; border-radius: 50%; object-fit: cover; }
.bubbles b { font-size: 12.5px; font-weight: 700; line-height: 1.2; -webkit-hyphens: manual; hyphens: manual; overflow-wrap: anywhere; }
@media (hover: hover) { .bubbles a:hover .bub { scale: 1.07; } }

.house { position: relative; margin: 0; padding-top: 62px; }
.house-ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2);
  clip-path: polygon(0 22%, 50% 0, 100% 22%, 100% 100%, 0 100%); border-radius: 0 0 var(--radius) var(--radius); }
.house-ph img { width: 100%; height: 100%; object-fit: cover; }
/* three roof stripes over the photo, at the same pitch as its roof (22% of a 4:5 box = 27.5% of the width) */
.eaves { position: absolute; left: 0; right: 0; top: 0; }
.eaves i { position: absolute; left: 0; width: 100%; box-sizing: content-box; aspect-ratio: 1 / .275; padding-bottom: 11px;
  clip-path: polygon(0 calc(100% - 11px), 50% 0, 100% calc(100% - 11px), 100% 100%, 50% 11px, 0 100%); }
.eaves i:nth-child(1) { top: 0; background: var(--sky-2); }
.eaves i:nth-child(2) { top: 20px; background: var(--sky); }
.eaves i:nth-child(3) { top: 40px; background: var(--navy); }
.house-tag { position: absolute; left: clamp(-28px, -2vw, -12px); bottom: clamp(18px, 3vw, 34px); display: flex; align-items: center; gap: 14px;
  padding: 14px 16px 14px 18px; border-radius: 14px; background: var(--navy); color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.house-tag span { display: grid; line-height: 1.25; }
.house-tag small { font-size: 12.5px; color: var(--sky-2); font-weight: 600; }
.house-tag b { font-size: 16px; }
.house-tag svg { width: 20px; height: 20px; color: var(--sky-2); transition: translate .3s var(--ease); }
@media (hover: hover) { .house-tag:hover svg { translate: 3px 0; } }
/* the photo rises into the house, then the roof stripes settle on top */
.kit .house-ph { animation: roof-up 1.3s var(--ease) .15s both; }
.kit .eaves i { opacity: 0; translate: 0 22px; animation: rise .9s var(--ease) forwards; }
.kit .eaves i:nth-child(3) { animation-delay: .55s; } .kit .eaves i:nth-child(2) { animation-delay: .7s; } .kit .eaves i:nth-child(1) { animation-delay: .85s; }
.kit .house-tag { opacity: 0; translate: 0 14px; animation: rise .8s var(--ease) 1.05s forwards; }
@keyframes roof-up { from { clip-path: polygon(0 122%, 50% 100%, 100% 122%, 100% 100%, 0 100%); } to { clip-path: polygon(0 22%, 50% 0, 100% 22%, 100% 100%, 0 100%); } }
@keyframes rise { to { opacity: 1; translate: 0 0; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-in { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-btns, .bubbles { justify-content: center; }
  .house { width: min(100%, 460px); margin-inline: auto; }
  .house-tag { left: 50%; translate: -50% 0; bottom: 16px; white-space: nowrap; }
  .kit .house-tag { translate: -50% 14px; animation-name: rise-c; }
  @keyframes rise-c { to { opacity: 1; translate: -50% 0; } }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(42px, 13vw, 56px); margin: 12px 0 16px; }
  .hero-btns { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .bubbles { gap: 4px; justify-content: space-between; }
  .bubbles a { width: auto; flex: 1 1 0; min-width: 0; }
  .bub { width: clamp(52px, 15vw, 62px); height: clamp(52px, 15vw, 62px); }
  .bubbles b { font-size: clamp(10.5px, 2.9vw, 12px); }
  .house-tag { padding: 12px 14px; gap: 10px; }
  .house-tag b { font-size: 15px; }
}

/* ---------- Tape ---------- */
.tape { background: var(--navy); color: #fff; padding: 17px 0; box-shadow: 0 0 0 1px var(--navy); }
.tape .marquee > div { gap: 26px; padding-right: 26px; align-items: center; }
.tape span { font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.tape i { width: 16px; height: 10px; background: var(--sky); clip-path: polygon(0 100%, 50% 0, 100% 100%, 80% 100%, 50% 38%, 20% 100%); }

/* ---------- Journey: the Glyfada job, frame by frame, as the page scrolls ---------- */
.journey { position: relative; height: calc((var(--n) * 52 + 100) * var(--svh)); background: var(--bg-2); box-shadow: 0 0 0 1px var(--bg-2); }
.jr-stick { position: sticky; top: var(--hd-h); height: calc(var(--svh) * 100 - var(--hd-h)); display: flex; align-items: center; overflow: hidden; }
.jr-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center; height: 100%; padding-block: clamp(20px, calc(var(--svh) * 4), 44px); }
.jr-copy h2 { font-size: clamp(32px, 4vw, 56px); margin: 14px 0 clamp(18px, calc(var(--svh) * 3.2), 34px); max-width: 15ch; }
.jr-steps { position: relative; display: grid; gap: 2px; padding-left: 22px; }
.jr-steps::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--line); }
.jr-steps::after { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--sky); transform-origin: 50% 0; scale: 1 var(--jp, 0); }
.jr-steps li { border-radius: 12px; }
.jr-steps button { display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 8px 0; border: 0; background: none; text-align: left; color: var(--ink-2); font-size: clamp(17px, 1.5vw, 21px); font-weight: 700; letter-spacing: -.015em; transition: color .3s; }
.jr-steps button b { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink-2); opacity: .7; }
.jr-steps p { max-height: 0; max-width: 40ch; padding-left: 33px; color: var(--ink-2); font-size: 15.5px; opacity: 0; transition: max-height .5s var(--ease), opacity .4s, padding .4s; overflow: hidden; }
.jr-steps li.on button { color: var(--ink); }
.jr-steps li.on button b { color: var(--accent); opacity: 1; }
.jr-steps li.on p { max-height: 6.5em; opacity: 1; padding-bottom: 10px; }
.jr-more { margin-top: clamp(16px, calc(var(--svh) * 3), 28px); }
.jr-frame { position: relative; margin: 0; height: min(100%, 720px); aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--navy); box-shadow: var(--shadow); }
.jr-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: var(--roof-0); transition: clip-path 1s var(--ease); }
.jr-frame img.on { clip-path: var(--roof-1); }
.jr-frame img:first-child { clip-path: none; }
.jr-bar { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .3); overflow: hidden; z-index: 2; }
.jr-bar i { position: absolute; inset: 0; transform-origin: 0 50%; scale: var(--jp, 0) 1; background: #fff; }
@media (max-width: 900px) {
  .journey { height: calc((var(--n) * 46 + 100) * var(--svh)); }
  .jr-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto auto; gap: 12px; align-items: stretch; padding-block: 12px 14px; }
  .jr-copy { display: contents; }
  .jr-copy .eyebrow { justify-self: center; margin: 0; font-size: 13px; }
  .jr-copy h2 { order: 0; font-size: clamp(25px, 7vw, 34px); margin: 0; text-align: center; max-width: none; }
  .jr-frame { order: 1; height: auto; width: 100%; aspect-ratio: auto; min-height: 0; }
  .jr-steps { order: 2; display: block; height: 104px; padding: 0; }
  .jr-steps::before, .jr-steps::after { display: none; }
  .jr-steps li { position: absolute; inset: 0; opacity: 0; translate: 0 10px; transition: opacity .35s, translate .5s var(--ease); pointer-events: none; text-align: center; }
  .jr-steps li.on { opacity: 1; translate: 0 0; pointer-events: auto; }
  .jr-steps button { justify-content: center; padding: 2px 0 6px; font-size: 20px; color: var(--ink); }
  .jr-steps p { max-height: none; padding: 0; margin-inline: auto; opacity: 1; font-size: 15px; }
  .jr-more { order: 3; justify-self: center; margin: 0; }
}
@media (max-width: 900px) and (max-height: 700px) { .jr-grid { gap: 8px; } .jr-copy h2 { font-size: 24px; } .jr-steps { height: 96px; } .jr-steps p { font-size: 14px; } }

/* ---------- Before and after (same spot, same job) ---------- */
.ba-sec { background: var(--navy); color: #e8eef6; box-shadow: 0 0 0 1px var(--navy); --line: rgba(255, 255, 255, .16); --ink-2: #a9b8cc; }
.ba-sec .eyebrow, .ba-sec h2 em { color: var(--sky-2); }
.ba-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ba-copy h2 { font-size: clamp(36px, 4.8vw, 64px); margin: 14px 0 16px; }
.ba-copy p { color: var(--ink-2); max-width: 36ch; font-size: 17px; }
.ba-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.ba-tabs .tab { min-height: 44px; padding: 8px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: transparent; color: #fff; font-weight: 700; font-size: 14.5px; transition: background-color .2s, border-color .2s, color .2s; }
.ba-tabs .tab[aria-selected="true"] { background: #fff; border-color: #fff; color: var(--navy); }
.ba-stage { width: min(100%, 500px, calc((var(--svh) * 100 - var(--hd-h) - 120px) * .75)); min-width: min(100%, 360px); justify-self: center; }
.ba-p { margin: 0; }
.ba-p:not([hidden]) { animation: rise .5s var(--ease); }
.ba-p figcaption { margin-top: 14px; color: var(--ink-2); font-size: 15px; text-align: center; }
.ba { --p: 50%; position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--navy-2); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 14px rgba(0, 0, 0, .4); pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: var(--p); width: 54px; height: 54px; margin: -27px 0 0 -27px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; background: var(--sky); color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); cursor: ew-resize; transition: scale .2s; }
.ba-handle svg { width: 24px; height: 24px; }
.ba.is-drag .ba-handle { scale: 1.08; }
.ba-tag { position: absolute; top: 14px; padding: 7px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; pointer-events: none; transition: opacity .25s; }
.ba-tb { left: 14px; background: rgba(10, 34, 64, .82); color: #fff; }
.ba-ta { right: 14px; background: #fff; color: var(--navy); }
.ba.at-a .ba-tb, .ba.at-b .ba-ta { opacity: 0; }
@media (max-width: 900px) {
  .ba-grid { grid-template-columns: minmax(0, 1fr); }
  .ba-copy { text-align: center; }
  .ba-copy p { margin-inline: auto; }
  .ba-tabs { justify-content: center; }
}
@media (max-width: 600px) {
  .ba-copy h2 { font-size: clamp(32px, 9.4vw, 40px); }
  .ba-tabs { gap: 7px; }
  .ba-tabs .tab { flex: 1 1 0; padding-inline: 8px; }
  .ba { aspect-ratio: 4 / 5; }
}

/* ---------- Services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.svc-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--navy); color: #fff; text-decoration: none; isolation: isolate; }
.svc-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.svc-tile::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(10, 34, 64, 0) 45%, rgba(10, 34, 64, .86)); }
.svc-tile > span { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; }
.svc-tile > span svg { width: 34px; height: 34px; flex: none; padding: 7px; border-radius: 50%; background: rgba(10, 34, 64, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.svc-tile b { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.15; letter-spacing: -.015em; }
@media (hover: hover) { .svc-tile:hover img { scale: 1.06; } }
.svc-more { display: grid; align-content: end; gap: 8px; padding: 18px; background: var(--accent); }
.svc-more::after { content: none; }
.svc-more::before { content: ""; position: absolute; top: 18px; left: 18px; width: 54px; height: 32px; background: rgba(255, 255, 255, .9); clip-path: polygon(0 100%, 50% 0, 100% 100%, 84% 100%, 50% 30%, 16% 100%); }
.svc-more b { font-size: clamp(22px, 2vw, 28px); }
.svc-more > span { position: static; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: #d7e8f8; }
.svc-more > span svg { width: 18px; height: 18px; padding: 0; background: none; flex: none; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .svc-tile { aspect-ratio: 1 / 1.1; border-radius: 14px; }
  .svc-tile > span { left: 10px; right: 10px; bottom: 10px; gap: 8px; }
  .svc-tile > span svg { width: 30px; height: 30px; padding: 6px; }
  .svc-tile b { font-size: clamp(14px, 4vw, 16px); }
  .svc-more { padding: 14px; }
  .svc-more::before { top: 14px; left: 14px; width: 44px; height: 26px; }
  .svc-more b { font-size: 20px; }
  .svc-more > span { font-size: 13.5px; }
}

/* ---------- Values band ---------- */
.values { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 140px) 0; background: var(--navy); color: #fff; box-shadow: 0 0 0 1px var(--navy); }
.chev-bg { position: absolute; right: -6%; bottom: -14%; width: min(820px, 90vw); aspect-ratio: 2; color: var(--sky); opacity: .14; pointer-events: none; }
.chev-bg i { position: absolute; inset: 0; background: currentColor; clip-path: polygon(0 100%, 50% 0, 100% 100%, 90% 100%, 50% 20%, 10% 100%); }
.chev-bg i:nth-child(2) { inset: 24% 12% -24%; } .chev-bg i:nth-child(3) { inset: 48% 24% -48%; }
.values-in { position: relative; text-align: center; }
.values-big { font-family: var(--f-display); font-weight: 800; font-size: clamp(38px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.values-big em { color: var(--sky-2); }
.values-sub { max-width: 40ch; margin: 22px auto 0; color: #b9c8db; font-size: clamp(17px, 1.5vw, 20px); }
.values-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(32px, 4vw, 52px); }
.values-list li { display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .05); }
.values-list svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--sky); color: #fff; flex: none; }
.values-list b { font-size: 15.5px; }
@media (max-width: 600px) {
  .values-list { display: grid; justify-content: stretch; }
  .values-list li { text-align: left; }
}

/* ---------- Project cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.job { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 1px 0 var(--line), 0 24px 50px -36px rgba(10, 34, 64, .5); }
.job-ph { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--bg-2); }
.job-ph img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.kit .job .job-ph { clip-path: var(--roof-0); transition: clip-path 1.2s var(--ease) .1s; }
.kit .job.in .job-ph { clip-path: var(--roof-1); }
.job-tx { position: relative; display: grid; gap: 6px; padding: 20px 22px 24px; }
.where { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--accent); }
.where svg { width: 16px; height: 16px; }
.job h3 { font-size: clamp(22px, 2vw, 26px); }
.job p { color: var(--ink-2); font-size: 15.5px; padding-right: 44px; }
.job-go { position: absolute; right: 18px; bottom: 20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-2); color: var(--navy); transition: background-color .25s, color .25s; }
.job-go svg { width: 18px; height: 18px; }
@media (hover: hover) { .job:hover .job-ph img { scale: 1.05; } .job:hover .job-go { background: var(--accent); color: #fff; } }
@media (max-width: 980px) and (min-width: 761px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .work-grid > :last-child { grid-column: 1 / -1; } .work-grid > :last-child .job-ph { aspect-ratio: 16 / 7; } }

/* ---------- Finale ---------- */
.finale { position: relative; overflow: hidden; padding: clamp(80px, 11vw, 150px) 0; background: linear-gradient(160deg, var(--navy-2), var(--navy) 60%); color: #fff; text-align: center; box-shadow: 0 0 0 1px var(--navy); }
.finale .roofs { left: 50%; top: 50%; translate: -50% -58%; width: min(980px, 130vw); color: #fff; opacity: .05; }
.finale-in { position: relative; display: grid; justify-items: center; }
.finale .mk { width: 74px; height: 74px; margin-bottom: 22px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35)); }
.finale h2 { font-size: clamp(40px, 6.6vw, 88px); max-width: 14ch; }
.finale h2 em { color: var(--sky-2); }
.finale p { max-width: 44ch; margin-top: 18px; color: #b9c8db; font-size: clamp(16.5px, 1.4vw, 19px); }
.finale-btns { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; margin-top: 32px; }
.finale-or { margin: 26px 0 14px; font-size: 14px; font-weight: 600; color: #8fa6c2; }
/* Every way to reach them: phones as pills with the number, chats as round buttons in their own colours */
.reach { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.reach a { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 50px; height: 50px; border-radius: 999px; text-decoration: none; font-weight: 700; transition: background-color .2s, border-color .2s, color .2s; }
.reach svg { width: 22px; height: 22px; flex: none; }
.reach-dark a { border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .07); color: #fff; }
.reach .rc-call { padding: 0 20px 0 16px; font-size: 16.5px; letter-spacing: .01em; }
.reach-dark .rc-call { background: #fff; border-color: #fff; color: var(--navy); }
.reach-dark .rc-call svg { color: var(--accent); }
.reach .rc-wa { background: #25d366; border-color: #25d366; }
.reach .rc-viber { background: #7360f2; border-color: #7360f2; }
.reach .rc-fb { background: #1877f2; border-color: #1877f2; }
@media (hover: hover) {
  .reach-dark .rc-call:hover { background: var(--sky-2); border-color: var(--sky-2); }
  .reach-dark .rc-ig:hover { background: #fff; color: var(--navy); }
  .reach .rc-wa:hover, .reach .rc-viber:hover, .reach .rc-fb:hover { filter: brightness(1.1); }
}
/* the finale and the footer are the same navy: a hairline marks where one ends */
.ft { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
@media (max-width: 560px) { .finale { padding: 64px 0 52px; } .ft { padding-top: 44px; } .finale-btns { display: grid; width: 100%; }
  .finale .reach { width: min(100%, 320px); } .finale .rc-call { flex-basis: 100%; } }

/* ---------- Inner page heads ---------- */
.page-hd { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 112px) 0 clamp(40px, 6vw, 80px); background: var(--bg-2); box-shadow: 0 0 0 1px var(--bg-2); }
.page-hd .roofs { right: -4%; bottom: -8%; width: min(520px, 62vw); color: var(--sky); opacity: .12; }
.page-hd .hero-in { position: relative; }
.page-hd h1 { font-size: clamp(44px, 6.6vw, 92px); margin: 14px 0 18px; max-width: 13ch; }
@media (max-width: 600px) {
  .page-hd { text-align: center; }
  .page-hd h1 { font-size: clamp(38px, 11vw, 48px); margin-inline: auto; }
  .page-hd .lead { margin-inline: auto; }
  .page-hd .roofs { right: 50%; translate: 50% 0; width: 92vw; }
}

/* Sticky chips that jump to each part of the page */
.spy { position: sticky; top: var(--hd-h); z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.spy-in { display: flex; gap: 6px; width: min(var(--max), calc(100% - var(--pad) * 2)); margin-inline: auto; padding: 10px 0; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.spy-in::-webkit-scrollbar { display: none; }
.spy a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 700; text-decoration: none; color: var(--ink-2); transition: background-color .2s, color .2s; }
.spy a small { margin-left: 7px; font-size: 12.5px; font-weight: 800; color: var(--accent); }
.spy a.on { background: var(--navy); color: #fff; }
.spy a.on small { color: var(--sky-2); }
@media (hover: hover) { .spy a:not(.on):hover { color: var(--ink); background: var(--bg-2); } }
@media (pointer: coarse) { .spy { -webkit-backdrop-filter: none; backdrop-filter: none; background: color-mix(in srgb, var(--bg) 97%, transparent); } }
@media (max-width: 760px) {
  .spy-in { width: 100%; padding-inline: var(--pad); scroll-padding-inline: var(--pad); }
  /* the row scrolls: its edges fade so a chip at the edge reads as "more this way", not as cut off */
  .spy-in { -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--pad), #000 calc(100% - 34px), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--pad), #000 calc(100% - 34px), transparent); }
  .spy a { padding: 0 13px; font-size: 14px; }
}
.craft, .proj { scroll-margin-top: calc(var(--hd-h) + 70px); }

/* ---------- Services page ---------- */
.craft { padding: clamp(56px, 7vw, 96px) 0; }
.craft-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.craft-hd { position: sticky; top: calc(var(--hd-h) + 90px); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 14px; }
.craft-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; }
.craft-ic svg { width: 24px; height: 24px; }
.craft-n { font-size: 14px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.craft-hd h2, .craft-hd p, .craft-hd .link { grid-column: 1 / -1; }
.craft-hd h2 { margin-top: 10px; font-size: clamp(32px, 3.6vw, 48px); }
.craft-hd p { color: var(--ink-2); font-size: 17px; max-width: 36ch; }
.craft-hd .link { justify-self: start; margin-top: 6px; }
.craft-gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.craft-gal.n3 > :first-child { grid-column: 1 / -1; }
.craft-gal.n3 > :first-child img { aspect-ratio: 16 / 10; }
.craft-gal figure { margin: 0; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg-2); }
.craft-gal img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; cursor: zoom-in; transition: scale 1s var(--ease); }
@media (hover: hover) { .craft-gal figure:hover img { scale: 1.04; } }
@media (min-width: 1100px) {
  .craft-gal.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .craft-gal.n4 img { aspect-ratio: 3 / 5; }
  .craft-gal.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .craft-gal.n3 > :first-child { grid-column: auto; }
  .craft-gal.n3 img, .craft-gal.n3 > :first-child img { aspect-ratio: 3 / 4.4; }
}
@media (max-width: 860px) {
  .craft-in { grid-template-columns: minmax(0, 1fr); }
  .craft-hd { position: static; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .craft-hd h2 { margin-top: 2px; }
  .craft-hd p { margin-inline: auto; }
  .craft-hd .link { justify-self: center; }
  .craft-gal { gap: 8px; }
}

/* ---------- Projects page ---------- */
.proj { padding: clamp(56px, 7vw, 100px) 0; }
.proj-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.proj-tx { position: sticky; top: calc(var(--hd-h) + 90px); }
.proj-top { display: flex; align-items: center; gap: 18px; }
.sqm { display: inline-flex; align-items: baseline; gap: 6px; padding: 10px 18px 11px; border-radius: 999px; background: var(--navy); color: #fff; line-height: 1; white-space: nowrap; box-shadow: 0 14px 30px -18px rgba(10, 34, 64, .8); }
.sqm b { font-size: clamp(30px, 3vw, 40px); font-weight: 800; letter-spacing: -.04em; }
.sqm small { font-size: 15px; font-weight: 700; color: var(--sky-2); }
.sqm-on { position: absolute; z-index: 1; left: 14px; top: 14px; padding: 8px 14px 9px; background: #fff; color: var(--navy); }
.sqm-on b { font-size: 26px; }
.sqm-on small { font-size: 13px; color: var(--accent); }
.proj-n { display: block; font-size: clamp(56px, 6vw, 84px); font-weight: 800; line-height: .9; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--sky); }
.proj-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 18px; }
.kind { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.proj h2 { margin: 10px 0 14px; font-size: clamp(30px, 3.4vw, 46px); }
.proj-tx > p { color: var(--ink-2); font-size: 17px; max-width: 40ch; }
.ticks { display: grid; gap: 10px; margin: 22px 0 24px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; font-weight: 600; }
.ticks svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; background: var(--sky); color: #fff; stroke-width: 3; }
.proj-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 14px); }
.proj-gal img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); cursor: zoom-in; background: var(--bg-2); }
.proj-gal img:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) {
  .proj-in { grid-template-columns: minmax(0, 1fr); }
  .proj-tx { position: static; text-align: center; }
  .proj-top, .proj-meta { justify-content: center; }
  .proj-tx > p { margin-inline: auto; }
  .ticks { justify-content: center; text-align: left; }
}
@media (max-width: 600px) {
  .proj-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .proj-gal img:first-child { grid-row: auto; aspect-ratio: 4 / 3; }
  .proj-gal img:nth-child(even):last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}

/* ---------- Contact: the planner and the live message ---------- */
.plan-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.plan { display: grid; gap: 14px; }
.plan fieldset { margin: 0; padding: clamp(20px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: grid; gap: 16px; min-width: 0; }
.plan legend { float: left; display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 2px; font-size: clamp(19px, 1.8vw, 23px); font-weight: 800; letter-spacing: -.02em; }
.plan legend b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; flex: none; }
.plan legend + * { clear: both; }
.plan .pill span { font-weight: 600; }
.plan .pill span svg { width: 18px; height: 18px; color: var(--accent); }
.plan .pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.plan .pill input:checked + span svg { color: var(--sky-2); }
.plan .pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.plan .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.send-req { width: 100%; justify-content: center; }
.send-req:disabled { opacity: .6; cursor: progress; }
.form-msg { font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-align: center; }
.form-msg:empty { display: none; }
.form-msg.err { color: #c0392b; }
.form-msg.ok { padding: 14px 16px; border-radius: var(--radius-sm); background: #e8f7ee; color: #17663a; }
.plan.done .send-req { display: none; }
.plan .row { align-items: end; }
.code-row { display: grid; gap: 8px; padding: 16px; border-radius: var(--radius-sm); background: var(--bg-2); }
.code-row[hidden] { display: none; }
.code-row input { font-size: 22px; font-weight: 800; letter-spacing: .3em; text-align: center; }
.link-btn { justify-self: center; padding: 4px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.human:empty { display: none; }   /* a label that wraps must not push its box out of line with the next one */
.field-hint { margin-top: -6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field-hint:empty { display: none; }
.field-hint.err { color: #c0392b; }
.field-hint button { padding: 0; border: 0; background: none; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.unit { position: relative; display: block; }
.unit input { padding-right: 52px; }
.unit i { position: absolute; right: 14px; top: 50%; translate: 0 -50%; font-style: normal; font-weight: 700; color: var(--ink-2); pointer-events: none; }
.chat { position: sticky; top: calc(var(--hd-h) + 20px); display: grid; overflow: hidden; border-radius: 26px; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.chat-hd { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.chat-hd .mk { width: 42px; height: 42px; flex: none; }
.chat-hd span { display: grid; line-height: 1.25; min-width: 0; }
.chat-hd b { font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-hd small { font-size: 12.5px; color: var(--sky-2); }
.chat-body { display: flex; justify-content: flex-end; min-height: 260px; padding: 22px 18px; background: radial-gradient(circle at 20% 0, rgba(43, 151, 227, .18), transparent 60%), var(--navy-2); }
.bubble { align-self: flex-end; max-width: 92%; padding: 14px 16px; border-radius: 20px 20px 6px 20px; background: var(--sky); color: #fff; font-size: 15px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6); }
.bubble.empty { background: rgba(255, 255, 255, .1); color: #b9c8db; }
.chat-send { display: grid; gap: 10px; padding: 18px; }
.chat-send .btn { width: 100%; background: #fff; border-color: #fff; color: var(--navy); }
.chat-send .btn svg { width: 20px; height: 20px; }
.chat-send .btn.viber { background: #7360f2; border-color: #7360f2; color: #fff; }
.chat-send .btn.wa { background: #25d366; border-color: #25d366; color: #fff; }
@media (hover: hover) {
  .chat-send .btn:hover { background: var(--sky-2); border-color: var(--sky-2); color: var(--navy); }
  .chat-send .btn.viber:hover { background: #8b7bf5; border-color: #8b7bf5; color: #fff; }
  .chat-send .btn.wa:hover { background: #3ee07a; border-color: #3ee07a; color: #fff; }
}
.chat-note { font-size: 13px; color: #b9c8db; text-align: center; min-height: 2.4em; }
.chat-note.ok { color: #9fe0b5; }
@media (max-width: 900px) {
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
  .chat { position: static; }
  .chat-body { min-height: 0; }   /* under the form there is no column to line up with: no empty box before a choice */
}
@media (max-width: 520px) {
  .plan fieldset { padding: 18px 14px; }
  .plan .pills { gap: 7px; }
  .plan .pill { flex: 1 1 auto; }
  .plan .pill span { width: 100%; justify-content: center; padding-inline: 12px; font-size: 14px; }
}

.direct .sec-head .where { font-size: 16px; }
.direct-grid { display: grid; grid-template-columns: repeat(var(--c, 3), minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.dcard { position: relative; display: grid; gap: 4px; padding: 22px; border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 1px 0 var(--line); }
.dc-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 50%; background: var(--navy); color: #fff; }
.dc-ic.viber { background: #7360f2; }
.dc-ic.wa { background: #25d366; }
.dc-ic.fb { background: #1877f2; }
.dc-ic.phone { background: var(--accent); }
.dc-ic.mail { background: #ea4335; }
.dc-ic svg { width: 22px; height: 22px; }
.dcard small { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.dcard b { font-size: 17px; overflow-wrap: anywhere; }
.dc-go { position: absolute; top: 22px; right: 22px; color: var(--accent); }
.dc-go svg { width: 20px; height: 20px; }
@media (max-width: 1060px) and (min-width: 761px) { .direct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .direct-grid { grid-template-columns: minmax(0, 1fr); } .dcard { grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; } .dc-ic { grid-row: span 2; margin: 0; } .dc-go { top: 50%; translate: 0 -50%; } }
@media (max-width: 600px) { .direct .sec-head { justify-content: center; text-align: center; } }
/* Direct contact: the phone as one big card, the apps (already in the chat card above) as small tiles in one row */
.direct-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(12px, 1.6vw, 20px); align-items: stretch; }
.direct-calls { display: grid; gap: clamp(12px, 1.6vw, 20px); }
.dcall { align-content: center; }
.dcall b { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.01em; }
.direct-apps { display: grid; grid-template-columns: repeat(var(--cols, var(--n, 3)), minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.dtile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-width: 0; padding: 20px 8px;
  border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; text-align: center; box-shadow: 0 1px 0 var(--line);
  transition: transform .3s ease, box-shadow .3s ease; }
.dtile .dc-ic { margin: 0; }
.dtile b { font-size: 15px; line-height: 1.2; overflow-wrap: anywhere; }
.dtile small { display: none; }
@media (hover: hover) { .dtile:hover, .dcall:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 18px 34px -20px rgba(10, 30, 60, .35); } }
@media (max-width: 760px) {
  .direct-wrap { grid-template-columns: minmax(0, 1fr); }
  .direct-apps { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
  .dtile { padding: 16px 6px; gap: 8px; }
  .dtile b { font-size: 13.5px; }
  .dtile .dc-ic { width: 42px; height: 42px; }
  /* five tiles would cut "Instagram" in half: email takes its own row with the address, the four apps share the next */
  .direct-apps:has(.dtile.mail) { grid-template-columns: repeat(calc(var(--n) - 1), minmax(0, 1fr)); }
  .dtile.mail { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; gap: 14px; padding: 14px 16px; text-align: left; }
  .dtile.mail b { display: none; }
  .dtile.mail small { display: block; min-width: 0; font-size: 15.5px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
  .dtile b { overflow-wrap: normal; }
}

/* ---------- Footer and the phone menu ---------- */
.ft-brand .logo .mk { width: 46px; height: 46px; }
.sheet-links a[aria-current="page"] { color: var(--accent); justify-content: flex-start; }
.sheet-links a[aria-current="page"]::before { content: ""; width: 16px; height: 10px; margin-right: 12px; background: var(--sky); clip-path: polygon(0 100%, 50% 0, 100% 100%, 80% 100%, 50% 38%, 20% 100%); }
.sheet-links a[aria-current="page"] svg { margin-left: auto; }
.sheet-extra { display: grid; gap: 10px; }
.sx-label { font-size: 13px; font-weight: 700; color: var(--accent); }
.sx-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sx-tile { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-sm); background: var(--navy); color: #fff; text-decoration: none; }
.sx-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.sx-tile img.ok { opacity: 1; }
.sx-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10, 34, 64, .82)); }
.sx-tile b { position: absolute; z-index: 1; left: 10px; right: 8px; bottom: 8px; font-size: 14px; line-height: 1.15; }
.sx-reach { flex-wrap: nowrap; justify-content: flex-start; gap: 6px; padding: 8px; border-radius: var(--radius-sm); background: var(--navy); }
.sx-reach a { min-width: 42px; height: 42px; }
.sx-reach .rc-call { flex: 1 1 auto; min-width: 0; padding: 0 12px; font-size: 15px; }
.sx-reach svg { width: 20px; height: 20px; }
.sheet-foot { padding-top: 18px; }
@media (max-height: 720px) {
  .sheet-links a { font-size: 24px; padding: 10px 0; }
  .sheet-extra { margin-top: 16px; }
  .sx-tile { aspect-ratio: 2.3 / 1; }
}

/* Reduced motion: everything is in its final place, and the journey is laid out flat:
   all six stages at once (frames in a strip, every step with its text) instead of a scroll-driven scene */
@media (prefers-reduced-motion: reduce) {
  .bub, .svc-tile img, .job-ph, .jr-frame img { transition: none; }
  .journey { height: auto; padding-block: var(--sec); }
  .jr-stick { position: static; height: auto; display: block; overflow: visible; }
  .jr-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; height: auto; padding: 0; gap: clamp(24px, 3vw, 40px); }
  .jr-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 0 clamp(24px, 5vw, 80px); align-items: start; }
  .jr-copy .eyebrow, .jr-copy h2, .jr-more { grid-column: 1; justify-self: start; }
  .jr-steps { grid-column: 2; grid-row: 1 / span 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; height: auto; padding: 0; }
  .jr-steps::before, .jr-steps::after { content: none; }
  .jr-steps li { position: static; opacity: 1; translate: none; pointer-events: auto; text-align: left; }
  .jr-steps button { justify-content: flex-start; padding: 0 0 4px; color: var(--ink); font-size: 18px; }
  .jr-steps button b { color: var(--accent); opacity: 1; }
  .jr-steps p { max-height: none; opacity: 1; padding: 0 0 0 33px; margin: 0; font-size: 15px; }
  .jr-frame { order: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; width: 100%; height: auto; aspect-ratio: auto; overflow: visible; background: none; box-shadow: none; border-radius: 0; }
  .jr-frame img, .jr-frame img:first-child { position: static; clip-path: none; aspect-ratio: 3 / 4.4; border-radius: 12px; }
  .jr-bar { visibility: hidden; position: absolute; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 900px) {
  .jr-copy { display: grid; grid-template-columns: minmax(0, 1fr); text-align: center; }
  .jr-copy .eyebrow, .jr-copy h2, .jr-more { grid-column: 1; justify-self: center; }
  .jr-copy h2 { margin: 12px 0 22px; }
  .jr-steps { grid-column: 1; grid-row: auto; grid-template-columns: minmax(0, 1fr); gap: 14px; text-align: left; }
  .jr-more { margin-top: 20px; }
  .jr-frame { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
}
