/* Studio Pnina: cinematic dark, single amber signature colour.
   Contrast (on --bg): text 17.3:1, muted 9.1:1, amber 9.4:1, dark-on-amber 9.4:1 */

:root {
  --bg: #0b0a09;
  --surface: #151310;
  --line: #2a2620;
  --text: #f3efe8;
  --muted: #b8afa2;
  --amber: #e3a84e;
  --amber-soft: rgba(227, 168, 78, 0.14);
  --on-amber: #0b0a09;

  --font-display: "Assistant", "Arial", sans-serif;
  --font-body: "Assistant", "Arial", sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 72rem;
  --radius: 0.5rem;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }

a { color: var(--amber); text-underline-offset: 0.2em; }
a:hover { color: var(--text); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--amber);
  color: var(--on-amber);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.28em;
  white-space: nowrap;
}
.logo:hover { color: var(--text); }
.logo-pearl {
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  flex: none;
  background: radial-gradient(circle at 35% 30%, #fff3d9 0%, var(--amber) 45%, #a8732a 100%);
  box-shadow: 0 0 0.6em rgba(227, 168, 78, 0.55);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 10, 9, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* lets the logo and menu stack instead of overflowing at 200% text size */
  gap: 0.5rem 1rem;
  min-height: 4.25rem;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  font: inherit;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
  cursor: pointer;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { border-bottom-color: var(--amber); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; inset-inline: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 0.5rem var(--gutter) 1rem; }
  .site-nav a { display: block; padding: 0.75rem 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--amber);
  transition: background 0.2s, color 0.2s;
}
.btn-primary { background: var(--amber); color: var(--on-amber); }
.btn-primary:hover { background: var(--text); border-color: var(--text); color: var(--on-amber); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--amber-soft); color: var(--text); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 56rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  /* darkens the bottom so the headline always passes contrast */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,10,9,0.96) 0%, rgba(11,10,9,0.7) 35%, rgba(11,10,9,0.15) 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 6rem 4rem;
}
.eyebrow {
  color: var(--amber);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 4.2rem);
  max-width: 18ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.motion-toggle {
  position: absolute;
  z-index: 2;
  top: 1.25rem;
  inset-inline-end: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(11,10,9,0.75);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.motion-toggle:hover { border-color: var(--amber); }
.motion-toggle svg { width: 1rem; height: 1rem; }
.motion-toggle svg[hidden] { display: none; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
[id] { scroll-margin-top: 4.5rem; } /* keep anchored headings clear of the sticky header */
.section + .section { border-top: 1px solid var(--line); }

.section-head { margin-bottom: 3rem; max-width: 40rem; }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-head h2::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--amber);
  flex: none;
}
.section-head p { color: var(--muted); font-size: 1.1rem; }
.badge {
  display: inline-block;
  border: 1px solid var(--amber);
  color: var(--amber);
  border-radius: 999px;
  padding: 0.15rem 0.85rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ---------- Works ---------- */
.works { display: grid; gap: 3.5rem 2rem; }
/* vertical videos: cap the column width so a 9:16 player never towers over the screen */
.works-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 22rem)); }
.works-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 20rem)); }
.works-2, .works-3 { justify-content: start; }
@media (max-width: 560px) {
  .works-2, .works-3 { grid-template-columns: minmax(0, 24rem); justify-content: center; }
}

.work { margin: 0; }
.work video {
  width: 100%;
  background: #000;
  border-radius: var(--radius);
  object-fit: cover;
}
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-9x16 { aspect-ratio: 9 / 16; }
.ratio-4x5 { aspect-ratio: 4 / 5; }

.work-body { padding-top: 1.25rem; }
.work h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.work-client { color: var(--amber); font-size: 0.95rem; margin-bottom: 0.75rem; }
.work-desc { color: var(--text); }
.work-role {
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  margin-top: 1rem;
}

/* Featured: wide video + text beside it on large screens */
.work-feature { margin-bottom: 4rem; }
.work-feature .work-body { max-width: 44rem; }

/* Vertical video with text beside it */
/* flex-wrap (not fixed columns) so it stacks by itself when space or text size runs out */
.work-split {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
.work-split video { flex: 1 1 15rem; max-width: 22rem; }
.work-split .work-body { flex: 1 1 18rem; }

/* ---------- "Just a selection" line under the works ---------- */
.more-works {
  margin: 4rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 1.15rem;
  color: var(--muted);
}
.more-works a { font-weight: 600; white-space: nowrap; }

/* ---------- For videographers (home page) ---------- */
.for-videographers { background: var(--surface); }
.fv-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
.fv-photo {
  flex: 0 1 14rem;
  width: 100%;
  max-width: 14rem;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}
.fv-text { flex: 1 1 18rem; }
.fv-text .section-head { margin-bottom: 2rem; }
.fv-steps-title { font-size: 1.5rem; margin-bottom: 1.25rem; }
.for-videographers .steps li { background: var(--bg); }

/* ---------- About ---------- */
.about {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}
.about-text { flex: 1 1 18rem; }
.about-photo {
  flex: 1 1 14rem;
  aspect-ratio: 4 / 5;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  max-width: 20rem;
}
.about-text p { font-size: 1.15rem; max-width: 38rem; }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact .section-head { margin-inline: auto; }
.contact .section-head h2 { justify-content: center; }
.contact .section-head h2::before { display: none; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.contact-email { margin-top: 1.5rem; color: var(--muted); }

/* ---------- Steps (videographers page) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); counter-reset: step; }
.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.steps h3, .steps h4 { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 0.4em; }
.steps p { color: var(--muted); margin: 0; }

.page-intro { padding-block: clamp(4rem, 10vw, 8rem) 2rem; }
.page-intro h1 { font-size: clamp(2.2rem, 6vw, 4rem); max-width: 16ch; }
.page-intro p { color: var(--muted); font-size: 1.2rem; max-width: 40rem; }

/* ---------- Text pages ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.prose ul { padding-inline-start: 1.25rem; }
.prose li { margin-bottom: 0.5rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--amber); }
