/*
Theme Name: CINELUX Creative
Theme URI: https://cineluxcreative.com
Author: CINELUX
Author URI: https://cineluxcreative.com
Description: Tema one-page premium para CINELUX Creative — Cinematic Real Estate em Portugal.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
Text Domain: cineluxcreative
*/

:root {
  --black: #050403;
  --black-2: #0b0906;
  --cream: #f7f0e3;
  --cream-soft: rgba(247, 240, 227, 0.72);
  --muted: #b9ad98;
  --gold: #d8b46a;
  --gold-2: #9b6d2d;
  --line: rgba(247, 240, 227, 0.14);
  --line-gold: rgba(216, 180, 106, 0.35);
  --panel: rgba(255, 250, 239, 0.055);
  --panel-strong: rgba(255, 250, 239, 0.11);
  --shadow: 0 34px 110px rgba(0, 0, 0, 0.55);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --scroll-progress: 0;
  --hero-drift: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--cream);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 72% 0%, rgba(216, 180, 106, 0.16), transparent 30rem),
    radial-gradient(circle at 9% 22%, rgba(155, 109, 45, 0.2), transparent 35rem),
    linear-gradient(120deg, #030302 0%, #100d09 48%, #050403 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  opacity: 0.32;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.024) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
::selection { color: var(--black); background: var(--gold); }
section[id] { scroll-margin-top: 112px; }

.grain,
.spotlight,
.cursor-glow {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.grain {
  opacity: 0.16;
  mix-blend-mode: soft-light;
  background-image: repeating-radial-gradient(circle at 0 0, rgba(255,255,255,0.9) 0 1px, transparent 1px 5px);
  filter: contrast(160%);
}

.spotlight {
  background:
    radial-gradient(circle at 50% 10%, rgba(247, 240, 227, 0.08), transparent 24rem),
    radial-gradient(circle at 87% 50%, rgba(216, 180, 106, 0.13), transparent 28rem);
}

.cursor-glow {
  width: 22rem;
  height: 22rem;
  inset: auto;
  border-radius: 999px;
  opacity: 0;
  background: radial-gradient(circle, rgba(216, 180, 106, 0.2), transparent 68%);
  transform: translate(-50%, -50%);
  transition: opacity 220ms ease;
}

body.has-pointer .cursor-glow { opacity: 1; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #f4d98f 18%, var(--gold), transparent);
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
}

.film-strip {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 22px;
  pointer-events: none;
  opacity: 0.22;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(247, 240, 227, 0.18) 0 12px,
      transparent 12px 34px
    );
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 82%, transparent);
}

.film-strip-left { left: 14px; }
.film-strip-right { right: 14px; }

.opening-frame {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, rgba(216, 180, 106, 0.13), transparent 24rem),
    #050403;
  animation: openingFrame 2200ms var(--ease) 300ms forwards;
}

.opening-frame::before,
.opening-frame::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  content: "";
  background: #050403;
  animation: shutterOpen 1700ms var(--ease) 650ms forwards;
}

.opening-frame::before { top: 0; border-bottom: 1px solid rgba(216, 180, 106, 0.22); }
.opening-frame::after { bottom: 0; border-top: 1px solid rgba(216, 180, 106, 0.22); }

.opening-frame img,
.opening-frame span {
  position: relative;
  z-index: 1;
}

.opening-frame img {
  width: min(420px, 70vw);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  animation: openingLogo 1200ms var(--ease) forwards;
}

.opening-frame span {
  position: absolute;
  bottom: clamp(44px, 9vh, 96px);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0;
  animation: openingText 1200ms var(--ease) 300ms forwards;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  width: min(1220px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 13px 16px 13px 20px;
  border: 1px solid rgba(247, 240, 227, 0.13);
  border-radius: 999px;
  background: rgba(5, 4, 3, 0.58);
  backdrop-filter: blur(22px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.24);
  transform: translateX(-50%);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(216, 180, 106, 0.3);
  background: rgba(5, 4, 3, 0.82);
  box-shadow: 0 20px 90px rgba(0, 0, 0, 0.44);
}

body.admin-bar .site-header { top: 32px; }

.brand img {
  width: 178px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(247, 240, 227, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover {
  color: var(--cream);
  background: rgba(247, 240, 227, 0.08);
}

.site-nav a.nav-cta {
  color: #120d06;
  background: linear-gradient(135deg, #f3d98f, var(--gold) 58%, #9f722d);
  box-shadow: 0 12px 32px rgba(216, 180, 106, 0.18);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(247, 240, 227, 0.18);
  border-radius: 999px;
  color: var(--cream);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.section-pad {
  width: min(1220px, calc(100% - 34px));
  margin: 0 auto;
  padding: 112px 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.74fr);
  align-items: center;
  gap: 58px;
  padding-top: 136px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  inset: 8% -30% auto;
  height: 36%;
  content: "";
  pointer-events: none;
  opacity: 0.2;
  background: linear-gradient(100deg, transparent 16%, rgba(247, 240, 227, 0.16), transparent 62%);
  filter: blur(22px);
  transform: translateX(-30%) rotate(-8deg);
  animation: lightSweep 7800ms var(--ease) 2400ms infinite;
}

.hero-bg-logo {
  position: absolute;
  top: 12%;
  left: -2%;
  width: min(980px, 96vw);
  opacity: 0.035;
  filter: blur(0.2px);
  transform: rotate(-1deg);
  translate: 0 calc(var(--hero-drift) * 0.08);
}

.hero-frame {
  position: absolute;
  inset: 108px 0 42px;
  pointer-events: none;
  opacity: 0.42;
  border: 1px solid rgba(216, 180, 106, 0.11);
  border-radius: 38px;
}

.hero-frame::before,
.hero-frame::after {
  position: absolute;
  left: 28px;
  right: 28px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(216, 180, 106, 0.35), transparent);
}

.hero-frame::before { top: 24px; }
.hero-frame::after { bottom: 24px; }

.hero-copy {
  position: relative;
  z-index: 1;
  translate: 0 calc(var(--hero-drift) * -0.055);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(4rem, 7.2vw, 7.3rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 6.4vw, 6.8rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--cream-soft);
  font-size: clamp(1.05rem, 1.65vw, 1.28rem);
  line-height: 1.75;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.btn.primary {
  color: #120d06;
  background: linear-gradient(135deg, #f3d98f, var(--gold) 55%, #9f722d);
  box-shadow: 0 20px 54px rgba(216, 180, 106, 0.24);
}

.btn.ghost {
  border: 1px solid rgba(247, 240, 227, 0.17);
  color: rgba(247, 240, 227, 0.8);
  background: rgba(247, 240, 227, 0.04);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-meta span {
  padding: 9px 12px;
  border: 1px solid rgba(216, 180, 106, 0.18);
  border-radius: 999px;
  color: rgba(247, 240, 227, 0.62);
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-cinema {
  position: relative;
  min-height: 590px;
  perspective: 1300px;
  translate: 0 calc(var(--hero-drift) * 0.095);
}

.hero-cinema::before {
  position: absolute;
  inset: 5% 0 10%;
  content: "";
  border: 1px solid rgba(216, 180, 106, 0.14);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(247, 240, 227, 0.055), transparent 62%);
}

.film-card {
  position: absolute;
  width: min(310px, 78vw);
  min-height: 370px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(247, 240, 227, 0.13);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.62)),
    linear-gradient(140deg, rgba(216, 180, 106, 0.19), transparent 46%),
    rgba(255,255,255,0.045);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.film-card::before {
  position: absolute;
  inset: 14px;
  content: "";
  border: 1px solid rgba(247, 240, 227, 0.07);
  border-radius: 19px;
}

.film-card::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.7;
  background:
    linear-gradient(110deg, transparent, rgba(216,180,106,0.18), transparent),
    repeating-linear-gradient(0deg, transparent 0 12px, rgba(255,255,255,0.035) 12px 13px);
}

.film-card span,
.film-card strong,
.film-card small { position: relative; z-index: 1; }
.film-card span { margin-bottom: auto; color: rgba(247,240,227,0.5); font-size: 0.72rem; letter-spacing: 0.22em; }
.film-card strong { margin-bottom: 8px; font-family: var(--serif); font-size: 2rem; line-height: 0.95; }
.film-card small { color: rgba(247,240,227,0.66); line-height: 1.5; }

.card-a { top: 0; left: 5%; transform: rotate(-8deg); animation: floatA 7200ms ease-in-out infinite alternate; }
.card-b { top: 18%; right: 0; transform: rotate(7deg) translateZ(70px); animation: floatB 8200ms ease-in-out 400ms infinite alternate; }
.card-c { bottom: 0; left: 21%; transform: rotate(-2deg) translateZ(120px); animation: floatC 7600ms ease-in-out 900ms infinite alternate; }

.scroll-cue {
  position: absolute;
  left: 0;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(247,240,227,0.52);
  font-size: 0.82rem;
}

.scroll-cue span { width: 72px; height: 1px; background: var(--line-gold); }
.scroll-cue p { margin: 0; }

.manifesto {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.manifesto-grid,
.consultants,
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.72fr);
  gap: 72px;
  align-items: start;
}

.manifesto-copy,
.section-intro,
.consultants-copy p,
.about-copy,
.contact-card p {
  color: var(--cream-soft);
  font-size: 1.02rem;
  line-height: 1.85;
}

.section-head {
  max-width: 920px;
  margin-bottom: 52px;
}

.section-intro { max-width: 680px; margin-top: 22px; }

.service-rail {
  border-top: 1px solid var(--line);
}

.service-line {
  display: grid;
  grid-template-columns: 90px minmax(260px, 0.72fr) minmax(280px, 1fr);
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.service-line span,
.step-number {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.service-line p { margin: 0; color: var(--cream-soft); line-height: 1.7; }

.audience-panel,
.proof-panel,
.contact-card {
  border: 1px solid rgba(247,240,227,0.12);
  border-radius: 38px;
  background:
    linear-gradient(110deg, rgba(216,180,106,0.11), transparent 48%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.audience-panel { padding: clamp(34px, 6vw, 72px); }
.audience-panel h2 { max-width: 860px; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 48px;
  border: 1px solid rgba(247,240,227,0.1);
  background: rgba(247,240,227,0.1);
}

.audience-grid div {
  min-height: 180px;
  padding: 24px;
  background: rgba(5,4,3,0.66);
}

.audience-grid strong { display: block; margin-bottom: 42px; font-family: var(--serif); font-size: 1.5rem; line-height: 1; }
.audience-grid span { color: var(--cream-soft); line-height: 1.55; }

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.project-card {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(247,240,227,0.12);
  border-radius: 30px;
  background: rgba(255,255,255,0.045);
  box-shadow: var(--shadow);
}

.project-card.featured { grid-row: span 2; }

.project-media {
  min-height: 280px;
  background:
    linear-gradient(160deg, rgba(216,180,106,0.24), rgba(255,255,255,0.02)),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.22), transparent 20rem),
    #111;
}

.featured .project-media { min-height: 500px; }
.media-miraflores { background-image: linear-gradient(160deg, rgba(216,180,106,0.18), rgba(0,0,0,0.62)), radial-gradient(circle at 70% 25%, rgba(255,255,255,0.2), transparent 18rem), linear-gradient(135deg, #2a2118, #080705); }
.media-terreno { background-image: linear-gradient(160deg, rgba(216,180,106,0.22), rgba(0,0,0,0.6)), linear-gradient(45deg, rgba(255,255,255,0.04) 25%, transparent 25% 50%, rgba(255,255,255,0.04) 50% 75%, transparent 75%), linear-gradient(135deg, #1d261d, #070705); background-size: auto, 42px 42px, auto; }
.media-consultor { background-image: linear-gradient(160deg, rgba(216,180,106,0.2), rgba(0,0,0,0.58)), radial-gradient(circle at 35% 22%, rgba(255,255,255,0.16), transparent 18rem), linear-gradient(135deg, #201a16, #070605); }

.project-info { padding: 24px; }
.project-info span { display: block; margin-bottom: 14px; color: var(--gold); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.project-info p { color: var(--cream-soft); line-height: 1.7; }

.pack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pack {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(247,240,227,0.12);
  border-radius: 30px;
  background: linear-gradient(180deg, var(--panel-strong), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
}

.pack.recommended { border-color: rgba(216,180,106,0.52); background: linear-gradient(180deg, rgba(216,180,106,0.16), rgba(255,255,255,0.035)); }
.pack.signature { background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(216,180,106,0.06)); }
.pack-label { color: var(--gold); font-size: 0.74rem; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; }
.badge { position: absolute; top: 20px; right: 20px; padding: 7px 10px; border-radius: 999px; color: #120d06; background: var(--gold); font-size: 0.68rem; font-weight: 900; }
.pack h3 { margin: 70px 0 18px; font-family: var(--serif); font-size: 3rem; }
.pack p { color: var(--cream-soft); line-height: 1.7; }
.pack ul { display: grid; gap: 9px; margin: auto 0 0; padding: 0; list-style: none; }
.pack li { color: rgba(247,240,227,0.78); font-size: 0.88rem; line-height: 1.45; }
.pack li::before { content: "— "; color: var(--gold); }

.consultants { align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.consultants-copy .btn { margin-top: 12px; }
.consultants-list { display: grid; gap: 10px; }
.consultants-list span { padding: 18px 20px; border: 1px solid rgba(247,240,227,0.12); border-radius: 999px; color: rgba(247,240,227,0.82); background: rgba(255,255,255,0.04); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

blockquote {
  min-height: 300px;
  margin: 0;
  padding: 34px;
  border: 1px solid rgba(247,240,227,0.12);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
}

blockquote::before { content: "“"; display: block; margin-bottom: 18px; color: var(--gold); font-family: var(--serif); font-size: 5rem; line-height: 0.6; }
blockquote p { font-family: var(--serif); font-size: clamp(1.55rem, 2.8vw, 2.35rem); line-height: 1.08; letter-spacing: -0.035em; }
blockquote cite { color: var(--cream-soft); font-style: normal; }

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 0.85fr)) minmax(300px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.founder-card {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(247,240,227,0.12);
  border-radius: 34px;
  background: rgba(255,255,255,0.04);
  box-shadow: var(--shadow);
}

.founder-card img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.05) brightness(0.82);
  transition: transform 700ms var(--ease), filter 700ms ease;
}

.founder-card:hover img { transform: scale(1.035); filter: saturate(0.95) contrast(1.07) brightness(0.9); }
.founder-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 38%, rgba(0,0,0,0.76)); }
.founder-card figcaption { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; }
.founder-card span { display: block; margin-bottom: 8px; color: var(--gold); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.founder-card strong { font-family: var(--serif); font-size: 2.4rem; line-height: 1; }

.about-copy {
  padding: 34px;
  border: 1px solid rgba(247,240,227,0.12);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
}

.contact-card {
  padding: clamp(32px, 6vw, 70px);
}

.contact-lines { display: grid; gap: 10px; margin-top: 26px; color: rgba(247,240,227,0.76); }
.contact-lines a { color: var(--gold); font-weight: 900; }
.contact-actions { margin-top: 28px; }

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(247,240,227,0.7);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(247,240,227,0.14);
  border-radius: 16px;
  outline: none;
  padding: 14px 14px;
  color: var(--cream);
  background: rgba(0,0,0,0.28);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: rgba(216,180,106,0.72); }
.contact-form button { width: 100%; margin-top: 6px; }

.site-footer {
  width: min(1220px, calc(100% - 34px));
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  padding: 36px 0 50px;
  border-top: 1px solid var(--line);
  color: rgba(247,240,227,0.62);
  font-size: 0.88rem;
}
.site-footer img { width: 160px; }
.site-footer div { display: grid; gap: 4px; }
.site-footer strong { color: var(--cream); }
.site-footer a { color: var(--gold); font-weight: 900; }

.reveal {
  opacity: 0;
  clip-path: inset(18% 0 0 0 round 18px);
  filter: blur(10px);
  transform: translateY(42px) scale(0.985);
  transition:
    opacity 900ms var(--ease),
    transform 900ms var(--ease),
    clip-path 900ms var(--ease),
    filter 900ms ease;
}
.reveal.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0 round 0);
  filter: blur(0);
  transform: translateY(0) scale(1);
}

@keyframes openingLogo {
  0% { opacity: 0; transform: translateY(12px) scale(0.96); filter: blur(8px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes openingText {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0.78; transform: translateY(0); }
}

@keyframes shutterOpen {
  0% { transform: translateY(0); }
  100% { transform: translateY(var(--shutter-y, -102%)); }
}

.opening-frame::after { --shutter-y: 102%; }

@keyframes openingFrame {
  0%, 68% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes lightSweep {
  0%, 24% { transform: translateX(-46%) rotate(-8deg); opacity: 0; }
  42% { opacity: 0.2; }
  72%, 100% { transform: translateX(62%) rotate(-8deg); opacity: 0; }
}

@keyframes floatA {
  0% { transform: rotate(-8deg) translateY(0); }
  100% { transform: rotate(-5deg) translateY(-18px); }
}

@keyframes floatB {
  0% { transform: rotate(7deg) translateY(0) translateZ(70px); }
  100% { transform: rotate(4deg) translateY(16px) translateZ(70px); }
}

@keyframes floatC {
  0% { transform: rotate(-2deg) translateY(0) translateZ(120px); }
  100% { transform: rotate(-4deg) translateY(-14px) translateZ(120px); }
}

@media (max-width: 1080px) {
  .site-nav a { padding: 9px 9px; }
  .brand img { width: 150px; }
  .hero, .manifesto-grid, .consultants, .contact-card { grid-template-columns: 1fr; }
  .hero-cinema { min-height: 520px; }
  .audience-grid, .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid, .testimonial-grid, .founders-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-row: auto; }
  .founder-card, .founder-card img { min-height: 620px; }
}

@media (max-width: 860px) {
  body.admin-bar .site-header { top: 46px; }
  .site-header { width: calc(100% - 24px); }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(320px, calc(100vw - 24px));
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(247,240,227,0.13);
    border-radius: 24px;
    background: rgba(5,4,3,0.92);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .site-nav a.nav-cta { text-align: center; }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-toggle.is-open span:first-child { transform: translateY(3px) rotate(45deg); }
  .nav-toggle.is-open span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .service-line { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 640px) {
  .section-pad { width: min(100% - 24px, 1220px); padding: 78px 0; }
  .site-header { margin-top: 10px; padding: 10px 11px 10px 15px; }
  .brand img { width: 136px; }
  .hero { min-height: auto; padding-top: 112px; gap: 38px; }
  h1 { font-size: clamp(3rem, 14vw, 4.45rem); }
  h2 { font-size: clamp(2.45rem, 13vw, 4.2rem); }
  .hero-text { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .hero-meta { margin-top: 22px; }
  .hero-meta span { font-size: 0.66rem; }
  .hero-cinema { min-height: 450px; }
  .film-card { width: 220px; min-height: 285px; padding: 18px; }
  .film-card strong { font-size: 1.45rem; }
  .card-a { left: 0; }
  .card-b { right: 0; }
  .card-c { left: 13%; }
  .scroll-cue { display: none; }
  .audience-grid, .pack-grid { grid-template-columns: 1fr; }
  .pack { min-height: auto; }
  .pack h3 { margin-top: 54px; }
  .featured .project-media, .project-media { min-height: 320px; }
  .founder-card, .founder-card img { min-height: 520px; }
  .contact-card { gap: 34px; border-radius: 28px; }
  .film-strip { display: none; }
  .opening-frame img { width: min(320px, 76vw); }
  .opening-frame span { width: min(320px, 78vw); text-align: center; line-height: 1.8; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .opening-frame { display: none; }
}

.page-content {
  max-width: 980px;
  padding-top: 170px;
}

.entry-content {
  color: var(--cream-soft);
  font-size: 1.05rem;
  line-height: 1.85;
}

.entry-content a { color: var(--gold); font-weight: 800; }
