/* ==========================================================================
   Rami Younes — styles
   Palette: warm cream, deep charcoal, pomegranate accent, olive secondary.
   Uses logical properties (inline-start/end) so Arabic RTL works automatically.
   ========================================================================== */

:root {
  --cream: #faf4ea;
  --cream-2: #f3e9da;
  --paper: #fffdf9;
  --ink: #221e1b;
  --ink-2: #463e37;
  --muted: #6a6057;
  --line: #e4d7c3;
  --accent: #a8322d;        /* pomegranate */
  --accent-dark: #8a2621;
  --accent-soft: #f6e1dc;
  --olive: #5e6b3a;
  --olive-soft: #e9ead9;
  --gold: #e0b25c;          /* used only on dark backgrounds */

  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(34, 30, 27, 0.05), 0 8px 28px rgba(34, 30, 27, 0.07);
  --shadow-lg: 0 2px 4px rgba(34, 30, 27, 0.06), 0 22px 50px rgba(34, 30, 27, 0.14);
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Arabic: DM fonts have no Arabic glyphs, so use good system Arabic fonts */
:root:lang(ar) {
  --serif: 'Segoe UI', Tahoma, 'Geeza Pro', 'Noto Naskh Arabic', serif;
  --sans: 'Segoe UI', Tahoma, 'Geeza Pro', 'Noto Sans Arabic', system-ui, sans-serif;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir='rtl'] .flip-rtl { transform: scaleX(-1); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.section-dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold); }

.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;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
:lang(ar) .eyebrow { letter-spacing: 0; font-size: 0.95rem; }

.display,
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.display { font-size: clamp(2.6rem, 8vw, 4.6rem); margin-top: 18px; }
.h2 { font-size: clamp(2.1rem, 5.5vw, 3.2rem); margin-top: 12px; }
.display em,
.h2 em { font-style: italic; color: var(--accent); }
:lang(ar) .display, :lang(ar) .h2 { font-weight: 700; line-height: 1.3; letter-spacing: 0; }
:lang(ar) .display em, :lang(ar) .h2 em { font-style: normal; }

.lead {
  margin-top: 18px;
  font-size: 1.15rem;
  color: var(--ink-2);
  max-width: 60ch;
}

h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.2;
}
:lang(ar) h3 { font-weight: 700; font-size: 1.3rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(168, 50, 45, 0.25); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.center { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 244, 234, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(34, 30, 27, 0.05); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.wordmark {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { font-style: italic; color: var(--accent); }

.nav-links {
  display: none;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--ink-2);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--accent); border-bottom-color: currentColor; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { display: none; min-height: 42px; padding: 8px 18px; font-size: 0.95rem; }

.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
.lang-toggle button {
  min-width: 36px;
  min-height: 34px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.lang-toggle button[lang='ar'] { font-size: 1rem; line-height: 1; padding-bottom: 3px; font-family: 'Segoe UI', Tahoma, sans-serif; }
.lang-toggle button[aria-pressed='true'] { background: var(--ink); color: var(--cream); }

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded='true'] .icon-open { display: none; }
.menu-toggle[aria-expanded='true'] .icon-close { display: block; }

/* Mobile menu panel */
.nav-links.is-open {
  display: block;
  position: absolute;
  top: var(--header-h);
  inset-inline: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(34, 30, 27, 0.08);
  padding: 8px 20px 20px;
}
.nav-links.is-open a { display: block; padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.nav-links.is-open li:last-child a { border-bottom: 0; }

@media (min-width: 640px) {
  .nav-cta { display: inline-flex; }
}
@media (min-width: 1100px) {
  .nav-links { display: flex; gap: 26px; }
  .menu-toggle { display: none; }
}

/* ---------- Motif divider (eight-point star band) ---------- */
.motif {
  height: 24px;
  max-width: 1180px;
  margin-inline: auto;
  background: url('assets/motif.svg') center / 40px 24px repeat-x;
  opacity: 0.75;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}

/* ---------- Sections ---------- */
.section { padding-block: 72px; }
.section-tint { background: var(--cream-2); }
.section-dark { background: var(--ink); color: var(--cream); }
.section-dark .eyebrow { color: var(--gold); }
.section-dark .h2 em { color: var(--gold); }
.section-head { margin-bottom: 40px; }
@media (min-width: 900px) {
  .section { padding-block: 112px; }
  .section-head { margin-bottom: 56px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: 40px 64px; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  inset-inline-end: -180px;
  top: -140px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224, 178, 92, 0.28), transparent);
  pointer-events: none;
}
.hero-grid { display: grid; gap: 48px; align-items: center; position: relative; }
.hero-copy .lead { font-size: 1.2rem; }

.hero-social { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-social-label { font-size: 0.9rem; font-weight: 500; color: var(--muted); }

.social-icons { display: flex; gap: 8px; }
.social-icons a {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.social-icons a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }

.hero-media { position: relative; max-width: 460px; margin-inline: auto; width: 100%; padding-bottom: 28px; }
.hero-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--cream-2);
}
.hero-badge {
  position: absolute;
  inset-inline-start: -12px;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--muted);
  transition: transform 0.2s var(--ease);
}
.hero-badge:hover { transform: translateY(-2px); }
.hero-badge .icon { width: 28px; height: 28px; color: var(--accent); }
.hero-badge strong { display: block; font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 1.7rem; line-height: 1; color: var(--ink); }
@media (min-width: 900px) {
  .hero { padding-block: 72px 104px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
  .hero-badge { inset-inline-start: -40px; }
}

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: var(--cream); padding-block: 36px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
.stat { display: grid; justify-items: center; text-align: center; gap: 4px; }
.stat .icon { width: 26px; height: 26px; color: var(--gold); margin-bottom: 4px; }
.stat-value { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(2rem, 6vw, 2.6rem); line-height: 1.1; }
.stat-label { font-size: 0.9rem; color: rgba(250, 244, 234, 0.72); }
@media (min-width: 760px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat + .stat { border-inline-start: 1px solid rgba(250, 244, 234, 0.14); }
}

/* ---------- About ---------- */
.about-grid { display: grid; gap: 36px; align-items: start; }
.about-grid p:not(.eyebrow) { margin-top: 18px; color: var(--ink-2); max-width: 62ch; }
.about-grid .h2 { margin-bottom: 8px; }
.highlights {
  background: var(--olive-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.highlights ul { display: grid; gap: 18px; }
.highlights li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.highlights .icon { color: var(--olive); width: 22px; height: 22px; margin-top: 3px; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.25fr 0.75fr; gap: 64px; align-items: center; }
  .highlights { padding: 36px; }
}

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 18px; }
@media (min-width: 640px) {
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin-top: 18px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 1rem; }

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
}
.card-icon .icon { width: 26px; height: 26px; }

.card.service { display: flex; gap: 20px; align-items: flex-start; }
.card.service h3 { margin-top: 4px; }

/* ---------- Featured work ---------- */
/* Reel covers are 9:16 posters: show them whole, two per row on phones */
.card-grid.featured-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .card-grid.featured-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .card-grid.featured-grid { grid-template-columns: repeat(6, 1fr); gap: 16px; } }
.featured-grid .work-body { padding: 14px 14px 16px; }
.featured-grid .work-body h3 { font-size: 1.02rem; line-height: 1.3; }
.featured-grid .work-meta { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 0.85rem; }
:lang(ar) .featured-grid .work-body h3 { font-size: 0.98rem; }
.work-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-thumb { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--line); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.05); }
.badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.94);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}
.badge .icon { width: 16px; height: 16px; color: var(--accent); }
.work-body { padding: 20px 22px 22px; }
.work-body h3 { font-size: 1.3rem; }
.work-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; font-size: 0.92rem; color: var(--muted); }
.work-meta .loc, .work-meta .watch { display: inline-flex; align-items: center; gap: 6px; }
.work-meta .icon { width: 16px; height: 16px; }
.work-meta .watch { color: var(--accent); font-weight: 700; }
[dir='rtl'] .work-meta .watch .icon { transform: scaleX(-1); }

/* YouTube facade */
.video-feature { margin-top: 48px; }
.yt-facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
}
.yt-facade .yt-poster { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: opacity 0.3s, transform 0.7s var(--ease); }
.yt-facade:hover .yt-poster { opacity: 0.9; transform: scale(1.02); }
.yt-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px; height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s var(--ease);
}
.yt-play .icon { width: 36px; height: 36px; margin-inline-start: 4px; }
.yt-facade:hover .yt-play { transform: scale(1.08); }
.yt-soon {
  display: none;
  position: absolute;
  inset-inline-start: 50%;
  bottom: 22px;
  translate: -50% 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(34, 30, 27, 0.75);
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 500;
}
[dir='rtl'] .yt-soon { translate: 50% 0; }
.yt-facade.is-empty { cursor: default; }
.yt-facade.is-empty .yt-soon { display: block; }
.yt-facade.is-empty .yt-play { background: rgba(255, 255, 255, 0.25); }
.video-feature iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-lg); display: block; background: #000; }
.video-feature figcaption { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-weight: 500; }
.video-feature figcaption .icon { color: var(--accent); }

/* ---------- Process ---------- */
.steps { display: grid; gap: 32px; counter-reset: step; }
.step { position: relative; padding-top: 22px; border-top: 1px solid rgba(250, 244, 234, 0.18); }
.step-n { font-family: 'DM Serif Display', Georgia, serif; font-size: 2.8rem; line-height: 1; color: var(--gold); }
.step h3 { margin-top: 14px; }
.step p { margin-top: 8px; color: rgba(250, 244, 234, 0.74); font-size: 1rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Social proof ---------- */
.partner-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 36px; }
.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 104px;
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  text-align: center;
  transition: border-color 0.2s, transform 0.3s var(--ease);
}
.partner:hover { border-color: var(--accent); transform: translateY(-2px); }
.partner-name { font-family: 'DM Serif Display', Georgia, serif; font-size: 1.15rem; line-height: 1.2; color: var(--ink); }
.partner-sub { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive); }
.partner img { max-height: 56px; width: auto; }
@media (min-width: 640px) { .partner-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .partner-row { grid-template-columns: repeat(6, 1fr); } }

.quote blockquote { font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; }
.quote blockquote::before { content: '“'; display: block; font-size: 3rem; line-height: 0.8; color: var(--accent); }
:lang(ar) .quote blockquote::before { content: '”'; }
.quote figcaption { margin-top: 18px; font-size: 0.92rem; font-weight: 700; color: var(--ink-2); }
.quote.placeholder { border-style: dashed; box-shadow: none; background: transparent; }
.quote.placeholder blockquote { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } }
.small-title { margin-top: 36px; font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .small-title { letter-spacing: 0; font-size: 0.95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip .icon { width: 18px; height: 18px; color: var(--accent); }
.chip [data-email-text] { direction: ltr; unicode-bidi: isolate; }

.contact-form { padding: 24px; }
.contact-form:hover { transform: none; }
@media (min-width: 640px) { .contact-form { padding: 36px; } }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: 0.92rem; font-weight: 700; }
.req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(168, 50, 45, 0.15); }
.field [aria-invalid='true'] { border-color: var(--accent); background: var(--accent-soft); }
.field input[type='email'] { direction: ltr; }
[dir='rtl'] .field input[type='email'] { text-align: right; }
.form-status { margin-top: 14px; font-weight: 500; min-height: 1.5em; }
.form-status.is-success { color: var(--olive); }
.form-status.is-error { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding-block: 48px 36px; }
.site-footer .wordmark span { color: var(--gold); }
.footer-grid { display: grid; gap: 26px; justify-items: center; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer-links a { text-decoration: none; color: rgba(250, 244, 234, 0.8); }
.footer-links a:hover { color: var(--gold); }
.site-footer .social-icons a { background: transparent; border-color: rgba(250, 244, 234, 0.22); color: var(--cream); }
.site-footer .social-icons a:hover { background: var(--accent); border-color: var(--accent); }
.copyright { font-size: 0.88rem; color: rgba(250, 244, 234, 0.6); }

/* ---------- Scroll reveal (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Media / press ---------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.media-item {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.media-item h3 { margin: 10px 0 12px; font-size: 1.75rem; }
.media-item > p:not(.media-year) { color: var(--muted); }
.media-year { color: var(--accent); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.media-link { align-self: flex-start; margin-top: auto; padding-top: 18px; color: var(--accent); font-size: .9rem; font-weight: 700; text-decoration: none; }
.media-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.media-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 760px) { .media-grid { grid-template-columns: 1fr; } .media-item { min-height: auto; } }

.contact-direct { display: flex; flex-direction: column; justify-content: center; gap: 1.25rem; padding: clamp(1.5rem,4vw,3rem); }
.contact-direct h3 { font-size: clamp(1.5rem,2.5vw,2rem); margin: 0; }
.contact-direct p { margin: 0; line-height: 1.6; }
.contact-direct .btn { align-self: flex-start; }

/* Editorial additions within the existing visual system */
.story-inner { max-width: 940px; }
.story-inner .lead { max-width: 820px; line-height: 1.7; }
.tarfa-note { display: flex; align-items: flex-start; gap: 20px; margin-top: 32px; padding: clamp(1.5rem, 3vw, 2.5rem); }
.tarfa-note h3 { margin-bottom: 10px; }
.tarfa-note p { margin: 0; line-height: 1.65; }
.contact-direct .btn-ghost { border: 1px solid var(--line); color: var(--ink); }
@media (max-width: 600px) { .tarfa-note { flex-direction: column; } }
