/* ===================================================================
   Ivan Trajkov Photography
   Dark, minimalist photography-portfolio theme
   =================================================================== */

:root {
  --bg:        #0a0a0a;
  --bg-soft:   #111111;
  --bg-card:   #141414;
  --ink:       #ededed;
  --ink-dim:   #9a9a9a;
  --ink-faint: #6a6a6a;
  --line:      rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);
  --accent:    #c9a86a;
  --max:       1320px;
  --pad:       clamp(20px, 5vw, 64px);
  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: linear-gradient(to bottom, rgba(8, 8, 8, 0.88), rgba(8, 8, 8, 0));
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), transform 0.5s var(--ease);
  will-change: transform;
}
.site-header.hide { transform: translateY(-100%); }
.site-header.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.logo {
  font-family: "Parisienne", cursive;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1;
  letter-spacing: 0.5px;
  text-transform: none;
  justify-self: start;
  white-space: nowrap;
}
.main-nav {
  justify-self: center;
  display: flex;
  gap: clamp(18px, 2.6vw, 40px);
}
.main-nav a {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width 0.35s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon-btn {
  background: none;
  border: none;
  color: var(--ink-dim);
  cursor: pointer;
  position: relative;
  display: inline-flex;
  padding: 6px;
  transition: color 0.3s var(--ease);
}
.icon-btn:hover { color: var(--ink); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  justify-self: start;
}
.menu-toggle span {
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  font-family: "Jost", sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.btn-sm { padding: 10px 20px; font-size: 10.5px; }
.btn-block { width: 100%; }
.btn-solid { background: var(--ink); color: #0a0a0a; }
.btn-solid:hover { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--ink); color: #0a0a0a; border-color: var(--ink); }
.btn-call svg { flex: none; }

/* ---------- Section heads ---------- */
.section-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
}
.section-head::after {
  content: "";
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.09), transparent);
}
.section-head h2 {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 22px 0 18px;
}
.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: clamp(560px, 92vh, 900px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7,7,7,0.97) 0%, rgba(7,7,7,0.78) 28%, rgba(7,7,7,0.38) 55%, rgba(7,7,7,0.72) 100%),
    radial-gradient(130% 95% at 18% 92%, rgba(7,7,7,0.78), rgba(7,7,7,0) 62%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad) clamp(56px, 11vh, 120px);
}
.hero-kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #f5efe2;
  margin-bottom: 16px;
}
.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(46px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.78), 0 1px 6px rgba(0, 0, 0, 0.7);
}
.hero-title em { font-style: italic; font-weight: 400; }
.hero-kicker { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85); }
.hero-sub {
  font-size: clamp(14px, 1.7vw, 18px);
  color: var(--ink);
  max-width: 52ch;
  margin: 20px 0 30px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.8);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Placeholder imagery ---------- */
.ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #0d0d0d;
}
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.ph-hero {
  background-image:
    radial-gradient(120% 90% at 72% 22%, rgba(120,130,150,0.34), rgba(0,0,0,0) 46%),
    radial-gradient(90% 70% at 18% 82%, rgba(60,55,70,0.5), rgba(0,0,0,0) 55%),
    linear-gradient(120deg, #0b0a10 0%, #1a1820 42%, #0c0a10 70%, #060509 100%);
}
.ph-g1 { background-image: linear-gradient(140deg, #15161e, #2a2330 60%, #0c0c12); }
.ph-g2 { background-image: linear-gradient(140deg, #161a1a, #243030 60%, #0c1010); }
.ph-g3 { background-image: linear-gradient(140deg, #1c1614, #322320 60%, #110b09); }
.ph-g4 { background-image: linear-gradient(140deg, #141822, #20283a 60%, #0a0d14); }
.ph-g5 { background-image: linear-gradient(140deg, #1a1620, #2c2238 60%, #0e0a12); }
.ph-g6 { background-image: linear-gradient(140deg, #181a14, #282d1d 60%, #0d0f0a); }
.ph-g7 { background-image: linear-gradient(140deg, #14191c, #1f2c33 60%, #0a0e10); }
.ph-g8 { background-image: linear-gradient(140deg, #1d1518, #322026 60%, #110a0c); }
.ph-g9 { background-image: linear-gradient(140deg, #161620, #232338 60%, #0b0b12); }

/* ---------- Real photos (full colour) ---------- */
.photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 0.8s var(--ease);
}
.photo.loaded { opacity: 1; }

/* ---------- About ---------- */
.bio-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 11vh, 130px) var(--pad);
  text-align: center;
}
.bio-inner p {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(21px, 2.5vw, 32px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 760px;
  margin: 0 auto 26px;
}
.bio-inner .bio-lead { font-style: italic; }
.bio-inner .bio-text {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: clamp(14px, 1.5vw, 16.5px);
  line-height: 1.75;
  color: var(--ink-dim);
  max-width: 640px;
}
.link-underline {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link-underline:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Services ---------- */
.services { padding-bottom: clamp(30px, 6vh, 70px); }
.services-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 52px) var(--pad) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px) clamp(24px, 4vw, 64px);
}
.service {
  padding: 4px 0;
}
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  color: var(--accent);
  margin-bottom: 18px;
}
.service-icon svg { width: 30px; height: 30px; }
.service h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  margin-bottom: 8px;
}
.service p { font-size: 14px; color: var(--ink-dim); max-width: 34ch; }

/* ---------- Gallery page header ---------- */
.page-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(clamp(90px, 16vh, 150px) + 40px) var(--pad) clamp(10px, 3vh, 30px);
}
.page-head h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 1;
  letter-spacing: -0.5px;
  margin: 12px 0 14px;
}
.page-head p { color: var(--ink-dim); max-width: 52ch; }
.back-home {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.3s var(--ease);
}
.back-home:hover { color: var(--ink); }

/* ---------- Gallery ---------- */
.gallery { padding-bottom: clamp(40px, 7vh, 90px); }
.gallery-filter {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(24px, 3.5vw, 44px) var(--pad) 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gf-btn {
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.gf-btn:hover { color: var(--ink); border-color: var(--ink-dim); }
.gf-btn.is-active { background: var(--ink); color: #0a0a0a; border-color: var(--ink); }
.gallery-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 52px) var(--pad) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
}
.gallery-grid.has-filter { padding-top: clamp(16px, 2vw, 26px); }
.gallery-more {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) var(--pad) 0;
  text-align: center;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-card);
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
}
.gallery-item .photo,
.gallery-item .ph { transition: transform 0.8s var(--ease); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(10,10,10,0);
  transition: background 0.4s var(--ease);
}
.gallery-item:hover .photo,
.gallery-item:hover .ph { transform: scale(1.06); }
.gallery-item:hover::after { background: rgba(10,10,10,0.18); }
.gallery-item::before {
  content: "";
  position: absolute;
  z-index: 3;
  bottom: 14px; right: 14px;
  width: 30px; height: 30px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  background:
    linear-gradient(currentColor,currentColor) center/11px 1px no-repeat,
    linear-gradient(currentColor,currentColor) center/1px 11px no-repeat;
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-item:hover::before { opacity: 0.9; transform: scale(1); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(5,5,5,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-figure { max-width: 90vw; max-height: 84vh; }
.lb-imgwrap {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 280px;
  min-height: 200px;
}
.lb-imgwrap img {
  max-width: 90vw;
  max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lb-imgwrap img[hidden] { display: none; }
.lb-soon {
  position: absolute;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px dashed var(--line);
  padding: 40px 60px;
}
.lb-close, .lb-nav {
  position: absolute;
  background: none;
  border: none;
  color: var(--ink-dim);
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
.lb-close { top: 24px; right: var(--pad); font-size: 38px; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 46px; padding: 10px 18px; }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
.lb-close:hover, .lb-nav:hover { color: var(--ink); }

/* ---------- Life Lately ---------- */
.life { padding: clamp(36px, 7vh, 84px) 0; }
.life-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}
.life-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
/* heptagon glitch portrait — subject is centered */
.life-media .photo { object-position: center; }
.ph-life { background-image: linear-gradient(140deg, #1a1410, #2c2018 60%, #0d0a08); }
.life-text h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  margin-bottom: 20px;
}
.life-text h2 em { font-style: italic; }
.life-text p {
  color: var(--ink-dim);
  margin-bottom: 16px;
  max-width: 52ch;
}
@media (max-width: 860px) {
  .life-inner { grid-template-columns: 1fr; }
}

/* ---------- Film ---------- */
.film { padding-bottom: clamp(40px, 7vh, 90px); }
.film-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 52px) var(--pad) 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.film-item { margin: 0; }
.film-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.film-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.film-item figcaption { padding: 16px 2px 0; }
.film-kicker {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.film-item figcaption h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 28px);
  margin-top: 6px;
}
@media (max-width: 760px) {
  .film-grid { grid-template-columns: 1fr; }
}

/* ---------- Booking ---------- */
.booking { padding-bottom: clamp(34px, 6vh, 70px); }
.booking-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(22px, 3.5vw, 40px) var(--pad) 0;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.booking-intro h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  margin-bottom: 18px;
}
.booking-intro p { color: var(--ink-dim); max-width: 42ch; margin-bottom: 26px; }
.booking-call { width: 100%; max-width: 360px; }

.booking-widget {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: clamp(20px, 3vw, 44px);
}

/* Calendar */
.calendar {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  padding: 11px;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cal-title { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.cal-nav {
  background: none; border: 1px solid var(--line);
  color: var(--ink-dim); width: 26px; height: 26px;
  cursor: pointer; font-size: 15px; line-height: 1;
  transition: all 0.3s var(--ease);
}
.cal-nav:hover { color: var(--ink); border-color: var(--ink); }
.cal-nav:disabled { opacity: 0.25; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow span {
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-bottom: 6px;
}
.cal-day {
  height: 25px;
  font-size: 12px;
  border: 1px solid transparent;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cal-day:hover:not(:disabled) { border-color: var(--ink-dim); }
.cal-day.is-empty { cursor: default; }
.cal-day:disabled { color: var(--ink-faint); opacity: 0.4; cursor: not-allowed; }
.cal-day.is-today { color: var(--accent); }
.cal-day.is-selected { background: var(--ink); color: #0a0a0a; border-color: var(--ink); }

/* Form */
.booking-form { display: flex; flex-direction: column; gap: 11px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.field input, .field select, .field textarea {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  padding: 9px 12px;
  outline: none;
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink-dim); }
.field textarea { resize: vertical; }
.field .chosen {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: var(--ink);
  padding: 6px 0;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.time-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.time-slot {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font: inherit;
  font-size: 12.5px;
  padding: 9px 15px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.time-slot:hover { color: var(--ink); border-color: var(--ink-dim); }
.time-slot.is-selected { background: var(--accent); color: #0a0a0a; border-color: var(--accent); }
.form-note { font-size: 12.5px; color: var(--accent); min-height: 1em; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: clamp(46px, 8vh, 80px) 0 28px;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--pad);
  right: var(--pad);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.09), transparent);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-id { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); line-height: 2; }
.footer-name { color: var(--ink); font-size: 14px; }
.footer-id a:hover { color: var(--ink); }
.footer-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.footer-social { display: flex; gap: 14px; align-items: center; }
.footer-social a {
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--ink-dim);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer-social a:hover { background: var(--ink); color: #0a0a0a; border-color: var(--ink); }
.footer-meta {
  max-width: var(--max);
  margin: clamp(40px, 7vh, 70px) auto 0;
  padding: 22px var(--pad) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.footer-link { background: none; border: none; color: var(--ink-faint); cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; padding: 0; }
.footer-link:hover { color: var(--ink); }

/* ---------- Cookie bar ---------- */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: rgba(16, 16, 16, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding: 16px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
}
.cookie-bar.show { transform: translateY(0); }
.cookie-text { max-width: 720px; font-size: 12px; color: var(--ink-dim); }
.cookie-text strong { display: block; color: var(--ink); font-weight: 400; margin-bottom: 2px; letter-spacing: 0.06em; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn {
  font-family: "Jost", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 18px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: none;
  color: var(--ink-dim);
  transition: all 0.3s var(--ease);
}
.cookie-btn.outline { color: var(--ink); }
.cookie-btn.outline:hover { border-color: var(--ink); }
.cookie-btn.solid { background: var(--ink); color: #0a0a0a; border-color: var(--ink); }
.cookie-btn.solid:hover { background: transparent; color: var(--ink); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(24px);
  z-index: 90;
  background: var(--ink);
  color: #0a0a0a;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 24px;
  max-width: 90vw;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .booking-inner { grid-template-columns: 1fr; }
  .booking-widget { grid-template-columns: 1fr; }
  .calendar { max-width: 420px; }
}
@media (max-width: 860px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .menu-toggle { display: flex; }
  .logo { justify-self: center; }
  .header-book { display: none; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(12px);
    border-left: 1px solid var(--line);
    padding: 0 40px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    z-index: 65;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 14px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; }
  .cookie-bar { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .cookie-btn { flex: 1; }
  .footer-inner { flex-direction: column; }
  .footer-cta { align-items: flex-start; }
}

/* ===================================================================
   Motion & smoothness
   =================================================================== */

/* anchor targets clear the fixed header */
section[id], .site-footer { scroll-margin-top: 88px; }

/* gentle whole-page fade-in on load */
body { transition: opacity 0.7s var(--ease); }
html.js body { opacity: 0; }
html.js body.loaded { opacity: 1; }

/* thin scroll-progress line */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  z-index: 100;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* staggered hero entrance */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
html.js .hero-content > * { opacity: 0; }
html.js body.loaded .hero-content > * { animation: fadeUp 0.9s var(--ease) forwards; }
html.js body.loaded .hero-kicker  { animation-delay: 0.15s; }
html.js body.loaded .hero-title   { animation-delay: 0.30s; }
html.js body.loaded .hero-sub     { animation-delay: 0.48s; }
html.js body.loaded .hero-actions { animation-delay: 0.64s; }

/* slow "Ken Burns" drift on the hero photo once it loads */
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.ph-hero .photo.loaded { animation: kenburns 24s ease-in-out 0.9s infinite alternate; }

/* softer hover lifts */
.service { transition: background 0.4s var(--ease), transform 0.4s var(--ease); }
.service:hover { transform: translateY(-4px); }
.service-icon { transition: transform 0.4s var(--ease), color 0.4s var(--ease); }
.service:hover .service-icon { transform: translateY(-2px) scale(1.06); }
.gallery-item { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.45); }

/* lightbox image easing */
.lb-figure { transform: scale(0.96); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.4s var(--ease); }
.lightbox.open .lb-figure { transform: scale(1); opacity: 1; }

/* richer reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* media reveal: a gentle scale as well as the rise */
.gallery-item.reveal, .film-item.reveal, .life-media.reveal { transform: translateY(30px) scale(0.97); }
.gallery-item.reveal.in, .film-item.reveal.in, .life-media.reveal.in { transform: none; }

/* button hover lift */
.btn { transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.link-underline { display: inline-block; transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.link-underline:hover { transform: translateY(-1px); }

/* parallax base (JS adds the drift) */
.life-media .ph-life { transform: scale(1.14); will-change: transform; }

/* hero scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 24px;
  margin-left: -13px;
  z-index: 4;
  width: 26px; height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  display: grid; justify-items: center; align-content: start;
  padding-top: 8px;
  transition: opacity 0.5s var(--ease);
}
.scroll-cue::before {
  content: "";
  width: 3px; height: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
  animation: scrollcue 1.9s var(--ease) infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(0); opacity: 0; }
  25% { opacity: 1; }
  70% { transform: translateY(13px); opacity: 0; }
  100% { transform: translateY(13px); opacity: 0; }
}
.scroll-cue.hide { opacity: 0; pointer-events: none; }

/* soft pulse on the header call icon */
@keyframes softpulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.16); } }
.header-actions a[aria-label="Call Ivan"] svg { animation: softpulse 2.8s var(--ease) infinite; transform-origin: center; }

@media (max-width: 600px) { .scroll-cue { display: none; } }

/* gallery hover: a soft light sweep */
.gallery-item .ph::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.13) 50%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 0.85s var(--ease);
  pointer-events: none;
}
.gallery-item:hover .ph::before { transform: translateX(130%); }

/* primary button glow */
.btn-solid:hover { box-shadow: 0 12px 34px rgba(201, 168, 106, 0.22); }

/* section labels draw in on reveal */
.section-head::after { transform: scaleX(0); transform-origin: left center; transition: transform 1s var(--ease) 0.1s; }
.section-head.in::after { transform: scaleX(1); }

/* ===================================================================
   Refinement pass — details & micro-effects
   =================================================================== */

/* text selection in brand accent */
::selection { background: var(--accent); color: #0a0a0a; }

/* slim, quiet scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #262626; border-radius: 5px; border: 2px solid #0a0a0a; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* keyboard focus in accent (mouse clicks stay clean) */
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 3px; }

/* hero (dusk glitch portrait): bias toward the subject, keep his head in frame;
   slightly dimmed so the white text always reads over the bright sky */
.hero-media .photo { object-position: 60% 35%; filter: brightness(0.84) saturate(1.04); }

/* hero availability pill */
.hero-avail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  padding: 7px 14px;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
  background: rgba(10, 10, 10, 0.42);
}
.hero-avail i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #7fd98c;
  box-shadow: 0 0 0 0 rgba(127, 217, 140, 0.5);
  animation: availping 2.4s var(--ease) infinite;
}
@keyframes availping {
  0% { box-shadow: 0 0 0 0 rgba(127, 217, 140, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(127, 217, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 217, 140, 0); }
}

/* numbered services — editorial detail */
.services-grid { counter-reset: service; }
.service h3::before {
  counter-increment: service;
  content: "0" counter(service);
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--accent);
  opacity: 0.75;
  margin-bottom: 6px;
}

/* film frames: quiet lift on hover */
.film-frame { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.film-item:hover .film-frame { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5); }

/* lightbox caption */
.lb-cap {
  margin-top: 14px;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* footer tagline */
.footer-tag { color: var(--accent); letter-spacing: 0.2em; }

/* calendar day: soft fill on hover */
.cal-day:hover:not(:disabled):not(.is-selected) { background: var(--bg-card); }

/* gentle idle float on service icons */
@keyframes iconfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.service-icon { animation: iconfloat 5s var(--ease) infinite; }
.services-grid .service:nth-child(2) .service-icon { animation-delay: 0.7s; }
.services-grid .service:nth-child(3) .service-icon { animation-delay: 1.4s; }
.services-grid .service:nth-child(4) .service-icon { animation-delay: 0.4s; }
.services-grid .service:nth-child(5) .service-icon { animation-delay: 1.1s; }
.services-grid .service:nth-child(6) .service-icon { animation-delay: 1.8s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  html.js body, html.js .hero-content > * { opacity: 1 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .ph-hero .photo.loaded { animation: none !important; }
  .scroll-progress { display: none; }
}
