html,body{overscroll-behavior-x:none}
:root {
  --edge: clamp(32px, 7vw, 120px);
  --bg: #0d0d0d;
  --fg: #ece8e1;
  --muted: #8a857d;
  --line: #262422;
  --accent: #d9a36c;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --pad: clamp(20px, 4vw, 56px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--fg); }
body { font: 300 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 18px var(--edge);
  background: rgba(13, 13, 13, .82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { font: 500 22px/1 var(--serif); letter-spacing: .04em; }
.top nav { display: flex; gap: clamp(14px, 2.5vw, 32px); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.top nav a:hover { color: var(--fg); }

/* Hero */
.hero { position: relative; height: calc(100vh - 61px); min-height: 420px; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: brightness(.82); }
.hero-text { position: absolute; left: var(--pad); bottom: clamp(32px, 8vh, 80px); max-width: 640px; }
.hero h1 { font: 400 clamp(56px, 10vw, 140px)/.9 var(--serif); letter-spacing: -.01em; }
.hero p { margin-top: 16px; color: #d6d1c8; font-size: clamp(14px, 1.4vw, 17px); }

/* Split hero with portrait */
.hero-split { display: grid; grid-template-columns: 1fr auto; align-items: center; background: #000; }
.hero-split .hero-text { position: static; align-self: start; padding: 11vh var(--edge) 0; max-width: 900px; }
.hero-split h1 { font-size: clamp(52px, 7.5vw, 116px); line-height: .92; }
.hero-role { margin-top: 22px !important; font-size: 13px !important; letter-spacing: .18em; text-transform: uppercase; color: var(--accent) !important; }
.hero-p { margin-top: 20px !important; font: 400 clamp(20px, 1.8vw, 26px)/1.5 var(--serif) !important; color: #d6d1c8; max-width: 620px; }
.hero-link { display: inline-block; margin-top: 32px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.hero-link { transition: color .25s, border-color .25s; }
.hero-link:hover { color: var(--accent); border-color: var(--accent); }
.hero-split .hero-img { height: 100%; aspect-ratio: 2189 / 3283; overflow: hidden; }
.hero-split .hero-img img { width: 100%; height: 100%; object-fit: cover; filter: none; }
@media (max-width: 860px) {
  .hero.hero-split { display: block; height: auto; min-height: 0; overflow: visible; }
  .hero-split .hero-img { height: auto; }
  .hero-split .hero-img { aspect-ratio: auto; }
  .hero-split .hero-img img { height: auto; }
  .hero-split .hero-text { padding: 36px var(--pad) 40px; }
}

/* Series cards */
.series-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 36px); padding: clamp(48px, 8vw, 110px) var(--pad); }
.card-img { aspect-ratio: 4 / 5; overflow: hidden; background: #1a1918; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, filter .8s ease; filter: brightness(.9); }
.card:hover .card-img img { transform: scale(1.04); filter: brightness(1); }
.card-meta { padding-top: 18px; }
.num { font: 400 13px var(--sans); letter-spacing: .2em; color: var(--accent); }
.card-meta h2 { font: 400 clamp(28px, 3vw, 40px)/1.1 var(--serif); margin-top: 6px; }
.card-meta p { color: var(--muted); font-size: 14px; }

/* Series page */
.intro { padding: clamp(56px, 9vw, 120px) var(--pad) clamp(36px, 5vw, 64px); max-width: 900px; }
.intro h1 { font: 400 clamp(48px, 8vw, 104px)/.95 var(--serif); margin-top: 10px; }
.intro .sub { color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; margin-top: 14px; }
.intro .lead { font: italic 400 clamp(20px, 2.2vw, 26px)/1.45 var(--serif); margin-top: 28px; color: #d6d1c8; }

.grid { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 var(--pad); }
.grid::after { content: ""; flex-grow: 999; }
.ph { flex-grow: var(--r); flex-basis: calc(var(--r) * 300px); overflow: hidden; background: #1a1918; cursor: zoom-in; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.ph:hover img { opacity: .86; }

.next { display: block; margin: clamp(64px, 9vw, 120px) var(--pad) 0; padding: 36px 0; border-top: 1px solid var(--line); font: 400 clamp(22px, 3vw, 34px) var(--serif); color: var(--muted); }
.next em { color: var(--fg); }
.next:hover { color: var(--fg); }

/* About */
.about { padding: clamp(56px, 9vw, 120px) var(--edge); max-width: calc(860px + 2 * var(--edge)); }
.about h1 { font: 400 clamp(48px, 8vw, 104px)/.95 var(--serif); }
.about-text { margin-top: 36px; font: 400 clamp(20px, 2.2vw, 26px)/1.5 var(--serif); color: #d6d1c8; }
.about-text p + p { margin-top: 18px; }
.contacts { list-style: none; margin-top: 48px; border-top: 1px solid var(--line); }
.contacts li { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contacts span { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
.contacts a:hover { color: var(--accent); }

.foot { padding: 48px var(--pad); color: var(--muted); font-size: 12px; letter-spacing: .1em; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(5, 5, 5, .97); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb img { max-width: calc(100vw - 140px); max-height: calc(100vh - 80px); object-fit: contain; }
.lb button { position: absolute; background: none; border: 0; color: var(--fg); cursor: pointer; font: 300 44px/1 var(--sans); padding: 16px; opacity: .6; }
.lb button:hover { opacity: 1; }
.lb-close { top: 8px; right: 14px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 12px; letter-spacing: .14em; }

@media (max-width: 860px) {
  .series-list { grid-template-columns: 1fr; }
  .top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero { height: 78vh; }
  .ph { flex-basis: calc(var(--r) * 180px); }
  .lb img { max-width: 100vw; }
  .lb-prev, .lb-next { display: none; }
}

/* ---------- Scroll animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(48px) scale(.985);
  transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1.1s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
.ph.reveal img { transform: scale(1.12); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1), opacity .3s; transition-delay: var(--d, 0s); }
.ph.reveal.in img { transform: scale(1); }

/* Hero: slow zoom + text rise */
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* Scroll progress bar */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 20; }

/* ---------- Mosaic (reportage) ---------- */
.grid.mosaic {
  --gap: 10px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: calc((100vw - 2 * var(--pad) - 11 * var(--gap)) / 12 * 4 / 3 - var(--gap) / 3);
  gap: var(--gap);
}
.grid.mosaic::after { display: none; }
.mosaic .ph { flex: none; }
@media (max-width: 860px) {
  .grid.mosaic { --gap: 6px; grid-auto-flow: dense; }
  .mosaic .L { grid-column: span 12 !important; grid-row: span 6 !important; }
  .mosaic .P { grid-column: span 6 !important; grid-row: span 7 !important; }
}

/* ---------- Horizontal scroll (self-portraits) ---------- */
.hwrap { position: relative; }
.hsticky { position: sticky; top: 61px; height: calc(100vh - 61px); overflow: hidden; display: flex; align-items: center; }
.grid.htrack { display: flex; flex-wrap: nowrap; gap: clamp(16px, 2vw, 32px); padding: 0 var(--pad); will-change: transform; }
.grid.htrack::after { display: none; }
.htrack .ph { flex: none; height: min(74vh, 820px); width: auto; aspect-ratio: var(--r); }
.htrack .ph img { height: 100%; width: 100%; object-fit: cover; }
.htrack .ph.reveal { transform: translateX(80px); }
.htrack .ph.reveal.in { transform: none; }
.hend { flex: none; align-self: center; padding: 0 12vw 0 4vw; font: italic 400 clamp(22px, 2.4vw, 32px)/1.3 var(--serif); color: var(--muted); white-space: nowrap; }
@media (max-width: 860px) {
  .hsticky { position: static; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 8px 0 16px; }
  .grid.htrack { transform: none !important; }
  .htrack .ph { height: 62vh; scroll-snap-align: center; }
  .hend { padding-right: 20vw; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .ph.reveal img, .hero img, .hero-text > * { opacity: 1; transform: none; animation: none; transition: none; }
}

/* Nav CTA */
.top nav .nav-cta { color: var(--fg); border: 1px solid var(--line); padding: 7px 14px; margin: -8px 0; transition: color .25s, border-color .25s; }
.top nav .nav-cta:hover { color: var(--accent); border-color: var(--accent); }
.top nav { align-items: center; }

/* Projects section */
.projects { padding-top: clamp(56px, 9vw, 120px); }
.section-title { padding: 0 var(--edge); font: 400 clamp(40px, 6vw, 80px)/1 var(--serif); }
.projects .series-list { padding: clamp(28px, 4vw, 48px) var(--edge) clamp(48px, 8vw, 110px); }

/* Generic page */
.page { padding: clamp(56px, 9vw, 120px) var(--edge); max-width: 1200px; }
.page h1 { font: 400 clamp(48px, 8vw, 104px)/.95 var(--serif); }
.page-lead { margin-top: 28px; max-width: 640px; font: 400 clamp(20px, 2.2vw, 26px)/1.5 var(--serif); color: #d6d1c8; }
.page-note { margin-top: 36px; color: var(--muted); font-size: 14px; }

/* Prices */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 32px); margin-top: clamp(40px, 6vw, 72px); }
.price { border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.price h2 { font: 400 clamp(28px, 3vw, 38px)/1.1 var(--serif); }
.price-sum { margin-top: 18px; font: 500 22px/1 var(--sans); color: var(--accent); letter-spacing: .02em; }
.price-dur { margin-top: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.price ul { list-style: none; margin-top: 24px; border-top: 1px solid var(--line); }
.price li { padding: 12px 0; border-bottom: 1px solid var(--line); color: #d6d1c8; font-size: 15px; }

/* Booking form */
.book { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: clamp(40px, 6vw, 64px); max-width: 860px; }
.book label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.book label i { font-style: normal; }
.book label > i span { text-transform: none; letter-spacing: 0; opacity: .7; margin-left: 6px; }
.book .wide { grid-column: 1 / -1; }
.book input, .book select, .book textarea { font: 300 16px/1.4 var(--sans); color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; border-radius: 0; outline: none; transition: border-color .2s; }
.book textarea { resize: vertical; border: 1px solid var(--line); padding: 12px; }
.book input:focus, .book select:focus, .book textarea:focus { border-color: var(--accent); }
.book select option { background: var(--bg); }
.book > button[type=submit] { grid-column: 1 / -1; justify-self: start; font: 400 13px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--fg); background: transparent; border: 1px solid var(--fg); padding: 14px 28px; cursor: pointer; transition: color .25s, border-color .25s; }
.book > button[type=submit]:hover { color: var(--accent); border-color: var(--accent); }
.book > button[type=submit]:disabled { opacity: .5; cursor: default; }
.book-status { grid-column: 1 / -1; color: var(--accent); min-height: 1.6em; }
.hp { position: absolute; left: -9999px; }

@media (max-width: 860px) {
  .price-grid, .book { grid-template-columns: 1fr; }
  .top nav { flex-wrap: wrap; }
}

/* Subtitles in accent colour */
.card-meta p, .intro .sub { color: var(--accent) !important; }

/* Custom date picker */
.book label.has-cal { position: relative; }
.date-input { cursor: pointer; }
.cal { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; width: 320px; padding: 20px 20px 16px;
  background: #141312; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.6);
  text-transform: none; letter-spacing: 0; color: var(--fg); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .2s, transform .2s; }
.cal.open { opacity: 1; transform: none; pointer-events: auto; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-title { font: 400 24px/1 var(--serif); white-space: nowrap; }
.cal-nav { display: flex; gap: 4px; }
.cal-nav button { width: 32px; height: 32px; border: 1px solid transparent; background: none; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; transition: color .2s, border-color .2s; }
.cal-nav button:hover:not(:disabled) { color: var(--accent); border-color: var(--line); }
.cal-nav button:disabled { opacity: .25; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-wd { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 6px 0 8px; }
.cal-day { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid transparent; background: none; color: var(--fg); font: 300 14px var(--sans); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.cal-day:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.cal-day.today { border-color: var(--line); }
.cal-day.sel { background: var(--accent); color: #111; border-color: var(--accent); font-weight: 500; }
.cal-day:disabled { color: #3d3a36; cursor: default; }
.cal-day.empty { visibility: hidden; }
.cal-foot { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.cal-foot button { background: none; border: 0; padding: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.cal-foot button:hover { color: var(--accent); }
@media (max-width: 860px) { .cal { width: 100%; max-width: 340px; } }

/* Custom select */
.sel { position: relative; }
.sel-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; color: var(--fg); font: 300 16px/1.4 var(--sans); text-align: left; cursor: pointer; transition: border-color .2s; }
.sel-btn::after { content: ""; width: 7px; height: 7px; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.sel.open .sel-btn, .sel-btn:focus { border-color: var(--accent); outline: none; }
.sel.open .sel-btn::after { transform: translateY(2px) rotate(-135deg); }
.sel-list { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 30; list-style: none; padding: 6px 0;
  background: #141312; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .2s, transform .2s; }
.sel.open .sel-list { opacity: 1; transform: none; pointer-events: auto; }
.sel-list li { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; font: 300 15px var(--sans); color: #d6d1c8; text-transform: none; letter-spacing: 0; cursor: pointer; transition: color .15s, background .15s; }
.sel-list li:hover, .sel-list li.hl { color: var(--accent); background: rgba(217,163,108,.06); }
.sel-list li[aria-selected="true"] { color: var(--accent); }
.sel-list li[aria-selected="true"]::after { content: ""; width: 10px; height: 5px; border-left: 1px solid var(--accent); border-bottom: 1px solid var(--accent); transform: translateY(-2px) rotate(-45deg); }

/* Circular About badge */
.hero-split { position: relative; }
.hero-badge { position: absolute; left: var(--edge); bottom: clamp(32px, 7vh, 72px); width: 150px; height: 150px; display: grid; place-items: center; color: var(--fg); }
.hero-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: badge-spin 18s linear infinite; }
.hero-badge text { font: 400 15px var(--sans); letter-spacing: .2em; text-transform: uppercase; fill: currentColor; }
.hero-badge-arrow { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 22px; line-height: 1; transition: transform .35s cubic-bezier(.2,.7,.2,1), color .25s, border-color .25s; }
.hero-badge:hover { color: var(--accent); }
.hero-badge:hover .hero-badge-arrow { transform: translate(6px, -6px); border-color: var(--accent); }
.hero-badge:hover svg { animation-duration: 8s; }
@keyframes badge-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-badge svg { animation: none; } }
@media (max-width: 860px) { .hero-badge { position: relative; left: auto; bottom: auto; margin: 32px var(--edge) 40px; width: 120px; height: 120px; } }
