/* ============================================================
   MALEENA PONE — producer · director
   Deep olive / lemon cream / chartreuse. Editorial print, filmic.
   Distinct from the studio site: roman serif, rules not glass,
   square geometry, margin-split motifs, offset print shadows.
   ============================================================ */

:root {
  --ink: #111111;
  --ink-soft: #333333;
  --olive: #141414;
  --olive-deep: #0a0a0a;
  --chartreuse: #ff6711;
  --chartreuse-bright: #ff955e;
  --chartreuse-deep: #b44200;
  --cream: #ffffff;
  --cream-deep: #f2f2ee;
  --paper: #ffffff;
  --line: #e4e4de;
  --muted: #666666;
  --white: #ffffff;
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 6px;
}

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

body {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 16px; line-height: 1.7; color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 2000; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--chartreuse); color: var(--ink); }
img { max-width: 100%; display: block; }

/* ---------- type ---------- */
h1, h2, h3, .serif {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500; line-height: 1.06; letter-spacing: 0.002em;
}
h1 b, h2 b, h3 b { font-weight: 600; }
.display { font-size: clamp(3rem, 7.5vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 0.5em; }
h3 { font-size: 1.5rem; margin-bottom: 0.4em; }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.26rem); line-height: 1.65; color: var(--ink-soft); }
.muted { color: var(--muted); }
.kicker {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--chartreuse-deep); margin-bottom: 1.1rem;
}
.on-dark .kicker { color: var(--chartreuse); }

/* margin-split motif: flanking small caps over a hairline */
.margin-split {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px; margin-bottom: 30px;
}
.on-dark .margin-split { color: rgba(255,255,255,0.6); border-color: rgba(255, 103, 17,0.25); }

/* ---------- topline ---------- */
.topline {
  background: var(--olive-deep); color: rgba(255,255,255,0.8);
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
  text-align: center; padding: 8px 16px;
}
.topline b { color: var(--chartreuse); font-weight: 700; }

/* ---------- layout ---------- */
.container { width: min(1140px, calc(100% - 48px)); margin: 0 auto; }
.container--narrow { width: min(780px, calc(100% - 48px)); margin: 0 auto; }
section { padding: clamp(72px, 10vw, 124px) 0; }
.section-tight { padding: clamp(44px, 6vw, 76px) 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 880px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.wordmark {
  font-family: "Cormorant Garamond", serif; font-weight: 600;
  font-size: 1.22rem; letter-spacing: 0.16em; color: var(--ink); text-decoration: none;
}
.wordmark span { color: var(--chartreuse-deep); }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a:not(.btn) {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-soft); text-decoration: none;
  padding-bottom: 3px; border-bottom: 1.5px solid transparent;
  transition: border-color 0.25s var(--ease-spring), color 0.25s var(--ease-spring);
}
.nav-links a:not(.btn):hover { color: var(--ink); border-bottom-color: var(--chartreuse-deep); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--ink); cursor: pointer; }
@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--cream); padding: 18px 24px 24px; border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a:not(.btn) { display: block; padding: 10px 0; font-size: 1rem; }
  .nav-links .btn { margin-top: 10px; }
}

/* ---------- buttons: square, print-like ---------- */
.btn {
  display: inline-block; font-family: "Inter", sans-serif;
  font-size: 0.86rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 14px 28px; border-radius: 3px;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-spring), background 0.3s;
}
.btn--primary {
  color: var(--ink); background: var(--chartreuse);
  box-shadow: 4px 4px 0 var(--olive);
}
.btn--primary:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--olive); background: var(--chartreuse-bright); }
.btn--primary:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--olive); }
.btn--dark {
  color: var(--cream); background: var(--olive);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.25);
}
.btn--dark:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 rgba(0,0,0,0.3); }
.btn--ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--light {
  color: var(--ink); background: var(--cream);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.4);
}
.btn--light:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 rgba(0,0,0,0.45); }
.btn-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

/* ---------- hero ---------- */
.hero-film {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  color: var(--white); background-size: cover; background-position: center 28%;
}
.hero-film::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.93) 100%);
}
.hero-film .container { position: relative; z-index: 2; padding-bottom: clamp(56px, 8vw, 100px); }
.hero-film .kicker { color: var(--chartreuse); }
.hero-film .lead { color: rgba(255,254,247,0.9); max-width: 640px; }
.hero-name { font-size: clamp(3.8rem, 10vw, 7.5rem); line-height: 0.92; font-weight: 500; }

/* ---------- editorial hero (typographic, no photo) ---------- */
.hero-editorial {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #1a1a1a 0%, var(--olive) 50%, var(--olive-deep) 100%);
  color: var(--cream);
  padding: clamp(90px, 14vh, 150px) 0 clamp(56px, 9vh, 96px);
}
.hero-editorial::before {
  content: ""; position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none;
  width: 640px; height: 640px; background: rgba(255, 103, 17,0.14); top: -220px; right: -160px;
}
.hero-video {
  position: absolute; inset: 0; overflow: hidden; opacity: 0.38;
}
/* ⏸ UNUSED as of 2026-08-13 — the hero markup is commented out in index.html while
   Maleena prepares a purpose-cut clip for this section. These rules are kept so the
   loop can be reinstated by restoring the div and dropping in her Vimeo id.
   NOTE for whoever does that: do NOT use a deep #t= offset. Seeking far into a long
   film makes the player buffer for ~15s before anything appears. A short clip that
   starts at 0 is the right source for a background loop. */
.hero-video iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw; min-height: 110%; min-width: 195vh;
  transform: translate(-50%, -50%);
  pointer-events: none; border: 0;
}
.hero-editorial .overlay {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.68) 55%, rgba(0,0,0,0.85) 100%);
}
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-editorial .container { position: relative; z-index: 2; }
.hero-editorial .kicker { color: var(--chartreuse); }
.hero-editorial .lead { color: rgba(255,255,255,0.88); max-width: 640px; }
.hero-editorial .hero-name { color: var(--cream); }
.hero-editorial .hero-name .accent { color: var(--chartreuse); }
.hero-logos {
  margin-top: clamp(40px, 6vh, 64px);
  border-top: 1px solid rgba(255, 103, 17,0.3);
  padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  max-width: 840px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ---------- strips ---------- */
.strip {
  background: var(--olive-deep); padding: 22px 0;
  border-top: 2px solid var(--chartreuse); border-bottom: 1px solid rgba(255, 103, 17,0.2);
}
.strip-inner { display: flex; flex-wrap: wrap; gap: 12px 38px; align-items: center; justify-content: center; }
.strip span { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(255,255,255,0.85); text-align: center; }
.strip span b { color: var(--chartreuse); font-weight: 700; }
.logo-row { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: baseline; justify-content: center; padding: 8px 0; }
.logo-row span {
  font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 1.3rem;
  color: var(--muted); letter-spacing: 0.03em;
}

/* ---------- editorial cards: rules, not glass ---------- */
.card {
  background: transparent; border: 0; border-top: 2px solid var(--olive);
  border-radius: 0; box-shadow: none; padding: 24px 0 0;
  transition: none;
}
.card:hover { transform: none; box-shadow: none; }
.card p { font-size: 0.95rem; color: var(--ink-soft); }
.card-link {
  display: inline-block; margin-top: 16px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.03em;
  color: var(--ink); text-decoration: none;
  border-bottom: 1.5px solid var(--chartreuse-deep); padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.card-link:hover { color: var(--chartreuse-deep); }

/* ---------- work grid & cases ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 26px 0 10px; }
.filter-btn {
  font-family: "Inter", sans-serif; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 3px; cursor: pointer;
  color: var(--ink-soft); background: transparent; border: 1.5px solid var(--line);
  transition: all 0.3s var(--ease-spring);
}
.filter-btn:hover { border-color: var(--olive); color: var(--ink); }
.filter-btn.active { color: var(--cream); border-color: var(--olive); background: var(--olive); }
.case { padding: clamp(44px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.case:last-child { border-bottom: 0; }
.case.hidden { display: none; }
.case-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; margin-bottom: 8px; }
.case-head h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin: 0; font-weight: 500; }
.role-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream); background: var(--olive);
  padding: 5px 12px; border-radius: 3px; white-space: nowrap;
}
.case-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.case-body { margin-top: 18px; }
.result-line { font-size: 0.92rem; font-weight: 700; color: var(--chartreuse-deep); margin-top: 14px; letter-spacing: 0.02em; }

/* typographic card for films pending rehost */
.type-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--olive);
  min-height: 300px; display: flex; align-items: center; justify-content: center;
  box-shadow: 8px 8px 0 var(--chartreuse);
}
.type-card span {
  font-family: "Cormorant Garamond", serif; font-weight: 500; font-style: italic;
  font-size: clamp(2rem, 4vw, 3.2rem); color: var(--chartreuse);
  text-align: center; padding: 30px; line-height: 1.1;
}

/* ---------- frames & video ---------- */
.frame { position: relative; }
.frame img { border-radius: var(--radius); box-shadow: 0 2px 6px rgba(0,0,0,0.1), 0 24px 48px rgba(0,0,0,0.16); }
.frame--accent img { box-shadow: 10px 10px 0 var(--chartreuse), 0 24px 48px rgba(0,0,0,0.16); }
.caption { font-size: 0.8rem; color: var(--muted); margin-top: 16px; letter-spacing: 0.02em; }
.video-frame {
  position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden;
  box-shadow: 10px 10px 0 rgba(255, 103, 17,0.55), 0 24px 54px rgba(0,0,0,0.28);
  background: var(--olive-deep);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame--tall { padding-top: 130%; width: 300px; max-width: 100%; margin: 0 auto; }

/* ---------- quotes: rule-led, editorial ---------- */
.quote-card {
  background: transparent; border: 0; border-left: 2px solid var(--chartreuse-deep);
  border-radius: 0; box-shadow: none; padding: 6px 0 6px 24px;
}
.quote-card blockquote {
  font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 500;
  font-size: 1.28rem; line-height: 1.42; color: var(--ink); margin-bottom: 16px;
}
.quote-who .name { font-size: 0.88rem; font-weight: 700; }
.quote-who .role { font-size: 0.78rem; color: var(--muted); }

/* ---------- dark sections ---------- */
.dark-section {
  position: relative;
  background: linear-gradient(160deg, #1a1a1a 0%, var(--olive) 50%, var(--olive-deep) 100%);
  color: var(--cream); overflow: hidden;
}
.dark-section::before {
  content: ""; position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none;
  width: 520px; height: 520px; background: rgba(255, 103, 17,0.12); top: -180px; right: -140px;
}
.dark-section .container, .dark-section .container--narrow { position: relative; z-index: 2; }
.dark-section .lead { color: rgba(255,255,255,0.85); }
.dark-section .muted { color: rgba(255,255,255,0.62); }

.glow-card {
  position: relative;
  background: rgba(255,255,255,0.045);
  border: 0; border-top: 2px solid var(--chartreuse);
  border-radius: 0; padding: 26px 24px;
}
.glow-card::before { display: none; }

/* stats */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 880px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat { border-top: 2px solid var(--chartreuse); padding-top: 16px; }
.stat .num {
  font-family: "Cormorant Garamond", serif; font-weight: 500;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem); color: var(--chartreuse);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.stat .lbl { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 8px; }

/* tick list */
.tick-list { list-style: none; margin-top: 16px; }
.tick-list li { padding: 13px 0 13px 32px; position: relative; border-bottom: 1px solid rgba(255, 103, 17,0.18); font-size: 0.96rem; }
.tick-list li:last-child { border-bottom: 0; }
.tick-list li::before { content: "—"; position: absolute; left: 0; color: var(--chartreuse); font-weight: 700; }
.light .tick-list li { border-color: var(--line); }
.light .tick-list li::before { color: var(--chartreuse-deep); }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--chartreuse-deep); display: block; margin-bottom: 7px; }
.on-dark .form label { color: var(--chartreuse); }
.form input, .form select, .form textarea {
  width: 100%; font-family: "Inter", sans-serif; font-size: 0.95rem;
  padding: 14px 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--chartreuse-deep);
  box-shadow: 3px 3px 0 rgba(255, 103, 17,0.5);
}
.form textarea { min-height: 120px; resize: vertical; }
.hidden { display: none; }

/* ---------- footer ---------- */
footer { background: var(--olive-deep); border-top: 2px solid var(--chartreuse); color: rgba(255,255,255,0.78); padding: 64px 0 40px; }
footer .wordmark { color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
footer h4 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--chartreuse); margin-bottom: 14px; }
footer ul { list-style: none; }
footer li { margin-bottom: 9px; }
footer a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 0.9rem; transition: color 0.25s; }
footer a:hover { color: var(--chartreuse); }
.footer-tag { font-size: 0.92rem; max-width: 360px; margin-top: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 103, 17,0.18); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
}
.footer-bottom a { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* utility */
.center { text-align: center; }
.mt-1 { margin-top: 14px; } .mt-2 { margin-top: 28px; } .mt-3 { margin-top: 48px; }
.divider { width: 64px; height: 2px; background: var(--chartreuse-deep); border: 0; margin: 24px 0; }
.center .divider { margin-left: auto; margin-right: auto; }

/* ---------- at-work collage ---------- */
.work-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.work-collage img { width: 100%; height: 170px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 2px 6px rgba(0,0,0,0.14); }
.work-collage img:nth-child(1), .work-collage img:nth-child(4) { grid-column: 1 / -1; height: 250px; }

/* type-card: mark placeholders as intentional */
.type-card-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.type-card-note {
  font-family: "Inter", sans-serif; font-style: normal;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255, 103, 17,0.35); padding-top: 10px;
}

.type-card-link {
  font-family: "Inter", sans-serif; font-style: normal;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--chartreuse); text-decoration: none;
  border-top: 1px solid rgba(255, 103, 17,0.35); padding-top: 10px;
  transition: color 0.25s;
}
.type-card-link:hover { color: var(--chartreuse-bright); text-decoration: underline; }
