/* JARECH Carwash Services. One blue family from the logo (royal, sky, pale, white) on a light page. Imbue + Albert Sans. */

@font-face { font-family: "Imbue"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/imbue-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/albert-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/albert-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/albert-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  /* surfaces: all cool, all light */
  --paper: #F5F8FB;
  --white: #FFFFFF;
  --band-a: #EAF1F8;
  --band-b: #DCE9F5;
  --pale: #D6E8F7;
  /* text */
  --ink: #0A1A3C;
  --muted: #2A3B5E;
  /* the blues, light to dark */
  --sky-bright: #9AD6FF;
  --sky: #369DE0;
  --cta: #1A72C4;          /* call buttons: white text on it is 4.9:1 */
  --royal: #1C499A;
  --navy: #0A1E45;
  --on-royal-soft: #EDF4FD;

  --font-display: "Imbue", "Bodoni 72", Georgia, serif;
  --font-text: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* the whole type scale: six steps, plus the hero */
  --fs-s: 1.0625rem;
  --fs-b: clamp(1.125rem, 1.06rem + 0.25vw, 1.25rem);
  --fs-l: clamp(1.35rem, 1.1rem + 0.9vw, 1.85rem);
  --fs-h3: clamp(2rem, 1.5rem + 1.6vw, 3.25rem);
  --fs-h2: clamp(2.75rem, 1.4rem + 3.4vw, 4.75rem);
  --fs-d: clamp(3.5rem, 7.4vw, 8rem);

  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(0.75rem, 1.3vw, 1.25rem);
  --pad: clamp(4rem, 8vw, 7.5rem);
  --sheet: clamp(1.75rem, 3.4vw, 2.75rem);   /* curved edge where one section slides over the last */
  --radius: 14px;
  --radius-card: 22px;
  --radius-float: 28px;
  --float-w: 1240px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-text); font-size: var(--fs-b); line-height: 1.6; font-kerning: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; -webkit-tap-highlight-color: transparent; overflow-x: clip; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd, address { margin: 0; }
address { font-style: normal; }
ul { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--royal); color: #fff; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-wrap: balance; hyphens: none; }
h2 { font-size: var(--fs-h2); line-height: 0.98; letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); line-height: 1; }
p { text-wrap: pretty; }
.num, .cell, .btn { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { padding-inline: var(--margin); }
.skip { position: fixed; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; transition: top var(--t-ui) var(--ease-out); }
.skip:focus { top: 8px; }

/* every section after the hero slides over the one before it, with a curved edge */
.sheet { position: relative; z-index: 1; margin-top: calc(var(--sheet) * -1); border-radius: var(--sheet) var(--sheet) 0 0; background: var(--paper); }

/* ---------- buttons and big tap cells ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4em; min-height: 3rem; padding: 0 1.4rem; background: var(--royal); color: #fff; border-radius: var(--radius); font-weight: 700; font-size: var(--fs-s); text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.btn:active { transform: scale(0.96); }
.btn-call { background: var(--cta); color: #fff; }
.btn-msg { background: var(--royal); color: #fff; }
.btn-soft { background: var(--sky-bright); color: var(--ink); }
@media (hover: hover) { .btn-call:hover { background: var(--royal); } .btn-msg:hover { background: var(--ink); } .btn-soft:hover { background: #fff; } }

.cell { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 88px; padding: 14px 24px; border-radius: var(--radius); text-decoration: none; font-weight: 700; font-size: var(--fs-l); line-height: 1.15; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.cell small { font-size: var(--fs-s); font-weight: 600; opacity: 0.92; }
.cell:active { transform: scale(0.97); }
.cell-call { background: var(--cta); color: #fff; }
.cell-light { background: var(--white); color: var(--royal); }
.cell-msg { background: var(--royal); color: #fff; }
@media (hover: hover) { .cell-call:hover { background: var(--royal); } .cell-light:hover { background: var(--pale); } .cell-msg:hover { background: var(--ink); } }

/* tap ripple (added by script to the things you press) */
.rip { position: relative; overflow: hidden; isolation: isolate; }
.ripple { position: absolute; z-index: 2; border-radius: 50%; background: currentColor; opacity: 0.22; pointer-events: none; transform: scale(0.25); animation: ripple 650ms var(--ease-out) forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- glass: the header ---------- */
.glass {
  background: rgba(226, 233, 243, 0.72);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); /* taste-skill-ignore: glass */
  backdrop-filter: blur(22px) saturate(1.6); /* taste-skill-ignore: glass */
  box-shadow: 0 0 0 1px rgba(10, 26, 60, 0.12), 0 12px 32px rgba(10, 26, 60, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.95); /* taste-skill-ignore: floating bar */
  transition: background-color 320ms ease;
}
.is-scrolled .glass { background: rgba(232, 238, 246, 0.9); }

/* ---------- floating header ---------- */
.top { position: fixed; z-index: 50; top: 14px; left: 0; right: 0; padding-inline: var(--margin); pointer-events: none; }
.pill { position: relative; pointer-events: auto; max-width: var(--float-w); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 10px 8px 16px; color: var(--ink); border-radius: var(--radius-float); }
.progress { position: absolute; left: 26px; right: 26px; bottom: 3px; height: 3px; border-radius: 3px; background: var(--cta); transform: scaleX(var(--p, 0)); transform-origin: left; pointer-events: none; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; }
.brand img { height: 54px; width: auto; }
.brand-word { font-family: var(--font-display); text-transform: uppercase; font-size: 2.5rem; line-height: 1; letter-spacing: 0.02em; color: var(--royal); }
.nav { display: none; gap: 34px; font-weight: 600; font-size: var(--fs-s); margin-inline: auto; }
.nav a { position: relative; text-decoration: none; padding: 10px 0; transition: color var(--t-hover) ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--royal); transform: scaleX(0); transform-origin: left; transition: transform var(--t-ui) var(--ease-out); }
.nav a[aria-current] { color: var(--royal); }
.nav a[aria-current]::after { transform: scaleX(1); }
@media (hover: hover) { .nav a:hover::after { transform: scaleX(1); } }
.top-cta { display: flex; align-items: center; gap: 8px; }
@media (min-width: 52em) { .nav { display: flex; } .brand img { height: 58px; } .brand-word { font-size: 3rem; } }
@media (max-width: 30em) { .top { top: 10px; } .pill { padding: 6px 8px 6px 10px; gap: 8px; } .brand { gap: 6px; } .brand img { height: 44px; } .brand-word { font-size: 2.1rem; } .btn { padding: 0 1.15rem; min-height: 2.9rem; } .progress { left: 18px; right: 18px; } }

/* ---------- 1. hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; background: var(--navy); color: #fff; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-dim { position: absolute; inset: 0; background: rgba(5, 14, 36, 0.52); }
.hero-copy { position: relative; padding: 130px var(--margin) calc(180px + var(--sheet)); }
.hero h1 { line-height: 0.85; text-transform: uppercase; letter-spacing: -0.01em; }
.hero h1 > span { display: block; }
.hero h1 .hello { font-size: clamp(1.75rem, 3.4vw, 3.5rem); line-height: 1; color: var(--sky-bright); margin-bottom: 0.2em; letter-spacing: 0.02em; }
.hero h1 .name { font-size: clamp(4rem, 17.2vw, 19rem); }
.hero h1 b, .hero h1 i { font-weight: 400; font-style: normal; }
.hero h1 b { color: #fff; }
.hero h1 i { color: var(--sky-bright); }
.hero-copy p { margin-top: 28px; font-size: var(--fs-l); line-height: 1.4; max-width: 38ch; color: #fff; }
.cards { position: absolute; right: var(--margin); bottom: calc(var(--margin) + var(--sheet)); display: flex; gap: 16px; }
.card { width: clamp(11.5rem, 15vw, 15rem); text-decoration: none; color: var(--ink); background: var(--white); display: block; border-radius: var(--radius); transition: transform var(--t-press) var(--ease-out); }
.card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 900ms var(--ease-out); }
.card span { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 14px; background: var(--white); font-weight: 700; font-size: var(--fs-s); }
.card i { font-style: normal; transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) { .card:hover i { transform: translateX(4px); } .card:hover img { transform: scale(1.06); } }
.card:active { transform: scale(0.97); }
@media (max-width: 47.99em) {
  .hero { align-items: start; }
  .hero-video { object-position: 68% 50%; }
  .hero-copy { padding: 22svh var(--margin) 0; }
  .hero h1 .hello { font-size: 8vw; }
  .hero h1 .name { font-size: 31vw; line-height: 0.82; }
  .hero h1 b, .hero h1 i { display: block; }
  .hero-copy p { margin-top: 20px; }
  .cards { left: var(--margin); gap: 12px; }
  .card { flex: 1; width: auto; }
  .card span { padding: 0 12px; }
}

/* ---------- 2. intro: short ---------- */
.intro { padding-top: var(--pad); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.intro-lead { font-family: var(--font-text); font-weight: 600; font-size: var(--fs-l); line-height: 1.2; letter-spacing: 0; color: var(--muted); }
.intro-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px var(--gutter); margin-top: clamp(1.25rem, 2.5vw, 2rem); }
.intro-list li { display: grid; gap: 8px; align-content: start; cursor: pointer; -webkit-user-select: none; user-select: none; }
.intro-list strong { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--fs-d); line-height: 0.88; letter-spacing: -0.01em; color: var(--ink); }
.intro-list li:nth-child(1) strong { color: var(--royal); }
.intro-list li > span { font-size: var(--fs-b); line-height: 1.4; max-width: 20ch; color: var(--ink); transition: translate 320ms var(--ease-out); }
@media (hover: hover) { .intro-list li:hover > span { translate: 6px 0; } }
.intro-list li:active > span { translate: 6px 0; }
.wd { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; }
@keyframes hop { 40% { transform: translateY(-16%); color: var(--sky); } }
.hop .ch { animation: hop 560ms var(--ease-out) both; animation-delay: calc(var(--c, 0) * 30ms); }
@media (max-width: 62em) { .intro-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30em) { .intro-list strong { font-size: 14vw; } }

/* ---------- a slow ribbon of the four things we do, moved by scrolling ---------- */
.ribbon { background: var(--paper); overflow: hidden; padding: clamp(1rem, 2.5vw, 2rem) 0 calc(var(--sheet) + clamp(1.25rem, 3vw, 2.5rem)); }
.ribbon-track { display: flex; width: max-content; translate: var(--rx, 0px) 0; will-change: translate; }
.ribbon-group { display: flex; flex: none; align-items: center; }
.ribbon-group span { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 1; color: var(--cta); white-space: nowrap; }
.ribbon-group span:nth-child(odd) { color: var(--royal); }
.ribbon-group span::after { content: ""; display: inline-block; width: 0.2em; height: 0.2em; margin-inline: 0.55em; border-radius: 50%; background: var(--pale); vertical-align: middle; }

/* ---------- 3. the three words from the logo ---------- */
.chapters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; background: var(--pale); }
.chap { display: block; text-decoration: none; color: #fff; overflow: hidden; position: relative; background: var(--pale); }
.chap img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transform: scale(1.12); translate: 0 calc(var(--par, 0) * -5%); transition: transform 1200ms var(--ease-out); }
.chap span { display: flex; align-items: center; justify-content: space-between; min-height: calc(clamp(5rem, 9vw, 8.5rem) + var(--sheet)); padding: 0 var(--margin) var(--sheet); font-family: var(--font-display); text-transform: uppercase; font-size: var(--fs-h2); line-height: 0.9; transition: background-color var(--t-ui) ease, color var(--t-ui) ease; position: relative; z-index: 1; }
.chap .arr { flex: none; width: clamp(1.5rem, 2.4vw, 2.25rem); height: auto; transition: transform var(--t-ui) var(--ease-out); }
.c-royal { background: var(--royal); }
.c-sky { background: var(--sky); color: var(--ink); }
.c-pale { background: var(--pale); color: var(--ink); }
@media (hover: hover) { .chap:hover img { transform: scale(1.18); } .chap:hover .arr { transform: translateX(8px); } }
.chap:active .arr { transform: translateX(8px); }
@media (max-width: 47.99em) {
  .chapters { grid-template-columns: 1fr; gap: 12px; padding: 0 16px calc(var(--sheet) + 12px); background: var(--paper); }
  .chap { border-radius: var(--radius); display: grid; grid-template-columns: 40% 1fr; }
  .chap img { height: 100%; aspect-ratio: auto; min-height: 32vw; }
  .chap span { min-height: 0; font-size: 9.5vw; padding: 0 16px; }
}

/* ---------- 4. services: pick a kind, see what is inside ---------- */
.services { padding-top: var(--pad); padding-bottom: clamp(5rem, 10vw, 7rem); }
.svc-sub { margin-top: 12px; font-size: var(--fs-l); line-height: 1.3; color: var(--muted); font-weight: 500; }
.svc { margin-top: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: var(--gutter); }

/* without script: every kind is simply listed */
.svc-tabs, .svc-photos { display: none; }
.svc-stage { background: var(--white); border-radius: var(--radius-card); padding: clamp(1.25rem, 3vw, 2.5rem); display: grid; gap: 28px; }
.svc-panel h3 { margin-bottom: 14px; }
.svc-panel ul { display: grid; gap: 8px; }
.svc-panel li { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 12px; background: var(--band-a); font-size: var(--fs-l); font-weight: 600; line-height: 1.2; }
.svc-panel li:nth-child(even) { background: var(--band-b); }
.svc-panel li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--royal); }

/* with script: tabs on the left, one big photo and its list on the right */
.js .svc { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1rem, 2vw, 1.75rem); align-items: stretch; }
.js .svc-tabs { display: grid; grid-auto-rows: 1fr; position: relative; padding: 8px; background: var(--band-a); border-radius: var(--radius-card); }
.svc-ind { position: absolute; left: 8px; right: 8px; top: 8px; height: calc((100% - 16px) / 4); background: var(--royal); border-radius: var(--radius); transform: translateY(calc(var(--idx, 0) * 100%)); transition: transform 380ms var(--ease-out); }
.svc-tab { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 clamp(1rem, 2vw, 1.75rem); text-align: left; color: var(--ink); background-color: transparent; border-radius: var(--radius); min-height: 84px; transition: color 220ms ease, transform var(--t-press) var(--ease-out); }
.svc-tab:active { transform: scale(0.97); }
.t-text { display: grid; gap: 6px; }
.t-name { font-family: var(--font-display); text-transform: uppercase; font-size: var(--fs-h2); line-height: 0.88; letter-spacing: -0.005em; }
.t-meta { font-size: var(--fs-s); font-weight: 600; }
.t-arr { flex: none; width: 28px; height: 28px; opacity: 0; transform: translateX(-8px); transition: opacity 220ms ease, transform 320ms var(--ease-out); }
.svc-tab[aria-selected="true"] { color: #fff; background-color: var(--royal); transition: color 220ms ease, background-color 0s 360ms, transform var(--t-press) var(--ease-out); }
.svc-tab[aria-selected="true"] .t-arr { opacity: 1; transform: none; }
@media (hover: hover) { .svc-tab[aria-selected="false"]:hover { color: var(--royal); } }

.js .svc-stage { padding: 0; gap: 0; overflow: hidden; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: clamp(27rem, 38vw, 35rem); }
.js .svc-photos { display: block; position: relative; background: var(--band-b); }
.svc-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 480ms ease-out, transform 1000ms var(--ease-out); }
.svc-photos img.is-on { opacity: 1; transform: none; }
.js .svc-panels { padding: clamp(1.25rem, 3vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; }
.js .svc-panel li { opacity: 0; transform: translateY(10px); animation: row-in 360ms var(--ease-out) forwards; animation-delay: calc(var(--n, 0) * 55ms); transition: translate 260ms var(--ease-out); }
@media (hover: hover) { .js .svc-panel li:hover { translate: 6px 0; } }
@keyframes row-in { to { opacity: 1; transform: none; } }

@media (max-width: 62em) {
  .js .svc { grid-template-columns: 1fr; }
  .js .svc-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; }
  .svc-ind { top: 8px; bottom: 8px; left: 8px; right: auto; height: auto; width: calc((100% - 16px) / 4); transform: translateX(calc(var(--idx, 0) * 100%)); }
  .svc-tab { flex-direction: column; justify-content: center; align-items: center; min-height: 84px; padding: 8px 4px; text-align: center; gap: 0; }
  .t-text { justify-items: center; }
  .t-arr { display: none; }
  .t-name { font-size: clamp(2rem, 6vw, 3rem); }
}
@media (max-width: 40em) {
  .js .svc-stage { grid-template-columns: 1fr; min-height: 0; }
  .js .svc-photos { aspect-ratio: 16 / 11; }
  .t-meta { display: none; }
  .svc-tab { min-height: 64px; }
  .t-name { font-size: 7.4vw; }
  .svc-panel li { padding: 16px 16px; }
  .js .svc-panel h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

.reach-sec { padding-bottom: calc(var(--pad) * 0.7 + var(--sheet)); }
.reach { padding: clamp(1.25rem, 3vw, 2.5rem); background: var(--pale); border-radius: var(--radius-card); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px var(--gutter); align-items: center; }
.reach-q { font-size: var(--fs-h2); line-height: 0.98; letter-spacing: -0.005em; }
.reach-cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.reach-cells .cell:only-child { grid-column: 1 / -1; }
@media (max-width: 62em) { .reach { grid-template-columns: 1fr; } }
@media (max-width: 40em) { .reach-cells { grid-template-columns: 1fr; } }

/* ---------- 5. gallery: grouped, tap to enlarge ---------- */
.gallery { background: var(--pale); padding-top: var(--pad); padding-bottom: calc(var(--pad) + var(--sheet)); }
.gal-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }
.gal-title p { font-size: var(--fs-b); font-weight: 500; }
.gal-group { margin-top: clamp(2.5rem, 5vw, 4rem); }
.gal-group h3 { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem); margin-bottom: 16px; }
.gal-grid { display: grid; gap: var(--gutter); }
.gal-grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gal-grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gal-grid figure { margin: 0; }
.ph { display: block; width: 100%; overflow: hidden; background: var(--band-b); cursor: zoom-in; border-radius: var(--radius); transition: transform var(--t-press) var(--ease-out); }
.ph img { width: 100%; height: auto; object-fit: cover; transition: transform 900ms var(--ease-out); }
.g4 .ph img { aspect-ratio: 4 / 5; }
.g2 .ph img { aspect-ratio: 4 / 3; }
@media (hover: hover) { .ph:hover img { transform: scale(1.06); } }
.ph:active { transform: scale(0.97); }
@media (max-width: 62em) { .gal-grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30em) { .gal-grid { gap: 8px; } .gal-grid.g2 { grid-template-columns: 1fr; } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(5, 14, 36, 0.94); display: grid; place-items: center; padding: 64px 16px 24px; opacity: 0; transition: opacity 220ms ease; }
.lb.show { opacity: 1; }
.lb[hidden] { display: none; }
.lb img { max-width: min(100%, 1100px); max-height: 100%; width: auto; height: auto; object-fit: contain; transform: scale(0.95); opacity: 0; transition: transform 380ms var(--ease-out), opacity 220ms ease; }
.lb.show img { transform: none; opacity: 1; }
.lb.swap img { opacity: 0; transform: scale(0.98); transition-duration: 120ms; }
.lb-close { position: absolute; top: 14px; right: 14px; min-height: 48px; padding: 0 20px; background: #fff; color: var(--ink); font-weight: 700; font-size: var(--fs-s); border-radius: var(--radius); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; background: #fff; color: var(--ink); font-size: 1.5rem; border-radius: var(--radius); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.lb-close:active, .lb-nav:active { transform: scale(0.94); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
@media (hover: hover) { .lb-close:hover, .lb-nav:hover { background: var(--sky-bright); } }

/* ---------- 6. find us ---------- */
.find { background: var(--royal); color: #fff; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 2.75rem) var(--gutter); padding: var(--pad) var(--margin) calc(var(--pad) + var(--sheet)); align-items: start; }
.find-a { grid-column: 1 / 7; }
.find-b { grid-column: 7 / -1; padding-top: 0.5rem; }
.find address { margin-top: 24px; font-size: var(--fs-l); line-height: 1.3; font-weight: 500; max-width: 28ch; }
.landmarks { display: grid; gap: 10px; font-size: var(--fs-l); line-height: 1.3; }
.landmarks b { color: var(--sky-bright); font-weight: 700; }
.find-cells { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 36rem; }
.find .cell-call { background: var(--sky-bright); color: var(--ink); }
@media (hover: hover) { .find .cell-call:hover { background: #fff; } }
.find-maps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.find-maps figure { margin: 0; }
.find-maps img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.find-maps figcaption { margin-top: 10px; font-size: var(--fs-s); color: var(--on-royal-soft); font-weight: 500; line-height: 1.4; }
@media (max-width: 62em) { .find-a, .find-b { grid-column: 1 / -1; } .find-maps { grid-template-columns: 1fr; } .find-cells { max-width: none; } }
@media (max-width: 30em) { .find-cells { grid-template-columns: 1fr; } }

/* ---------- floating footer ---------- */
.foot-wrap { padding: calc(var(--sheet) + clamp(0.75rem, 2vw, 1.5rem)) var(--margin) clamp(1rem, 2.5vw, 2rem); }
.foot { max-width: var(--float-w); margin-inline: auto; background: var(--navy); color: #fff; border-radius: var(--radius-float); padding: clamp(1.75rem, 4vw, 3.25rem); display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px var(--gutter); }
.foot-brand img { width: min(100%, 11.5rem); height: auto; }
.foot-brand p { margin-top: 16px; max-width: 28ch; font-size: var(--fs-b); color: var(--on-royal-soft); line-height: 1.5; }
.foot-col { display: grid; gap: 2px; align-content: start; }
.foot-col h3 { font-family: var(--font-text); font-size: var(--fs-b); font-weight: 700; line-height: 1.3; margin-bottom: 10px; color: var(--sky-bright); letter-spacing: 0.01em; }
.foot-col a:not(.btn) { position: relative; justify-self: start; text-decoration: none; color: var(--on-royal-soft); padding: 7px 0; font-size: var(--fs-b); font-weight: 500; transition: color var(--t-hover) ease, translate var(--t-ui) var(--ease-out); }
@media (hover: hover) { .foot-col a:not(.btn):hover { color: #fff; translate: 4px 0; } }
.foot-col .btn { justify-self: start; margin-bottom: 6px; }
.foot-legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-top: 8px; font-size: var(--fs-s); color: var(--on-royal-soft); }
.foot-legal a { color: #fff; font-weight: 600; }
@media (max-width: 62em) { .foot { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 40em) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 22px; } .foot-brand { grid-column: 1 / -1; } div.foot-col { grid-column: 1 / -1; } }

/* ---------- motion: content is visible without script, and with reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; animation: fade 700ms ease-out forwards; animation-delay: calc(var(--i, 0) * 80ms + 100ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(26px) scale(0.98); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  /* headlines rise word by word, big words rise letter by letter */
  .js .w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: 0.1em; margin-block: -0.1em; }
  .js .wi { display: inline-block; transform: translateY(115%); transition: transform 900ms var(--ease-out); transition-delay: calc(var(--w, 0) * 80ms); }
  .js [data-words].is-in .wi { transform: none; }
  .js [data-chars] .ch { opacity: 0; transform: translateY(45%); transition: opacity 600ms ease, transform 800ms var(--ease-out); transition-delay: calc(var(--c, 0) * 45ms); }
  .js [data-chars].is-in .ch { opacity: 1; transform: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .svc-ind, .svc-photos img, .svc-tab, .t-arr, .lb, .lb img { transition: none; }
  .js .svc-panel li { animation: none; opacity: 1; transform: none; }
  .ripple { display: none; }
}
