/* Light Pyramid Film Industry — site styles
   Brand: black / white / copper #AF6811 · Montserrat */

:root {
  --black: #0B0A09;
  --ink: #000000;
  --charcoal: #231F20;
  --deep: #161312;
  --line: #3A3330;
  --line-soft: #2B2624;
  --border: #5C524C;
  --white: #FFFFFF;
  --text: #D6D0C9;
  --muted: #BDB6AE;
  --faint: #9E968E;
  --copper: #AF6811;
  --copper-text: #D08A2E;   /* copper for small text on dark */
  --copper-hover: #E9A54C;
  --copper-dark: #8A520D;   /* copper for small text on light */
  --paper: #F6F1EB;
  --body-dark: #4A4340;
  --radius: 2px;
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 24px);
  --section: clamp(64px, 9vw, 96px);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--copper-text); }
a:hover { color: var(--copper-hover); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--copper-hover); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--light { background: var(--white); color: var(--charcoal); }
.section--deep { background: var(--deep); }
.section--border { border-top: 1px solid var(--line); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--copper); color: var(--black); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--black); }

/* ---------- type ---------- */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--copper-text); margin-bottom: 14px; }
.section--light .eyebrow { color: var(--copper-dark); }
.display { font-weight: 800; font-size: clamp(38px, 6.2vw, 76px); line-height: 1.03; letter-spacing: -0.02em; }
.h2 { font-weight: 800; font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; letter-spacing: -0.01em; }
.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--text); max-width: 560px; }
.section--light .lead { color: var(--body-dark); }
.accent { color: var(--copper); }
.muted { color: var(--muted); }
.small { font-size: 13px; color: var(--faint); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: var(--radius); border: 1px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn svg { flex: none; }
.btn--primary { background: var(--copper); color: var(--black); }
.btn--primary:hover { background: var(--copper-hover); color: var(--black); }
.btn--ghost { border-color: var(--border); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--copper); color: var(--white); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--charcoal); color: var(--white); }
.btn--outline-dark { border: 2px solid var(--black); color: var(--black); }
.btn--outline-dark:hover { background: var(--black); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 10, 9, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand svg { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: 0.02em; }
.brand-sub { font-weight: 400; font-size: 9.5px; letter-spacing: 0.5em; color: var(--muted); }
.nav-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--border); border-radius: var(--radius); color: var(--white); cursor: pointer; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav a { display: block; padding: 10px 13px; color: var(--white); text-decoration: none; font-weight: 500; font-size: 14px; }
.site-nav a:hover { color: var(--copper-hover); }
.site-nav a[aria-current="page"] { color: var(--copper-text); font-weight: 700; }
.site-nav .nav-cta { margin-left: 8px; padding: 11px 18px; background: var(--copper); color: var(--black); font-weight: 700; border-radius: var(--radius); }
.site-nav .nav-cta:hover { background: var(--copper-hover); color: var(--black); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--black); border-bottom: 1px solid var(--line); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; gap: 0; }
  .site-nav li { border-top: 1px solid var(--line-soft); }
  .site-nav a { padding: 15px 4px; font-size: 16px; }
  .site-nav li:last-child { border-top: 0; padding-top: 14px; }
  .site-nav .nav-cta { margin: 0; text-align: center; padding: 15px 18px; }
}
/* No-JS fallback: show menu items stacked */
.no-js .nav-toggle { display: none; }
@media (max-width: 960px) { .no-js .site-nav { position: static; display: block; } }

/* ---------- hero ---------- */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 56px); align-items: center; padding-block: clamp(48px, 8vw, 88px) clamp(56px, 8vw, 80px); }
.hero .lead { margin-top: 24px; }
.hero .btn-row { margin-top: 34px; }
.hero-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.stats { display: flex; flex-wrap: wrap; gap: 20px 40px; margin: 44px 0 0; }
.stats dt { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.stats dd { margin: 4px 0 0; font-weight: 800; font-size: clamp(24px, 3vw, 30px); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; }
}

/* ---------- cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.service-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; background: var(--paper); border-top: 4px solid var(--copper); color: var(--charcoal); text-decoration: none; transition: transform .15s; }
.service-card:hover { color: var(--charcoal); transform: translateY(-3px); }
.service-card h3 { font-size: 23px; font-weight: 800; }
.service-card p { color: var(--body-dark); }
.service-card .more { margin-top: auto; color: var(--copper-dark); font-weight: 700; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.section-intro { margin-bottom: 44px; max-width: 760px; }
.section-intro .lead { margin-top: 14px; }

/* ---------- films ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: var(--charcoal); border-radius: var(--radius); overflow: hidden; }
.feature-hero { position: relative; overflow: hidden; background: var(--deep); padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; }
.watermark { position: absolute; pointer-events: none; opacity: 0.14; }
.feature-hero .watermark { right: -60px; top: -20px; width: 460px; }
.tag { position: relative; align-self: flex-start; padding: 5px 12px; background: var(--copper); color: var(--black); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.feature-title { position: relative; margin-top: 18px; font-weight: 800; font-size: clamp(38px, 5vw, 64px); line-height: 0.98; letter-spacing: -0.02em; text-transform: uppercase; }
.feature-hero p, .feature-hero .btn-row { position: relative; }
.feature-hero p { margin-top: 14px; color: var(--text); max-width: 520px; }
.feature-hero .btn-row { margin-top: 24px; }
.episodes { padding: clamp(24px, 3vw, 32px); }
.episodes h4 { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.episodes ol { list-style: none; margin: 0; padding: 0; }
.episodes li { border-top: 1px solid var(--line); }
.episodes a { display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 8px 0; color: var(--white); text-decoration: none; }
.episodes a:hover .ep-title { color: var(--copper-hover); }
.ep-num { width: 34px; flex: none; font-weight: 800; font-size: 18px; color: var(--copper-text); }
.ep-title { flex: 1; min-width: 0; font-weight: 600; font-size: 15px; line-height: 1.3; }
.ep-len { flex: none; font-size: 13px; color: var(--faint); }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature-hero { min-height: 320px; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 26px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: var(--radius); border: 1px solid var(--border); background: transparent; color: var(--white); font-weight: 600; font-size: 14px; cursor: pointer; }
.chip:hover { border-color: var(--copper); }
.chip[aria-pressed="true"] { background: var(--copper); border-color: var(--copper); color: var(--black); }
.titles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.titles li[hidden] { display: none; }
.title-card { display: flex; flex-direction: column; height: 100%; background: var(--charcoal); color: var(--white); text-decoration: none; border-radius: var(--radius); overflow: hidden; transition: transform .15s; }
.title-card:hover { color: var(--white); transform: translateY(-3px); }
.title-art { position: relative; aspect-ratio: 16 / 9; background: var(--deep); display: flex; align-items: flex-end; padding: 18px; overflow: hidden; }
.title-art .watermark { right: -24px; top: -8px; width: 180px; opacity: 0.18; }
.title-name { position: relative; font-weight: 800; font-size: 24px; line-height: 1.02; text-transform: uppercase; }
.title-format { position: absolute; top: 14px; left: 14px; padding: 3px 9px; background: var(--black); color: var(--copper-text); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.title-len { position: absolute; top: 14px; right: 14px; padding: 2px 8px; background: var(--black); font-size: 12px; font-weight: 600; }
.title-body { padding: 16px 18px 20px; }
.title-body p { font-size: 14px; color: var(--text); line-height: 1.45; }
.title-body .small { margin-top: 8px; }

/* ---------- process ---------- */
.patterned { background-color: var(--white); background-image: url("../img/pattern.jpg"); background-image: image-set(url("../img/pattern.webp") type("image/webp"), url("../img/pattern.jpg") type("image/jpeg")); background-size: 520px auto; }
.panel { background: var(--white); color: var(--charcoal); padding: clamp(28px, 5vw, 48px); max-width: 980px; box-shadow: 0 0 0 1px #E6DED5; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 28px; margin-top: 36px; list-style: none; padding: 0; }
.step-num { font-weight: 800; font-size: 34px; color: var(--copper); line-height: 1; }
.steps h3 { margin: 12px 0 6px; font-size: 17px; font-weight: 700; }
.steps p { font-size: 15px; color: var(--body-dark); }
.steps--dark p { color: var(--muted); }
.steps--dark .step-num { color: var(--copper-text); }

/* ---------- copper band ---------- */
.band { background: var(--copper); color: var(--black); }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 48px); align-items: center; padding-block: clamp(56px, 8vw, 80px); }
.band .eyebrow { color: var(--black); }
.band h2 { font-weight: 800; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.02; letter-spacing: -0.02em; }
.band p.lead { color: var(--black); font-weight: 500; margin-top: 16px; }
.band .btn-row { margin-top: 28px; }
.band img { width: 100%; border-radius: var(--radius); }
.band--simple .wrap { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 860px) { .band .wrap, .band--simple .wrap { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .legend { font-size: 14px; font-weight: 600; color: var(--text); }
.input { width: 100%; min-height: 50px; padding: 0 14px; background: var(--black); border: 1px solid var(--border); border-radius: var(--radius); color: var(--white); font-size: 16px; }
textarea.input { padding: 12px 14px; min-height: 130px; resize: vertical; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23D08A2E' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
select.input option { background: var(--charcoal); }
.input::placeholder { color: #8C847C; }
.input:focus { border-color: var(--copper); outline: none; box-shadow: 0 0 0 3px rgba(175, 104, 17, 0.35); }
input[type="date"].input { color-scheme: dark; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; color: var(--text); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--copper); }
.hp { position: absolute; left: -9999px; }
.form-status { display: none; padding: 18px 20px; border-left: 4px solid var(--copper); background: var(--deep); }
.form-status.is-visible { display: block; }
.form-status strong { display: block; font-size: 17px; margin-bottom: 4px; }
.form-status.is-error { border-left-color: #E5484D; }
.form-card { padding: clamp(24px, 4vw, 32px); background: var(--charcoal); border-top: 4px solid var(--copper); }
.form-card .input { background: var(--black); }
.inline-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.inline-form .field { flex: 1 1 260px; }
.inline-form .btn { min-height: 50px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- split layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 56px); align-items: start; }
.split--center { align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex: none; margin-top: 2px; }

/* ---------- contact ---------- */
.facts { margin: 0; padding: clamp(24px, 4vw, 28px); background: var(--charcoal); border: 1px solid var(--line); }
.facts h2 { font-size: 22px; font-weight: 800; margin-bottom: 18px; }
.facts dl > div { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.facts dl > div:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; font-style: normal; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { flex: none; margin-top: 2px; }
.contact-list .label { display: block; font-size: 13px; color: var(--muted); }
.contact-list a { color: var(--white); }
.contact-list a:hover { color: var(--copper-hover); }

/* ---------- critiflix ---------- */
.cfx-word { font-weight: 800; font-size: clamp(60px, 10vw, 120px); line-height: 0.95; letter-spacing: -0.03em; }
.cfx-tagline { margin-top: 22px; font-weight: 700; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; }
.phone-shot { max-width: 380px; margin-inline: auto; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.shots figure { margin: 0; }
.shots img { width: 100%; border-radius: var(--radius); }
.shots figcaption { margin-top: 16px; }
.shots figcaption strong { display: block; font-size: 20px; font-weight: 800; }
.shots figcaption span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) {
  .shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 320px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .shots figure { scroll-snap-align: start; }
}
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tab { min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 1px solid var(--border); background: transparent; color: var(--white); font-weight: 700; font-size: 15px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--copper); border-color: var(--copper); color: var(--black); }
.feature-card { padding: 28px; background: var(--charcoal); border-top: 3px solid var(--copper); }
.feature-card .num { font-weight: 800; font-size: 32px; color: var(--copper-text); line-height: 1; margin-bottom: 14px; }
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 15px; }
[role="tabpanel"][hidden] { display: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line-soft); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 36px; padding-block: 64px 40px; }
.footer-logo { width: 190px; }
.footer-legal { margin-top: 16px; color: var(--faint); font-size: 13px; max-width: 320px; }
.footer-col h2 { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper-text); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col a { color: var(--white); text-decoration: none; }
.footer-col a:hover { color: var(--copper-hover); }
.footer-col address { font-style: normal; color: var(--faint); font-size: 14px; }
.copyright { padding-block: 0 32px; font-size: 13px; color: #8C847C; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; align-items: center; }
