/* ==========================================================================
   PIXEL PERFECT — STYLES
   Layout: full-bleed cinematic bands on a 1240px column. Each band opens with
   a split header (title left, one short paragraph right). The viewfinder
   corners from the logo (silver left, blue right) frame the hero, the closing
   call to action, every open media slot, and each photo on hover.
   Change a value in :root and it updates everywhere on the page.
   ========================================================================== */
:root {
  color-scheme: dark;

  /* Color, taken from the Pixel Perfect logo */
  --ink: #050505;            /* page background */
  --surface: #0B0D11;        /* alternate band */
  --raised: #111318;         /* media frames, hover surfaces */
  --blue: #009DFF;           /* electric blue: accents, labels, lines */
  --blue-deep: #0065E8;      /* deep blue: buttons */
  --white: #FFFFFF;          /* headings */
  --silver: #BFC4CC;         /* body text */
  --muted: #8A919C;          /* captions */
  --line: rgba(191, 196, 204, 0.14);
  --line-strong: rgba(191, 196, 204, 0.34);
  --shade: 5, 5, 5;          /* overlay color, as r, g, b */
  --glow: 0, 157, 255;       /* blue light, as r, g, b */

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;

  /* Shape and rhythm (adjust --radius to match the Spiro order page buttons) */
  --radius: 8px;
  --gutter: clamp(20px, 4vw, 40px);
  --band: clamp(80px, 10vw, 148px);
  --nav-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--silver);
  font: 400 1.0625rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 200; padding: 12px 18px; background: var(--blue-deep); color: var(--white); border-radius: var(--radius); }
.skip:focus { left: 12px; top: 12px; }

.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); color: var(--white); text-wrap: balance; }
h1 {
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(1.5rem, 5vw + 0.35rem, 4.25rem);
  line-height: 1.04;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
h2 {
  font-stretch: 112%;
  font-weight: 650;
  font-size: clamp(1.7rem, 2.4vw + 0.95rem, 3rem);
  line-height: 1.1;
  letter-spacing: -0.012em;
}
h2 .dim { color: var(--muted); }
h3 {
  font-stretch: 112%;
  font-weight: 650;
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.blue { color: var(--blue); }
.lede { max-width: 54ch; }

/* Section label: the blue bar echoes the bars beside the logo tagline */
.label {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--blue);
  font: 600 0.72rem/1.5 var(--font-display);
  font-stretch: 112%;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.label::before { content: ""; flex: none; width: 34px; height: 2px; border-radius: 2px; background: var(--blue); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--blue-deep);
  border-radius: var(--radius);
  background: var(--blue-deep);
  color: var(--white);
  font: 700 0.78rem/1 var(--font-display);
  font-stretch: 112%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { filter: brightness(1.14); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { background: rgba(var(--shade), 0.25); border-color: var(--line-strong); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { filter: none; border-color: var(--white); background: rgba(255, 255, 255, 0.07); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.72rem; }
.btn--lg { min-height: 64px; padding: 0 44px; font-size: 0.875rem; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
  color: var(--blue);
  font: 700 0.72rem/1 var(--font-display);
  font-stretch: 112%;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}
.textlink svg { width: 15px; height: 15px; flex: none; }
.textlink:hover { gap: 15px; color: var(--white); }

/* ---------- Viewfinder corners and open media slots ---------- */
.corners { position: absolute; inset: 14px; z-index: 3; pointer-events: none; }
.corners i { position: absolute; width: 20px; height: 20px; border: 2px solid var(--white); }
.corners i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.corners i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-color: var(--blue); }
.corners i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.corners i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-color: var(--blue); }

/* An open slot is drawn as a camera viewfinder: rule-of-thirds grid and corner brackets */
.frame {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    linear-gradient(var(--line), var(--line)) 33.333% 0 / 1px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) 66.666% 0 / 1px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) 0 33.333% / 100% 1px no-repeat,
    linear-gradient(var(--line), var(--line)) 0 66.666% / 100% 1px no-repeat,
    radial-gradient(120% 90% at 85% 115%, rgba(var(--glow), 0.16), rgba(var(--glow), 0) 60%),
    var(--raised);
}
.frame .corners i { width: 14px; height: 14px; border-width: 1.5px; opacity: 0.75; }
.frame__tag {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 8px 12px;
  color: var(--muted);
  font: 600 0.66rem/1.5 var(--font-display);
  font-stretch: 112%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
}
.frame__tag svg { width: 26px; height: 26px; margin-bottom: 4px; color: var(--blue); }
.frame__tag b { color: var(--silver); font-weight: 600; }
.frame__tag span { letter-spacing: 0.08em; text-transform: none; font-family: var(--font-body); font-size: 0.75rem; font-weight: 500; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(var(--shade), 0.85) 0%, rgba(var(--shade), 0.4) 62%, rgba(var(--shade), 0) 100%);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.nav.is-solid, .nav.is-open {
  background: rgba(var(--shade), 0.9);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav__in { height: 100%; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
/* The logo file has empty transparent space left and right. .logo trims that space on screen; the file itself is untouched. */
.logo { --logo-h: 60px; display: block; flex: none; overflow: hidden; height: var(--logo-h); width: calc(var(--logo-h) * 2.03); }
.logo img { height: 100%; width: auto; max-width: none; margin-left: calc(var(--logo-h) * -0.447); }
.nav__links { margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav__links a:not(.btn) {
  position: relative;
  padding: 10px 0;
  color: var(--silver);
  font: 600 0.78rem/1 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__links a:not(.btn):hover { color: var(--white); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__links .nav__menu-book { display: none; }
.nav__toggle {
  display: none;
  flex: none;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(var(--shade), 0.3);
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .x { display: none; }
.nav.is-open .nav__toggle .x { display: block; }
.nav.is-open .nav__toggle .bars { display: none; }

@media (max-width: 960px) {
  :root { --nav-h: 72px; }
  .logo { --logo-h: 52px; }
  .nav__toggle { display: inline-flex; }
  .nav__book { margin-left: auto; }
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 6px var(--gutter) 24px;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a:not(.btn) { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 0.875rem; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .nav__menu-book { display: inline-flex; margin-top: 20px; }
}
@media (max-width: 520px) {
  .nav__book { display: none; }
  .nav__toggle { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, 82vh, 840px);
  margin-top: calc(var(--nav-h) * -1);
  padding-block: calc(var(--nav-h) + 64px) clamp(56px, 8vw, 104px);
  background: var(--ink);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(90% 80% at 88% 105%, rgba(var(--glow), 0.26), rgba(var(--glow), 0) 62%),
    radial-gradient(60% 60% at 8% -10%, rgba(0, 101, 232, 0.16), rgba(0, 101, 232, 0) 70%),
    var(--ink);
}
.hero__media.is-empty {
  background:
    linear-gradient(var(--line), var(--line)) 33.333% 0 / 1px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) 66.666% 0 / 1px 100% no-repeat,
    linear-gradient(var(--line), var(--line)) 0 33.333% / 100% 1px no-repeat,
    linear-gradient(var(--line), var(--line)) 0 66.666% / 100% 1px no-repeat,
    radial-gradient(90% 80% at 88% 105%, rgba(var(--glow), 0.26), rgba(var(--glow), 0) 62%),
    radial-gradient(60% 60% at 8% -10%, rgba(0, 101, 232, 0.16), rgba(0, 101, 232, 0) 70%),
    var(--ink);
}
.hero__still, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 0.9s ease; }
.hero__media.is-playing .hero__video { opacity: 1; }
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(var(--shade), 0.88) 0%, rgba(var(--shade), 0.62) 44%, rgba(var(--shade), 0.08) 84%),
    linear-gradient(0deg, rgba(var(--shade), 0.92) 0%, rgba(var(--shade), 0) 42%),
    linear-gradient(180deg, rgba(var(--shade), 0.62) 0%, rgba(var(--shade), 0) 24%);
}
.hero > .corners { inset: calc(var(--nav-h) + 12px) 18px 18px; }
.hero > .corners i { width: 26px; height: 26px; }
.hero__in { position: relative; display: grid; gap: 24px; justify-items: start; width: 100%; text-shadow: 0 1px 18px rgba(var(--shade), 0.55); }
.hero .label { color: var(--white); }
.hero .btn { text-shadow: none; }
.hero h1 { max-width: 16ch; }
.hero h1 span { display: block; }
.hero__sub { max-width: 46ch; color: var(--white); font-size: clamp(1.0625rem, 0.5vw + 0.98rem, 1.25rem); line-height: 1.55; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.hero__slot { position: absolute; right: 52px; bottom: 44px; z-index: 1; }
.hero__toggle {
  position: absolute;
  right: 48px; bottom: 44px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(var(--shade), 0.45);
  color: var(--silver);
  font: 600 0.7rem/1 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero__toggle:hover { color: var(--white); border-color: var(--white); }
.hero__toggle svg { width: 14px; height: 14px; }

@media (max-width: 760px) {
  .hero { min-height: clamp(520px, 78vh, 720px); }
  .hero__shade {
    background:
      linear-gradient(0deg, rgba(var(--shade), 0.94) 0%, rgba(var(--shade), 0.62) 58%, rgba(var(--shade), 0.5) 100%);
  }
  .hero > .corners { inset: calc(var(--nav-h) + 6px) 8px 8px; }
  .hero > .corners i { width: 16px; height: 16px; }
  .hero__btns { width: 100%; }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero__slot { display: none; }
  .hero__toggle { right: 18px; bottom: auto; top: calc(var(--nav-h) + 18px); }
}

/* Hero load sequence */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero__in > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__in > :nth-child(2) { animation-delay: 0.1s; }
  .hero__in > :nth-child(3) { animation-delay: 0.22s; }
  .hero__in > :nth-child(4) { animation-delay: 0.34s; }
  .rv--in { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

/* ---------- Bands and section headers ---------- */
.sec { padding-block: var(--band); }
.sec--alt { background: var(--surface); border-block: 1px solid var(--line); }
.head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px clamp(24px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 68px);
}
.head__title { display: grid; gap: 20px; min-width: 0; }
.head > p { min-width: 0; }
.sec__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: clamp(28px, 4vw, 44px); }
.sec__foot p { font-size: 1rem; }
@media (max-width: 860px) { .head { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* ---------- Featured portfolio ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: dense; gap: 12px; }
.tile {
  position: relative;
  display: block;
  grid-column: span 2;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--raised);
  overflow: hidden;
  text-align: left;
}
.tile--big { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
.tile--half { grid-column: span 3; }
.tile--pano { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
button.tile { cursor: zoom-in; }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tile:hover > img, .tile:focus-visible > img { transform: scale(1.04); }
.tile > .corners { inset: 12px; opacity: 0; transition: opacity 0.3s ease, inset 0.3s ease; }
.tile > .corners i { width: 16px; height: 16px; }
.tile:hover > .corners, .tile:focus-visible > .corners { opacity: 1; inset: 16px; }
.tile__cap {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 56px 34px 28px;
  background: linear-gradient(0deg, rgba(var(--shade), 0.86), rgba(var(--shade), 0));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; }
.tile__label { color: var(--blue); font: 700 0.66rem/1.3 var(--font-display); font-stretch: 112%; letter-spacing: 0.2em; text-transform: uppercase; }
.tile__title { color: var(--white); font: 650 1rem/1.3 var(--font-display); font-stretch: 112%; }
@media (hover: none) { .tile__cap { opacity: 1; padding: 40px 16px 14px; } }
@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tile { grid-column: span 1; }
  .tile--half { grid-column: span 1; }
  .tile--big, .tile--pano, .tile--m-wide { grid-column: span 2; grid-row: auto; aspect-ratio: 3 / 2; }
  .tile--empty:not(.tile--big) .frame__tag span { display: none; }
}

/* ---------- Cinematic video portfolio ---------- */
.films { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.films[data-count="1"] { grid-template-columns: minmax(0, 1fr); max-width: 1040px; }
.films[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.film {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--raised);
  color: inherit;
  overflow: hidden;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.films:not([data-count="1"]):not([data-count="2"]) .film:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.film > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.film:hover > img, .film:focus-visible > img { transform: scale(1.04); }
.film__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--shade), 0.94) 0%, rgba(var(--shade), 0.6) 20%, rgba(var(--shade), 0) 58%); }
.film__play {
  position: absolute;
  top: 50%; left: 50%;
  width: 68px; height: 68px;
  margin: -34px 0 0 -34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(var(--shade), 0.4);
  color: var(--white);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.film__play svg { width: 22px; height: 22px; margin-left: 3px; }
.films:not([data-count="2"]) .film:first-child .film__play { width: 88px; height: 88px; margin: -44px 0 0 -44px; }
.films:not([data-count="2"]) .film:first-child .film__play svg { width: 28px; height: 28px; }
.film:hover .film__play, .film:focus-visible .film__play { background: var(--blue-deep); border-color: var(--blue-deep); transform: scale(1.06); }
.film__meta { position: absolute; inset: auto 0 0 0; display: grid; gap: 3px; padding: 20px 22px; }
.film__meta span { color: var(--blue); font: 700 0.66rem/1.3 var(--font-display); font-stretch: 112%; letter-spacing: 0.2em; text-transform: uppercase; }
.film__meta b { color: var(--white); font: 650 1.0625rem/1.3 var(--font-display); font-stretch: 112%; }
.film--empty { cursor: default; }
@media (max-width: 760px) {
  .films, .films[data-count="2"] { grid-template-columns: minmax(0, 1fr); }
  .films:not([data-count="1"]):not([data-count="2"]) .film:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 9; }
  .films .film:first-child .film__play { width: 68px; height: 68px; margin: -34px 0 0 -34px; }
  .films .film:first-child .film__play svg { width: 22px; height: 22px; }
}

/* ---------- Virtual tours ---------- */
.tours { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.tour { display: grid; gap: 18px; align-content: start; min-width: 0; }
.tour__media {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--raised);
  overflow: hidden;
  cursor: pointer;
}
.tours[data-count="1"] .tour__media { aspect-ratio: 21 / 9; }
.tour__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tour__media:hover > img { transform: scale(1.04); }
.tour__media > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.tour__media.is-live { cursor: default; }
/* A tour with no preview photo gets a drawn panel: two orbit rings around an open button */
.tour__media--plain {
  background:
    radial-gradient(90% 120% at 50% 122%, rgba(var(--glow), 0.32), rgba(var(--glow), 0) 62%),
    var(--raised);
}
.tour__rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.tour__rings::before, .tour__rings::after {
  content: "";
  grid-area: 1 / 1;
  border: 1px solid rgba(var(--glow), 0.45);
  border-radius: 50%;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.4s ease;
}
.tour__rings::before { width: 58%; height: 36%; }
.tour__rings::after { width: 22%; height: 64%; }
.tour__media--plain:hover .tour__rings::before { transform: scale(1.06); border-color: rgba(var(--glow), 0.8); }
.tour__media--plain:hover .tour__rings::after { transform: scale(1.06) rotate(8deg); border-color: rgba(var(--glow), 0.8); }
.tour__open {
  position: absolute;
  top: 50%; left: 50%;
  width: 76px; height: 76px;
  margin: -38px 0 0 -38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: var(--raised);
  color: var(--white);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.tour__open svg { width: 30px; height: 30px; }
.tour__media--plain:hover .tour__open, .tour__media--plain:focus-visible .tour__open { background: var(--blue-deep); border-color: var(--blue-deep); transform: scale(1.06); }
.tour__badge {
  position: absolute;
  left: 16px; top: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(var(--shade), 0.55);
  color: var(--white);
  font: 700 0.66rem/1 var(--font-display);
  font-stretch: 112%;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.tour__badge svg { width: 18px; height: 18px; color: var(--blue); transition: transform 0.9s ease; }
.tour__media:hover .tour__badge svg { transform: rotate(180deg); }
.tour__body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; }
.tour--empty .tour__media { cursor: default; }
@media (max-width: 760px) { .tours[data-count="1"] .tour__media { aspect-ratio: 16 / 10; } }

/* ---------- Services: a ruled grid, no boxes ---------- */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 34px 28px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease;
}
.service:hover { background: var(--raised); }
.service__icon { width: 34px; height: 34px; margin-bottom: 8px; color: var(--blue); }
.service p { flex: 1; font-size: 0.9375rem; line-height: 1.65; }
.service .textlink { align-self: flex-start; margin-top: 6px; }
@media (max-width: 1040px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .services { grid-template-columns: minmax(0, 1fr); border-left: 0; }
  .service { padding: 28px 0 22px; border-right: 0; }
}

/* ---------- Why Pixel Perfect ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 36px clamp(36px, 7vw, 112px); align-items: start; }
.split__head { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.split__head .btn { margin-top: 10px; }
.why__list { border-top: 1px solid var(--line); }
.why__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 6px 24px; padding-block: 30px; border-bottom: 1px solid var(--line); }
.why__item svg { grid-row: span 2; width: 34px; height: 34px; margin-top: 2px; color: var(--blue); }
.why__item p { font-size: 1rem; }
@media (min-width: 961px) { .split__head--stick { position: sticky; top: calc(var(--nav-h) + 40px); } }
@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .why__item { grid-template-columns: 34px minmax(0, 1fr); column-gap: 18px; padding-block: 24px; } .why__item svg { width: 28px; height: 28px; } }

/* ---------- About ---------- */
.about__copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.about__copy p { max-width: 58ch; }
.about__copy p:first-child { color: var(--white); font-size: clamp(1.125rem, 0.6vw + 1rem, 1.375rem); line-height: 1.55; }
.about__copy .btn { margin-top: 10px; }
.about__photo { position: relative; width: 100%; max-width: 420px; aspect-ratio: 4 / 5; margin-top: 16px; border-radius: var(--radius); background: var(--raised); overflow: hidden; }
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Final call to action ---------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(104px, 14vw, 200px);
  text-align: center;
  background:
    radial-gradient(70% 90% at 50% 125%, rgba(var(--glow), 0.34), rgba(var(--glow), 0) 65%),
    radial-gradient(50% 60% at 50% -30%, rgba(0, 101, 232, 0.2), rgba(0, 101, 232, 0) 70%),
    var(--ink);
}
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta.has-image .cta__shade { background: radial-gradient(ellipse at 50% 50%, rgba(var(--shade), 0.6) 0%, rgba(var(--shade), 0.82) 70%, rgba(var(--shade), 0.92) 100%); }
.cta > .corners { inset: 22px; }
.cta > .corners i { width: 30px; height: 30px; }
.cta__in { display: grid; gap: 24px; justify-items: center; max-width: 920px; margin-inline: auto; }
.cta h2 { font-size: clamp(1.9rem, 3.6vw + 0.9rem, 3.9rem); }
.cta p { max-width: 46ch; color: var(--white); font-size: 1.1875rem; }
.cta .btn { margin-top: 14px; }
.cta__slot { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 96px); }
@media (max-width: 760px) {
  .cta > .corners { inset: 10px; }
  .cta > .corners i { width: 18px; height: 18px; }
  .cta__slot { display: none; }
}
@media (max-width: 520px) { .cta .btn { width: 100%; padding-inline: 16px; } }

/* ---------- Footer ---------- */
.foot { background: var(--ink); border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 88px) 28px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.foot__grid > div { display: grid; gap: 14px; align-content: start; justify-items: start; min-width: 0; }
.foot__brand .logo { --logo-h: 112px; margin-bottom: 4px; }
.foot__brand b { color: var(--white); font: 650 1rem/1.4 var(--font-display); font-stretch: 112%; }
.foot__brand span, .foot__grid p { font-size: 0.9375rem; }
.foot h3 { color: var(--blue); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; }
.foot ul { display: grid; gap: 10px; }
.foot li, .foot li a { color: var(--silver); font-size: 0.9375rem; text-decoration: none; overflow-wrap: anywhere; }
.foot li a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 4px; }
.foot li.foot__name { color: var(--white); font: 650 1rem/1.4 var(--font-display); font-stretch: 112%; }
.foot li small { display: block; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.foot__note { color: var(--muted); font-size: 0.8125rem; line-height: 1.55; padding: 10px 12px; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--white); transition: border-color 0.2s ease, background-color 0.2s ease; }
.social a:hover { border-color: var(--blue); background: rgba(var(--glow), 0.12); }
.social svg { width: 20px; height: 20px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8125rem; }
@media (max-width: 960px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Booking bar on phones ---------- */
.mbook {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: rgba(var(--shade), 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}
.mbook .btn { width: 100%; }
@media (max-width: 760px) {
  .mbook { display: block; }
  .mbook.is-on { transform: none; }
  .foot { padding-bottom: 104px; }
}

/* ---------- Photo and video viewer ---------- */
.lb {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: calc(14px + env(safe-area-inset-top, 0px)) clamp(12px, 3vw, 32px) calc(18px + env(safe-area-inset-bottom, 0px));
  border: 0;
  background: rgba(3, 4, 6, 0.97);
  color: var(--silver);
}
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px; }
.lb::backdrop { background: rgba(3, 4, 6, 0.9); }
.lb__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.lb__count { color: var(--muted); font: 600 0.8125rem/1 var(--font-body); letter-spacing: 0.14em; font-variant-numeric: tabular-nums; }
.lb__btn {
  flex: none;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.lb__btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.lb__btn svg { width: 20px; height: 20px; }
.lb__mid { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(8px, 2vw, 22px); min-height: 0; }
.lb__stage { height: 100%; min-height: 0; display: grid; place-items: center; }
.lb__stage > img, .lb__stage > video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lb__stage > iframe { width: min(100%, 1280px); max-height: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; background: #000; }
.lb__cap { min-height: 44px; display: grid; gap: 4px; justify-items: center; align-content: center; text-align: center; }
.lb__cap span { color: var(--blue); font: 700 0.66rem/1.3 var(--font-display); font-stretch: 112%; letter-spacing: 0.2em; text-transform: uppercase; }
.lb__cap b { color: var(--white); font: 650 1rem/1.3 var(--font-display); font-stretch: 112%; }
.lb[data-mode="film"] .lb__prev, .lb[data-mode="film"] .lb__next, .lb[data-mode="film"] .lb__count { visibility: hidden; }
@media (max-width: 640px) {
  .lb__mid { grid-template-columns: minmax(0, 1fr); }
  .lb__mid .lb__btn { position: absolute; z-index: 5; bottom: 8px; background: rgba(var(--shade), 0.6); }
  .lb__prev { left: 4px; }
  .lb__next { right: 4px; }
  .lb[data-mode="film"] .lb__prev, .lb[data-mode="film"] .lb__next { display: none; }
}
