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

@view-transition {
  navigation: auto;
}

:root {
  color-scheme: dark;
  --bg: #0A0A0B;
  --surface: #121215;
  --surface-raised: #202028;
  --ink: #F4F4F2;
  --muted: #9898A0;
  --subtle: #888892;
  --disabled-ink: #80808A;
  --rule: #1E1E24;
  --rule-strong: #2C2C34;
  --control-rule: rgba(255, 255, 255, 0.09);
  --accent: #6B96FF;
  --accent-solid: #2558E0;
  --accent-solid-hover: #1E4CC7;
  --accent-tint: rgba(37, 88, 224, 0.16);
  --danger-ink: #FCA5A5;
  --danger-bg: #241214;
  --danger-rule: #5B2328;
  --ok-ink: #86EFAC;
  --ok-bg: #102418;
  --ok-rule: #1F4E33;
  --radius: 6px;
  --gutter: clamp(20px, 4vw, 40px);
  --stage-width: 980px;
  --contact-width: 680px;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-padding-block-start: 72px;
}
body {
  position: relative;
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  line-height: 1.5;
  background-color: var(--bg);
  color: var(--ink);
}
main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  view-transition-name: page-main;
}
p, h1, h2, h3, figure, ul {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}
a, button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
::selection {
  background-color: var(--accent-solid);
  color: #FFFFFF;
}

.topbar-frame {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 56px);
}
.stage-column {
  width: 100%;
  max-width: calc(var(--stage-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.contact-column {
  width: 100%;
  max-width: calc(var(--contact-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  inset-inline-start: var(--gutter);
  top: -100px;
  z-index: 20;
  background-color: var(--ink);
  color: var(--bg);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}

/* Whisper-Quiet Single-Rail Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: transparent;
  transition: background-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out), backdrop-filter 220ms var(--ease-out);
  view-transition-name: page-header;
}
.topbar.is-scrolled {
  background-color: rgba(10, 10, 11, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}
.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding-block: 8px;
  flex-shrink: 0;
  transition: opacity 150ms var(--ease);
}
.brand img {
  display: block;
  height: 26px;
  width: auto;
  transform: translateY(2px);
}
.topbar-nav {
  display: inline-flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 28px);
}
.topbar-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 244, 242, 0.8);
  transition: color 150ms var(--ease);
}
.topbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(244, 244, 242, 0.24);
  border-radius: 4px;
  background-color: rgba(10, 10, 11, 0.56);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease), color 150ms var(--ease);
}

/* Display Typography */
.display {
  font-size: clamp(2.375rem, 4.4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.028em;
  word-spacing: 0.04em;
  text-indent: -0.06em;
  color: var(--ink);
  text-wrap: balance;
}
.lead {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--muted);
  text-wrap: pretty;
}

/* Shared Primary Solid CTA (Contact / Booking Form) */
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: var(--radius);
  background-color: var(--accent-solid);
  border: 1px solid transparent;
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background-color 150ms var(--ease), transform 150ms ease-out;
}
.btn-solid:not(:disabled):active {
  transform: scale(0.96);
}

/* Shared Full-Viewport Nocturnal Photographic & Looping Video Background */
.hero-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: var(--bg);
  view-transition-name: page-backdrop;
}
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(10, 10, 11, 0.56) 0%,
      rgba(10, 10, 11, 0.22) 12%,
      transparent 28%,
      transparent 56%,
      rgba(10, 10, 11, 0.44) 70%,
      rgba(10, 10, 11, 0.84) 84%,
      rgba(10, 10, 11, 0.96) 95%,
      var(--bg) 100%
    );
  pointer-events: none;
}
.hero-backdrop-stage {
  position: relative;
  width: 100%;
  height: 100%;
  transform: scale(1);
  filter: blur(0px) saturate(1) brightness(1);
  transition: filter 420ms var(--ease-out), transform 420ms var(--ease-out);
  will-change: filter, transform;
}
.hero-backdrop-img,
.hero-backdrop-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 45%;
}
.hero-backdrop-video {
  opacity: 1;
  transition: opacity 280ms var(--ease-out);
}
.has-js .hero-backdrop-video {
  opacity: 0;
}
.has-js .hero-backdrop-video.is-playing {
  opacity: 1;
}
.content-page .hero-backdrop::after {
  background:
    linear-gradient(
      to bottom,
      rgba(10, 10, 11, 0.48) 0%,
      rgba(10, 10, 11, 0.6) 48%,
      rgba(10, 10, 11, 0.78) 100%
    );
}
.content-page .hero-backdrop-stage {
  filter: blur(22px) saturate(1.06) brightness(0.8);
  transform: scale(1.08);
}

/* Cross-Document View Transitions & Fallback Motion */
::view-transition-group(page-backdrop) {
  z-index: 1;
  animation-duration: 440ms;
  animation-timing-function: var(--ease-out);
}
::view-transition-old(page-backdrop) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-new(page-backdrop) {
  animation: vt-fade-in 440ms var(--ease-out) both;
  mix-blend-mode: normal;
}
::view-transition-group(page-main) {
  z-index: 2;
}
::view-transition-old(page-main) {
  animation: vt-main-out 200ms var(--ease-out) both;
}
::view-transition-new(page-main) {
  animation: vt-main-in 360ms var(--ease-out) 60ms both;
}
::view-transition-group(page-header) {
  z-index: 3;
  animation-duration: 220ms;
  animation-timing-function: var(--ease-out);
}
::view-transition-old(page-header) {
  animation: vt-fade-out 220ms var(--ease-out) both;
}
::view-transition-new(page-header) {
  animation: vt-fade-in 220ms var(--ease-out) both;
}

@keyframes vt-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes vt-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes vt-main-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-8px); }
}
@keyframes vt-main-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

html.is-leaving main {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}
html.is-leaving[data-transition-target="blur"] .hero-backdrop-stage {
  filter: blur(22px) saturate(1.06) brightness(0.8);
  transform: scale(1.08);
}
html.is-leaving[data-transition-target="sharp"] .hero-backdrop-stage {
  filter: blur(0px) saturate(1) brightness(1);
  transform: scale(1);
}
html.entering-from-home .hero-backdrop-stage {
  filter: blur(0px) saturate(1) brightness(1);
  transform: scale(1);
  transition: none;
}
html.entering-from-content .hero-backdrop-stage {
  filter: blur(22px) saturate(1.06) brightness(0.8);
  transform: scale(1.08);
  transition: none;
}
html.entering-from-home main,
html.entering-from-content main {
  opacity: 0;
  transform: translateY(10px);
  transition: none;
}
html.is-entering main {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 340ms var(--ease-out), transform 340ms var(--ease-out);
}

.home .stage-column {
  max-width: 1360px;
  padding-inline: clamp(20px, 4.5vw, 56px);
}
.home .topbar,
.contact-page .topbar {
  position: relative;
  background-color: transparent;
  backdrop-filter: none;
}
.home-main {
  justify-content: flex-end;
  padding-block: 24px clamp(32px, 5.5vh, 52px);
}

/* Bottom Display Plinth Over Nocturnal Floor */
.stage-plinth {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
}
.home .display {
  font-size: clamp(2.125rem, 4.1vw, 3.85rem);
  line-height: 1.05;
  letter-spacing: -0.028em;
  word-spacing: normal;
  text-indent: 0;
  text-shadow: 0 2px 24px rgba(10, 10, 11, 0.45);
}
.home .display span {
  display: block;
}
.home .lead {
  font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
  line-height: 1.48;
  color: #C4C4CC;
  max-width: 56ch;
}
.plinth-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.btn-consult {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 5px 5px 5px 20px;
  border-radius: 5px;
  background-color: var(--ink);
  color: var(--bg);
  font-size: 0.78125rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 150ms var(--ease), transform 150ms ease-out;
}
.btn-consult:active {
  transform: scale(0.97);
}
.btn-consult-tile {
  width: 34px;
  height: 34px;
  border-radius: 3px;
  background-color: var(--bg);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.btn-consult-tile svg {
  width: 14px;
  height: 14px;
  transition: transform 150ms var(--ease);
}
.plinth-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.btn-bone,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), transform 150ms ease-out;
}
.btn-bone {
  background-color: var(--ink);
  border: 1px solid transparent;
  color: var(--bg);
}
.btn-outline {
  background-color: rgba(18, 18, 21, 0.56);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 244, 242, 0.2);
  color: var(--ink);
}
.btn-bone:not(:disabled):active,
.btn-outline:not(:disabled):active {
  transform: scale(0.96);
}
.plinth-location {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  padding-bottom: 12px;
  color: #A0A0AA;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Work Showcase — Centered Nocturnal Gallery Plates */
.work-intro .stage-column,
.work-gallery .stage-column {
  max-width: calc(min(var(--stage-width), max(320px, calc((100svh - 260px) * 1.6))) + var(--gutter) * 2);
}
.work-intro {
  padding-top: 16px;
  padding-bottom: 20px;
}
.work-intro-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
}
.work-gallery {
  padding-bottom: 80px;
}
.work-stack {
  display: flex;
  flex-direction: column;
  gap: 88px;
}
.work-plate {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.work-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--surface);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.48);
}
.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.work-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.work-video-light {
  filter: brightness(0.88) contrast(1.03);
}
.work-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  row-gap: 6px;
  column-gap: 24px;
  flex-wrap: wrap;
}
.work-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.work-copy h2 {
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
}
.work-detail {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #B4B4BC;
  text-wrap: pretty;
}
.work-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  padding-block: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
  transition: color 150ms var(--ease);
}

/* Contact Page & Direct-Link Fallback */
.contact-shell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 24px 36px;
}
.contact-card {
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.56);
}
.contact-details {
  margin-top: 24px;
  padding-top: 16px;
  box-shadow: inset 0 1px 0 var(--rule);
}
.email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.email {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  overflow-wrap: anywhere;
  transition: color 150ms var(--ease);
}
.copy-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--control-rule);
  border-radius: var(--radius);
  background-color: var(--bg);
  color: var(--muted);
  transition: color 150ms var(--ease), border-color 150ms var(--ease), background-color 150ms var(--ease), transform 150ms ease-out;
}
.copy-email:not(:disabled):active {
  transform: scale(0.96);
}
.copy-email:disabled {
  opacity: 0.5;
  cursor: progress;
}
.copy-email svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.copy-status {
  min-height: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.copy-status:empty {
  min-height: 0;
  margin-top: 0;
}

/* Direct Cal.com Scheduler */
.cal-card {
  background-color: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 28px;
}
.cal-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 16px;
  box-shadow: inset 0 -1px 0 var(--rule);
}
.cal-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.cal-title {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}
.cal-duration {
  font-size: 0.875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.cal-desc {
  margin-top: 4px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}
.cal-event-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cal-event-tab {
  min-height: 36px;
  font-size: 0.8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--control-rule);
  background-color: var(--bg);
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease), color 150ms var(--ease), transform 150ms ease-out;
}
.cal-event-tab:not(:disabled):active {
  transform: scale(0.96);
}
.cal-event-tab.is-active {
  color: var(--ink);
  border-color: var(--accent);
  background-color: var(--accent-tint);
}
.cal-tz-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cal-tz-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--subtle);
}
.cal-tz-select {
  appearance: none;
  -webkit-appearance: none;
  width: auto;
  min-width: 240px;
  max-width: 100%;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%239898A0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-size: 12px 12px;
  background-repeat: no-repeat;
  border: 1px solid var(--control-rule);
  border-radius: var(--radius);
  padding: 8px 34px 8px 12px;
  cursor: pointer;
}
.cal-picker {
  padding-top: 24px;
  min-height: 292px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: start;
}
.cal-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.cal-month-label {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.cal-month-controls {
  display: flex;
  gap: 8px;
}
.cal-icon-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: var(--radius);
  border: 1px solid var(--control-rule);
  background-color: var(--bg);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease), transform 150ms ease-out;
}
.cal-icon-btn svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cal-icon-btn:not(:disabled):active {
  transform: scale(0.96);
}
.cal-icon-btn:disabled {
  color: var(--disabled-ink);
  border-color: var(--rule);
  background-color: transparent;
  cursor: not-allowed;
}
.cal-weekdays,
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.cal-weekdays {
  margin-bottom: 8px;
}
.cal-weekday {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--subtle);
  padding-block: 4px;
}
.cal-day-spacer {
  display: block;
}
.cal-day {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  padding: 0;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--disabled-ink);
  background-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 140ms var(--ease), color 140ms var(--ease), transform 140ms ease-out;
}
.cal-day:disabled {
  cursor: default;
}
.cal-day.is-today::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--subtle);
}
.cal-day.is-today.is-selected::after {
  background-color: #FFFFFF;
}
.cal-day.is-available {
  color: var(--ink);
  background-color: var(--surface-raised);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.cal-day.is-available:not(:disabled):active {
  transform: scale(0.96);
}
.cal-day.is-selected {
  background-color: var(--accent-solid);
  color: #FFFFFF;
  box-shadow: none;
  font-weight: 600;
}
.cal-slots {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cal-slots-heading {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  min-height: 32px;
  display: flex;
  align-items: center;
}
.cal-slot-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.cal-slot-btn {
  width: 100%;
  min-height: 32px;
  padding: 6px 8px;
  border-radius: var(--radius);
  border: 1px solid var(--control-rule);
  background-color: var(--bg);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: center;
  transition: border-color 140ms var(--ease), background-color 140ms var(--ease), transform 140ms ease-out;
}
.cal-slot-btn:not(:disabled):active {
  transform: scale(0.96);
}

/* Booking Details Form */
.cal-details {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cal-selection-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-radius: var(--radius);
  background-color: var(--accent-tint);
  box-shadow: inset 0 0 0 1px rgba(107, 150, 255, 0.28);
}
.cal-selection-time {
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.cal-selection-sub {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 4px;
}
.cal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cal-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cal-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}
.cal-input {
  width: 100%;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background-color: var(--bg);
  border: 1px solid var(--control-rule);
  border-radius: var(--radius);
  padding: 10px 12px;
  transition: border-color 150ms var(--ease);
}
.cal-input::placeholder {
  color: var(--subtle);
}
.cal-input:focus {
  border-color: var(--accent);
}
.cal-textarea {
  resize: vertical;
  min-height: 84px;
  line-height: 1.5;
}
.cal-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.cal-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}
.cal-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: var(--radius);
  background-color: var(--accent-solid);
  border: 1px solid transparent;
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background-color 150ms var(--ease), transform 150ms ease-out;
}
.cal-submit:not(:disabled):active {
  transform: scale(0.96);
}
.cal-submit:disabled {
  opacity: 0.55;
  cursor: progress;
}
.cal-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--control-rule);
  background-color: var(--bg);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease), transform 150ms ease-out;
}
.cal-btn-ghost:not(:disabled):active {
  transform: scale(0.96);
}
.cal-btn-ghost:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cal-alert {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--danger-ink);
  background-color: var(--danger-bg);
  border: 1px solid var(--danger-rule);
  border-radius: var(--radius);
  padding: 12px;
}

/* Confirmation & Fallback States */
.cal-state,
.cal-confirm {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.cal-confirm {
  padding-top: 24px;
}
.cal-confirm-badge {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ok-ink);
  padding: 4px 12px;
  border-radius: var(--radius);
  background-color: var(--ok-bg);
  border: 1px solid var(--ok-rule);
}
.cal-confirm-title {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.cal-confirm-list {
  margin-block: 4px;
  width: 100%;
  box-shadow: inset 0 1px 0 var(--rule), inset 0 -1px 0 var(--rule);
}
.cal-confirm-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
  box-shadow: inset 0 -1px 0 var(--rule);
  font-size: 0.875rem;
}
.cal-confirm-row:last-child {
  box-shadow: none;
}
.cal-confirm-row dt {
  color: var(--subtle);
  font-weight: 500;
}
.cal-confirm-row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  text-align: end;
}
.cal-meeting-link {
  color: var(--accent);
}
.cal-state-note,
.cal-muted-note {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.cal-state-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Layout-Locked Tonal Breathing Skeletons */
.cal-loading {
  width: 100%;
  min-height: 292px;
}
.cal-skeleton {
  width: 100%;
  border-radius: var(--radius);
  background-color: var(--surface-raised);
  animation: cal-breathe 1.8s ease-in-out infinite;
}
.cal-skeleton-title {
  height: 24px;
  width: 48%;
}
.cal-skeleton-grid {
  height: 240px;
}
.cal-skeleton-slot {
  height: 36px;
}
@keyframes cal-breathe {
  0%, 100% { opacity: 0.42; }
  50% { opacity: 0.78; }
}

/* Centered Contact & Booking Popup Dialog */
.contact-panel {
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 28px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background-color: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.78);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.contact-panel[open] {
  display: flex;
  flex-direction: column;
  animation: modal-enter 220ms var(--ease-out);
}
.contact-panel::backdrop {
  background-color: rgba(10, 10, 11, 0.6);
  backdrop-filter: blur(20px);
  animation: veil-enter 260ms var(--ease-out);
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  box-shadow: inset 0 -1px 0 var(--rule);
}
.panel-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (min-width: 641px) {
  .contact-card .panel-heading {
    width: 100%;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
  }
}
.panel-title {
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.028em;
}
.panel-title.contact-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.04;
  letter-spacing: -0.036em;
}
.panel-sub {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}
.panel-close {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  min-height: 36px;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color 150ms var(--ease), background-color 150ms var(--ease);
}

@keyframes modal-enter {
  from { opacity: 0; transform: translateY(6px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes veil-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Hover States (Hover-Capable Pointers Only) */
@media (hover: hover) {
  .brand:hover {
    opacity: 0.78;
  }
  .topbar-link:hover {
    color: #FFFFFF;
  }
  .topbar-cta:hover {
    border-color: rgba(244, 244, 242, 0.7);
    background-color: rgba(244, 244, 242, 0.08);
    color: #FFFFFF;
  }
  .btn-consult:hover {
    background-color: #FFFFFF;
  }
  .btn-consult:hover .btn-consult-tile svg {
    transform: translate(1.5px, -1.5px);
  }
  .btn-bone:hover {
    background-color: #FFFFFF;
  }
  .btn-outline:hover {
    background-color: rgba(32, 32, 40, 0.78);
    border-color: rgba(244, 244, 242, 0.36);
  }
  .btn-solid:hover,
  .cal-submit:hover:not(:disabled) {
    background-color: var(--accent-solid-hover);
  }
  .work-link:hover {
    color: var(--ink);
  }
  .email:hover {
    color: var(--accent);
  }
  .copy-email:hover {
    color: var(--ink);
    border-color: var(--rule-strong);
    background-color: var(--surface-raised);
  }
  .cal-event-tab:hover {
    color: var(--ink);
    border-color: var(--rule-strong);
  }
  .cal-icon-btn:hover:not(:disabled) {
    border-color: var(--rule-strong);
    background-color: var(--surface-raised);
  }
  .cal-day.is-available:hover {
    background-color: var(--accent-tint);
    color: var(--ink);
  }
  .cal-day.is-selected:hover {
    background-color: var(--accent-solid-hover);
    color: #FFFFFF;
  }
  .cal-slot-btn:hover {
    border-color: var(--accent);
    background-color: var(--accent-tint);
  }
  .cal-btn-ghost:hover:not(:disabled) {
    border-color: var(--rule-strong);
    background-color: var(--surface-raised);
  }
  .cal-meeting-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .panel-close:hover {
    color: var(--ink);
    background-color: var(--surface-raised);
  }
}

/* Responsive Breakpoints */
@media (max-width: 820px) {
  .hero-backdrop-img,
  .hero-backdrop-video {
    object-position: 50% 50%;
  }
  html[data-hero-scene="neon-corridor"] .hero-backdrop-img,
  html[data-hero-scene="neon-corridor"] .hero-backdrop-video {
    object-position: 56% 44%;
  }
  html[data-hero-scene="third-gantry"] .hero-backdrop-img,
  html[data-hero-scene="third-gantry"] .hero-backdrop-video {
    object-position: 99% 44%;
  }
  .display {
    text-indent: 0;
  }
  .home .display {
    font-size: clamp(1.9375rem, 8.2vw, 2.375rem);
    line-height: 1.06;
  }
  .home .lead {
    font-size: 0.90625rem;
    line-height: 1.46;
    max-width: 40ch;
  }
  .plinth-copy {
    gap: 10px;
  }
  .btn-consult {
    gap: 14px;
    padding: 5px 5px 5px 16px;
    font-size: 0.71875rem;
  }
  .btn-consult-tile {
    width: 32px;
    height: 32px;
  }
  .topbar-inner {
    padding-block: 14px;
  }
  .topbar-nav {
    gap: 14px;
  }
  .topbar-link,
  .topbar-cta {
    font-size: 0.6875rem;
  }
  .topbar-cta {
    height: 32px;
    padding: 0 12px;
  }
  .home-main {
    padding-block: 24px max(30px, env(safe-area-inset-bottom, 30px));
  }
  .stage-plinth {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .plinth-location {
    padding-bottom: 0;
  }
  .work-intro {
    padding-top: 16px;
    padding-bottom: 24px;
  }
  .work-stack {
    gap: 52px;
  }
}

@media (max-width: 720px) {
  .cal-input,
  .cal-tz-select {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .contact-shell {
    padding-block: 16px 32px;
  }
  .cal-card,
  .contact-panel {
    padding: 16px;
  }
  .cal-tz-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .cal-tz-select {
    width: 100%;
    min-width: 0;
  }
  .cal-picker {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 16px;
    min-height: 0;
  }
  .cal-day {
    aspect-ratio: auto;
    height: 38px;
  }
  .cal-slots {
    padding-top: 16px;
    box-shadow: inset 0 1px 0 var(--rule);
  }
  .cal-confirm-row {
    flex-direction: column;
    gap: 4px;
  }
  .cal-confirm-row dd {
    text-align: start;
  }
}

@media (max-width: 480px) {
  .brand img {
    height: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-backdrop-video {
    display: none !important;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}
