/* =========================================================
   Shared styles for the redesigned pages
   (index, about, productions, contact)
   ========================================================= */

:root{
  --ink:   #0e0d0c;   /* page background */
  --ink-2: #171513;   /* alternate section background */
  --paper: #f4efe7;   /* main text */
  --soft:  #ddd6cc;   /* slightly softer text */
  --muted: #b4aca1;   /* secondary text */
  --line:  rgba(244,239,231,0.14);
  --accent:#c9a36a;   /* warm brass */

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ display: block; max-width: 100%; }
a{ color: inherit; }
figure{ margin: 0; }

.wrap{ width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 0 auto; }

.eyebrow{
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}
.eyebrow::before{ content: ""; width: 28px; height: 1px; background: currentColor; }

h1, h2, h3{ font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; }
h2{ font-size: clamp(40px, 5vw, 64px); }

.lead{ font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.3; margin: 0 0 22px; }
.body-copy{ color: var(--muted); margin: 0 0 30px; max-width: 60ch; }
.actions{ display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }

/* ---------- Buttons & links ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--paper); background: transparent; color: var(--paper);
  transition: background .25s, color .25s, border-color .25s;
}
.btn-solid{ background: var(--paper); color: var(--ink); }
.btn-solid:hover{ background: var(--accent); border-color: var(--accent); }
.btn-ghost:hover{ background: var(--paper); color: var(--ink); }
.btn svg{ width: 14px; height: 14px; }

.text-link{
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--paper);
  border-bottom: 1px solid var(--accent); padding-bottom: 4px;
}
.text-link:hover{ color: var(--accent); }

/* ---------- Header ---------- */
.site-header{
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s, padding .35s, border-color .35s;
  border-bottom: 1px solid transparent;
  padding: 22px 0;
}
.site-header.scrolled{
  background: rgba(14,13,12,0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.header-inner{ display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand{ display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img{ width: 38px; height: 38px; filter: invert(1); }
/* Oswald matches the lettering in the company logo */
.brand-name{ font-family: "Oswald", "Arial Narrow", sans-serif; font-size: 21px; font-weight: 500; line-height: 1; letter-spacing: .01em; white-space: nowrap; }

.main-nav{ display: flex; align-items: center; gap: 36px; }
.main-nav a:not(.btn){
  position: relative;
  font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none;
}
.main-nav a:not(.btn)::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.main-nav a:not(.btn):hover::after,
.main-nav a[aria-current="page"]::after{ transform: scaleX(1); }
.main-nav a[aria-current="page"]{ color: var(--accent); }
.main-nav .btn{ padding: 11px 18px; font-size: 12px; border-color: var(--accent); color: var(--accent); }
.main-nav .btn:hover{ background: var(--accent); color: var(--ink); }

.menu-toggle{
  display: none;
  width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--paper);
}
.menu-toggle span{ display: block; width: 26px; height: 1.5px; margin: 7px auto; background: currentColor; transition: transform .3s; }
.menu-open .menu-toggle span:first-child{ transform: translateY(4.25px) rotate(45deg); }
.menu-open .menu-toggle span:last-child{ transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- Inner page hero ---------- */
.page-hero{
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 68vh; min-height: 68svh;
  display: flex; align-items: flex-end;
  padding: 150px 0 clamp(48px, 8vh, 88px);
}
.page-hero > img{
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  animation: slow-zoom 14s ease-out both;
}
.page-hero::before{
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,13,12,.85) 0%, rgba(14,13,12,.45) 45%, rgba(14,13,12,.15) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(14,13,12,0) 45%);
}
.page-hero h1{ font-size: clamp(64px, 9vw, 132px); line-height: .9; }
.page-hero .sub{ font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); margin: 14px 0 0; color: var(--soft); }
.page-hero .intro{ max-width: 52ch; margin: 22px 0 0; color: var(--soft); font-size: 18px; }
@keyframes slow-zoom{ from{ transform: scale(1.08); } to{ transform: scale(1); } }

/* ---------- Sections ---------- */
section.block{ padding: clamp(80px, 11vw, 140px) 0; }
.alt{ background: var(--ink-2); }
.section-head{ display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; }
.credit{ margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---------- Call to action band ---------- */
.cta{ position: relative; isolation: isolate; overflow: hidden; text-align: center; }
.cta > img{ position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cta::before{ content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(14,13,12,.78); }
.cta .wrap{ max-width: 760px; }
.cta h2{ margin-bottom: 22px; }
.cta p:not(.eyebrow){ font-size: 19px; color: var(--soft); margin: 0 0 36px; }
.cta .actions{ justify-content: center; }

/* ---------- Footer ---------- */
.site-footer{ padding: 80px 0 36px; border-top: 1px solid var(--line); }
.footer-grid{ display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 48px; }
.footer-brand img{ width: 84px; height: 84px; border-radius: 50%; margin-bottom: 20px; }
.footer-brand p{ color: var(--muted); max-width: 32ch; margin: 0; }
.site-footer h3{ font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.site-footer ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a{ text-decoration: none; color: var(--soft); }
.site-footer ul a:hover{ color: var(--accent); }
.footer-email{ font-family: var(--serif); font-size: 26px; text-decoration: none; word-break: break-word; }
.footer-email:hover{ color: var(--accent); }
.footer-bottom{
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal{ opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in{ opacity: 1; transform: none; }

/* =========================================================
   Tablet / phone
   ========================================================= */
@media (max-width: 900px){
  .menu-toggle{ display: block; position: relative; z-index: 2; }
  .main-nav{
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 30px;
    background: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .menu-open .main-nav{ opacity: 1; visibility: visible; }
  .main-nav a:not(.btn){ font-family: var(--serif); font-size: 38px; font-weight: 500; letter-spacing: 0; text-transform: none; }
  .brand{ position: relative; z-index: 2; }
  /* keep the bar solid while the menu is open */
  .menu-open .site-header{ background: var(--ink); }

  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }
}

@media (max-width: 600px){
  body{ font-size: 16px; }
  .brand-name{ font-size: 18px; }
  .page-hero{ min-height: 62svh; padding-top: 130px; }
  .page-hero::before{
    background: linear-gradient(0deg, var(--ink) 6%, rgba(14,13,12,.7) 45%, rgba(14,13,12,.25) 80%, rgba(14,13,12,.45) 100%);
  }
  .page-hero .intro{ font-size: 16.5px; }
  .section-head{ flex-direction: column; align-items: flex-start; }
  .actions .btn{ flex: 1 1 auto; }
  .footer-grid{ grid-template-columns: 1fr; gap: 36px; }
}

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