:root {
  --color-bg: #090a0b;
  --color-surface: #101214;
  --color-panel: #121619;
  --color-text: #f2f3f4;
  --color-muted: #a8afb7;
  --color-silver: #c8cdd3;
  --color-focus: #e7eaee;
  --color-light: #e1e5e9;
  --color-error: #e0adad;
  --color-accent: #c8cdd3;
  --accent-border: #c8cdd366;
  --accent-glow: #c8cdd326;
  --accent-surface: #c8cdd30f;
  --neon: #a970ff;
  --neon-line: #a970ff80;
  --neon-glow: #a970ff59;
  --neon-soft: #a970ff1f;
  --color-ink: #101214;
  --color-border: #ffffff24;
  --color-border-soft: #ffffff14;
  --color-backdrop: #000d;
  --color-scrim: #090a0bc9;
  --font-body: Arial, Helvetica, sans-serif;
  --text-xs: 14px;
  --text-sm: 16px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-hero: clamp(46px, 4.25vw, 76px);
  --text-section: clamp(40px, 4.4vw, 68px);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-button: var(--radius-md);
  --duration-fast: 180ms;
  --duration-normal: 280ms;
  --container-max: 1280px;
  --page-gutter: 6%;
  --edge-gutter: 5.2%;
  --header-height: 92px;
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-reveal: 700ms;
  --motion-panel: 460ms;
  --duration-image: 700ms;
  --color-white: #fff;
  --color-steel: #555d65;
  --white-02: #ffffff05;
  --white-05: #ffffff0d;
  --white-20: #ffffff33;
  --white-30: #ffffff4d;
  --white-40: #ffffff66;
  --white-50: #ffffff80;
  --white-65: #ffffffa6;
  --white-75: #ffffffc0;
  --accent-faint: #c8cdd30a;
  --accent-line: #c8cdd34d;
  --accent-strong: #c8cdd38c;
  --bg-10: #090a0b1a;
  --bg-20: #090a0b33;
  --bg-55: #090a0b88;
  --bg-solid: #090a0bf5;
  --surface-glass: #101214f0;
  --shadow-soft: #0004;
  --shadow-strong: #0009;
  --shadow-deep: #000d;
  --text-2xs: 12px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 40px;
  color-scheme: dark;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: var(--button-align, center);
  gap: var(--button-gap, var(--space-5));
  min-height: var(--button-height, 49px);
  padding: var(--button-padding, var(--space-3) var(--space-5));
  border: var(--button-border, 1px solid var(--color-light));
  border-radius: var(--radius-button);
  background: var(--button-bg, var(--color-silver));
  color: var(--button-color, var(--color-ink));
  font-size: var(--button-font-size, var(--text-sm));
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    background var(--duration-normal) var(--ease-premium),
    border-color var(--duration-normal) var(--ease-premium),
    box-shadow var(--duration-normal) var(--ease-premium),
    scale 160ms var(--ease-premium);
}
.button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, var(--white-30) 50%, transparent 70%) 120% 0 / 250% 100% no-repeat;
  opacity: 0;
  transition: opacity 420ms var(--ease-premium), background-position 900ms var(--ease-premium);
}
.button:hover:not(:disabled):not([aria-disabled="true"]),
.button:focus-visible {
  border-color: var(--neon-line);
  box-shadow: 0 0 22px var(--neon-glow), inset 0 0 12px var(--neon-soft);
}
.button:hover:not(:disabled):not([aria-disabled="true"])::after,
.button:focus-visible::after {
  opacity: .5;
  background-position: -20% 0;
}
.button:active:not(:disabled):not([aria-disabled="true"]) {
  scale: .975;
  box-shadow: inset 0 2px 7px var(--shadow-soft), inset 0 0 0 1px var(--white-30);
}
.button:active:not(:disabled):not([aria-disabled="true"])::after {
  opacity: 1;
  transition-duration: 80ms;
}
@media (prefers-reduced-motion: reduce) {
  .button, .button::after { transition: none; }
  .button:active:not(:disabled):not([aria-disabled="true"]) { scale: none; }
}
.section {
  padding: var(--section-top, 96px)
    max(var(--page-gutter), calc((100vw - var(--section-width, var(--container-max))) / 2))
    var(--section-bottom, 64px);
  scroll-margin-top: calc(var(--header-height) + 8px);
}
.section-title {
  margin: 0;
  font-size: var(--text-section);
  line-height: 1.08;
  letter-spacing: -2.4px;
  font-weight: 500;
}
.section-title span {
  color: var(--color-muted);
}
@media (max-width: 800px) {
  :root {
    --header-height: 76px;
    --text-section: 40px;
  }
  .section {
    --section-top: 64px;
    --section-bottom: 48px;
  }
  .section-title {
    letter-spacing: -1.5px;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  overflow-wrap: break-word;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--neon-line);
  outline-offset: 2px;
}
a {
  color: inherit;
  text-decoration: none;
}
.skip {
  position: fixed;
  left: 20px;
  z-index: 20;
  background: var(--color-white);
  color: var(--color-ink);
  padding: var(--space-3);
  top: 12px;
  transform: translateY(-200%);
}
.skip:focus {
  top: 12px;
  transform: translateY(0);
}
.logo {
  flex-shrink: 0;
  line-height: 1;
}
.brand-logo {
  display: block;
  width: clamp(132px, 13vw, 184px);
  height: auto;
}
header .logo {
  position: relative;
  display: block;
}
@supports (mask-image: url("")) or (-webkit-mask-image: url("")) {
  header .logo:after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 40%, var(--white-75) 48%, var(--color-white) 50%, var(--white-75) 52%, transparent 60%);
    background-size: 300% 100%;
    mask: url("/brand/avs-logo-silver.svg") center / contain no-repeat;
    -webkit-mask: url("/brand/avs-logo-silver.svg") center / contain no-repeat;
    opacity: 0;
    animation: logo-silver-wave 10s linear infinite;
  }
}
@keyframes logo-silver-wave {
  0%, 84% { background-position: 150% 50%; opacity: 0; }
  85% { background-position: 150% 50%; opacity: 1; }
  97% { background-position: -50% 50%; opacity: 1; }
  98%, 100% { background-position: -50% 50%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  header .logo:after { animation: none; opacity: 0; }
}
.nav button {
  border: 0;
  background: none;
  font-size: var(--text-sm);
  color: var(--color-silver);
  padding: var(--space-3) 0;
  position: relative;
}
.booking {
  --button-color: var(--color-text);
  --button-border: 1px solid var(--accent-border);
  --button-bg: linear-gradient(115deg, var(--accent-surface), var(--white-02));
  --button-padding: 13px 21px;
  --button-font-size: var(--text-xs);
  --button-gap: 28px;
  letter-spacing: 0.2px;
}
.menu-toggle {
  display: none;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Title sits in the dark ceiling at the top; the car takes the remaining space below. */
  justify-content: flex-start;
  align-items: center;
  gap: var(--space-5);
  gap: clamp(var(--space-4), 2.5svh, var(--space-6));
  min-height: 100vh;
  min-height: min(100svh, 1100px);
  padding: calc(var(--header-height) + var(--space-7)) 0 var(--space-7);
  padding: calc(var(--header-height) + clamp(var(--space-6), 5svh, var(--space-8))) 0 clamp(var(--space-5), 4svh, var(--space-7));
}
.scene, .shade { position: absolute; inset: 0; z-index: -2; }
.scene {
  background: url("/images/hero-background.webp") center calc(50% + var(--room-offset, 40px)) / cover no-repeat;
  transition: filter var(--duration-image) var(--ease-premium);
}
/* Separate ambient light layer follows the background crop, behind the car. */
.hero-lamp-glow {
  position: absolute;
  left: var(--room-image-left, 0px);
  top: var(--room-image-top, 0px);
  width: var(--room-image-width, 100%);
  height: var(--room-image-height, 100%);
  overflow: visible;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .48;
  animation: lamp-breath 9s ease-in-out infinite;
}
.scene.is-light-paused .hero-lamp-glow { animation-play-state: paused; }
/* The glow follows the background crop computed in app.js; it stays hidden until placed so it never jumps (CLS). */
.scene:not(.is-positioned) .hero-lamp-glow { visibility: hidden; }
@keyframes lamp-breath {
  0%, 100% { opacity: .38; }
  50% { opacity: .66; }
}
/* Phones: the blurred glow repaints every frame while breathing, so it stays still there. */
@media (prefers-reduced-motion: reduce), (max-width: 800px) {
  .hero-lamp-glow { animation: none; opacity: .45; }
}
.hero-wall-logo {
  position: absolute;
  display: block;
  height: auto;
  visibility: hidden;
  opacity: .36;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-wall-logo.is-positioned { visibility: visible; }
.shade {
  z-index: -1;
  background: linear-gradient(180deg, var(--bg-55), var(--bg-20) 32%, transparent 56%, var(--color-scrim));
}
.intro {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--page-gutter);
  width: 100%;
  max-width: 1200px;
  pointer-events: none;
}
.intro h1 { overflow-wrap: anywhere; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.08; text-wrap: balance; }
.intro h1 > span, .intro .subtitle > span { display: block; }
.intro h1 .hero-title-phrase { white-space: nowrap; }
.intro .subtitle { max-width: 72ch; margin: var(--space-4) auto 0; text-wrap: balance; }
/* The hero photo has a bright ceiling lamp strip; a soft dark halo keeps it from striking through the text. */
.intro .subtitle { position: relative; isolation: isolate; text-shadow: 0 1px 2px var(--color-bg), 0 0 12px var(--color-bg); }
.intro .subtitle::before {
  content: "";
  position: absolute;
  inset: -14px -48px;
  z-index: -1;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, var(--bg-solid) 35%, transparent);
  opacity: .85;
  pointer-events: none;
}
.hero-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 8%;
  right: 8%;
  bottom: -4%;
  height: 34%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, var(--neon-glow), transparent 70%);
  pointer-events: none;
}
.hero-stage {
  position: relative;
  z-index: 3;
  flex: none;
  margin-top: auto;
  width: min(1080px, 96%);
  width: min(1080px, 96%, max(520px, calc((100svh - 340px) * 2)));
  aspect-ratio: 2;
}
.hero-car {
  position: absolute;
  inset: 0;
  background: url("/images/hero-gtr.webp") center / contain no-repeat;
}
@media (max-width: 1100px) and (orientation: portrait) {
  .hero { min-height: 0; padding-top: calc(var(--header-height) + var(--space-6)); padding-bottom: var(--space-6); gap: var(--space-5); }
  .hero-stage { width: min(800px, 100%); }
  .intro h1 { font-size: clamp(30px, 5vw, 48px); letter-spacing: -1.3px; }
}
@media (max-width: 600px) and (orientation: portrait) {
  .hotspots { display: none; }
  .intro h1 { font-size: clamp(22px, 6.5vw, 38px); line-height: 1.12; letter-spacing: -.8px; }
  .intro .subtitle { font-size: var(--text-xs); margin: var(--space-4) auto 0; line-height: 1.65; }
}
@media (max-height: 540px) and (min-width: 540px) {
  .hero { display: grid; grid-template-columns: .9fr 1.1fr; align-content: center; min-height: 100svh; gap: var(--space-5); padding: calc(var(--header-height) + var(--space-5)) 4% var(--space-6); }
  .intro { padding: 0; min-width: 0; }
  .intro h1 { font-size: clamp(24px, 3.4vw, 36px); letter-spacing: -1px; }
  .intro .subtitle { font-size: var(--text-xs); line-height: 1.5; margin: var(--space-4) auto 0; }
  .hero-stage { width: 100%; min-width: 0; }
}
.eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 3.5px;
  font-weight: 500;
  margin: 0 0 var(--space-5);
  color: var(--neon);
  text-shadow: 0 0 12px var(--neon-glow);
}
h1 {
  font-size: var(--text-hero);
  letter-spacing: -2.6px;
  line-height: 1.04;
  margin: 0;
  font-weight: 600;
}
.subtitle {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--color-silver);
  line-height: 1.6;
  margin: var(--space-5) 0 var(--space-5);
}
.primary {
  box-shadow: 0 0 22px var(--neon-soft);
  --button-gap: 40px;
  --button-align: center;
  --button-border: 1px solid var(--color-light);
  --button-bg: var(--color-silver);
  --button-color: var(--color-ink);
  --button-padding: 12px 24px;
  --button-font-size: var(--text-xs);
  --button-height: 49px;
}
.primary:hover {
  background: var(--color-focus);
}
.hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.spot {
  position: absolute;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  pointer-events: auto;
  translate: -50% -50%;
}
.dot {
  display: block;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  border: 1px solid var(--white-65);
  background: var(--white-05);
  position: relative;
  transition:
    scale var(--duration-normal) var(--ease-premium),
    background var(--duration-normal) var(--ease-premium);
  box-shadow: 0 0 0 5px var(--bg-10);
}
.dot:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: 11px;
  top: 11px;
  border-radius: 50%;
  background: var(--color-text);
  box-shadow: 0 0 8px var(--neon), 0 0 18px var(--neon-glow);
}
.dot::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--neon-line);
  opacity: 0;
  animation: dot-ring 3.6s var(--ease-premium) infinite;
  animation-delay: calc(var(--spot-index, 0) * 0.45s);
}
@keyframes dot-ring { 0% { opacity: .9; scale: 1; } 60%, 100% { opacity: 0; scale: 1.9; } }
.hero:has(.is-light-paused) .dot::before { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .dot::before { animation: none; } }
.spot:hover .dot,
.spot:focus-visible .dot {
  scale: 1.08;
  background: var(--neon-soft);
  border-color: var(--neon);
  box-shadow: 0 0 22px var(--neon-glow);
}
.spot:hover .dot:after,
.spot:focus-visible .dot:after {
  background: var(--neon);
  box-shadow: 0 0 14px var(--neon);
}
.tooltip {
  position: absolute;
  bottom: 55px;
  left: calc(50% + var(--tip-offset, 0px));
  width: 220px;
  padding: var(--space-4) var(--space-4);
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--accent-strong);
  border-radius: 7px;
  opacity: 0;
  translate: -50% 8px;
  visibility: hidden;
  transition:
    opacity var(--duration-fast) var(--ease-premium),
    translate var(--duration-fast) var(--ease-premium),
    visibility var(--duration-fast) var(--ease-premium);
  pointer-events: auto;
}
.tooltip:before {
  content: "";
  position: absolute;
  inset: 100% 0 auto;
  height: 28px;
}
.tooltip:after {
  content: "";
  height: 24px;
  width: 1px;
  background: var(--accent-strong);
  position: absolute;
  top: 100%;
  left: calc(50% - var(--tip-offset, 0px));
}
.tooltip strong {
  display: block;
  font-weight: 500;
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}
.tooltip span {
  font-size: var(--text-xs);
  line-height: 1.6;
  color: var(--color-muted);
}
.spot:not(.tooltip-dismissed):focus-visible .tooltip {
  visibility: visible;
  opacity: 1;
  translate: -50% 0;
}
dialog {
  width: min(520px, calc(100% - 32px));
  background: var(--color-panel);
  color: var(--color-text);
  border: 1px solid var(--color-steel);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
}
dialog::backdrop {
  background: var(--color-backdrop);
}
dialog h2 {
  font-size: var(--text-3xl);
  letter-spacing: -1px;
  font-weight: 500;
}
dialog p,
dialog li {
  color: var(--color-muted);
  line-height: 1.7;
  font-size: var(--text-sm);
}
dialog ul {
  padding-left: var(--space-5);
}
.close {
  position: absolute;
  right: 16px;
  top: 12px;
  background: none;
  border: 0;
  font-size: var(--text-3xl);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
@media (hover: hover) {
  .spot:not(.tooltip-dismissed):hover .tooltip {
    visibility: visible;
    opacity: 1;
    translate: -50% 0;
  }
}
.spot.tip-below .tooltip { bottom: auto; top: 55px; }
.spot.tip-below .tooltip:before { inset: auto 0 100%; }
.spot.tip-below .tooltip:after { top: auto; bottom: 100%; }
.scene[data-zone="interior"] {
  filter: brightness(0.9);
}
.scene[data-zone="body"] {
  filter: brightness(1.06);
}
@media (max-width: 800px) {
  .booking {
    margin-left: auto;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    gap: var(--space-2);
    background: transparent;
    border: 0;
    padding: var(--space-3);
    margin-left: var(--space-3);
    z-index: 8;
  }
  .menu-toggle span {
    width: 22px;
    height: 1px;
    background: var(--color-light);
    transition:
      translate var(--duration-fast) var(--ease-premium),
      rotate var(--duration-fast) var(--ease-premium),
      opacity var(--duration-fast) var(--ease-premium);
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    translate: 0 7px;
    rotate: 45deg;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    translate: 0 -7px;
    rotate: -45deg;
  }
  .nav {
    flex-direction: column;
  }
  .nav button {
    text-align: left;
    font-size: var(--text-xl);
  }
  .eyebrow {
    font-size: var(--text-xs);
    letter-spacing: 2.6px;
    margin-bottom: var(--space-4);
  }
  h1 {
    font-size: clamp(32px, 7.1vw, 52px);
    letter-spacing: -1.4px;
    line-height: 1.09;
  }
  .subtitle {
    font-size: var(--text-xs);
    line-height: 1.65;
    margin: var(--space-4) 0 var(--space-5);
  }
  .primary {
    font-size: var(--text-xs);
    padding: var(--space-3) var(--space-5);
    gap: var(--space-6);
  }
  .shade {
    background: linear-gradient(
      var(--color-bg) 0%,
      var(--color-bg) 32%,
      var(--bg-20) 48%,
      transparent 70%,
      var(--color-bg) 100%
    );
  }
  .tooltip {
    width: 180px;
    padding: var(--space-3);
    bottom: 47px;
  }
  .tooltip strong {
    font-size: var(--text-xs);
  }
  .tooltip span {
    font-size: var(--text-xs);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.spot:hover,
.spot:focus-visible {
  z-index: 3;
}
@media (max-width: 800px) {
  .hero-car {
    /* 960px wide covers phone screens up to 2.5x density; the 280 KB desktop file is not worth it here. */
    background-image: url("/images/hero-gtr-mobile.webp");
  }
  .scene { background-image: url("/images/hero-background-mobile.webp"); }
}

.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 100px;
  background: linear-gradient(transparent, var(--color-bg));
  pointer-events: none;
  z-index: -1;
}
.services {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
  --section-top: 105px;
  --section-bottom: 88px;
  --section-width: 1320px;
}
.services-heading { margin-bottom: var(--space-7); }
.services-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); }
.services-heading-row > p { margin: 0; color: var(--color-muted); font-size: var(--text-sm); line-height: 1.8; }
@media (max-width: 1050px) { .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.service-item { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--color-border-soft); border-radius: var(--radius-md); background: radial-gradient(ellipse 90% 60% at 0% 100%, var(--accent-surface), transparent), var(--color-surface); color: var(--color-text); transition: border-color var(--duration-normal); }
.service-item:hover, .service-item:focus-visible { border-color: var(--accent-border); }
.service-item:focus-visible { outline: 1px solid var(--color-silver); outline-offset: 4px; }
.service-visual { position: relative; margin: 0; overflow: hidden; }
.service-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--color-surface)); }
.service-body { position: relative; display: flex; flex: 1; flex-direction: column; gap: var(--space-4); padding: var(--space-5); }
.service-name h3 { margin: 0 0 var(--space-2); font-size: clamp(20px, 1.7vw, 24px); font-weight: 400; letter-spacing: -.4px; line-height: 1.25; }
.service-name p { margin: 0; font-size: var(--text-sm); color: var(--color-muted); line-height: 1.6; }
.service-more { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: auto; padding-top: var(--space-2); font-size: var(--text-xs); color: var(--color-text); }
.service-photo { width: 100%; aspect-ratio: 16/10; background-image: url("/images/services-sheet.webp"); background-size: 200% 300%; background-repeat: no-repeat; transition: filter var(--duration-image) var(--ease-premium), scale var(--duration-image) var(--ease-premium); filter: brightness(.82); }
img.service-cover { display: block; height: auto; object-fit: cover; background: none; }
.service-hero-visual img.service-cover { aspect-ratio: 3 / 2; }
.photo-polish { background-position: 0 0; }
.photo-film { background-position: 100% 0; }
.photo-ceramic { background-position: 0 50%; }
.photo-interior { background-position: 100% 50%; }
.photo-soundproofing { background-image: url("/images/soundproofing.webp"); background-size: 200% auto; background-position: 100% 50%; }
.photo-wheels { background-position: 0 100%; }
@media (max-width: 800px) { .service-photo:not(.photo-soundproofing) { background-image: url("/images/services-sheet-mobile.webp"); } }
.service-item:hover .service-photo { filter: brightness(1); scale: 1.04; }
.service-link {
  --button-height: 44px;
  --button-gap: 24px;
  --button-padding: 12px 16px;
  --button-bg: var(--color-silver);
  --button-color: var(--color-ink);
  --button-border: 1px solid var(--color-light);
  --button-font-size: var(--text-xs);
  width: fit-content;
  margin-top: var(--space-2);
  font-weight: 500;
  box-shadow: 0 5px 20px var(--shadow-soft);
}
.services-footer { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; padding: clamp(var(--space-6), 4vw, var(--space-8)) var(--page-gutter); background: radial-gradient(ellipse at 75% 45%, var(--neon-soft), transparent 58%), radial-gradient(ellipse at 10% 100%, var(--neon-soft), transparent 50%), linear-gradient(120deg, var(--color-panel), var(--color-bg) 68%); border-block: 1px solid var(--neon-line); box-shadow: 0 0 32px var(--neon-soft), inset 0 0 40px var(--neon-soft); }
.cta-scan { position: absolute; inset: 0; z-index: -1; background: linear-gradient(112deg, transparent 52%, var(--neon-line) 52.1%, transparent 52.3%, transparent 72%, var(--neon-glow) 72.1%, transparent 72.3%); filter: drop-shadow(0 0 6px var(--neon)); pointer-events: none; }
.cta-scan::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; background: linear-gradient(105deg, transparent, var(--accent-faint) 45%, var(--accent-surface) 50%, var(--accent-faint) 55%, transparent); translate: -100% 0; animation: cta-sweep 9s var(--ease-premium) infinite; }
@keyframes cta-sweep { 0%, 20% { translate: -100% 0; } 70%, 100% { translate: 260% 0; } }
@media (prefers-reduced-motion: reduce) { .cta-scan::after { animation: none; opacity: 0; } }
.cta-content { width: min(1320px, 100%); margin: auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-7); align-items: center; }
.services-footer h2 { margin: 0; font-size: clamp(42px, 5.3vw, 76px); font-weight: 400; letter-spacing: -.055em; line-height: .98; }
.services-footer h2 span { color: var(--neon); text-shadow: 0 0 10px var(--neon-glow), 0 0 28px var(--neon-glow); }
.cta-action { max-width: 340px; justify-self: end; width: 100%; padding-bottom: var(--space-2); }
.cta-action p { margin: 0 0 var(--space-5); color: var(--color-muted); font-size: var(--text-sm); line-height: 1.8; }
.cta-action > p:empty { display: none; }
.premium-cta, .cta-phone { --button-height: 56px; --button-font-size: var(--text-sm); width: 100%; }
.premium-cta { --button-color: var(--color-ink); }
.premium-cta:hover { background: var(--color-text); }
.premium-cta { box-shadow: 0 0 18px var(--neon-glow), 0 0 42px var(--neon-soft); animation: neon-pulse 3.2s ease-in-out infinite; }
@keyframes neon-pulse { 50% { box-shadow: 0 0 26px var(--neon), 0 0 60px var(--neon-glow); } }
@media (prefers-reduced-motion: reduce) { .premium-cta { animation: none; } }
.cta-phone { --button-bg: transparent; --button-border: 1px solid var(--color-border); --button-color: var(--color-text); margin-top: var(--space-3); }
.cta-phone:hover { border-color: var(--color-accent); }
@media (max-width: 800px) {
  .services-heading { margin-bottom: var(--space-6); }
  .services-heading-row { display: block; }
  .services-heading-row > p { margin-top: var(--space-5); }
  .service-list { display: flex; gap: var(--space-4); margin-inline: calc(50% - 50vw); padding-inline: var(--page-gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--page-gutter); overscroll-behavior-x: contain; scrollbar-width: none; }
  .service-list::-webkit-scrollbar { display: none; }
  .service-item { flex: 0 0 min(84%, 360px); scroll-snap-align: start; }
  .service-body { gap: var(--space-3); padding: var(--space-4); }
  .cta-content { grid-template-columns: 1fr; gap: var(--space-5); }
  .services-footer { padding-block: var(--space-6); }
  .services-footer h2 { font-size: clamp(42px, 8vw, 58px); }
  .cta-action { justify-self: start; max-width: 360px; }
}
.detail-page {
  background: var(--color-bg);
}
.detail-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: 92px;
  padding: 0 var(--edge-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  border-bottom: 1px solid var(--color-border-soft);
  background: var(--bg-solid);
  transition: border-color var(--duration-normal);
}
.detail-header.scrolled {
  border-color: var(--color-border);
}
.detail-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  font-size: var(--text-xs);
}
.detail-nav > a,
.detail-catalog > summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-muted);
  cursor: pointer;
  transition: color var(--duration-normal);
}
.detail-nav > a[aria-current="page"],
.detail-nav a[aria-current="location"],
.detail-nav a:hover {
  color: var(--color-text);
}
.detail-catalog {
  position: relative;
}
.detail-catalog > summary {
  list-style: none;
}
.detail-catalog > summary::-webkit-details-marker {
  display: none;
}
.detail-catalog > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: var(--space-3);
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  translate: 1.4px -1.4px;
  rotate: 45deg;
  transition: translate var(--duration-normal) var(--ease-premium), rotate var(--duration-normal) var(--ease-premium);
}
.detail-catalog[open] > summary::after { translate: 0 0; rotate: 225deg; }
.detail-catalog > div,
.services-menu {
  display: grid;
  gap: var(--space-1);
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: min(380px, calc(100vw - 32px));
  padding: var(--space-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
  box-shadow: 0 20px 50px var(--shadow-strong);
}
.detail-catalog a,
.services-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 52px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-silver);
  transition: color var(--duration-fast), background var(--duration-fast), border-color var(--duration-fast);
}
.detail-catalog a:hover,
.detail-catalog a:focus-visible,
.services-menu a:hover,
.services-menu a:focus-visible {
  color: var(--color-text);
  background: var(--accent-surface);
}
.detail-catalog a[aria-current="page"] {
  color: var(--color-text);
}
.detail-catalog a[aria-current="page"]::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
}
.detail-menu-toggle {
  display: none;
}
.detail-main {
  padding-top: var(--header-height);
}
.service-hero {
  --section-width: 1280px;
  --section-top: var(--space-6);
}
.service-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  margin-bottom: var(--space-7);
  color: var(--color-muted);
  font-size: var(--text-xs);
  line-height: 1.6;
}
.service-breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
.service-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
.service-hero-grid > * {
  min-width: 0;
}
.detail-main h1 {
  font-size: clamp(36px, 5.3vw, 76px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -2px;
  margin: var(--space-5) 0;
  overflow-wrap: break-word;
}
.service-price { font-size: var(--text-lg); color: var(--color-silver); line-height: 1.6; }
.detail-lead {
  color: var(--color-muted);
  font-size: var(--text-base);
  line-height: 1.8;
  max-width: 660px;
}
.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.service-text-link {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 6px;
  transition: color var(--duration-normal), text-decoration-color var(--duration-normal);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.service-text-link:hover {
  text-decoration-color: var(--color-silver);
  color: var(--color-text);
}
.service-hero-visual {
  margin: 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.service-hero-visual .service-photo {
  border-radius: var(--radius-md);
}
.service-hero-visual figcaption {
  margin-top: var(--space-4);
  color: var(--color-muted);
  font-size: var(--text-xs);
  line-height: 1.8;
  max-width: 360px;
}
.service-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  border-top: 1px solid var(--color-border-soft);
  padding-top: var(--space-6);
  margin-top: var(--space-7);
}
.service-highlights h2 {
  margin: 0 0 var(--space-3);
  font-size: var(--text-base);
  font-weight: 400;
}
.service-highlights p,
.service-section p {
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.8;
}
.service-highlights p {
  margin: 0;
}
.service-section {
  --section-width: 1060px;
  border-top: 1px solid var(--color-border-soft);
  --section-top: 60px;
  --section-bottom: 60px;
}
.service-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
.service-heading > p {
  max-width: 380px;
  margin: 0;
}
.service-options-grid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--space-7); margin: 0; counter-reset: option; }
.service-option { display: grid; grid-template-columns: auto 1fr auto; column-gap: var(--space-4); align-items: baseline; padding: var(--space-4) 0; border-bottom: 1px solid var(--color-border-soft); counter-increment: option; }
.service-option::before { content: counter(option, decimal-leading-zero); font-size: var(--text-xs); letter-spacing: .12em; color: var(--color-muted); }
.service-option dt { font-size: var(--text-base); line-height: 1.5; }
.service-option dd { grid-column: 2 / -1; margin: var(--space-1) 0 0; color: var(--color-muted); font-size: var(--text-xs); line-height: 1.6; }
.service-option dd.service-guide-photo { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: var(--space-2); margin: var(--space-3) 0 var(--space-2); max-width: 640px; }
.service-guide-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); }
.service-option dd.service-option-meta { grid-column: 3; grid-row: 1; margin: 0; color: var(--color-silver); font-size: var(--text-sm); white-space: nowrap; }
.service-option-open { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: var(--color-border-soft); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.service-option-open:hover, .service-option-open:focus-visible { text-decoration-color: var(--color-silver); }
.service-section.has-option-detail { --section-width: 1320px; }
.service-options-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-7); align-items: start; }
.service-option.active dt, .service-option.active::before { color: var(--color-silver); }
.service-option.active .service-option-open { text-decoration-color: var(--color-silver); }
.option-detail { position: sticky; top: 112px; }
.option-detail[hidden] { display: none; }
.option-panel-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-2); margin-bottom: var(--space-5); }
.option-panel-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); }
.option-panel-price { margin: 0 0 var(--space-3); color: var(--color-silver); font-size: var(--text-base); }
.option-panel-text { margin: 0; color: var(--color-muted); font-size: var(--text-sm); line-height: 1.7; white-space: pre-line; }
@media (max-width: 1000px) {
  .service-options-layout { grid-template-columns: minmax(0, 1fr); }
  .option-detail { position: static; grid-column: 1 / -1; padding: var(--space-4) 0 var(--space-2); }
  .option-panel-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .option-panel-price { display: none; }
}
.service-note { max-width: 72ch; margin: var(--space-5) 0 0; color: var(--color-muted); font-size: var(--text-xs); line-height: 1.7; }
.service-portfolio { --section-width: 1320px; }
.service-faq details {
  border-top: 1px solid var(--color-border);
}
.service-faq details:last-child {
  border-bottom: 1px solid var(--color-border);
}
.service-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  cursor: pointer;
  list-style: none;
  font-size: var(--text-lg);
  line-height: 1.6;
}
.service-faq summary::-webkit-details-marker {
  display: none;
}
.service-faq summary span {
  transition: rotate var(--duration-normal) var(--ease-premium);
  font-size: var(--text-2xl);
}
.service-faq [open] summary span {
  rotate: 45deg;
}
.service-faq p {
  max-width: 800px;
  margin: 0 0 var(--space-5);
}
.service-contact {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: var(--space-7);
}
.service-contact .contact-links { margin: 0; }
.service-contact > div > p:last-child {
  max-width: 360px;
  margin-top: var(--space-5);
  margin-bottom: 0;
}
.service-related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.service-related a {
  transition: border-color var(--duration-normal), background var(--duration-normal);
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
@media (hover: hover) {
  .service-related a:hover {
    border-color: var(--color-silver);
    background: var(--color-panel);
  }
}
.service-related a:focus-visible {
  border-color: var(--color-silver);
}
.service-related h3 {
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}
.service-related a > span {
  margin-top: auto;
  padding-top: var(--space-5);
  color: var(--color-silver);
  font-size: var(--text-sm);
}
@media (max-width: 1000px) {
  .detail-page {
    --header-height: 76px;
  }
  .detail-header {
    height: 76px;
    padding: 0 6%;
  }
  .detail-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-1);
    width: 44px;
    height: 44px;
    padding: var(--space-3);
    border: 0;
    background: transparent;
    order: 3;
  }
  .detail-menu-toggle span {
    width: 24px;
    height: 1px;
    background: var(--color-text);
    transition: translate var(--duration-normal), rotate var(--duration-normal);
  }
  .detail-menu-toggle[aria-expanded="true"] span:first-child {
    translate: 0 6px;
    rotate: 45deg;
  }
  .detail-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .detail-menu-toggle[aria-expanded="true"] span:last-child {
    translate: 0 -6px;
    rotate: -45deg;
  }
  .detail-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: var(--space-5) 6%;
    background: var(--color-panel);
    border-bottom: 1px solid var(--color-border);
    max-height: calc(100svh - 76px);
    overflow-y: auto;
  }
  .detail-nav.visible {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .detail-nav > a,
  .detail-catalog > summary {
    min-height: 60px;
    font-size: var(--text-lg);
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border-soft);
  }
  .detail-catalog > summary {
    justify-content: space-between;
  }
  .detail-catalog > div {
    position: static;
    box-shadow: none;
    background: transparent;
    width: auto;
    gap: 0;
    padding: var(--space-2) 0;
    border: 0;
    border-bottom: 1px solid var(--color-border-soft);
  }
  .detail-catalog a {
    min-height: 48px;
    padding: var(--space-2) 0;
    border: 0;
    border-radius: 0;
    font-size: var(--text-base);
    color: var(--color-muted);
  }
  .detail-catalog a:hover,
  .detail-catalog a:focus-visible {
    background: transparent;
  }
  .detail-booking {
    margin-left: auto;
  }
  .service-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .service-hero-visual {
    max-width: 720px;
    width: 100%;
  }
}
@media (max-width: 800px) {
  .service-section {
    --section-top: 48px;
    --section-bottom: 48px;
  }
  .service-heading {
    display: block;
  }
  .service-heading > :not(:first-child) {
    margin-top: var(--space-5);
  }
  .service-contact {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .service-highlights {
    gap: var(--space-4);
  }
}
@media (max-width: 480px) {
  .detail-header {
    gap: var(--space-3);
  }
  .service-breadcrumbs {
    margin-bottom: var(--space-5);
  }
  .service-highlights,
  .service-options-grid,
  .service-related {
    grid-template-columns: 1fr;
  }
  .service-highlights {
    margin-top: var(--space-6);
  }
  .detail-main h1 {
    font-size: var(--text-4xl);
    letter-spacing: -1.3px;
  }
}
.header.scrolled {
  border-color: var(--white-20);
}
.service-link:before {
  content: "";
  position: absolute;
  inset: -50% auto -50% -80%;
  width: 50%;
  background: linear-gradient(100deg, transparent, var(--white-65), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: translate var(--duration-image) var(--ease-premium);
}
.service-link svg {
  transition: translate var(--duration-normal) var(--ease-premium);
  flex-shrink: 0;
}
.service-link:hover,
.service-link:focus-visible {
  color: var(--color-surface);
  background: var(--color-light);
  box-shadow: 0 9px 25px var(--shadow-soft);
}
.service-link:hover:before,
.service-link:focus-visible:before {
  translate: 480%;
}
@media (max-width: 520px) {
  .service-link {
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-link:hover,
  .service-link:focus-visible,
  .service-link:hover svg,
  .service-link:focus-visible svg {
    translate: none;
  }
  .service-link:before {
    display: none;
  }
}
.process {
  --section-width: 1240px;
  background: radial-gradient(ellipse 55% 45% at 100% 45%, var(--accent-faint), transparent);
  --section-top: 90px;
  --section-bottom: 110px;
}
.process-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}
.process-heading > p {
  color: var(--color-muted);
  line-height: 1.8;
  font-size: var(--text-sm);
  margin: 0 0 var(--space-1);
}
.work-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.work-steps li:not(:last-child):before, .work-steps li:not(:last-child):after { content: ""; position: absolute; top: 5px; left: 5px; right: calc(-1 * var(--space-5) - 5px); height: 1px; background: var(--color-border); pointer-events: none; }
.work-steps li:not(:last-child):after { background: linear-gradient(90deg, var(--neon), var(--neon-line)); box-shadow: 0 0 8px var(--neon-glow); transform-origin: left; transition: scale 950ms var(--ease-premium); }
.work-steps.steps-ready:not(.steps-visible) li:after { scale: 0 1; }
.work-steps li { position: relative; min-width: 0; padding-top: var(--space-6); }
.step-node { position: absolute; top: 0; left: 0; width: 11px; height: 11px; border: 1px solid var(--neon); border-radius: 50%; background: var(--color-bg); z-index: 1; transition: background var(--duration-image), box-shadow var(--duration-image); }
.steps-visible .step-node { background: var(--neon); box-shadow: 0 0 8px var(--neon), 0 0 18px var(--neon-glow); }
.work-steps h3 { margin: 0; font-weight: 400; font-size: var(--text-lg); line-height: 1.5; }
.work-steps p { color: var(--color-muted); font-size: var(--text-sm); line-height: 1.8; margin: var(--space-3) 0 0; max-width: 28ch; }
@media (max-width: 800px) {
  .process-heading { display: block; margin-bottom: var(--space-6); }
  .process-heading > p { margin-top: var(--space-5); font-size: var(--text-sm); }
  .work-steps { grid-template-columns: 1fr; gap: var(--space-6); }
  .work-steps li { padding: 0 0 0 var(--space-6); }
  .work-steps li:not(:last-child):before, .work-steps li:not(:last-child):after { top: 12px; bottom: calc(-1 * var(--space-6) - 12px); left: 5px; right: auto; width: 1px; height: auto; }
  .work-steps li:not(:last-child):after { transform-origin: top; }
  .work-steps.steps-ready:not(.steps-visible) li:after { scale: 1 0; }
  .step-node { top: 7px; }
  .work-steps p { max-width: 48ch; }
}
@media (prefers-reduced-motion: reduce) {
  .work-steps li:after { scale: none !important; }
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  inset: 0 0 auto;
  position: fixed;
  transition: border-color var(--duration-normal) var(--ease-premium);
  z-index: 10;
  height: 92px;
  padding: 0 var(--edge-gutter);
  background: var(--bg-solid);
  border-bottom: 1px solid var(--color-border-soft);
}
.header:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 24%;
  right: 24%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
  pointer-events: none;
}
.nav {
  --nav-item-inset: 14px;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  border: 0;
  background: transparent;
}
.nav > button,
.nav-service-trigger > button:first-child {
  position: relative;
  font-size: var(--text-sm);
  letter-spacing: 0.3px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-button);
  color: var(--color-muted);
  transition: color 0.22s var(--ease-premium);
}
.nav > button:hover,
.nav-service-trigger > button:first-child:hover {
  color: var(--color-text);
}
.nav button[aria-current="location"] {
  color: var(--color-text);
  background: transparent;
}
.nav > button::after,
.nav-service-trigger > button:first-child::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: var(--nav-item-inset);
  right: var(--nav-item-inset);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--neon) 20%, var(--color-text) 50%, var(--neon) 80%, transparent);
  box-shadow: 0 2px 12px var(--neon-glow);
  opacity: 0;
  scale: .45 1;
  transition: opacity var(--duration-normal) var(--ease-premium), scale var(--duration-normal) var(--ease-premium);
}
.nav button:hover::after,
.nav button[aria-current="location"]::after,
.nav button:focus-visible::after { opacity: 1; scale: 1; }
.nav-services {
  position: relative;
}
.nav-service-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.services-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent !important;
  width: 36px;
  min-height: 44px;
  padding: 0 !important;
  color: var(--color-muted) !important;
}
.services-toggle svg {
  transition: rotate var(--duration-normal) var(--ease-premium);
}
.is-open .services-toggle svg {
  rotate: 180deg;
}
.services-menu {
  opacity: 0;
  visibility: hidden;
  translate: 0 8px;
  transition:
    opacity var(--duration-normal) var(--ease-premium),
    translate var(--duration-normal) var(--ease-premium),
    visibility var(--duration-normal) var(--ease-premium);
  z-index: 2;
}
.services-menu:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -15px;
  height: 16px;
}
.is-open .services-menu {
  visibility: visible;
  opacity: 1;
  translate: 0;
}
/* Header call buttons show only the phone icon; the number lives in aria-label. */
.header > .booking,
.detail-booking {
  --button-padding: 0;
  --button-gap: 0;
  width: 46px;
  min-width: 46px;
  height: 46px;
  justify-content: center;
}
.header > .booking > span,
.detail-booking > span {
  display: none;
}
.booking:hover {
  border-color: var(--accent-strong);
  background: var(--accent-surface);
}
.booking svg {
  transition: rotate var(--duration-normal) var(--ease-premium);
}
.booking:hover svg {
  rotate: -8deg;
}
@media (min-width: 801px) and (max-width: 1050px) {
  .nav {
    --nav-item-inset: 9px;
    gap: 0;
    padding: 3px;
  }
  .nav > button,
  .nav-service-trigger > button:first-child {
    padding: var(--space-3) var(--space-2);
  }
  :root {
    --edge-gutter: 4%;
  }
  .booking {
    gap: var(--space-4);
    padding: var(--space-3) var(--space-4);
  }
}
@media (max-width: 800px) {
  :root {
    --edge-gutter: 6%;
  }
  .header {
    height: 76px;
  }
  .booking {
    padding: var(--space-3) var(--space-3);
    font-size: var(--text-xs);
    gap: var(--space-4);
  }
  .nav {
    --nav-item-inset: 0px;
    display: flex;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 76px;
    border: 0;
    border-radius: 0;
    left: auto;
    right: 0;
    width: min(380px, 100%);
    padding: var(--space-4) 6% var(--space-5);
    background: linear-gradient(135deg, var(--color-panel), var(--color-bg));
    border-bottom: 1px solid var(--accent-glow);
    box-shadow: 0 30px 70px var(--shadow-strong);
    max-height: calc(100svh - 76px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    translate: 0 -8px;
    transition:
      opacity var(--duration-normal) var(--ease-premium),
      translate var(--duration-normal) var(--ease-premium),
      visibility var(--duration-normal) var(--ease-premium);
    pointer-events: none;
  }
  .nav.visible {
    opacity: 1;
    visibility: visible;
    translate: 0;
    pointer-events: auto;
  }
  .nav > button,
  .nav-service-trigger > button:first-child {
    font-size: var(--text-lg);
    border-radius: 0;
    letter-spacing: 0;
    padding: var(--space-3) 0;
    text-align: left;
  }
  .nav > button::after,
  .nav-service-trigger > button:first-child::after {
    bottom: 6px;
    right: auto;
    width: 24px;
    scale: 1;
  }
  .nav-service-trigger {
    justify-content: space-between;
  }
  .services-toggle {
    width: 44px;
    min-height: 50px;
  }
  .services-menu {
    position: static;
    display: none;
    width: auto;
    padding: 0 0 var(--space-3);
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    translate: none;
    opacity: 1;
    visibility: visible;
  }
  .is-open .services-menu {
    display: block;
  }
  .services-menu:before {
    display: none;
  }
  .services-menu a {
    font-size: var(--text-base);
    padding: var(--space-3) var(--space-4);
    color: var(--color-silver);
  }
}
@media (prefers-reduced-motion: reduce) {
  .services-menu,
  .nav {
    translate: none;
  }
  .booking:hover svg {
    rotate: none;
  }
}

@media (max-width: 800px) {
  .section.services,
  .section.process,
  .section.about,
  .section.lounge,
  .section.featured-section {
    --section-top: 64px;
    --section-bottom: 48px;
  }
}

/* Shared work galleries and accessible before/after comparisons. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.reviews-section {
  --section-width: 1440px;
  --section-top: 72px;
  --section-bottom: var(--space-7);
  background: var(--color-bg);
}
.reviews-section .section-title { font-size: clamp(34px, 3.4vw, 52px); }
.reviews-widget-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: var(--space-6);
}
.reviews-widget {
  height: 640px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
}
.reviews-widget iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.reviews-section-carousel .reviews-widget-layout {
  grid-template-columns: 1fr;
}
.reviews-section-carousel .reviews-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--space-5);
}
.reviews-section-carousel .reviews-actions {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}
@media (max-width: 800px) {
  .reviews-section {
    --section-top: 64px;
    --section-bottom: 48px;
  }
  .reviews-section-carousel .reviews-intro {
    display: block;
  }
  .reviews-section-carousel .reviews-actions {
    margin-top: var(--space-5);
  }
}
.native-reviews {
  min-width: 0;
}
.native-review-rating {
  font-size: var(--text-3xl);
  margin: 0 0 var(--space-4);
}
.native-review-rating span {
  font-size: var(--text-sm);
  color: var(--color-muted);
}
.native-reviews-track {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  padding-bottom: var(--space-4);
  scrollbar-width: none;
}
.native-reviews-track::-webkit-scrollbar { display: none; }
/* Reviews drift in from and out into a soft fade at both edges on desktop. */
@media (min-width: 801px) {
  .native-reviews-track {
    --reviews-fade: linear-gradient(to right, transparent, #000 var(--space-8), #000 calc(100% - var(--space-8)), transparent);
    -webkit-mask-image: var(--reviews-fade);
    mask-image: var(--reviews-fade);
  }
}
.native-review {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 48px) / 4);
  min-width: 0;
  scroll-snap-align: start;
  padding: var(--space-5);
  background: linear-gradient(145deg, var(--white-02), var(--white-02));
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
}
.native-review-author h3 {
  margin: 0 0 var(--space-2);
  font-size: var(--text-sm);
  font-weight: 400;
}
.native-review-author {
  min-height: 48px;
}
.native-review-author span {
  font-size: var(--text-xs);
  color: var(--color-muted);
}
.native-review-stars {
  margin: var(--space-3) 0;
  font-size: var(--text-xs);
  color: var(--neon);
  text-shadow: 0 0 8px var(--neon-glow);
  letter-spacing: 3px;
}
.native-review blockquote {
  margin: 0 0 var(--space-4);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-muted);
}
.native-review.review-collapsed blockquote {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  height: 6.6em;
}
.review-toggle {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font-size: var(--text-xs);
  text-align: left;
}
.review-toggle[hidden] {
  display: none;
}
.review-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: min(760px, calc(100svh - 40px));
  padding: var(--space-7) var(--space-5) var(--space-5);
}
.review-dialog h2 {
  margin-bottom: var(--space-2);
}
.review-dialog-date {
  font-size: var(--text-xs);
  margin-top: 0;
}
.review-dialog-body {
  max-height: 48svh;
  overflow-y: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--color-muted);
  line-height: 1.8;
  font-size: var(--text-sm);
  padding-right: var(--space-2);
}
.review-dialog > .review-source {
  margin-top: var(--space-4);
}
html {
  scrollbar-gutter: stable;
}
html:has(dialog[open]) {
  overflow: hidden;
}
.review-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
}
.review-dots > span[aria-hidden] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-muted);
  opacity: 0.35;
  transition: background-color 0.3s, opacity 0.3s, scale 0.3s;
}
.review-dots > span.is-active {
  background: var(--neon);
  opacity: 1;
  scale: 1.35;
}
.native-reviews button:disabled {
  opacity: 0.3;
  cursor: default;
}
@media (max-width: 1200px) {
  .native-review {
    flex-basis: calc((100% - 32px) / 3);
  }
}
@media (max-width: 900px) {
  .native-review {
    flex-basis: calc((100% - 16px) / 2);
  }
}
@media (max-width: 600px) {
  .native-review {
    flex-basis: 100%;
  }
}
.review-source {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  font-size: var(--text-xs);
  color: var(--color-muted);
  transition: color var(--duration-fast) var(--ease-premium);
}
.review-source:hover,
.review-source:focus-visible {
  color: var(--color-text);
}
.review-source svg {
  flex-shrink: 0;
}
.reviews-actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}
.reviews-actions > .service-link {
  margin-top: 0;
}
.location-section {
  --section-top: var(--space-8);
  background: var(--color-bg);
}
.location-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  align-items: center;
  gap: var(--space-7);
}
.location-copy address {
  margin: var(--space-5) 0;
  font-style: normal;
  font-size: var(--text-sm);
  line-height: 1.9;
  color: var(--color-muted);
}
.location-copy address strong {
  color: var(--color-text);
  font-weight: 400;
}
.location-note {
  margin: calc(-1 * var(--space-3)) 0 var(--space-6);
  max-width: 42ch;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-muted);
}
.location-copy > .review-source {
  display: flex;
  margin-top: var(--space-3);
}
.location-map {
  overflow: hidden;
  height: 480px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
}
.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 1050px) {
  .location-layout {
    gap: var(--space-5);
    grid-template-columns: 1fr 1.2fr;
  }
}
@media (max-width: 800px) {
  .reviews-widget-layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .location-layout {
    grid-template-columns: 1fr;
  }
  .location-map {
    height: 360px;
  }
}
.contact-links {
  margin: var(--space-5) 0;
}
.contact-phones {
  display: grid;
  gap: var(--space-3);
}
.contact-phone {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 56px;
  padding: var(--space-2) 0;
}
.contact-phone > span {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.contact-label {
  color: var(--color-muted);
  font-size: var(--text-xs);
}
.contact-number {
  font-size: var(--text-lg);
  letter-spacing: 0.2px;
}
.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.contact-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-2) 0;
  border: 0;
  background: transparent;
  font-size: var(--text-xs);
  transition: color var(--duration-fast) var(--ease-premium);
}
.contact-social svg,
.contact-phone svg {
  flex-shrink: 0;
}
.contact-socials:empty {
  display: none;
}
.contact-social[href]:hover {
  color: var(--color-silver);
}
.footer-contacts .contact-links {
  display: grid;
  gap: var(--space-5);
  margin: 0;
}
.footer-contacts .contact-phones {
  grid-template-columns: 1fr;
  gap: var(--space-2);
}
.footer-contacts .contact-number {
  font-size: var(--text-sm);
  white-space: nowrap;
}
.footer-contacts .contact-phone {
  gap: var(--space-2);
}
.footer-contacts .contact-socials {
  flex-wrap: nowrap;
  margin: 0;
  gap: var(--space-1);
}
.footer-contacts .contact-social > span {
  display: none;
}
.footer-contacts .contact-social {
  min-width: 38px;
  justify-content: center;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-5);
  padding-top: var(--space-4);
  margin-top: var(--space-3);
  border-top: 1px solid var(--color-border-soft);
}
.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
}
.legal-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  font-size: var(--text-xs);
  text-align: left;
}
.legal-link[aria-disabled="true"] {
  min-height: 18px;
  opacity: 0.65;
  cursor: default;
}
.legal-link:is(a, button):hover {
  color: var(--color-text);
}
.footer-legal > .legal-link {
  flex-shrink: 0;
}
.booking-dialog { width: min(500px, calc(100% - 28px)); max-height: calc(100svh - 24px); overflow-y: auto; }
.booking-dialog h2 { padding-right: var(--space-5); }
.lead-form { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.lead-form > label:not(.lead-consent) { font-size: var(--text-xs); color: var(--color-muted); margin-top: var(--space-1); }
.lead-form > input { width: 100%; min-height: 48px; padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-bg); color: var(--color-text); font: inherit; font-size: var(--text-base); }
.lead-form > input:focus-visible { border-color: var(--color-accent); box-shadow: 0 0 16px var(--accent-glow); }
.lead-form [aria-invalid="true"] { border-color: var(--color-error); }
.lead-form .field-error { color: var(--color-error); font-size: var(--text-xs); margin: 0; }
.lead-consent { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--text-xs); line-height: 1.65; color: var(--color-muted); padding: var(--space-3) 0; }
.lead-consent input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--color-silver); margin: 1px 0 0; }
.lead-consent a { color: var(--color-silver); text-decoration: underline; text-underline-offset: 3px; }
.lead-submit { width: 100%; }
.lead-submit:disabled { opacity: .45; cursor: default; scale: none; }
.lead-form .lead-feedback { min-height: 3.4em; font-size: var(--text-xs); line-height: 1.7; margin: 0; }
.lead-call { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--space-3); color: var(--color-silver); font-size: var(--text-xs); line-height: 1.6; }
.lead-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 480px) { .booking-dialog { padding: var(--space-6) var(--space-5) var(--space-5); } .booking-dialog h2 { font-size: var(--text-3xl); } }
.cookie-dialog {
  max-height: calc(100svh - 32px);
  overflow-y: auto;
}
.cookie-banner {
  position: fixed;
  z-index: 60;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  max-width: 1040px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--neon-line);
  border-radius: var(--radius-md);
  background: var(--bg-solid);
  box-shadow: 0 0 24px var(--neon-soft), 0 12px 32px var(--shadow-strong);
}
.cookie-banner p { margin: 0; color: var(--color-muted); font-size: var(--text-sm); line-height: 1.5; }
.cookie-banner a { color: var(--color-text); }
.cookie-banner-actions { display: flex; flex: none; gap: var(--space-2); }
@media (max-width: 800px) {
  .cookie-banner { left: var(--space-3); right: var(--space-3); bottom: var(--space-3); gap: var(--space-3); padding: var(--space-3) var(--space-4); }
  .cookie-banner p { font-size: var(--text-xs); line-height: 1.45; }
  .cookie-banner-actions .button { --button-padding: var(--space-2) var(--space-4); min-height: 44px; }
}
.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border-soft);
}
.cookie-option > span {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.cookie-option strong {
  font-size: var(--text-sm);
  font-weight: 400;
}
.cookie-option span span {
  font-size: var(--text-xs);
  color: var(--color-muted);
  line-height: 1.6;
}
.cookie-option input {
  width: 22px;
  height: 22px;
  accent-color: var(--color-silver);
  flex-shrink: 0;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.cookie-essential {
  border: 0;
  padding: 0;
  background: transparent;
  min-height: 44px;
  color: var(--color-muted);
  font-size: var(--text-xs);
}
.map-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-5);
  height: 100%;
  padding: var(--space-5);
  text-align: center;
  background: radial-gradient(ellipse, var(--accent-faint), transparent 70%);
}
.map-placeholder p {
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.9;
  margin: 0;
}
.map-placeholder strong {
  color: var(--color-text);
  font-weight: 400;
}
.map-symbol {
  font-size: var(--text-4xl);
  color: var(--color-silver);
}
.map-placeholder[hidden],
.location-map iframe[hidden] {
  display: none;
}
@media (max-width: 800px) {
  .footer-legal {
    flex-direction: column;
    gap: var(--space-2);
  }
}
.site-footer {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 50% 70% at 0% 0%, var(--accent-faint), transparent),
    var(--color-surface);
  border-top: 1px solid var(--color-border-soft);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-border) 30%, transparent 70%);
}
.footer-inner {
  padding: var(--space-7) var(--edge-gutter) var(--space-4);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .55fr) minmax(0, 1.6fr) minmax(0, .95fr);
  column-gap: var(--space-6);
  align-items: start;
  gap: var(--space-7);
  padding-bottom: var(--space-6);
}
.footer-brand {
  display: grid;
  gap: var(--space-4);
  justify-items: start;
}
.footer-brand p,
.footer-brand address {
  margin: 0;
  font-style: normal;
  font-size: var(--text-xs);
  line-height: 1.6;
  color: var(--color-muted);
}
.footer-brand p {
  color: var(--color-silver);
}
.footer-heading {
  margin: 0 0 var(--space-3);
  font-size: var(--text-2xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.footer-nav {
  display: grid;
  justify-items: start;
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--color-muted);
  font-size: var(--text-xs);
}
.back-to-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(max(18px, env(safe-area-inset-bottom)) + var(--cookie-banner-offset, 0px));
  z-index: 12;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  color: var(--color-silver);
  box-shadow: 0 8px 28px var(--shadow-soft);
  transition: border-color var(--duration-normal), color var(--duration-normal),
    opacity var(--duration-normal) var(--ease-premium), translate var(--duration-normal) var(--ease-premium),
    visibility var(--duration-normal);
}
.back-to-top.is-hidden {
  opacity: 0;
  visibility: hidden;
  translate: 0 8px;
  pointer-events: none;
}
.back-to-top:hover {
  border-color: var(--color-silver);
}
.back-to-top svg { width: 18px; height: 18px; }
.footer-nav a:hover,
.back-to-top:hover {
  color: var(--color-text);
  text-shadow: 0 0 12px var(--neon-glow);
}
.error-page { min-height: 100svh; }
.error-main { width: min(1280px,calc(100% - var(--page-gutter)*2)); min-height: min(720px,calc(100svh - 100px)); margin: var(--header-height) auto 0; padding: var(--space-8) 0; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: var(--space-7); }
.error-copy h1 { margin: 0; font-size: clamp(48px,6vw,88px); font-weight: 500; letter-spacing: -.055em; line-height: 1.04; }
.error-copy h1 span { color: var(--color-muted); }
.error-description { max-width: 42ch; font-size: var(--text-base); line-height: 1.8; color: var(--color-muted); margin: var(--space-6) 0; }
.error-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.error-links { display: flex; flex-wrap: wrap; gap: var(--space-5); margin-top: var(--space-6); color: var(--color-muted); font-size: var(--text-xs); }
.error-links a { padding: var(--space-2) 0; border-bottom: 1px solid var(--color-border); }
.error-links a:hover { color: var(--color-text); border-color: var(--color-accent); }
.error-code { position: relative; text-align: center; padding: var(--space-6) 0; background: radial-gradient(ellipse,var(--accent-surface),transparent 68%); }
.error-code > span { display: block; font-size: clamp(130px,20vw,300px); font-weight: 600; letter-spacing: -.08em; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--accent-border); text-shadow: 0 0 70px var(--accent-glow); }
.error-code > p { margin: var(--space-5) 0 0; color: var(--color-muted); font-size: var(--text-xs); letter-spacing: .22em; }
@media (max-width:800px) { .error-main { grid-template-columns: 1fr; min-height: auto; padding: var(--space-7) 0; gap: var(--space-6); } .error-code { grid-row: 1; padding: 0; } .error-code > span { font-size: clamp(140px,32vw,240px); } .error-code > p { margin-top: var(--space-3); } }
.legal-main {
  width: min(880px, calc(100% - var(--page-gutter) * 2));
  margin: calc(var(--header-height) + var(--space-7)) auto var(--space-8);
}
.legal-main h1 {
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -1px;
  overflow-wrap: anywhere;
}
.legal-main h2 {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.4;
  font-weight: 400;
  margin: 0 0 var(--space-4);
}
.legal-main p {
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.legal-main .legal-lead { font-size: var(--text-base); }
.legal-main .legal-date { font-size: var(--text-xs); }
.legal-main section {
  padding-top: var(--space-7);
  scroll-margin-top: var(--space-6);
}
.legal-toc, .legal-related {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  margin-top: var(--space-6);
  padding: var(--space-5) 0;
  border-block: 1px solid var(--color-border-soft);
  font-size: var(--text-sm);
  line-height: 1.7;
}
.legal-toc a { flex-basis: 100%; }
.missing-page { min-height: 55svh; }
.legal-main > .button { margin-top: var(--space-6); }
.legal-toc a:hover, .legal-related a:hover { color: var(--color-silver); }
.footer-company {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--space-4);
  row-gap: var(--space-2);
  margin: 0 0 var(--space-4);
  color: var(--color-muted);
  font-size: var(--text-xs);
  line-height: 1.7;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-soft);
  color: var(--color-muted);
  font-size: var(--text-xs);
}
.footer-bottom p {
  margin: 0;
}
@media (max-width: 1050px) {
  .footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media (max-width: 800px) {
  .footer-main {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: var(--space-6) var(--space-4);
  }
  .footer-brand,
  .footer-contacts {
    grid-column: 1 / -1;
  }
  .footer-nav a {
    min-height: 44px;
    line-height: 1.4;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .footer-inner {
    padding-top: var(--space-5);
  }
  .footer-contacts .contact-phone {
    gap: var(--space-2);
  }
  .footer-contacts .contact-phone > svg {
    width: 14px;
    height: 14px;
  }
  .footer-contacts .contact-number {
    font-size: var(--text-base);
    white-space: nowrap;
  }
  .footer-contacts .contact-label {
    font-size: var(--text-xs);
  }
  .footer-contacts .contact-links {
    gap: var(--space-2);
  }
  .footer-legal .legal-link {
    font-size: var(--text-xs);
  }
}
@media (max-width: 360px) {
  .footer-contacts .contact-phone > svg {
    display: none;
  }
}
.projects-section {
  --section-width: 1350px;
  --section-top: 80px;
  --section-bottom: 90px;
  background: var(--color-bg);
}
.projects-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--space-5); }
.projects-grid.projects-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--space-5) * 3) / 4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.projects-row::-webkit-scrollbar { display: none; }
.projects-row > .project-card { scroll-snap-align: start; }
.projects-pager[hidden] { display: none; }
.projects-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); }
.viewer-footer .projects-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--color-border); cursor: pointer; transition: background-color var(--duration-normal) var(--ease-premium), width var(--duration-normal) var(--ease-premium), box-shadow var(--duration-normal) var(--ease-premium); }
.viewer-footer .projects-dots button[aria-current="true"] { width: 24px; border-radius: 4px; background: var(--neon); box-shadow: 0 0 12px var(--neon-glow); }
.viewer-footer .projects-dots button:hover { background: var(--color-silver); }
/* /projects/: a bento grid with numbered cards so the page is not a flat row of equal tiles. */
.projects-page .projects-grid { counter-reset: project; grid-auto-flow: dense; grid-auto-rows: clamp(200px, 19vw, 300px); }
.projects-page .project-card { aspect-ratio: auto; counter-increment: project; }
.projects-page .project-card::before { content: counter(project, decimal-leading-zero); position: absolute; z-index: 1; top: var(--space-4); left: var(--space-5); color: var(--color-white); font-size: var(--text-xs); letter-spacing: .12em; padding: var(--space-1) var(--space-3); border: 1px solid var(--neon-line); border-radius: var(--radius-button); background: var(--bg-solid); }
.projects-page .project-card:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.projects-page .project-card:nth-child(6n+1) > span:not(.project-open) { font-size: clamp(20px, 2vw, 28px); }
.projects-page .project-card:nth-child(6n+6) { grid-column: span 2; }
.projects-page .project-card:hover { box-shadow: 0 0 28px var(--neon-soft); }
.projects-count { color: var(--color-white); font-size: clamp(28px, 3vw, 40px); font-weight: 400; text-shadow: 0 0 20px var(--neon-glow); }
.project-card { position: relative; display: block; padding: 0; aspect-ratio: 4/5; text-align: left; border: 1px solid var(--color-border-soft); border-radius: var(--radius-md); background: var(--color-surface); overflow: hidden; color: var(--color-text); cursor: pointer; transition: border-color .3s ease; }
.project-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .8s cubic-bezier(.2,.7,.2,1); }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, var(--shadow-deep)); }
.project-card > span { position: absolute; z-index: 1; left: var(--space-5); right: var(--space-5); bottom: calc(var(--space-5) + 28px); font-size: var(--text-base); line-height: 1.3; }
.project-card > .project-open { bottom: var(--space-5); font-size: var(--text-xs); letter-spacing: .08em; color: var(--color-silver); }
.project-card:hover, .project-card:focus-visible { border-color: var(--accent-border); }
.project-card:hover > img, .project-card:focus-visible > img { scale: 1.04; }
.project-viewer { width: min(1000px,calc(100% - 32px)); max-height: calc(100svh - 32px); padding: var(--space-6); overflow: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); color: var(--color-text); background: var(--color-panel); }
.project-viewer::backdrop { background: var(--color-backdrop); backdrop-filter: blur(8px); }
.project-viewer h2 { margin: 0 var(--space-7) var(--space-5) 0; font-size: clamp(26px,3vw,40px); line-height: 1.2; }
.project-description { max-width: 70ch; max-height: 7.2em; overflow: auto; color: var(--color-muted); line-height: 1.8; font-size: var(--text-base); white-space: pre-line; margin: 0 0 var(--space-5); }
.project-description:empty { display: none; }
.project-stage { display: flex; justify-content: center; height: min(calc(100svh - 360px), 640px); min-height: 240px; overflow: hidden; touch-action: pan-y; }
.project-stage > img, .project-stage > video { display: block; width: auto; max-width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius-md); }
.project-thumbs { display: flex; gap: var(--space-2); margin-top: var(--space-4); overflow-x: auto; scrollbar-width: none; }
.project-thumbs[hidden] { display: none; }
.project-thumbs button { flex: 0 0 72px; height: 54px; padding: 0; border: 1px solid var(--color-border-soft); border-radius: var(--radius-sm); background: var(--color-surface); overflow: hidden; opacity: .5; transition: opacity var(--duration-image) var(--ease-premium), border-color var(--duration-image) var(--ease-premium); }
.project-thumbs button:hover, .project-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--accent-border); }
.project-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width:1050px) { .projects-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } .projects-grid.projects-row { grid-auto-columns: calc((100% - var(--space-5) * 2) / 3); } }
@media (max-width:800px) { .projects-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .projects-grid.projects-row { grid-auto-columns: calc((100% - var(--space-5)) / 2); } }
@media (max-width:520px) { .projects-grid { grid-template-columns: 1fr; } .projects-page .project-card:nth-child(n) { grid-column: auto; grid-row: span 1; } .projects-grid.projects-row { grid-auto-columns: 82%; gap: var(--space-3); } .project-viewer { padding: var(--space-5); } .project-stage { height: 52svh; } .project-thumbs button { flex-basis: 60px; height: 45px; } }
.projects-empty {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}
.projects-empty > span {
  position: relative;
  display: grid;
  align-content: end;
  aspect-ratio: 4/5;
  padding: var(--space-5);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: radial-gradient(ellipse 80% 60% at 50% 40%, var(--accent-surface), transparent);
  color: var(--color-muted);
  font-size: var(--text-xs);
  letter-spacing: .16em;
}
.projects-empty > span b {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: 0;
  color: var(--color-border);
}
.projects-empty > p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}
@media (max-width: 800px) {
  .projects-empty { grid-template-columns: 1fr 1fr; }
  .projects-empty > span:nth-child(3) { display: none; }
}
.lounge {
  --section-top: 88px;
  --section-bottom: 88px;
  --section-width: 1320px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
  gap: var(--space-7);
  align-items: start;
  background: radial-gradient(ellipse 45% 60% at 0% 50%, var(--accent-surface), transparent), var(--color-bg);
}
.lounge-heading > p {
  margin: var(--space-5) 0 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.8;
}
.lounge-carousel {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}
.lounge-track {
  display: flex;
  gap: var(--space-4);
}
.lounge-track > * {
  flex: 0 0 calc((100% - var(--space-4) * 2) / 3);
  min-width: 0;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  user-select: none;
  -webkit-user-drag: none;
}
.lounge-carousel > button {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-top: -22px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-white);
  filter: drop-shadow(0 2px 6px var(--shadow-strong));
}
.lounge-track > img { cursor: zoom-in; }
.photo-zoom:focus { outline: none; }
.photo-zoom { width: 100vw; max-width: none; height: 100svh; max-height: none; margin: 0; padding: var(--space-7) var(--space-8); border: 0; border-radius: 0; background: transparent; color: var(--color-white); opacity: 1; filter: none; }
.photo-zoom[open] { display: grid; place-items: center; }
.photo-zoom::backdrop { background: var(--bg-solid); backdrop-filter: none; }
.photo-zoom img { max-width: 100%; max-height: calc(100svh - var(--space-7) * 2); border-radius: var(--radius-md); object-fit: contain; }
.photo-zoom button { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; outline: none; color: inherit; filter: drop-shadow(0 2px 6px var(--shadow-strong)); }
.photo-zoom button:focus-visible { outline: 1px solid var(--white-50); outline-offset: 2px; border-radius: var(--radius-sm); }
.photo-zoom button svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: translate var(--duration-normal) var(--ease-premium); }
.photo-zoom .zoom-close { top: var(--space-4); right: var(--space-4); }
.photo-zoom .zoom-close svg { width: 22px; height: 22px; }
.photo-zoom .zoom-prev { left: var(--space-4); top: 50%; margin-top: -22px; }
.photo-zoom .zoom-next { right: var(--space-4); top: 50%; margin-top: -22px; }
.photo-zoom .zoom-prev:hover svg { translate: -3px 0; }
.photo-zoom .zoom-next:hover svg { translate: 3px 0; }
@media (max-width: 800px) { .photo-zoom { padding: var(--space-8) var(--space-3); } .photo-zoom .zoom-prev, .photo-zoom .zoom-next { top: auto; bottom: var(--space-4); margin: 0; } }
.lounge-carousel > .lounge-prev { left: var(--space-5); }
.lounge-carousel > .lounge-next { right: var(--space-5); }
.about {
  --section-top: 100px;
  --section-bottom: 100px;
  --section-width: 1320px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-8) var(--space-7);
  align-items: center;
  /* Glows fade out well inside the section so no edge shows against neighbours. */
  background: radial-gradient(ellipse 38% 42% at 78% 45%, var(--neon-soft), transparent 70%), radial-gradient(ellipse 30% 34% at 12% 62%, var(--neon-soft), transparent 70%);
}
.about-mark {
  position: absolute;
  top: var(--space-7);
  left: 0;
  z-index: -1;
  width: min(62%, 760px);
  aspect-ratio: 1604 / 279;
  -webkit-mask: url("/brand/avs-logo-silver.svg") center / contain no-repeat;
  mask: url("/brand/avs-logo-silver.svg") center / contain no-repeat;
  background: linear-gradient(105deg, transparent 30%, color-mix(in srgb, var(--color-white) 22%, transparent) 50%, transparent 70%) 120% 0 / 300% 100% no-repeat, color-mix(in srgb, var(--color-white) 7%, transparent);
  animation: about-shine 6s var(--ease-premium) infinite;
  pointer-events: none;
}
@keyframes about-shine { 0%, 55% { background-position: 120% 0, 0 0; } 100% { background-position: -20% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .about-mark { animation: none; } }
.about-story > .button { width: auto; margin-top: var(--space-6); }
.about-page { --section-top: 64px; }
.about-page .about-history p:first-child { font-size: clamp(20px, 1.8vw, 26px); }
.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  margin: var(--space-7) 0 0;
}
.about-facts dt {
  color: var(--color-white);
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1;
  text-shadow: 0 0 24px var(--neon-glow);
}
.about-facts dd {
  margin: var(--space-2) 0 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
}
.about-subtitle {
  grid-column: 1 / -1;
  margin: var(--space-6) 0 calc(var(--space-6) * -1 + var(--space-3));
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 400;
}
.about-story {
  position: relative;
}
.about-history p {
  margin: var(--space-4) 0 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.8;
}
.about-history p:first-child {
  margin-top: var(--space-6);
  color: var(--color-text);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
}
.about-founder {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-7);
  align-items: center;
  margin-top: var(--space-6);
}
.about-founder .about-subtitle { margin: var(--space-2) 0 0; }
.about-founder blockquote { margin: var(--space-5) 0 0; padding-left: var(--space-5); border-left: 1px solid var(--neon-line); }
.about-founder blockquote p { margin: var(--space-4) 0 0; color: var(--color-muted); font-size: var(--text-sm); line-height: 1.8; }
.about-founder blockquote p:first-child { margin-top: 0; color: var(--color-text); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; }
.about-founder-text { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.about-founder-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-md); }
.about-team-photo, .about-founder-photo {
  position: relative;
  margin: 0;
}
/* Neon outline offset behind the photo; shared by the team and founder photos. */
.about-team-photo::before, .about-founder-photo::before {
  content: "";
  position: absolute;
  inset: var(--space-5) calc(var(--space-5) * -1) calc(var(--space-5) * -1) var(--space-5);
  z-index: -1;
  border: 1px solid var(--neon-line);
  border-radius: var(--radius-md);
  box-shadow: 0 0 32px var(--neon-soft), inset 0 0 24px var(--neon-soft);
}
.about-team-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.about-team-photo figcaption {
  position: absolute;
  left: var(--space-5);
  bottom: var(--space-5);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--neon-line);
  border-radius: var(--radius-button);
  background: var(--bg-solid);
  color: var(--color-text);
  font-size: var(--text-xs);
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 0 18px var(--neon-glow);
}
.about-mosaic {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(140px, 15vw, 220px);
  gap: var(--space-3);
}
.about-mosaic template { display: none; }
.about-tile {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  cursor: zoom-in;
  transition: border-color var(--duration-normal) var(--ease-premium), box-shadow var(--duration-normal) var(--ease-premium);
}
.about-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale var(--duration-slow, .6s) var(--ease-premium);
}
.about-tile:hover { border-color: var(--neon-line); box-shadow: 0 0 24px var(--neon-soft); }
.about-tile:hover img { scale: 1.05; }
.about-tile:focus-visible { outline: 1px solid var(--neon); outline-offset: 2px; }
.about-mosaic > .about-tile:first-child { grid-column: span 2; grid-row: span 2; }
.about-mosaic-1 > .about-tile:first-child { grid-column: 1 / -1; }
.about-mosaic-2 > .about-tile { grid-column: span 2; grid-row: span 2; }
.about-mosaic-3 > .about-tile:not(:first-child) { grid-column: span 2; }
.about-mosaic-4 > .about-tile:last-child { grid-column: span 2; }
.about-mosaic-6 > .about-tile:nth-child(6),
.about-mosaic-7 > .about-tile:nth-child(n+6):nth-child(-n+7),
.about-mosaic-8 > .about-tile:nth-child(6) { grid-column: span 2; }
.about-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--bg-solid);
  opacity: .72;
  color: var(--color-white);
  font-size: clamp(24px, 3vw, 40px);
}
.lounge-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.lounge-list li {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
.lounge-list svg {
  flex: none;
  color: var(--color-silver);
}
.lounge-list p {
  margin: 0;
  font-size: var(--text-base);
  line-height: 1.4;
}
@media (max-width: 1050px) {
  .lounge, .about { grid-template-columns: 1fr; gap: var(--space-6); }
  .about-team-photo { margin-right: var(--space-5); }
  .about-founder { grid-template-columns: 1fr; gap: var(--space-6); }
  .about-founder-photo { order: -1; max-width: 480px; margin-right: var(--space-5); }
  .lounge-track > * { flex-basis: calc((100% - var(--space-4)) / 2); }
}
@media (max-width: 800px) {
  .lounge-list { gap: var(--space-3); }
  .lounge-list li { flex-direction: column; align-items: flex-start; padding: var(--space-4); }
  .about-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; gap: var(--space-2); }
  .about-mosaic > .about-tile { grid-column: auto; grid-row: auto; }
  .about-mosaic > .about-tile:first-child { grid-column: 1 / -1; grid-row: span 2; }
  .about-story { padding-left: var(--space-4); }
  .lounge-track > * { flex-basis: 84%; }
  .lounge-carousel > button { display: none; }
}
@media (max-width: 520px) {
  .lounge-list { grid-template-columns: 1fr; }
  .lounge-list li { flex-direction: row; align-items: center; }
}
.featured-section {
  --section-width: 1440px;
  --section-top: 100px;
  --section-bottom: 88px;
  background: var(--color-bg);
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  aspect-ratio: 9 / 4;
  gap: var(--space-3);
}
.featured-grid.portfolio-one-row {
  grid-template-rows: 1fr;
  aspect-ratio: 9 / 2;
}
.featured-photo {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  text-align: left;
}
.featured-photo > .work-photo {
  position: absolute;
  top: 50%;
  left: calc((100% - var(--featured-width, 100%)) / 2);
  width: var(--featured-width, 100%);
  translate: 0 -50%;
  transition: scale var(--duration-image) var(--ease-premium);
}
.featured-caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-5);
  padding-top: var(--space-7);
  color: var(--color-text);
  font-size: var(--text-sm);
  background: linear-gradient(transparent, var(--shadow-deep));
}
.featured-caption > span:last-child {
  transition: translate var(--duration-normal) var(--ease-premium);
}
.featured-photo:hover > .work-photo,
.featured-photo:focus-visible > .work-photo {
  scale: 1.025;
}
.featured-photo:hover .featured-caption > span:last-child {
  translate: 2px -2px;
}
.portfolio-pagination[hidden] {
  display: none;
}
.portfolio-pagination button:disabled {
  opacity: 0.3;
  cursor: default;
}
@media (max-width: 800px) {
  .featured-grid {
    aspect-ratio: 3 / 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .featured-grid.portfolio-one-row {
    aspect-ratio: 3 / 1;
  }
  .featured-caption {
    padding: var(--space-3);
    padding-top: var(--space-7);
    font-size: var(--text-xs);
  }
}
@media (max-width: 480px) {
  .featured-grid.portfolio-one-row {
    aspect-ratio: 3 / 2;
  }
  .featured-grid {
    aspect-ratio: 3 / 4;
    grid-template-columns: 1fr;
  }
}
.gallery-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-5);
}
.gallery-heading > .button { flex: none; align-self: flex-start; width: auto; }
.gallery-heading > p {
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.8;
  margin: 0 0 var(--space-1);
}
.work-filters {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}
.work-filters button {
  padding: var(--space-3) var(--space-4);
  min-height: 44px;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-button);
  background: transparent;
  color: var(--color-muted);
  font-size: var(--text-xs);
  transition:
    background var(--duration-fast) var(--ease-premium),
    color var(--duration-fast) var(--ease-premium),
    border-color var(--duration-fast) var(--ease-premium);
}
.work-filters button:hover {
  border-color: var(--color-silver);
  color: var(--color-text);
}
.work-filters button[aria-pressed="true"] {
  background: var(--neon-soft);
  color: var(--color-text);
  border-color: var(--neon-line);
  box-shadow: 0 0 18px var(--neon-glow), inset 0 0 10px var(--neon-soft);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}
.work-card {
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
}
.work-card-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}
.work-card-open:focus-visible {
  outline-offset: -4px;
}
.work-card-image {
  aspect-ratio: 3/2;
  position: relative;
  overflow: hidden;
}
[data-gallery] [hidden] { display: none; }
.gallery-empty { margin: 0; padding: var(--space-7) var(--space-5); border: 1px solid var(--color-border-soft); color: var(--color-muted); text-align: center; line-height: 1.7; }
.work-photo > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.work-photo.is-unavailable { display: grid; place-items: center; background: var(--color-surface); color: var(--color-muted); font-size: var(--text-xs); }
.work-viewer-media > .work-photo:has(> img) { aspect-ratio: auto; height: min(65svh, 680px); }
.work-viewer-media > .work-photo > img { object-fit: contain; }

.work-photo {
  width: 100%;
  aspect-ratio: var(--work-aspect, 5/3);
  background-repeat: no-repeat;
}
.work-card-image > .work-photo {
  position: absolute;
  top: 50%;
  left: calc((100% - var(--card-width, 100%)) / 2);
  width: var(--card-width, 100%);
  translate: 0 -50%;
  transition: filter var(--duration-normal) var(--ease-premium);
}
.work-card-before {
  clip-path: inset(0 50% 0 0);
}
.work-card-image:after {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  background: var(--white-50);
  pointer-events: none;
}
.work-card-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  color: var(--color-text);
  background: linear-gradient(transparent, var(--shadow-strong));
  font-size: var(--text-xs);
  z-index: 1;
}
.work-card-overlay > span {
  width: 32px;
  height: 32px;
  border: 1px solid var(--white-40);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition:
    background var(--duration-normal) var(--ease-premium),
    translate var(--duration-normal) var(--ease-premium);
}
.work-card-open:hover .work-card-overlay > span {
  background: var(--color-border);
  translate: 2px -2px;
}
.work-card-open:hover .work-photo {
  filter: brightness(1.035);
}
.work-card-body {
  padding: var(--space-5);
}
.work-card-body h3 {
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.45;
  margin: 0 0 var(--space-2);
}
.comparison {
  position: relative;
  aspect-ratio: var(--work-aspect, 5/3);
  width: 100%;
  overflow: hidden;
  background: var(--color-panel);
  border-radius: var(--radius-md);
}
.comparison > .work-photo {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}
.comparison-before {
  clip-path: inset(0 calc(100% - var(--compare-position, 50%)) 0 0);
}
.comparison-controls {
  position: absolute;
  inset: 0;
}
.comparison-label {
  position: absolute;
  top: var(--space-4);
  padding: var(--space-2) var(--space-3);
  background: var(--color-scrim);
  border: 1px solid var(--white-20);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  pointer-events: none;
}
.comparison-label.before {
  left: var(--space-4);
}
.comparison-label.after {
  right: var(--space-4);
}
.comparison-divider {
  position: absolute;
  left: var(--compare-position, 50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-light);
  translate: -50% 0;
  pointer-events: none;
}
.comparison-divider > span {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--white-75);
  background: var(--surface-glass);
  display: grid;
  place-items: center;
  font-size: var(--text-lg);
  color: var(--color-text);
}
.comparison-range {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.comparison:has(.comparison-range:focus-visible) {
  outline: 2px solid var(--color-accent);
  outline-offset: 5px;
}
.work-viewer {
  width: min(1080px, calc(100% - 40px));
  max-height: calc(100svh - 40px);
  padding: var(--space-6);
  overflow: auto;
  border-radius: var(--radius-md);
}
.work-viewer h2 {
  font-size: clamp(23px, 3vw, 36px);
  margin: var(--space-2) var(--space-7) var(--space-5) 0;
  line-height: 1.3;
}
.viewer-footer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  justify-content: space-between;
  margin-top: var(--space-4);
}
.viewer-footer button {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-white);
  filter: drop-shadow(0 2px 6px var(--shadow-strong));
}
.viewer-footer button svg,
.lounge-carousel > button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: translate var(--duration-normal) var(--ease-premium);
}
.lounge-carousel > button svg,
.viewer-footer button svg { width: 32px; height: 32px; stroke-width: 1.6; }
.lounge-prev:hover svg,
.portfolio-prev:not(:disabled):hover svg,
.viewer-prev:hover svg,
[data-review-prev]:not(:disabled):hover svg { translate: -3px 0; }
.lounge-next:hover svg,
.portfolio-next:not(:disabled):hover svg,
.viewer-next:hover svg,
[data-review-next]:not(:disabled):hover svg { translate: 3px 0; }
.viewer-footer button[hidden] {
  display: none;
}
.work-video-badge { position: absolute; top: var(--space-4); left: var(--space-4); z-index: 1; padding: var(--space-2) var(--space-3); border: 1px solid var(--accent-border); border-radius: var(--radius-button); background: var(--bg-solid); color: var(--color-text); font-size: var(--text-xs); }
.work-viewer-media > video { display: block; width: auto; max-width: 100%; max-height: 70svh; margin-inline: auto; object-fit: contain; border-radius: var(--radius-md); }
.viewer-hint {
  font-size: var(--text-xs) !important;
  text-align: center;
  flex: 1;
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 1050px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .projects-section {
    --section-top: 64px;
    --section-bottom: 48px;
  }
  .gallery-heading {
    display: block;
    margin-bottom: var(--space-6);
  }
  .gallery-heading > p {
    margin-top: var(--space-5);
    font-size: var(--text-xs);
  }
  .work-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .work-filters {
    gap: var(--space-2);
    margin-bottom: var(--space-5);
  }
  .work-filters button {
    font-size: var(--text-xs);
    padding: var(--space-3) var(--space-3);
  }
  .work-viewer {
    width: calc(100% - 24px);
    padding: var(--space-5) var(--space-4);
    max-height: calc(100svh - 24px);
  }
  .work-viewer h2 {
    margin-right: var(--space-5);
    font-size: var(--text-2xl);
  }
  .comparison-label {
    top: 10px;
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-2);
  }
  .comparison-label.before {
    left: 10px;
  }
  .comparison-label.after {
    right: 10px;
  }
  .comparison-divider > span {
    width: 36px;
    height: 36px;
  }
  .viewer-hint {
    font-size: var(--text-xs) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .work-card-open:hover .work-card-overlay > span {
    translate: none;
  }
}
.motion-pending {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .motion-pending {
    opacity: 1;
  }
}

/* Neon accents */
.lounge-list svg { color: var(--neon); filter: drop-shadow(0 0 6px var(--neon-glow)); }
.service-item { transition: border-color var(--duration-normal) var(--ease-premium), box-shadow var(--duration-normal) var(--ease-premium); }
.service-item:hover { border-color: var(--neon-line); box-shadow: 0 0 24px var(--neon-soft); }
.site-footer { border-top-color: var(--neon-line); box-shadow: 0 -1px 18px var(--neon-soft); }
.gallery-heading p:empty, .process-heading p:empty, .service-heading p:empty { display: none; }
