/* ===========================================================
   ALV STUDIO — Shared site stylesheet
   Editorial Cinema design system
   =========================================================== */

:root {
  --ink:    #0A0807;
  --ink-2:  #14110F;
  --bone:   #E8DDC8;
  --bone-2: #BAA98A;
  --dim:    #8A7E66;
  --rule:   rgba(232,221,200,.10);
  --rule-2: rgba(232,221,200,.18);
  --gold:   #C9A96E;
  --blood:  #A03028;
  --serif:  'Cormorant Garamond', 'Times New Roman', serif;
  --sans:   'Inter Tight', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --mono:   'JetBrains Mono', 'Courier New', monospace;
}

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

html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .25s ease; }
img { max-width: 100%; display: block; }

/* ===== Utility ===== */
.serif { font-family: var(--serif); font-weight: 400; }
.italic { font-style: italic; }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.gold { color: var(--gold); }
.blood { color: var(--blood); }
.dim { color: var(--dim); }

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 56px;
}

.section-tag {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.section-tag::before {
  content: ""; width: 36px; height: 1px; background: var(--gold);
}

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: 72px;
  z-index: 100;
  display: flex; align-items: center;
  padding: 0 56px;
  background: rgba(10,8,7,0);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.nav.scrolled, .nav.solid {
  background: rgba(10,8,7,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--rule);
}
.nav .logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: .01em;
  color: var(--bone);
  flex: 0 0 auto;
}
.nav .logo sup {
  font-family: var(--mono);
  font-style: normal;
  font-size: 8px;
  letter-spacing: .2em;
  color: var(--gold);
  vertical-align: 14px;
  margin-left: 3px;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
  margin-left: auto;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bone-2);
}
.nav ul > li { position: relative; }
.nav ul a { position: relative; padding-bottom: 4px; cursor: pointer; }
.nav ul a:hover, .nav ul li.active > a { color: var(--bone); }
.nav ul a::after {
  content: "";
  position: absolute; left: 0; right: 100%;
  bottom: 0; height: 1px;
  background: var(--gold);
  transition: right .3s ease;
}
.nav ul a:hover::after, .nav ul li.active > a::after { right: 0; }

/* Dropdown */
.nav ul li.has-drop > a::before {
  content: "+"; margin-right: 6px; color: var(--gold);
  font-family: var(--mono); font-weight: 400;
}
.nav ul li.has-drop:hover .drop {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.drop {
  position: absolute; top: 100%; left: -16px;
  min-width: 240px;
  padding: 18px 0 16px;
  background: rgba(10,8,7,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--rule-2);
  list-style: none;
  display: flex !important; flex-direction: column;
  gap: 0 !important;
  margin-top: 14px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index: 200;
}
.drop::before {
  content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.drop li a {
  display: block;
  padding: 10px 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--bone-2);
}
.drop li a::after { display: none; }
.drop li a:hover { color: var(--gold); background: rgba(201,169,110,.05); }

.nav .cta {
  margin-left: 48px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--bone);
  flex: 0 0 auto;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease;
}
.nav .cta:hover { background: var(--gold); color: var(--ink); }
.nav .cta .ar { color: var(--gold); transition: color .25s ease; }
.nav .cta:hover .ar { color: var(--ink); }

.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav { padding: 0 24px; height: 64px; }
  .nav ul { display: none; }
  .nav .cta { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    margin-left: auto; padding: 8px; cursor: pointer; background: none; border: none;
  }
  .nav-toggle span { width: 24px; height: 1px; background: var(--bone); display: block; }
}

/* ===== Page hero (subpages) ===== */
.page-hero {
  position: relative;
  min-height: 60vh;
  padding: 160px 56px 80px;
  display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.page-hero.with-bg::before {
  content: ""; position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0; filter: saturate(.85);
}
.page-hero.with-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,8,7,.85) 0%, rgba(10,8,7,.55) 35%, rgba(10,8,7,.92) 100%),
    radial-gradient(ellipse at 80% 80%, rgba(160,48,40,.18) 0%, rgba(10,8,7,0) 55%);
  z-index: 1;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .crumbs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bone-2);
  margin-bottom: 28px;
  display: flex; gap: 12px; align-items: center;
  flex-wrap: wrap;
}
.page-hero .crumbs a:hover { color: var(--gold); }
.page-hero .crumbs .sep { color: var(--gold); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--bone);
  max-width: 1100px;
}
.page-hero h1 em { font-style: italic; color: var(--gold); font-weight: 300; }
.page-hero h1 .blood { color: var(--blood); font-style: italic; }
.page-hero .lede {
  margin-top: 36px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.45;
  color: var(--bone-2);
  max-width: 720px;
}

@media (max-width: 720px) {
  .page-hero { padding: 120px 24px 60px; min-height: 48vh; }
}

/* ===== Section base ===== */
section {
  padding: 120px 0;
  position: relative;
}
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.section-head .title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  color: var(--bone);
  letter-spacing: -0.01em;
}
.section-head .title em { font-style: italic; color: var(--gold); font-weight: 300; }

/* ===== Buttons ===== */
.btn-line {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--bone);
  transition: color .25s ease, border-color .25s ease;
  cursor: pointer;
}
.btn-line .ar { color: var(--gold); transition: transform .3s ease; }
.btn-line:hover { color: var(--gold); border-color: var(--gold); }
.btn-line:hover .ar { transform: translateX(8px); }

.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 22px 36px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary .ar { color: var(--ink); }
.btn-primary:hover { background: var(--bone); border-color: var(--bone); }
.btn-secondary { background: transparent; color: var(--bone); }
.btn-secondary .ar { color: var(--gold); }
.btn-secondary:hover { background: var(--bone); color: var(--ink); border-color: var(--bone);}
.btn-secondary:hover .ar { color: var(--ink); }

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--rule-2);
  padding: 56px 0 32px;
  background: var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-grid h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 400;
}
.footer-grid p, .footer-grid a {
  font-size: 14px;
  color: var(--bone-2);
  line-height: 1.7;
}
.footer-grid a:hover { color: var(--gold); }
.footer-grid ul { list-style: none; }
.footer-grid .brand-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--bone);
  margin-bottom: 12px;
}
.footer-grid .brand-name sup {
  font-family: var(--mono); font-style: normal; font-size: 8px;
  letter-spacing: .2em; color: var(--gold);
  vertical-align: 14px; margin-left: 3px;
}
.footer-grid .brand-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--bone-2);
  max-width: 320px;
  line-height: 1.4;
}
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dim);
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom a { color: var(--bone-2); }
.footer-bottom a:hover { color: var(--gold);}

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* ===== Cookie bar ===== */
.cookie {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  z-index: 200;
  max-width: 720px; margin: 0 auto;
  background: rgba(20,17,15,.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--rule-2);
  padding: 18px 22px;
  display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
  font-size: 13px;
  color: var(--bone-2);
  line-height: 1.5;
  transition: opacity .3s ease, transform .3s ease;
}
.cookie.hide { opacity: 0; pointer-events: none; transform: translateY(40px); }
.cookie a { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cookie .accept {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  padding: 12px 20px;
  border: 1px solid var(--gold);
  color: var(--bone);
  cursor: pointer;
  background: transparent;
  transition: background .25s ease, color .25s ease;
}
.cookie .accept:hover { background: var(--gold); color: var(--ink); }

/* ===== Mobile drawer ===== */
.drawer {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 150;
  display: none;
  flex-direction: column;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); display: flex; }
.drawer ul { list-style: none; display: flex; flex-direction: column; gap: 28px; }
.drawer ul a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  color: var(--bone);
}
.drawer ul .sub a {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bone-2);
}
.drawer ul .sub-list { display: flex; flex-direction: column; gap: 14px; padding-left: 8px; margin-top: 8px; }
.drawer-close {
  position: absolute; top: 18px; right: 24px;
  background: none; border: none; cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--bone);
}

/* ===== Common page layout primitives ===== */
.text-block {
  max-width: 800px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--bone-2);
}
.text-block p + p { margin-top: 18px; }
.text-block strong { color: var(--bone); font-weight: 500; }
.text-block h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  color: var(--bone);
  margin: 64px 0 24px;
  letter-spacing: -0.005em;
}
.text-block h2 em { font-style: italic; color: var(--gold); font-weight: 300; }
.text-block h2:first-child { margin-top: 0; }

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 980px) {
  .split-grid { grid-template-columns: 1fr; gap: 32px; }
}

.numbered-list {
  border-top: 1px solid var(--rule-2);
}
.numbered-list .item {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 28px;
  align-items: baseline;
}
.numbered-list .no {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--gold);
}
.numbered-list h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--bone);
  margin-bottom: 8px;
}
.numbered-list h3 em { font-style: italic; color: var(--gold); }
.numbered-list p {
  font-size: 14px; line-height: 1.6; color: var(--dim);
}

/* ===== Final CTA strip ===== */
.cta-strip {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(110,18,18,.18), rgba(10,8,7,0) 60%),
    var(--ink);
  padding: 120px 0;
}
.cta-strip h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 10vw, 140px);
  line-height: 0.95;
  color: var(--bone);
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.cta-strip h2 em { font-style: italic; color: var(--gold); }
.cta-strip .sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--bone-2);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.4;
}
.cta-strip .row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
