/* Creative Chaos — shared styles
   Monochrome, image-forward, generous whitespace. */

:root {
  --black: #0a0a0a;
  --near-black: #141414;
  --ink: #18120f;
  --white: #fdfdfc;
  --cream: #f7efe1;
  --grey-100: #f4f4f2;
  --grey-200: #e7e6e2;
  --grey-300: #d3d2cc;
  --grey-500: #918f88;
  --grey-700: #4a4944;
  --accent: #e2542b;
  --accent-dark: #b23e1c;
  --accent-soft: #fbe6dc;
  --gold: #eeab1f;
  --gold-dark: #9c6f11;
  --gold-soft: #fbecc7;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;

  --max-width: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-variation-settings: "opsz" 144;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h1 + .sub,
h2 + .sub,
.sub + .sub {
  margin-top: 0.85rem;
}

.squiggle {
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Nav ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(253, 253, 252, 0.92);
  backdrop-filter: blur(8px);
  padding: 1rem 0;
  border-bottom-color: var(--grey-200);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.wordmark span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a.is-active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--black);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--black);
  display: block;
}

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 4rem;
  padding-bottom: 1rem;
  position: relative;
}

.hero h1 {
  font-size: clamp(2.75rem, 8vw, 6rem);
  line-height: 0.94;
  max-width: 16ch;
}

.hero .sub {
  margin-top: 0.85rem;
  max-width: 42ch;
  font-size: 1.1rem;
  color: var(--grey-700);
}

.hero-scroll {
  display: block;
  margin-top: 1rem;
  padding-left: var(--gutter);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-500);
}

/* ---------- Media placeholders ---------- */

.media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--grey-200) 0%, var(--grey-300) 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.media.tall { aspect-ratio: 4 / 5; }
.media.wide { aspect-ratio: 21 / 9; }

.media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(10, 10, 10, 0.03),
    rgba(10, 10, 10, 0.03) 2px,
    transparent 2px,
    transparent 14px
  );
}

.media-label {
  position: relative;
  z-index: 1;
  padding: 1rem 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-700);
}

.media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ---------- Real photos (no placeholder box/crop) ---------- */

.photo {
  width: 100%;
}

.photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Photo frame (blob accent) ---------- */

.photo-frame {
  position: relative;
}

.photo-frame::before {
  content: "";
  position: absolute;
  top: -1.75rem;
  right: -1.75rem;
  width: 7.5rem;
  height: 7.5rem;
  background: var(--gold);
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  z-index: 0;
}

.photo-frame::after {
  content: "";
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 5rem;
  height: 5rem;
  background: var(--accent);
  border-radius: 58% 42% 35% 65% / 55% 45% 55% 45%;
  z-index: 0;
}

.photo-frame .photo {
  position: relative;
  z-index: 1;
}

/* ---------- Sections ---------- */

section { padding: 2rem 0; }

.section-cream { background: var(--cream); }

.section-ink {
  background: var(--ink);
  color: var(--white);
}

.section-ink .eyebrow { color: var(--gold); }
.section-ink h2 { color: var(--white); }

/* ---------- CTA band ---------- */

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1.5rem 0;
}

.cta-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.25;
  max-width: 24ch;
  margin: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

.section-head .link-more {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  white-space: nowrap;
}

/* ---------- Work grid ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
}

.work-grid.full { grid-template-columns: repeat(3, 1fr); }

.work-grid > .work-card { min-width: 0; }

.work-card figcaption {
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.work-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

.work-card .tag {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-500);
  white-space: nowrap;
}

.work-card {
  transition: opacity 0.3s ease;
}

.work-grid:hover .work-card { opacity: 0.55; }
.work-grid .work-card:hover { opacity: 1; }

.work-card .media {
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease;
}

.work-card:nth-child(odd):hover .media {
  transform: rotate(-1deg) scale(1.02);
  box-shadow: 0 18px 30px -14px rgba(10, 10, 10, 0.25);
}

.work-card:nth-child(even):hover .media {
  transform: rotate(1deg) scale(1.02);
  box-shadow: 0 18px 30px -14px rgba(10, 10, 10, 0.25);
}

.work-card .media video,
.work-card .media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.yt-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  cursor: pointer;
  background-color: var(--grey-300);
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-play {
  position: relative;
  z-index: 1;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.75);
  transition: transform 0.2s ease, background 0.2s ease;
}

.yt-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 56%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.6rem 0 0.6rem 1rem;
  border-color: transparent transparent transparent var(--white);
}

.yt-facade:hover .yt-play {
  background: var(--accent);
  transform: scale(1.08);
}

/* ---------- Filter chips (Films page) ---------- */

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-chip {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--grey-300);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: var(--grey-700);
  transition: all 0.2s ease;
}

.filter-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* ---------- Credential badges (About page) ---------- */

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.badge:nth-child(2n) {
  background: var(--gold-soft);
  color: var(--gold-dark);
}

.empty-note {
  color: var(--grey-500);
  font-size: 0.95rem;
}

/* ---------- Intro / About blocks ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
}

.split .copy { max-width: 46ch; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--grey-200);
}

.stat-row .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.stat-row .label {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-700);
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  margin-top: 2rem;
}

.values-list li .num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
}

.values-list li:nth-child(2n) .num {
  background: var(--gold-soft);
  color: var(--gold-dark);
}

.values-list li h3 {
  margin: 0.5rem 0 0.5rem;
  font-size: 1.25rem;
}

.values-list li p {
  color: var(--grey-700);
  margin: 0;
  max-width: 40ch;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
}

.contact-details dt {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-top: 2rem;
}

.contact-details dt:first-child { margin-top: 0; }

.contact-details dd {
  margin: 0.4rem 0 0;
  font-size: 1.15rem;
}

.contact-details a:hover { color: var(--accent); }

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-500);
}

.field input,
.field textarea {
  border: none;
  border-bottom: 1px solid var(--grey-300);
  background: transparent;
  padding: 0.65rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus { border-color: var(--black); }

.btn {
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.9rem 2.1rem;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: var(--white);
  color: var(--ink);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 2.25rem 0;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
}

.footer-links a:hover { color: var(--gold); }

.copyright {
  font-size: 0.8rem;
  color: var(--grey-300);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 70%;
    max-width: 320px;
    background: var(--white);
    padding: 6rem 2rem 2rem;
    gap: 1.75rem;
    box-shadow: -8px 0 24px rgba(0,0,0,0.08);
  }

  .work-grid,
  .work-grid.full { grid-template-columns: 1fr; }

  .split { grid-template-columns: 1fr; }

  .stat-row { grid-template-columns: 1fr; gap: 1.5rem; }

  .values-list { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
}
