:root {
  color-scheme: dark;
  --canvas: #09090c;
  --line: #ffffff29;
  --text: #f7f7fa;
  --quiet: #c2c2ce;
  --violet: #b593ff;
  --yellow: #f4d35e;
  --violet-hover: #d0baff;
  --gutter: clamp(1.2rem, 5.2vw, 6.5rem);
  --header-height: 5.3rem;
  font-family: Inter, Arial, sans-serif;
  background: var(--canvas);
  color: var(--text);
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:where(a, button, summary):focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }
:where(h1, h2, h3, p) { margin: 0; }
[hidden] { display: none !important; }
.frame { width: min(100%, 105rem); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; z-index: 10; inset: 0 auto auto 1rem; padding: .8rem 1rem; color: var(--canvas); background: var(--text); transform: translateY(-120%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: radial-gradient(ellipse at 20% 0%, #272439 0%, transparent 57%), linear-gradient(110deg, #121218, #0b0b10);
}
.header-layout { min-height: var(--header-height); display: flex; align-items: center; gap: clamp(1rem, 3vw, 3.6rem); }
.brand, .main-nav, .header-actions, .languages { display: flex; align-items: center; }
.brand { gap: .7rem; flex-shrink: 0; margin-right: auto; }
.logo-frame { position: relative; display: block; width: 3.45rem; height: 3.45rem; flex: none; }
.logo-frame img { position: absolute; display: block; width: 136.3636%; height: auto; inset: 50% auto auto 50%; transform: translate(-50%, -48%); }
.wordmark { display: grid; gap: .19rem; }
.wordmark strong { font-size: 1.46rem; line-height: .94; letter-spacing: -.03em; }
.wordmark span { color: var(--quiet); font: .67rem ui-monospace, monospace; letter-spacing: .1em; }
.main-nav { gap: clamp(.8rem, 2vw, 1.75rem); font-size: .91rem; font-weight: 700; }
.main-nav a:hover, .footer a:hover { color: var(--violet); }
.header-actions { gap: clamp(.9rem, 2.3vw, 2.5rem); }
.languages { gap: .12rem; }
.languages a { position: relative; display: grid; place-items: center; min-width: 1.85rem; min-height: 2.5rem; color: var(--quiet); font-size: .8rem; }
.languages a[aria-current] { font-weight: 800; color: var(--text); }
.languages a[aria-current]::after { position: absolute; inset: auto .45rem .28rem; height: 2px; background: var(--yellow); content: ""; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.16rem;
  padding: .65rem 1.36rem;
  border: 1px solid transparent;
  border-radius: .35rem;
  background: var(--violet);
  box-shadow: inset 0 -3px var(--yellow);
  color: #0f0b17;
  font-size: .98rem;
  font-weight: 800;
  text-align: center;
}
.button:hover { background: var(--violet-hover); }
.header-book { min-height: 2.65rem; padding: .5rem 1.05rem; font-size: .86rem; white-space: nowrap; }
.button.secondary { background: #181523; color: var(--text); border-color: #b593ff72; }
.button.secondary:hover { background: #28203c; border-color: var(--violet); }

.legal-page { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(ellipse at 90% 0%, #292039, transparent 52%), var(--canvas); }
.legal-content { flex: 1; width: min(100%, 67rem); padding-block: clamp(2rem, 8vw, 6rem); }
.legal-content h1 { margin-block: 1.1rem 2rem; font-size: clamp(2.2rem, 7vw, 4.4rem); letter-spacing: -.04em; overflow-wrap: anywhere; }
.legal-content h2 { margin-block: 1.75rem .55rem; font-size: clamp(1.25rem, 3vw, 1.55rem); overflow-wrap: anywhere; }
.legal-content p { margin-block: 0 .85rem; color: var(--quiet); line-height: 1.65; overflow-wrap: anywhere; }
.legal-page .footer a[aria-current] { color: var(--violet); }

.hero-portfolio {
  --hero-overlap: clamp(9.5rem, 10vw, 12rem);
  isolation: isolate;
  background:
    radial-gradient(ellipse at 84% 16%, #302442b8, transparent 52%),
    radial-gradient(ellipse at 0% 80%, #24263386, transparent 57%),
    repeating-linear-gradient(118deg, #ffffff04 0 1px, transparent 1px 27px),
    linear-gradient(145deg, #16131c, #0c0c10 84%);
}
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(33rem, 69svh, 51rem);
}
.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 calc(-1 * var(--hero-overlap));
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 78% 38%, #25252a, transparent 65%), linear-gradient(112deg, #09090b, #0c0c11);
  mask-image: linear-gradient(
    to bottom,
    #000 0 calc(100% - var(--hero-overlap) - 3rem),
    #000e calc(100% - var(--hero-overlap) + 1rem),
    #0008 calc(100% - 3.4rem),
    transparent 100%
  );
}
.hero-photo {
  position: absolute;
  display: block;
  inset: .45rem 0 auto auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100% - .9rem);
  transform-origin: 77% 40%;
  mask-image: linear-gradient(90deg, transparent, #000 22%), linear-gradient(to bottom, #000 91%, transparent);
  mask-composite: intersect;
}
.hero.motion-ready .hero-photo { animation: camera-drift 24s ease-in-out infinite; }
@keyframes camera-drift {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.034) translate3d(-.32%, .36%, 0); }
}
.hero.has-motion-paused .hero-photo { animation-play-state: paused; }
.hero-video { display: none; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #08080a 0%, #08080a8c 45%, transparent 73%), linear-gradient(to bottom, #0a0a0e66, transparent 10% 76%, #1710208c); }
.hero-content { padding-block: clamp(3rem, 8svh, 7rem); }
.kicker { margin-bottom: 1.15rem; color: #dedee5; font: .8rem ui-monospace, monospace; line-height: 1.5; letter-spacing: .073em; text-transform: uppercase; }
.hero h1 { font-size: clamp(3.75rem, 6.2vw, 7.2rem); line-height: .99; letter-spacing: -.059em; font-weight: 850; }
.hero h1 span { display: block; }
.hero-description, .body-text { margin-top: 1.25rem; color: var(--quiet); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.58; max-width: 35rem; }
.hero-description { color: #f1f1f7; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.7rem; margin-top: 1.65rem; }
.text-link { display: inline-block; width: fit-content; padding-block: .27rem; background: linear-gradient(var(--yellow), var(--yellow)) left bottom / 100% 2px no-repeat; font-weight: 700; line-height: 1.42; }
.text-link:hover { color: var(--yellow); }
.motion-control { position: absolute; right: var(--gutter); bottom: 1.15rem; display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 1px solid #eeeeef70; border-radius: 50%; background: #0a0a0dc9; }
.motion-control:hover { border-color: var(--text); background: var(--canvas); }
.motion-icon { width: .62rem; height: .75rem; border-inline: 2px solid var(--text); }
.hero.has-motion-paused .motion-icon { width: 0; height: 0; margin-left: .12rem; border-block: .37rem solid transparent; border-left: .62rem solid var(--text); border-right: 0; }

.section-content { padding-block: clamp(3.4rem, 7vw, 7rem); }
.section-intro { max-width: 42rem; margin-bottom: clamp(1.4rem, 3vw, 2.3rem); }
.section-intro p { margin-top: .75rem; color: var(--quiet); font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.55; }
h2 { font-size: clamp(2.2rem, 4.8vw, 4.25rem); line-height: 1.01; letter-spacing: -.052em; }
h3 { font-size: clamp(1.13rem, 1.65vw, 1.55rem); letter-spacing: -.025em; line-height: 1.2; }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.2rem; }
.filters button, .slots button { min-height: 2.75rem; padding: .48rem .8rem; border: 1px solid var(--line); border-radius: .35rem; background: #171620; font-size: .9rem; }
.filters button, .slots button { box-shadow: inset 0 -2px var(--yellow); }
.filters button:hover, .slots button:hover { border-color: #b593ff80; }
.filters button[aria-pressed="true"], .slots button[aria-pressed="true"] { border-color: var(--violet); background: #2b2140; }
.filters small { margin-left: .42rem; color: var(--quiet); font-size: .72rem; }
.gallery-grid, .service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.65rem, 1.65vw, 1.45rem); }
.gallery-card {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  padding: 0;
  border: 1px solid #ffffff22;
  border-radius: .38rem;
  background: radial-gradient(ellipse at 42% 35%, #262332, #161520 54%, #0f0f15);
}
.gallery-card:hover { border-color: var(--violet); }
.gallery-card:has(.photo-fallback:not([hidden])) { min-height: 8.7rem; aspect-ratio: auto; }
.gallery-card img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.photo-fallback { text-align: center; padding: .85rem .65rem 2.8rem; color: var(--quiet); text-decoration: underline; text-underline-offset: .2em; font-size: .86rem; }
.photo-category { position: absolute; bottom: .58rem; left: .58rem; border: 1px solid #ffffff42; border-radius: .25rem; padding: .32rem .48rem; background: #09090deb; color: var(--text); font-size: clamp(.69rem, 1.1vw, .85rem); }
.gallery-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.2rem; }
.gallery-count { color: var(--quiet); font-size: .89rem; }

.services {
  background:
    linear-gradient(103deg, #11111bed 14%, #13131bd1 55%, #11111ab3),
    url("assets/gerilla-workbench.webp") center 53% / cover,
    radial-gradient(ellipse at right, #34313c, #101015);
}
.service-card { display: flex; flex-direction: column; min-height: 11.7rem; padding: clamp(1rem, 2.4vw, 1.9rem); border: 1px solid #ffffff24; border-radius: .42rem; background: linear-gradient(143deg, #272335c9, #111119ec 74%); }
.service-card p { margin-block: .65rem 1rem; color: var(--quiet); line-height: 1.55; }
.service-card a { margin-top: auto; font-size: .93rem; }

.studio-contact {
  background:
    radial-gradient(ellipse at 78% 22%, #53406736, transparent 44%),
    linear-gradient(168deg, #181520ec, #171321d9 55%, #110e18e6),
    url("assets/gerilla-workbench.webp") 70% center / cover,
    #18141f;
}
.studio-layout, .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr);
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: center;
}
.studio .section-content { padding-bottom: clamp(1.2rem, 3vw, 2.6rem); }
.contact .section-content { padding-top: clamp(1.6rem, 4vw, 3.4rem); }
.studio .text-link { margin-top: .85rem; }
.studio-portrait { width: min(100%, 23rem); justify-self: center; }
.studio-portrait img {
  display: block; width: 100%; height: auto;
  mask-image: linear-gradient(#000 77%, transparent 100%), linear-gradient(to right, #000 88%, transparent 100%);
  mask-composite: intersect;
}
.studio-faq {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .3rem 1.5rem;
}
.studio-faq h3 { grid-column: 1 / -1; margin-bottom: .25rem; }
.studio-faq summary { padding-block: .62rem; font-weight: 760; line-height: 1.45; cursor: pointer; }
.studio-faq summary::marker { color: var(--violet); }
.studio-faq details p { padding-bottom: .9rem; color: var(--quiet); line-height: 1.54; }
.location { border-left: 1px solid #b593ff80; padding: .8rem 0 .8rem 1.3rem; }
.location address { margin-block: .65rem; color: var(--quiet); font-style: normal; line-height: 1.56; }
.subtle-link { display: inline-block; padding: .35rem 0; margin-top: .95rem; border: 0; background: linear-gradient(var(--yellow), var(--yellow)) left bottom / 100% 2px no-repeat; color: var(--quiet); font-size: .89rem; text-align: left; }
.subtle-link:hover { color: var(--text); }

.footer { background: radial-gradient(ellipse at 18% 15%, #231e31, transparent 61%), linear-gradient(95deg, #14131a, #0a0a0f 75%); }
.footer-layout, .footer-layout div { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-layout { padding-block: 1.15rem; color: var(--quiet); font-size: .86rem; }
.footer .logo-frame { width: 2.15rem; height: 2.15rem; }

.dialog { position: fixed; max-height: calc(100% - 1.5rem); margin: auto; border: 1px solid var(--line); border-radius: .55rem; background: linear-gradient(146deg, #221d30, #101018 65%); color: var(--text); }
.dialog::backdrop { background: #060609e8; }
.dialog h2 { font-size: clamp(1.4rem, 4vw, 2.35rem); }
.legal-dialog { width: min(calc(100% - 1.5rem), 47rem); padding: 0; }
.legal-dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
.legal-dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: clamp(1rem, 4vw, 1.75rem); }
.legal-dialog-header h2 { overflow-wrap: anywhere; }
.legal-dialog-scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: .15rem clamp(1rem, 4vw, 1.75rem) .5rem; }
.legal-dialog-scroll:focus-visible { outline: 2px solid var(--violet); outline-offset: -2px; }
.legal-dialog-scroll h3 { margin-bottom: .5rem; font-size: 1.15rem; overflow-wrap: anywhere; }
.legal-dialog-scroll h3:not(:first-child) { margin-top: 1.4rem; }
.legal-dialog-scroll p { margin-bottom: 1rem; color: var(--quiet); line-height: 1.6; overflow-wrap: anywhere; }
.legal-dialog-footer { padding: .65rem clamp(1rem, 4vw, 1.75rem) 1rem; font-size: .9rem; }
.booking { width: min(calc(100% - 2rem), 34rem); padding: clamp(1.35rem, 4vw, 2.3rem); }
.booking h2 { margin-right: 1.75rem; }
.booking p { margin-top: .9rem; color: var(--quiet); line-height: 1.45; }
.booking .close { position: absolute; inset: .5rem .5rem auto auto; }
.slots { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.25rem; }
.booking-status { min-height: 2.6em; font-size: .9rem; }
.viewer { width: min(calc(100% - 1rem), 63rem); padding: clamp(.75rem, 2vw, 1.3rem); }
.viewer-header, .viewer-toolbar { display: flex; justify-content: space-between; align-items: center; gap: .7rem; }
.viewer-stage { display: grid; place-items: center; min-height: 8rem; margin-block: .7rem; border: 1px solid #ffffff18; border-radius: .25rem; background: #08080c; }
.viewer-stage img { display: block; width: 100%; max-height: 68svh; object-fit: contain; }
.viewer-stage p { padding: 1rem; color: var(--quiet); }
.viewer-details { text-align: center; font-size: .9rem; }
.viewer-details a { display: block; margin-top: .4rem; text-decoration: underline; color: var(--quiet); }
.icon-button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; border: 1px solid var(--line); border-radius: .3rem; background: #252137; font: 1.7rem/1 Arial, sans-serif; }
.icon-button:hover { background: #392b52; }

@media (max-width: 66rem) {
  .header-book { display: none; }
}
@media (max-width: 46rem) {
  :root { --header-height: 7.25rem; }
  .header-layout { display: grid; grid-template-columns: 1fr auto; align-content: center; gap: .32rem 1rem; }
  .logo-frame { width: 2.8rem; height: 2.8rem; }
  .wordmark strong { font-size: 1.18rem; }
  .wordmark span { font-size: .56rem; }
  .header-actions { justify-self: end; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; gap: clamp(.7rem, 3.9vw, 1.5rem); overflow-x: auto; white-space: nowrap; }
  .main-nav a { font-size: .8rem; padding-block: .55rem; }
  .hero { align-items: end; min-height: 0; }
  .hero-photo { inset: 0 auto auto -52%; width: 152%; max-width: none; max-height: none; transform-origin: 80% 36%; mask-image: none; }
  .hero-shade { background: linear-gradient(to bottom, transparent 12vw, #0c0c1250 48vw, #0c0c12 87vw); }
  .hero-video {
    position: absolute;
    inset: 0 auto auto 0;
    display: block;
    width: 100%;
    height: calc(100% - var(--hero-overlap));
    object-fit: cover;
    object-position: center 39%;
    opacity: 0;
    transition: opacity .38s ease;
  }
  .hero.has-hero-video .hero-video { opacity: 1; }
  .hero.has-hero-video .hero-photo { animation-play-state: paused; }
  .hero.has-hero-video .hero-shade {
    background: linear-gradient(to bottom, #0c0c1018 0%, #0e0c186e 24%, #0e0c18dc 44%, #0d0c16f0 70%, #0c0c10 86%);
  }
  .hero-content { padding-top: clamp(14rem, 53vw, 24rem); padding-bottom: 4.4rem; }
  .kicker { margin-bottom: .65rem; }
  .hero h1 { font-size: clamp(2.5rem, 10.1vw, 4.9rem); }
  .hero-description { margin-top: .78rem; max-width: 24rem; }
  .actions { margin-top: 1rem; gap: .65rem 1rem; }
  .button, .actions .text-link { font-size: .88rem; }
  .button { padding-inline: .95rem; }
  .gallery-grid, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .studio-portrait { width: min(100%, 19rem); }
  .studio-faq { grid-template-columns: 1fr; }
}
@media (max-width: 30rem) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .hero.motion-ready:not(.motion-opt-in) .hero-photo { animation: none; }
  .hero-video { transition: none; }
}
.custom-section .body-text { white-space: pre-line; }
.source-gallery { margin: 0 0 0 auto; }
.booking { width: min(calc(100% - 1.5rem), 38rem); }
.calendar-header { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: 1rem; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .3rem; margin-top: .65rem; text-align: center; }
.calendar-grid span { padding: .25rem; font-size: .78rem; color: var(--quiet); }
.calendar-grid button { min-height: 2.6rem; border: 1px solid transparent; border-radius: .3rem; background: #242031; }
.calendar-grid button:not(:disabled):hover, .calendar-grid button[aria-pressed="true"] { background: var(--violet); color: #100d17; box-shadow: inset 0 -2px var(--yellow); }
.calendar-grid button:disabled, .calendar-header button:disabled { opacity: .38; cursor: default; }
.calendar-grid button:disabled { background: transparent; }
.booking-date { font-weight: 700; color: var(--text) !important; }
.booking-form, .booking-receipt { display: grid; gap: .65rem; margin-top: 1rem; }
.booking-form label, .booking-receipt label { display: grid; gap: .3rem; color: var(--quiet); }
.booking-form input, .booking-form textarea, .booking-receipt input { width: 100%; padding: .55rem; border-radius: .35rem; border: 1px solid #494459; background: #0f0d17; color: var(--text); font: inherit; }
.booking-form textarea { resize: vertical; }
.booking-form .button, .booking-receipt .button { justify-self: start; }
.booking-receipt .actions { margin-top: .3rem; }
.booking-receipt p { margin-top: 0; }
.booking .booking-status { min-height: 0; color: var(--yellow); }
.booking-status:empty { display: none; }
