/* ============================================
   Milan Krobot – Personal Website
   ============================================ */

/* --- Custom Properties --- */
:root {
  --bg:         #0b0b0b;
  --surface:    #141414;
  --surface-2:  #1b1b1b;
  --gold:       #c8a228;
  --gold-light: #ddb84a;
  --gold-dim:   rgba(200, 162, 40, 0.12);
  --text:       #f0ece4;
  --text-muted: #7a7570;
  --border:     rgba(255, 255, 255, 0.07);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --radius:    14px;
  --radius-lg: 22px;
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --max-w:     1200px;
  --pad:       clamp(20px, 5vw, 40px);
  --section-y: clamp(72px, 10vw, 120px);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* --- Layout --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section { padding: var(--section-y) 0; position: relative; }
.section--alt {
  background: var(--surface);
  background-image: radial-gradient(circle, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* --- Section typography --- */
.eyebrow,
.hero__eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before,
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 2px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}
.section-desc {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: #0b0b0b;
}
.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 162, 40, 0.35);
}
.btn--outline {
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--text);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn--full { width: 100%; }

/* --- Chips / Tags --- */
.chip {
  display: inline-block;
  padding: 5px 13px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding: 22px 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(11,11,11,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--border);
}
.nav__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  z-index: 91;
}
.nav__logo span { color: var(--gold); }
.nav__logo-station {
  height: 24px;
  width: auto;
  margin-left: 14px;
  vertical-align: middle;
  mix-blend-mode: screen;
  opacity: 0.55;
  transition: opacity 0.2s;
}
.nav__logo:hover .nav__logo-station { opacity: 0.85; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover,
.nav__link.active { color: var(--text); }
.nav__link--cta {
  background: var(--gold);
  color: #0b0b0b;
  font-weight: 600;
  margin-left: 8px;
}
.nav__link--cta:hover {
  background: var(--gold-light);
  color: #0b0b0b;
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  z-index: 91;
}
.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================
   HERO ENTRANCE ANIMATIONS
   ============================================ */
@keyframes heroPhotoIn {
  from { opacity: 0; transform: scale(1.05); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes heroSlideIn {
  from { opacity: 0; transform: translateX(-44px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   HERO  – full-bleed photo layout
   ============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--bg);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Apply entrance animations to hero children */
.hero__photo       { animation: heroPhotoIn  1.2s var(--ease) 0.1s  both; }
.hero__eyebrow     { animation: heroFadeUp   0.7s var(--ease) 0.35s both; }
.hero__title-a     { display: inline-block;
                     animation: heroSlideIn  0.8s var(--ease) 0.5s  both; }
.hero__title-b     { animation: heroSlideIn  0.8s var(--ease) 0.65s both; }
.hero__role        { animation: heroFadeUp   0.7s var(--ease) 0.85s both; }
.hero__actions     { animation: heroFadeUp   0.7s var(--ease) 1.05s both; }
.hero__scroll      { animation: heroFadeUp   0.7s var(--ease) 1.3s  both; }

/* Full-width photo, Milan positioned right via object-position */
.hero__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}
.hero__photo img {
  position: absolute;
  right: 0;
  top: 0;
  width: 65%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
/* Full-width gradient overlay – covers seam + darkens text area */
.hero__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg) 0%, var(--bg) 28%, rgba(11,11,11,0.9) 44%, rgba(11,11,11,0.25) 60%, transparent 76%),
    linear-gradient(to top,   var(--bg) 0%, rgba(11,11,11,0.55) 16%, transparent 36%);
  z-index: 1;
  pointer-events: none;
}

/* Dot-grid decoration – bottom right */
.hero__dots {
  position: absolute;
  bottom: 56px;
  right: 36px;
  width: 130px;
  height: 130px;
  background-image: radial-gradient(circle, rgba(200,162,40,0.45) 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  z-index: 2;
  pointer-events: none;
}

/* Arc decoration – bottom left */
.hero__arc {
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle,
    transparent 58%,
    rgba(200,162,40,0.22) 58%,
    rgba(200,162,40,0.22) 70%,
    transparent 70%
  );
  z-index: 2;
  pointer-events: none;
}

/* Text container */
.hero__container {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px var(--pad) 100px;
  width: 100%;
}
.hero__content {
  max-width: 560px;
}

.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8.5rem);
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 24px;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
}
.hero__role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 48px;
}
.hero__role-highlight {
  color: var(--gold);
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__station {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  opacity: 0.42;
  animation: heroFadeUp 0.7s var(--ease) 1.25s both;
  transition: opacity 0.3s;
}
.hero__station:hover { opacity: 0.75; }
.hero__station-label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.hero__station-logo {
  height: 30px;
  width: auto;
  mix-blend-mode: screen;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  z-index: 4;
}
.hero__scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1);   transform-origin: top; }
  80%       { opacity: 0; transform: scaleY(0.2); transform-origin: top; }
}

/* ============================================
   ABOUT
   ============================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about__media {
  position: relative;
}
.about__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.about__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__deco {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 55%;
  height: 55%;
  border: 1.5px solid rgba(200,162,40,0.3);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: -1;
}
.about__text {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about__text:last-of-type { margin-bottom: 0; }

.about__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  margin: 36px 0;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat { flex: 1 1 80px; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat__label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 5px;
}
.stat__label small {
  display: block;
  font-size: 0.68rem;
  opacity: 0.55;
  margin-top: 2px;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

/* ============================================
   SERVICES
   ============================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.service-card:hover {
  border-color: rgba(200,162,40,0.4);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.service-card__icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 22px;
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.service-card__text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  background: var(--surface);
}
/* Landscape photos – span 2 cols, 16:9 */
.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}
.gallery__overlay svg {
  width: 30px;
  height: 30px;
  color: #fff;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover .gallery__overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox__img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  user-select: none;
}
.lightbox__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #fff;
  transition: background 0.2s;
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); }
.lightbox__close svg { width: 18px; height: 18px; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #fff;
  transition: background 0.2s;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.22); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* ============================================
   REFERENCES
   ============================================ */
.references__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
/* Top row: 3 cards, each 1/3 */
.references__grid .ref-card { grid-column: span 2; }
/* Bottom row: 2 cards, each 1/2 */
.references__grid .ref-card:nth-child(4),
.references__grid .ref-card:nth-child(5) { grid-column: span 3; }
.ref-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  transition: border-color 0.25s;
}
.ref-card:hover { border-color: rgba(200,162,40,0.3); }
.ref-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.ref-card__icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  color: var(--gold);
}
.ref-card__icon svg { width: 100%; height: 100%; }
.ref-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.ref-list { display: flex; flex-direction: column; gap: 0; }
.ref-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.ref-item:last-child { border-bottom: none; padding-bottom: 0; }

.ref-item--sub {
  padding: 8px 0 12px 14px;
  border-left: 2px solid rgba(200,162,40,0.25);
  margin-left: 4px;
  border-bottom: none;
}
.ref-item__operas {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
}
.ref-item > div > strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.ref-item > div > span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.ref-item__badge {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.ref-item__badge--active {
  background: rgba(200,162,40,0.12);
  color: var(--gold);
  border-color: rgba(200,162,40,0.25);
}

/* ============================================
   CONTACT
   ============================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}
.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact__item-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.contact__item-icon svg { width: 18px; height: 18px; }
.contact__item-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact__item-value {
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
a.contact__item-value:hover { color: var(--gold); }

.contact__social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.contact__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.contact__social-link svg { width: 18px; height: 18px; }
.contact__social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

/* Form */
.contact__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.form-input,
.form-textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 15px;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-input:focus,
.form-textarea:focus {
  border-color: rgba(200,162,40,0.5);
  box-shadow: 0 0 0 3px rgba(200,162,40,0.08);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); opacity: 0.6; }
.form-textarea { resize: vertical; min-height: 130px; }
.form-note {
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4caf82;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 16px;
  background: rgba(76,175,130,0.1);
  border: 1px solid rgba(76,175,130,0.25);
  border-radius: 10px;
}
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }
.form-success[hidden] { display: none; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}
.footer__logo span { color: var(--gold); }
.footer__copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer__nav {
  display: flex;
  gap: 24px;
}
.footer__nav a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--gold); }

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: var(--gold);
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.cta-band__dots {
  position: absolute;
  top: 50%;
  right: 48px;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, rgba(0,0,0,0.18) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  pointer-events: none;
}
/* ============================================
   Decorative elements – cross-section
   ============================================ */

/* Services – dot grid top-left */
#services { overflow: hidden; }
.services__deco {
  position: absolute;
  top: 36px;
  left: 36px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, rgba(200,162,40,0.28) 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  pointer-events: none;
}

/* Gallery – arc ring bottom-right */
#gallery { overflow: hidden; }
.gallery__arc {
  position: absolute;
  bottom: -70px;
  right: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle,
    transparent 58%,
    rgba(200,162,40,0.16) 58%,
    rgba(200,162,40,0.16) 70%,
    transparent 70%
  );
  pointer-events: none;
}

/* References – dot grid top-right */
#references { overflow: hidden; }
.references__deco {
  position: absolute;
  top: 36px;
  right: 36px;
  width: 110px;
  height: 110px;
  background-image: radial-gradient(circle, rgba(200,162,40,0.22) 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  pointer-events: none;
}

/* Contact – arc ring top-left */
#contact { overflow: hidden; }
.contact__arc {
  position: absolute;
  top: -90px;
  left: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle,
    transparent 58%,
    rgba(200,162,40,0.12) 58%,
    rgba(200,162,40,0.12) 70%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-band__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  margin-bottom: 12px;
}
.cta-band__eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: rgba(0,0,0,0.35);
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 2px;
}
.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #0b0b0b;
  line-height: 1.18;
}
.btn--dark {
  background: #0b0b0b;
  color: var(--gold);
  flex-shrink: 0;
}
.btn--dark:hover {
  background: #1c1c1c;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .references__grid { grid-template-columns: repeat(4, 1fr); }
  .references__grid .ref-card { grid-column: span 2 !important; }
}

@media (max-width: 768px) {
  /* Nav mobile */
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(11,11,11,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 90;
    transform: translateX(100%);
    transition: transform 0.38s var(--ease);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__link { font-size: 1.2rem; padding: 14px 36px; }
  .nav__link--cta { margin-left: 0; margin-top: 8px; }

  /* Hero – text ke spodku, obličej nahoře */
  .hero { align-items: flex-end; }
  .hero__photo { width: 100%; opacity: 1; }
  .hero__photo img {
    position: absolute;
    right: 0; top: 0;
    width: 100%;
    object-position: 50% 0%;
  }
  .hero__photo::before {
    background:
      linear-gradient(to top,  var(--bg) 0%, var(--bg) 30%, rgba(11,11,11,0.80) 46%, rgba(11,11,11,0.18) 64%, transparent 80%),
      linear-gradient(to bottom, rgba(11,11,11,0.3) 0%, transparent 16%);
  }
  .hero__container { padding-top: 40px; padding-bottom: 90px; }
  .hero__content { max-width: 100%; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__scroll  { bottom: 16px; }
  .hero__dots    { display: none; }
  .hero__arc     { display: none; }
  .services__deco   { display: none; }
  .gallery__arc     { display: none; }
  .references__deco { display: none; }
  .contact__arc     { display: none; }

  /* About */
  .about__grid { grid-template-columns: 1fr; }
  .about__media { display: none; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }

  /* References */
  .references__grid { grid-template-columns: 1fr; }
  .references__grid .ref-card { grid-column: span 1 !important; }

  /* Contact */
  .contact__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* CTA band */
  .cta-band__inner { flex-direction: column; text-align: center; }
  .cta-band__dots  { display: none; }

  /* Footer */
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 3rem; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .about__stats { gap: 20px; }
}
