@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-normal-500-latin-ext.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-normal-500-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic-500-latin-ext.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-normal-400-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-normal-400-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC;
}

/* SpaceGrotesk-Variable.woff2 is the latin-ext subset only (no ASCII glyphs); both faces need a unicode-range. */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-Variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC;
}

:root {
  color-scheme: dark;
  --bg-obsidian: #090b0f;
  --bg-surface: #11151d;
  --bg-elevated: #171c26;
  --bg-ivory: #f4efe6;
  --gold: #d4a857;
  --gold-bright: #e4bd73;
  --gold-line: rgba(212, 168, 87, 0.28);
  --line-subtle: rgba(244, 239, 230, 0.11);
  --text-ivory: #f5f0e6;
  --text-muted: #aba396;
  --text-dark: #12141a;
  --valid-green: #6bc48d;
  --invalid-coral: #e57361;
  accent-color: var(--gold);
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-tech: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --max-w: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scrollbar-color: rgba(212, 168, 87, 0.45) var(--bg-obsidian);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

::selection {
  background: rgba(212, 168, 87, 0.28);
  color: var(--text-ivory);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.62;
  background-color: var(--bg-obsidian);
  color: var(--text-ivory);
  /* body only: the value propagates to the viewport, so the sticky header keeps working */
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.display-probe {
  transition: display 1s allow-discrete;
  display: block;
}

.display-probe-hidden {
  display: none;
}

/* Header: single row <= 56px */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 54px;
  background: rgba(9, 11, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-subtle);
}

.header-inner {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-ivory);
}

.brand-role {
  font-family: var(--font-tech);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  padding-left: 10px;
  border-left: 1px solid var(--gold-line);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mobile-cta {
  display: none;
}

.nav-list a {
  font-size: 0.84rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--text-ivory);
}

.nav-list a.btn-gold,
.nav-list a.btn-gold:hover {
  color: var(--bg-obsidian);
  font-size: 0.78rem;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--gold-line);
  border-radius: 2px;
  overflow: hidden;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 30px;
  background: transparent;
  color: var(--text-muted);
  border: 0;
  padding: 5px 9px;
  font-family: var(--font-tech);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--gold);
  color: var(--bg-obsidian);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-family: var(--font-tech);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 6px 13px;
  font-size: 0.75rem;
}

.btn-block {
  width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

.btn-gold {
  background: var(--gold);
  color: var(--bg-obsidian);
}

.btn-gold:hover {
  background: var(--gold-bright);
}

.btn-outline {
  background: transparent;
  border-color: var(--gold-line);
  color: var(--text-ivory);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.mobile-menu-btn {
  display: none;
  width: 36px;
  height: 34px;
  background: transparent;
  border: 1px solid var(--line-subtle);
  border-radius: 2px;
  color: var(--text-ivory);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Hero Editorial Split */
.hero {
  padding: 54px 0 60px;
  border-bottom: 1px solid var(--line-subtle);
  background: linear-gradient(180deg, #0b0e14 0%, #090b0f 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 14px;
}

.kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4.8vw, 4.2rem);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-lead {
  font-size: 1.03rem;
  color: #d6cfc3;
  max-width: 56ch;
  margin: 0 0 20px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-chip {
  font-family: var(--font-tech);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border: 1px solid var(--gold-line);
  border-radius: 2px;
  background: rgba(17, 21, 29, 0.85);
  color: #ded8cd;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.hero-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--bg-elevated);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line-subtle);
}

.metric-val {
  font-family: var(--font-serif);
  font-size: clamp(1.32rem, 1.7vw, 1.6rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--gold);
}

.metric-lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  border: 1px solid var(--gold-line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-surface);
}

.hero-frame img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center 22%;
}

.hero-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border-top: 1px solid var(--line-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-caption-bar strong {
  color: var(--text-ivory);
  font-family: var(--font-tech);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Sections */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line-subtle);
  scroll-margin-top: 54px;
}

.section-surface {
  background: var(--bg-surface);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.95rem, 3.5vw, 2.95rem);
  font-weight: 500;
  line-height: 1.14;
  margin: 0;
}

.section-desc {
  color: var(--text-muted);
  max-width: 60ch;
  margin: 8px 0 0;
}

.section-footer-link {
  margin-top: 26px;
  display: flex;
  justify-content: flex-start;
}

.anchor-hook {
  display: block;
  position: relative;
  top: -70px;
  height: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 4-Card Portfolio Overview */
.roles-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.role-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-subtle);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.role-photo {
  height: 205px;
  background-size: cover;
  background-position: center 25%;
  border-bottom: 1px solid var(--line-subtle);
  cursor: zoom-in;
}

.role-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.role-num {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.role-body h3 {
  font-family: var(--font-serif);
  font-size: 1.48rem;
  font-weight: 600;
  line-height: 1.16;
  margin: 0 0 10px;
}

.role-body p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.91rem;
  flex: 1;
}

.role-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-tech);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.role-link:hover {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Interactive Event Format Switcher (Single-row horizontal scroll + hidden="until-found") */
.tabs-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 22px;
  overflow-x: auto;
  scroll-snap-type: inline proximity;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.tabs-bar::-webkit-scrollbar {
  display: none;
}

.tabs-bar-compact {
  margin-bottom: 0;
}

.muted-copy {
  color: var(--text-muted);
  margin: 0;
}

.tab-btn {
  flex: none;
  scroll-snap-align: start;
  position: relative;
  background: var(--bg-obsidian);
  border: 1px solid var(--line-subtle);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: 2px;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.tab-btn:hover {
  border-color: var(--gold-line);
  color: var(--text-ivory);
}

.tab-btn.active,
.tab-btn[aria-selected="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-obsidian);
}

.tab-btn[role="tab"][aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  border-block-end: 3px solid var(--bg-obsidian);
}

/* IMPORTANT: zero padding/border/background directly on [role="tabpanel"] for hidden="until-found" safety */
.event-panels [role="tabpanel"] {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.event-panel-inner {
  background: var(--bg-obsidian);
  border: 1px solid var(--gold-line);
  border-radius: 4px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.event-panel-inner h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.5vw, 2.05rem);
  line-height: 1.15;
  margin: 0 0 12px;
}

.event-bullets {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.event-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: #ded8cd;
}

.bullet-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  margin-top: 9px;
  flex-shrink: 0;
}

.panel-actions {
  margin-top: 22px;
}

.event-photo {
  height: 300px;
  border-radius: 4px;
  background-size: cover;
  background-position: center 25%;
  border: 1px solid var(--line-subtle);
  cursor: zoom-in;
}

/* Universal 4-Step Flow & Wedding Accordion */
.timeline-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-subtle);
  border-top: 2px solid var(--gold);
  border-radius: 2px;
  padding: 20px 18px;
}

.step-card-surface {
  background: var(--bg-obsidian);
}

.step-index {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.step-card h3 {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  line-height: 1.16;
  margin: 0 0 8px;
}

.step-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.wedding-details {
  margin-top: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--gold-line);
  border-radius: 4px;
}

.wedding-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  cursor: pointer;
  font-family: var(--font-tech);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
}

.wedding-summary::-webkit-details-marker {
  display: none;
}

.wedding-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.wedding-details[open] .wedding-chevron {
  transform: rotate(180deg);
}

.wedding-details-body {
  padding: 0 22px 22px;
  border-top: 1px solid var(--line-subtle);
  padding-top: 18px;
}

/* Tech & Hall Uplighting */
.tech-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.14;
  margin: 0 0 14px;
}

.tech-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.tech-photos-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tech-tile {
  height: 205px;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--gold-line);
  cursor: zoom-in;
}

.tech-tile-wide {
  grid-column: 1 / -1;
  height: 235px;
}

.gear-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
}

.gear-badge {
  border: 1px solid var(--gold-line);
  background: var(--bg-obsidian);
  padding: 7px 14px;
  border-radius: 2px;
  font-family: var(--font-tech);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Filterable Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gal-item {
  position: relative;
  height: 220px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line-subtle);
  background-size: cover;
  background-position: center 25%;
  cursor: zoom-in;
}

.gal-item.hidden {
  display: none;
}

.gal-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 12px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 11, 15, 0.92) 100%);
  font-size: 0.79rem;
  color: var(--text-ivory);
}

/* Video Showcase Grid */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-obsidian);
  border: 1px solid var(--line-subtle);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.video-card:hover {
  border-color: var(--gold);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #05070b;
  border-bottom: 1px solid var(--line-subtle);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(9, 11, 15, 0.82);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.video-card:hover .video-play-btn {
  background: var(--gold);
  color: var(--bg-obsidian);
  transform: scale(1.06);
}

.video-meta {
  padding: 16px 18px 18px;
}

.video-tag {
  display: block;
  font-family: var(--font-tech);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold);
  margin-bottom: 6px;
}

.video-meta h3 {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.18;
  margin: 0;
  color: var(--text-ivory);
}

/* Celebrity Gallery Grid */
.celeb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.celeb-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-subtle);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.celeb-photo {
  height: 210px;
  background-size: cover;
  background-position: center 22%;
  border-bottom: 1px solid var(--line-subtle);
  cursor: zoom-in;
}

.celeb-cap {
  padding: 12px 14px;
}

.celeb-cap strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-ivory);
}

.celeb-cap span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.celeb-names-strip {
  margin-top: 22px;
  background: var(--bg-surface);
}

/* Photo Bindings (800w sm/ WebP) */
[data-photo="dj-console"] { background-image: url("../img/sm/dj-console.webp"); }
[data-photo="hero-wedding"] { background-image: url("../img/sm/hero-wedding.webp"); }
[data-photo="starejsi-kroj"] { background-image: url("../img/sm/starejsi-kroj.webp"); }
[data-photo="couple-portrait"] { background-image: url("../img/sm/couple-portrait.webp"); }
[data-photo="dancefloor-circle"] { background-image: url("../img/sm/dancefloor-circle.webp"); }
[data-photo="first-dance"] { background-image: url("../img/sm/first-dance.webp"); }
[data-photo="party-costumes"] { background-image: url("../img/sm/party-costumes.webp"); }
[data-photo="groom-fun"] { background-image: url("../img/sm/groom-fun.webp"); }
[data-photo="wedding-games"] { background-image: url("../img/sm/wedding-games.webp"); }
[data-photo="rudo-hall"] { background-image: url("../img/sm/rudo-hall.webp"); }
[data-photo="hall-uplighting-rose"] { background-image: url("../img/sm/hall-uplighting-rose.webp"); }
[data-photo="hall-uplighting-blue"] { background-image: url("../img/sm/hall-uplighting-blue.webp"); }
[data-photo="hall-uplighting-banquet"] { background-image: url("../img/sm/hall-uplighting-banquet.webp"); }
[data-photo="event-party-show"] { background-image: url("../img/sm/event-party-show.webp"); }
[data-photo="event-crowd-sing"] { background-image: url("../img/sm/event-crowd-sing.webp"); }
[data-photo="event-rudo-party"] { background-image: url("../img/sm/event-rudo-party.webp"); }
[data-photo="event-masinka"] { background-image: url("../img/sm/event-masinka.webp"); }
[data-photo="event-stuzkova-stage"] { background-image: url("../img/sm/event-stuzkova-stage.webp"); }
[data-photo="celeb-kolarovci"] { background-image: url("../img/sm/celeb-kolarovci.webp"); }
[data-photo="celeb-kandracovci"] { background-image: url("../img/sm/celeb-kandracovci.webp"); }
[data-photo="celeb-dubasova"] { background-image: url("../img/sm/celeb-dubasova.webp"); }
[data-photo="celeb-hammel"] { background-image: url("../img/sm/celeb-hammel.webp"); }
[data-photo="celeb-maurery"] { background-image: url("../img/sm/celeb-maurery.webp"); }
[data-photo="celeb-holly"] { background-image: url("../img/sm/celeb-holly.webp"); }
[data-photo="celeb-mares"] { background-image: url("../img/sm/celeb-mares.webp"); }
[data-photo="celeb-lagioia"] { background-image: url("../img/sm/celeb-lagioia.webp"); }

/* References & 21 Corporate Clients */
.clients-strip {
  padding: 20px 24px;
  background: var(--bg-obsidian);
  border: 1px solid var(--line-subtle);
  border-radius: 4px;
}

.clients-strip-top {
  margin-bottom: 28px;
}

.clients-heading {
  display: block;
  font-family: var(--font-tech);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.clients-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 10px;
  font-family: var(--font-tech);
  font-size: 0.82rem;
  color: #cfc8bc;
}

.clients-grid-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.clients-grid-strip span {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: #ded8cd;
  padding: 6px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--line-subtle);
  border-radius: 2px;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.quote-card {
  margin: 0;
  background: var(--bg-obsidian);
  border: 1px solid var(--line-subtle);
  border-radius: 4px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.42;
  font-style: italic;
  margin: 0 0 18px;
  color: var(--text-ivory);
}

.quote-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--line-subtle);
  padding-top: 12px;
}

.quote-meta strong {
  color: var(--gold);
  display: block;
}

/* Inquiry / Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.contact-card,
.inquiry-card {
  min-width: 0;
  background: var(--bg-surface);
  border: 1px solid var(--line-subtle);
  border-radius: 4px;
  padding: 30px;
}

.contact-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.14;
  margin: 0 0 12px;
}

.contact-phone-primary {
  font-family: var(--font-tech);
  font-size: 1.15rem;
  font-weight: 600;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.status-msg {
  margin: 8px 0 0;
  font-size: 0.84rem;
  color: var(--gold);
  min-height: 1.2em;
}

.status-msg.is-error {
  color: var(--invalid-coral);
}

.status-msg.is-ok {
  color: var(--valid-green);
}

.field input,
.field select,
.field textarea {
  scroll-margin-top: 110px;
}

.hp-field {
  display: none;
}

/* Phone-sized screens: persistent call / write bar (shown via .is-visible from app.js) */
.call-bar {
  display: none;
}

.inquiry-card {
  border-color: var(--gold-line);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 14px;
}

.contact-list small {
  display: block;
  font-family: var(--font-tech);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 0.82rem;
  color: #ded8cd;
}

.field-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

.field-error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--invalid-coral);
  line-height: 1.35;
  margin-top: 2px;
}

.field-error-icon {
  flex-shrink: 0;
}

.field input,
.field select,
.field textarea {
  background: var(--bg-obsidian);
  border: 1px solid var(--line-subtle);
  border-radius: 2px;
  padding: 10px 12px;
  color: var(--text-ivory);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.field textarea {
  field-sizing: content;
  height: auto;
  width: 100%;
  min-block-size: 4.5lh;
  max-block-size: 13lh;
  resize: vertical;
  line-height: 1.5;
}

@supports not (field-sizing: content) {
  .growable-textarea {
    display: grid;
  }
  .growable-textarea::after,
  .growable-textarea > textarea {
    grid-area: 1 / 1 / 2 / 2;
    font: inherit;
    line-height: 1.5;
    padding: 10px 12px;
    border: 1px solid var(--line-subtle);
    border-radius: 2px;
  }
  .growable-textarea::after {
    content: attr(data-replicated-value) " ";
    white-space: pre-wrap;
    visibility: hidden;
  }
  .growable-textarea > textarea {
    resize: none;
    overflow: hidden;
  }
}

.field :is(input, select, textarea):is(:user-invalid, .user-invalid-fallback) {
  border-color: var(--invalid-coral);
  background-color: rgba(229, 115, 97, 0.08);
}

.field:has(:is(:user-invalid, .user-invalid-fallback)) .field-error,
:is(:user-invalid, .user-invalid-fallback) ~ .field-error {
  display: flex;
}

.field input:not([type="checkbox"]):not([type="range"]):is(:user-valid, .user-valid-fallback) {
  border-color: rgba(107, 196, 141, 0.65);
  background-color: rgba(107, 196, 141, 0.05);
}

.field :is(input, select, textarea):is(:autofill, :-webkit-autofill) {
  box-shadow: 0 0 0 1000px #121824 inset;
  -webkit-text-fill-color: var(--text-ivory);
  border-color: var(--gold);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
button:focus-visible,
a:focus-visible,
summary:focus-visible,
[data-lightbox-src]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-color: var(--gold);
}

.consent-field {
  margin-bottom: 16px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2px;
  cursor: pointer;
}

.consent-row input {
  margin-top: 3px;
  accent-color: var(--gold);
}

.consent-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-link:hover {
  color: var(--gold-bright);
}

.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* Footer */
.site-footer {
  padding: 36px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.footer-link {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Legal & Error Pages */
.legal-page {
  padding: 56px 0 72px;
}

.legal-wrap {
  max-width: 780px;
}

.legal-wrap h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.14;
  margin: 0 0 14px;
}

.legal-wrap h2 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.18;
  color: var(--gold);
  margin: 30px 0 10px;
}

.legal-wrap p,
.legal-wrap li {
  color: #d6cfc3;
  margin: 0 0 12px;
}

.legal-wrap ul {
  padding-left: 20px;
  margin: 0 0 14px;
}

.legal-wrap a:not(.btn) {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-line);
  border-radius: 4px;
  padding: 20px 24px;
  margin: 20px 0;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-page {
  min-height: calc(100dvh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
}

.error-card {
  width: 100%;
  max-width: 560px;
  background: var(--bg-surface);
  border: 1px solid var(--gold-line);
  border-top: 2px solid var(--gold);
  border-radius: 4px;
  padding: 36px 30px;
  text-align: center;
}

.error-card h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.14;
  margin: 0 0 12px;
}

.error-card .muted-copy {
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Native Top-Layer Lightbox & Video Modal */
.lightbox-dialog,
.video-dialog {
  margin: auto;
  padding: 0;
  border: 1px solid var(--gold-line);
  border-radius: 4px;
  background: var(--bg-surface);
  color: var(--text-ivory);
  width: min(94vw, 1020px);
  max-width: 94vw;
  max-height: 90dvh;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.72);
  opacity: 0;
  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.24s;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}

@media (prefers-reduced-motion: no-preference) {
  .lightbox-dialog,
  .video-dialog {
    transform: scale(0.96);
  }
}

.lightbox-dialog:modal,
.video-dialog:modal {
  overscroll-behavior: contain;
}

.lightbox-dialog::backdrop,
.video-dialog::backdrop {
  background-color: rgba(5, 7, 11, 0);
  backdrop-filter: blur(0px);
  overflow: hidden;
  overscroll-behavior: contain;
  transition-property: background-color, backdrop-filter, display, overlay;
  transition-duration: 0.24s;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}

.lightbox-dialog[open],
.video-dialog[open] {
  display: flex;
  flex-direction: column;
}

.lightbox-dialog[open]:where(:not([data-closing])),
.video-dialog[open]:where(:not([data-closing])) {
  opacity: 1;

  @starting-style {
    opacity: 0;
  }

  @media (prefers-reduced-motion: no-preference) {
    transform: scale(1);

    @starting-style {
      transform: scale(0.96);
    }
  }
}

.lightbox-dialog[open]:where(:not([data-closing]))::backdrop,
.video-dialog[open]:where(:not([data-closing]))::backdrop {
  background-color: rgba(5, 7, 11, 0.84);
  backdrop-filter: blur(8px);

  @starting-style {
    background-color: rgba(5, 7, 11, 0);
    backdrop-filter: blur(0px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox-dialog,
  .lightbox-dialog::backdrop,
  .video-dialog,
  .video-dialog::backdrop {
    transition-duration: 0.1s;
  }
}

.lightbox-stage {
  display: flex;
  flex-direction: column;
  max-height: 90dvh;
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-obsidian);
  border-bottom: 1px solid var(--line-subtle);
}

.lightbox-counter {
  font-family: var(--font-tech);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.lightbox-hint {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-left: auto;
}

.video-yt-direct {
  margin-left: auto;
  font-family: var(--font-tech);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.video-yt-direct:hover {
  color: var(--gold);
}

.lightbox-close-form {
  margin: 0;
}

.lightbox-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-surface);
  color: var(--text-ivory);
  border: 1px solid var(--gold-line);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.lightbox-close:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--bg-elevated);
}

.lightbox-body {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-items: center;
  gap: 12px;
  padding: 16px;
  background: #07090d;
  min-height: 280px;
}

.lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--bg-surface);
  color: var(--text-ivory);
  border: 1px solid var(--gold-line);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.lightbox-nav:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--bg-elevated);
}

.lightbox-photo {
  max-width: 100%;
  max-height: 68dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--gold-line);
  border-radius: 2px;
}

.lightbox-footer {
  padding: 14px 20px;
  background: var(--bg-obsidian);
  border-top: 1px solid var(--line-subtle);
  text-align: center;
}

.lightbox-caption {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 500;
  color: var(--text-ivory);
}

.video-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05070b;
}

.video-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive */
@media (max-width: 1120px) {
  .roles-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .timeline-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .nav-list,
  .brand-role {
    display: none;
  }
  .nav-list.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 54px;
    left: 0;
    right: 0;
    background: var(--bg-obsidian);
    padding: 18px 24px;
    gap: 14px;
    z-index: 99;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65);
    border-bottom: 1px solid var(--line-subtle);
    align-items: flex-start;
  }
  .nav-list.mobile-open .nav-mobile-cta {
    display: list-item;
    margin-top: 8px;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .event-panel-inner,
  .tech-split,
  .quotes-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-grid,
  .celeb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .header-inner {
    gap: 10px;
  }
  .header-top-cta {
    display: none;
  }
  /* touch targets */
  .lang-btn {
    min-width: 42px;
    min-height: 40px;
  }
  .mobile-menu-btn {
    width: 44px;
    height: 40px;
  }
  .btn-sm {
    min-height: 44px;
    padding: 10px 16px;
  }
  .hero-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 13px;
  }
  .role-link {
    min-height: 44px;
  }
  .contact-list a {
    display: inline-block;
    padding: 6px 0;
  }
  .consent-row input {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
  }
  .call-bar {
    display: flex;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 10px 16px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    background: rgba(9, 11, 15, 0.96);
    border-top: 1px solid var(--gold-line);
    visibility: hidden;
    transform: translateY(100%);
    transition: transform 0.2s ease, visibility 0.2s;
  }
  .call-bar.is-visible {
    visibility: visible;
    transform: translateY(0);
  }
  .call-bar .btn {
    flex: 1;
    min-height: 46px;
  }
  /* room for the bar so it never covers the footer */
  .site-footer {
    padding-bottom: 96px;
  }
  .brand-name {
    font-size: 1.25rem;
  }
  .header-controls {
    gap: 8px;
  }
  .hero {
    padding: 36px 0 42px;
  }
  .hero-frame img {
    height: 270px;
  }
  .section {
    padding: 56px 0;
  }
  .hero-metrics,
  .roles-grid-4,
  .timeline-grid-4,
  .timeline-grid,
  .tech-photos-3,
  .gallery-grid,
  .videos-grid,
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .tech-tile-wide {
    height: 205px;
  }
  .celeb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .celeb-photo {
    height: 155px;
  }
  .container {
    padding: 0 16px;
  }
  .event-panel-inner,
  .contact-card,
  .inquiry-card {
    padding: 20px;
  }
  .wedding-summary {
    padding: 14px 16px;
    font-size: 0.78rem;
  }
  .wedding-details-body {
    padding: 14px 16px 16px;
  }
  .lightbox-hint {
    display: none;
  }
  .lightbox-body {
    padding: 10px;
    gap: 8px;
  }
  .lightbox-nav {
    width: 34px;
    height: 34px;
  }
}
