/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Cinzel';
  src: url('../fonts/Cinzel-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

/* ---------- Tokens ---------- */
:root {
  --bg: #16171b;
  --panel: #1c1d22;
  --near-black: #0e0e10;
  --border: rgba(255, 255, 255, 0.08);
  --cream: #f2ece1;
  --muted: #8d8d93;
  --muted-dim: #6f6f75;
  --gold: #b3946f;

  --font-logo: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-serif: Georgia, 'Times New Roman', Times, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 90px);
  --content-max: 1600px;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--gold { color: var(--gold); }

.body-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Logo ---------- */
.logo {
  font-family: var(--font-logo);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--cream);
  letter-spacing: 0.18em;
}

.logo--nav {
  font-size: 1rem;
  letter-spacing: 0.14em;
}

.logo--footer {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
}

.logo--hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding-top: clamp(50px, 10vh, 130px);
  font-size: clamp(2.1rem, 7vw, 5rem);
  letter-spacing: clamp(0.12em, 1.4vw, 0.3em);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.3em, 1.4vw, 0.5em);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.55), 0 0 12px rgba(255, 255, 255, 0.75);
  animation: heroReveal 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s both;
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo--hero .bar {
  display: inline-block;
  width: 2px;
  height: 0.8em;
  background: var(--gold);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--near-black);
  box-shadow: 0 14px 32px -20px rgba(0, 0, 0, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
}

.nav-desktop {
  display: flex;
  gap: clamp(24px, 3vw, 48px);
}

.nav-desktop a {
  position: relative;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s ease;
}

.nav-desktop a:hover { color: var(--cream); }
.nav-desktop a:hover::after { right: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--muted);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 22px;
  padding: 0 var(--gutter) 28px;
}

.nav-mobile a {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-mobile.is-open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero-video {
  display: block;
  width: 100%;
  height: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.05) 60%, rgba(0,0,0,0.35) 100%);
}

/* ---------- Quote ---------- */
.quote {
  background: var(--bg);
  padding: clamp(60px, 10vh, 150px) var(--gutter);
  text-align: center;
}

.quote blockquote p {
  max-width: 850px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  line-height: 1.6;
  color: var(--cream);
}

.quote cite {
  display: block;
  margin-top: 26px;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

/* ---------- Work / Carousel ---------- */
.work {
  padding: 0 0 clamp(50px, 8vh, 100px);
}

.work .eyebrow {
  padding: 0 var(--gutter);
  margin-bottom: 28px;
}

.carousel {
  overflow-x: hidden;
  overflow-y: visible;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  padding: 30px 0 40px;
}

.carousel.is-dragging { cursor: grabbing; }

.carousel-track {
  position: relative;
  perspective: 1600px;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(240px, 70vw, 320px);
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.65), 0 8px 18px -10px rgba(0, 0, 0, 0.5);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.carousel-item .caption-overlay {
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}

.carousel-item .caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-size: 0.85rem;
  color: var(--cream);
  pointer-events: none;
}

.swipe-hint {
  padding: 20px var(--gutter) 0;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dim);
  display: none;
}

@media (min-width: 900px) {
  .carousel-item { width: clamp(300px, 32vw, 520px); }
}

/* ---------- Film ---------- */
.film {
  padding: clamp(40px, 6vh, 90px) var(--gutter) clamp(60px, 8vh, 110px);
}

.film-box {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 6px;
  padding: clamp(20px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: var(--content-max);
  margin: 0 auto;
  box-shadow: 0 40px 80px -35px rgba(0, 0, 0, 0.6);
}

.film-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 3px;
  background: #000;
  box-shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.6);
}

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

.film-copy h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin: 10px 0 14px;
  color: var(--cream);
}

.film-copy .body-text { max-width: 640px; }

@media (min-width: 800px) {
  .film-box { flex-direction: row; align-items: center; }
  .film-media { width: 42%; flex: 0 0 42%; }
  .film-copy { flex: 1; }
}

/* ---------- Services ---------- */
.services {
  padding: clamp(30px, 5vh, 60px) var(--gutter) clamp(70px, 10vh, 140px);
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.service {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border);
}

.service:last-child { border-bottom: none; padding-bottom: 0; }

.service h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--cream);
}

.service h3 a,
.film-copy h2 a {
  color: inherit;
  transition: color 0.25s ease;
}

.service h3 a:hover,
.film-copy h2 a:hover {
  color: var(--gold);
}

.service .body-text { max-width: 420px; }

@media (min-width: 900px) {
  .services {
    flex-direction: row;
    gap: 0;
  }
  .service {
    flex: 1;
    border-bottom: none;
    border-right: 1px solid var(--border);
    padding: 0 clamp(24px, 3vw, 48px);
  }
  .service:first-child { padding-left: 0; }
  .service:last-child { border-right: none; padding-right: 0; }
}

/* ---------- Subpages ---------- */
.page-hero {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(60px, 14vh, 170px) var(--gutter) clamp(20px, 4vh, 40px);
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.2;
  color: var(--cream);
  margin: 16px 0 22px;
  max-width: 780px;
}

.page-hero .intro {
  max-width: 620px;
  font-size: 1rem;
}

.page-section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(50px, 8vh, 100px);
}

.feature-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: clamp(44px, 7vh, 80px);
}

.feature-row:last-child { margin-bottom: 0; }

.feature-media {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 25px 50px -22px rgba(0, 0, 0, 0.6);
  background: #000;
}

.feature-media img {
  width: 100%;
  display: block;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.feature-copy h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  color: var(--cream);
  margin-bottom: 12px;
}

.feature-copy .body-text {
  max-width: 560px;
}

.feature-copy .body-text + .body-text {
  margin-top: 12px;
}

@media (min-width: 800px) {
  .feature-row {
    flex-direction: row;
    align-items: center;
    gap: clamp(30px, 5vw, 64px);
  }
  .feature-row.reverse { flex-direction: row-reverse; }
  .feature-media { flex: 0 0 40%; width: 40%; }
  .feature-copy { flex: 1; }

  /* Breaks the usual side-by-side, portrait-media pattern for a
     horizontal video that shouldn't be cropped into a 2:3 column. */
  .feature-row.wide {
    flex-direction: column;
    align-items: stretch;
  }
  .feature-row.wide .feature-media {
    flex: none;
    width: 100%;
  }
}

.feature-row.wide .feature-media video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.page-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: clamp(40px, 6vh, 70px);
}

.page-gallery figure {
  position: relative;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 40px -22px rgba(0, 0, 0, 0.6);
}

.page-gallery img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}

.page-gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
}

@media (min-width: 700px) {
  .page-gallery { grid-template-columns: repeat(3, 1fr); }
}

.page-cta {
  border-top: 1px solid var(--border);
  padding: clamp(40px, 6vh, 70px) var(--gutter);
  text-align: center;
}

.page-cta p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--cream);
}

.page-cta a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 4px 0 22px;
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: baseline;
  font-size: 0.95rem;
}

.contact-label {
  flex: 0 0 90px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.contact-list a {
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.contact-list a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.vat-note {
  font-size: 0.78rem;
  color: var(--muted-dim);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--near-black);
  padding: 30px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.footer-meta a:hover { color: var(--cream); }

@media (min-width: 700px) {
  .site-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---------- Breakpoints: nav ---------- */
@media (max-width: 760px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .swipe-hint { display: block; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.services .service:nth-child(1) { transition-delay: 0s; }
.services .service:nth-child(2) { transition-delay: 0.12s; }
.services .service:nth-child(3) { transition-delay: 0.24s; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .logo--hero {
    animation: none;
  }

  .carousel-item {
    transition: none !important;
  }
}
