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

@font-face {
  font-family: 'ZalandoSansExpanded';
  src: url('../fonts/ZalandoSansExpanded-Italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --mid: #767676;
  --line: #e5e5e5;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
  --display: 'ZalandoSansExpanded', var(--sans);
  --gutter: 48px;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 300;
  background: var(--black);
  color: var(--white);
  padding: 12px 16px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.skip-link:focus { top: 16px; }

.label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* ── NAV ─────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  background: rgba(255,255,255,0.96);
  color: var(--black);
}

.nav-name,
.nav-links a,
.nav-toggle {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links { display: flex; gap: 32px; }

.nav-links a {
  opacity: 0.62;
  transition: opacity 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  min-height: 44px;
  padding: 0 0 0 16px;
  cursor: pointer;
}

/* Home: nav floats over the hero and fills in once you scroll past it */
.site-nav--overlay {
  position: fixed;
  left: 0; right: 0;
  background: rgba(255,255,255,0);
  transition: background-color 0.32s ease;
}
.site-nav--overlay.scrolled { background: rgba(255,255,255,0.96); }

@media (min-width: 1025px) {
  .site-nav--overlay .nav-name {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .site-nav--overlay.scrolled .nav-name {
    opacity: 1;
    transform: none;
    transition-delay: 0.44s;
  }
  .site-nav--overlay .nav-links {
    position: absolute;
    left: var(--gutter);
    transition: left 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.28s, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.28s;
  }
  .site-nav--overlay.scrolled .nav-links { left: 100%; transform: translateX(calc(-100% - var(--gutter))); }
}

/* ── PAGE HEADINGS (Work, Details) ──────────────────── */
.page { padding: 92px var(--gutter) 120px; }

.page-title {
  margin-bottom: 108px;
  font-family: var(--serif);
  font-size: clamp(54px, 7vw, 105px);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.88;
}

/* ── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.hero picture,
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  bottom: 64px;
  left: var(--gutter);
  right: var(--gutter);
}

.hero-name {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 76px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  -webkit-text-stroke: 0.3px currentColor;
  mix-blend-mode: difference;
  line-height: 0.92;
}

.hero-word,
.hero-letter-wrap { display: inline-block; vertical-align: bottom; }

.hero-word:first-child .hero-letter-wrap:nth-child(2),
.hero-word:first-child .hero-letter-wrap:nth-child(3) { margin-right: -0.13em; }

.hero-letter { display: inline-block; }
.hero-letter.space { width: 0.28em; }

.hero-sub {
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--black);
  margin-top: 8px;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  right: var(--gutter);
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--white);
  mix-blend-mode: difference;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-letter { opacity: 0; animation: fadeIn 0.8s ease forwards; }
  .hero-sub { opacity: 0; animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards; }
  .scroll-hint { opacity: 0; animation: fadeIn 1s ease 1.2s forwards; }
}

@keyframes fadeIn { to { opacity: 1; } }

/* ── GALLERY ─────────────────────────────────────────── */
.portfolio { padding: 8px 0 48px; }

.portfolio-label {
  display: flex;
  align-items: center;
  height: 100px;
  padding: 0 var(--gutter);
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 8px;
}

.gallery-item {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: filter 0.4s ease;
}

.gallery-item:hover img { filter: brightness(0.88); }
.gallery-item:focus-visible { outline-offset: 2px; }

/* Items are visible by default; they only fade in when script runs and motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  .js .gallery--reveal .gallery-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .js .gallery--reveal .gallery-item.visible { opacity: 1; transform: none; }
}

.gallery--work {
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 0;
}

@media (hover: hover) {
  .gallery--work .gallery-item img { filter: grayscale(1); transition: filter 0.3s; }
  .gallery--work .gallery-item:hover img,
  .gallery--work .gallery-item:focus-visible img { filter: grayscale(0) brightness(0.88); }
}

.gallery-more {
  text-align: center;
  padding: 60px 0 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}
.text-link:hover { color: var(--black); }

/* ── BOOKINGS ────────────────────────────────────────── */
.bookings {
  background: var(--black);
  color: var(--white);
  padding: 92px 70px 120px;
}

.bookings-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(54px, 7vw, 105px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.88;
  color: rgba(255,255,255,0.6);
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
  margin-top: 72px;
}

.contact-copy {
  max-width: 500px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
}

.booking-action { text-align: right; }

.booking-work {
  margin-left: auto;
  max-width: 560px;
  color: rgba(255,255,255,0.6);
  font-family: var(--display);
  font-size: clamp(14px, 1.3vw, 19px);
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.contact-btn {
  display: inline-block;
  margin-top: 12px;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(14px, 1.3vw, 19px);
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}

.contact-btn:hover { text-decoration: underline; text-underline-offset: 6px; }

.contact-actions {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.copy-btn {
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.74);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 12px 0 6px;
  cursor: pointer;
}
.copy-btn:hover { color: var(--white); border-color: var(--white); }

/* Enquiry form */
.enquiry {
  margin-top: 96px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.enquiry-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 28px;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.8);
}

.enquiry-note {
  margin-top: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  line-height: 1.6;
}

.enquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
  margin-top: 40px;
}

.field { display: flex; flex-direction: column; gap: 10px; }
.field--wide { grid-column: 1 / -1; }

.field label {
  color: rgba(255,255,255,0.6);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  border-radius: 0;
  color: var(--white);
  font: 300 16px/1.5 var(--sans);
  padding: 8px 0 10px;
}

.field select { appearance: none; cursor: pointer; }
.field select option { color: var(--black); }
.field textarea { min-height: 120px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--white); }

.enquiry-submit {
  margin-top: 40px;
  background: var(--white);
  color: var(--black);
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
}
.enquiry-submit:hover { background: rgba(255,255,255,0.85); }

/* ── DETAILS ─────────────────────────────────────────── */
.details-page { max-width: 1120px; margin-inline: auto; }

.details { display: grid; grid-template-columns: auto 1fr; max-width: 1000px; }

.detail-label,
.detail-value {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.detail-label { padding-right: 48px; color: var(--mid); white-space: nowrap; }
.detail-value { font-family: var(--display); font-style: italic; font-weight: 400; text-align: right; }
.details > :nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }

.on-camera { margin-top: 104px; }

.on-camera h2 {
  margin-bottom: 40px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

/* ── 404 ─────────────────────────────────────────────── */
.not-found p {
  max-width: 420px;
  color: var(--mid);
  font-size: 14px;
  line-height: 1.6;
}

/* ── FOOTER ──────────────────────────────────────────── */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 22px var(--gutter) 28px;
  background: var(--white);
  color: var(--black);
}

.site-footer--dark { background: var(--black); color: var(--white); }

.footer-meta {
  color: var(--mid);
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.03em;
}

.footer-links { display: flex; gap: 32px; }

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--mid);
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--black); }
.site-footer--dark .footer-meta { color: rgba(255,255,255,0.45); }
.site-footer--dark .footer-links a { color: rgba(255,255,255,0.6); }
.site-footer--dark .footer-links a:hover { color: var(--white); }

/* ── LIGHTBOX ────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,10,0.96);
  color: var(--white);
}

.lightbox[hidden] { display: none; }

.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 14px; }

.lightbox img {
  max-width: 90vw;
  max-height: 84vh;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
}

.lb-count {
  color: rgba(255,255,255,0.6);
  font-size: 10px;
  letter-spacing: 0.3em;
}

.lb-btn {
  position: fixed;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 16px;
  min-height: 44px;
  transition: color 0.2s;
}

.lb-btn:hover { color: var(--white); }
.lb-close { top: 24px; right: 32px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ── TABLET ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .gallery--work { grid-template-columns: repeat(2, 1fr); }
  .bookings { padding: 92px var(--gutter) 96px; }
}

/* ── PHONE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --gutter: 20px; --nav-h: 56px; }

  .js .nav-toggle { display: inline-flex; align-items: center; }

  .nav-links { gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
  .nav-links a { font-size: 11px; letter-spacing: 0.12em; opacity: 0.7; }

  /* With script, links live in a full-screen menu behind the Menu button */
  .js .nav-links {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: var(--nav-h) var(--gutter) 48px;
    background: var(--white);
  }

  .js .site-nav.open { background: var(--white); }
  .js .site-nav.open .nav-links { display: flex; }

  .js .site-nav.open .nav-links a {
    font-family: var(--serif);
    font-size: 44px;
    font-style: italic;
    font-weight: 300;
    letter-spacing: -0.03em;
    text-transform: none;
    opacity: 1;
    padding: 6px 0;
  }

  .page { padding: 74px var(--gutter) 72px; }
  .page-title { margin-bottom: 68px; }

  .hero-text { bottom: 36px; }
  .scroll-hint { bottom: 20px; }
  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.5) 0%, transparent 55%);
  }
  .hero-text, .scroll-hint { z-index: 1; }
  .hero-name { mix-blend-mode: normal; }
  .hero-sub { color: rgba(255,255,255,0.85); }

  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery--work { gap: 3px; }
  .portfolio-label { height: 72px; }

  .bookings { padding: 72px var(--gutter) 64px; }
  .booking-grid,
  .enquiry-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 32px; }
  .contact-copy { font-size: 11px; }
  .booking-action { text-align: left; }
  .booking-work { margin-left: 0; font-size: 18px; }
  .contact-actions { justify-content: flex-start; }
  .enquiry { margin-top: 64px; }

  .detail-label,
  .detail-value { padding: 18px 0; font-size: 10px; letter-spacing: 0.12em; }
  .detail-label { padding-right: 20px; }
  .on-camera { margin-top: 72px; }
  .on-camera h2 { margin-bottom: 28px; }


  .site-footer { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px var(--gutter); }
  .footer-links { gap: 4px 20px; flex-wrap: wrap; }
  .footer-links a { font-size: 9px; letter-spacing: 0.25em; }
  .footer-meta { font-size: 13px; }

  .lb-prev { left: 4px; }
  .lb-next { right: 4px; }
  .lb-close { right: 8px; top: 8px; }
}
