/* ============================================================
   FANOUS — fanous.css
   Single consolidated stylesheet for the WordPress child theme.
   Upload to: wp-content/themes/Fanous-Child/assets/css/

   Load order (functions.php handles this):
   1. fanous.css  — everything below, always loaded
   Page-specific sections are separated by clear comments.
   ============================================================ */


/* ══════════════════════════════════════════════════════════════
   1. TOKENS & RESET
   ══════════════════════════════════════════════════════════════ */

:root {
  --ink:      #0A0A0A;
  --paper:    #FFFFFF;
  --sand:     #FAF8F5;
  --stone:    #EDE7DD;
  --clay:     #B9AC99;
  --charcoal: #1C1A19;
  --red:      #E11B22;
  --red-deep: #B3151B;

  --display: "Playfair Display", Georgia, serif;
  --serif:   "Source Serif 4", Georgia, serif;
  --ui:      "Inter", system-ui, sans-serif;

  --maxw:   1240px;
  --radius: 3px;
  --trans:  .35s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--serif); background: var(--sand); color: var(--ink);
        line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a     { color: inherit; text-decoration: none; }
img   { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 500;
              line-height: 1.08; letter-spacing: -.01em; }


/* ══════════════════════════════════════════════════════════════
   2. LAYOUT PRIMITIVES
   ══════════════════════════════════════════════════════════════ */

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* Gutenberg constrained layout alignment override */
.wp-block-group.wrap,
.wp-block-columns.wrap { max-width: var(--maxw); padding: 0 32px; }

.eyebrow { font-family: var(--ui); font-size: .72rem; letter-spacing: .22em;
           text-transform: uppercase; color: var(--clay); font-weight: 600;
           display: inline-flex; align-items: center; gap: .6em; }
.eyebrow::before {
  content: "";
  width: 8px; height: 8px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(225,27,34,.6);
  animation: dot-pulse 2s ease-in-out infinite;
}

/* eyebrow used inside Cover blocks (white context) */
.wp-block-cover .eyebrow,
.hero-eyebrow { color: rgba(255,255,255,.7); }
.wp-block-cover .eyebrow::before,
.hero-eyebrow::before { background: var(--red); }

/* ── Animated dot component (fns-dot span) ───────────────────── */
.fns-dot {
  position: relative;
  display: inline-block;
  width: 8px; height: 8px;
  flex-shrink: 0;
}
.fns-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(225,27,34,.6);
  animation: dot-pulse 2s ease-in-out infinite;
}
.fns-dot::after { display: none; }

.tag { font-family: var(--ui); font-size: .7rem; letter-spacing: .14em;
       text-transform: uppercase; font-weight: 600; color: var(--red);
       margin-bottom: 18px; display: inline-block; }

.sec-head     { max-width: 720px; margin-bottom: 60px; }
.sec-head h2,
.sec-head .wp-block-heading { font-size: clamp(2rem, 3.6vw, 3rem); margin: 18px 0 0; }



/* ══════════════════════════════════════════════════════════════
   5. FOOTER
   (Targets WordPress Site Editor footer template part)
   ══════════════════════════════════════════════════════════════ */

.site-footer,
footer#contact { background: var(--charcoal); color: rgba(255,255,255,.7); padding: 80px 0 0; }

.f-grid,
.site-footer .wp-block-columns { display: grid;
                                   grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
                                   gap: 50px; padding-bottom: 60px;
                                   border-bottom: 1px solid rgba(255,255,255,.1); }

.f-brand img,
.footer-logo img { width: 120px; margin-bottom: 22px; }
.f-brand p,
.site-footer .f-brand .wp-block-paragraph { font-family: var(--display); font-style: italic;
                                             font-size: 1.05rem; color: rgba(255,255,255,.6);
                                             max-width: 30ch; }

.site-footer h4,
.site-footer .wp-block-heading { font-family: var(--ui); font-size: .72rem; letter-spacing: .18em;
                                   text-transform: uppercase; color: #fff;
                                   font-weight: 600; margin-bottom: 22px; }
.site-footer ul,
.site-footer .wp-block-list { list-style: none; display: flex; flex-direction: column;
                               gap: 13px; font-family: var(--ui); font-size: .92rem; }
.site-footer ul a,
.site-footer .wp-block-list a { color: rgba(255,255,255,.62); transition: .3s; }
.site-footer ul a:hover,
.site-footer .wp-block-list a:hover { color: var(--red); padding-left: 4px; }

.socials,
.site-footer .socials { display: flex; gap: 14px; margin-top: 8px; }
.socials a,
.site-footer .socials a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.18);
                           border-radius: 50%; display: flex; align-items: center;
                           justify-content: center; transition: .3s;
                           font-family: var(--ui); font-size: .8rem;
                           color: rgba(255,255,255,.7); }
.socials a:hover,
.site-footer .socials a:hover { border-color: var(--red); background: var(--red); color: #fff; }

.f-bottom { display: flex; justify-content: space-between; align-items: center;
            padding: 26px 0; font-family: var(--ui); font-size: .78rem;
            color: rgba(255,255,255,.4); flex-wrap: wrap; gap: 12px; }
.f-bottom a:hover { color: #fff; }

@media (max-width: 920px) {
  .f-grid,
  .site-footer .wp-block-columns { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .f-grid,
  .site-footer .wp-block-columns { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
}


/* ══════════════════════════════════════════════════════════════
   6. UTILITIES & ANIMATIONS
   ══════════════════════════════════════════════════════════════ */

.reveal    { opacity: 0; transform: translateY(30px);
             transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@keyframes rise  { to { opacity: 1; transform: none; } }
@keyframes fade  { to { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(225,27,34,.6); transform: scale(1); }
  50%  { box-shadow: 0 0 0 8px rgba(225,27,34,0);  transform: scale(1.1); }
  100% { box-shadow: 0 0 0 0   rgba(225,27,34,.6); transform: scale(1); }
}

/* WordPress block editor resets */
.wp-block-group { box-sizing: border-box; }
.wp-block-columns { gap: var(--col-gap, 2rem); }

/* Logo swap stability — handled in section 3 above */

@media (min-width: 1441px) { :root { --maxw: min(1800px, calc(100vw - 160px)); } .wrap { padding: 0 40px; } }
@media (min-width: 1600px) { html { font-size: 17px; } .sec-head { margin-bottom: 70px; } }
@media (min-width: 1900px) { html { font-size: 18px; } }


/* ══════════════════════════════════════════════════════════════
   7. SHARED COMPONENTS (all pages)
   ══════════════════════════════════════════════════════════════ */

/* ── Page Hero (Cover block) ─────────────────────────────────── */
/* The Cover block outputs wp-block-cover — we target it with page class modifiers */
.page-hero.wp-block-cover,
.page-hero { background: var(--ink); color: #fff; position: relative;
             display: flex; align-items: flex-end; overflow: hidden; min-height: 70vh; }

/* Cover block internal image */
.page-hero .wp-block-cover__image-background { opacity: .4 !important;
  filter: grayscale(.4) contrast(1.05); }

/* Cover block overlay — replace with gradient */
.page-hero .wp-block-cover__background { background: linear-gradient(0deg,
  rgba(10,10,10,.95), rgba(10,10,10,.15) 55%, rgba(10,10,10,.5)) !important;
  opacity: 1 !important; }

.page-hero .wp-block-cover__inner-container { position: relative; z-index: 2;
                                              width: 100%; align-self: flex-end; }
.page-hero .wrap { padding-top: 150px; padding-bottom: 64px; }
.page-hero h1,
.page-hero .wp-block-heading[data-type="core/heading"] { font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  line-height: .98; margin: 12px 0 16px; color: #fff; }
.page-hero .subtitle { font-family: var(--display); font-style: italic;
                       font-size: clamp(1.05rem, 1.9vw, 1.45rem);
                       color: rgba(255,255,255,.8); max-width: 42ch; line-height: 1.45; }

.about-hero  { min-height: 72vh; }
.art-hero    { min-height: 56vh; } .art-hero  .wp-block-cover__image-background { opacity: .38 !important; }
.con-hero    { min-height: 52vh; } .con-hero  .wp-block-cover__image-background { opacity: .36 !important; }
.found-hero  { min-height: 76vh; } .found-hero .wp-block-cover__image-background { opacity: .48 !important; filter: none !important; }
.prodp-hero  { min-height: 72vh; }
.ppl-hero    { min-height: 64vh; }

@media (max-width: 920px) {
  .page-hero.about-hero { min-height: 62vh; }
  .page-hero.art-hero   { min-height: 48vh; }
  .page-hero.con-hero   { min-height: 46vh; }
  .page-hero.found-hero { min-height: 68vh; }
  .page-hero.prodp-hero { min-height: 62vh; }
  .page-hero.ppl-hero   { min-height: 56vh; }
}


/* ── Page Section ────────────────────────────────────────────── */
.page-section { padding: 110px 0; border-top: 1px solid var(--stone); }
.page-section.sand { background: var(--sand); }
.page-section.dark { background: var(--charcoal); color: #fff; border: none; }
.page-section.dark .sec-head h2 { color: #fff; }
.page-section .sec-head { margin-bottom: 40px; }
@media (max-width: 920px) { .page-section { padding: 70px 0; } }


/* ── Page CTA ────────────────────────────────────────────────── */
.page-cta      { background: var(--ink); color: #fff; text-align: center; padding: 104px 0; }
.page-cta.dark { background: var(--charcoal); }
.page-cta h2,
.page-cta .wp-block-heading { font-size: clamp(1.9rem, 4vw, 2.9rem);
                               max-width: 22ch; margin: 0 auto 24px; color: #fff; }
.page-cta h2 i,
.page-cta .wp-block-heading i { font-style: italic; color: var(--red); }


/* ── Statement (centered intro text) ────────────────────────── */
.statement      { max-width: 1180px; margin: 0 auto; text-align: center; }
.statement .lead { font-family: var(--display); font-size: clamp(2rem, 4.4vw, 3.5rem);
                   line-height: 1.14; max-width: 34ch; margin: 24px auto 28px; color: var(--ink); }
.statement p    { max-width: 66ch; margin: 0 auto; color: #4a4742;
                  font-size: 1.1rem; line-height: 1.75; }
.statement.dark .lead { color: #fff; }
.statement.dark p     { color: rgba(255,255,255,.78); }


/* ── Photo Split (portrait + text) ──────────────────────────── */
.photo-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.photo-split .wp-block-column.photo { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; }
.photo-split .wp-block-column.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-split .wp-block-column.body p { color: #4a4742; font-size: 1.06rem; line-height: 1.75; margin-bottom: 16px; }
@media (max-width: 920px) { .photo-split { grid-template-columns: 1fr; gap: 32px; } }


/* ── Hover Card ──────────────────────────────────────────────── */
.hover-card { background: var(--paper); border: 1px solid var(--stone);
              border-radius: var(--radius); padding: 36px 30px; transition: var(--trans); }
.hover-card.sand { background: var(--sand); }
.hover-card:hover { transform: translateY(-5px); border-color: var(--clay);
                    box-shadow: 0 24px 50px rgba(28,26,25,.07); }
.hover-card .num { font-family: var(--ui); font-size: .72rem; letter-spacing: .2em;
                   color: var(--clay); text-transform: uppercase; font-weight: 600; }
.hover-card h3,
.hover-card .wp-block-heading { font-family: var(--display); font-size: 1.9rem; margin: 12px 0 14px; }
.hover-card h4,
.hover-card .wp-block-heading[data-level="4"] { font-family: var(--display); font-size: 1.35rem; margin-bottom: 11px; }
.hover-card p { color: #4a4742; font-size: 1rem; line-height: 1.7; margin-bottom: 20px; }
.hover-card a  { font-family: var(--ui); font-weight: 600; font-size: .9rem; color: var(--red); }


/* ── Article Cards ───────────────────────────────────────────── */
.acard { background: var(--sand); transition: .35s; cursor: pointer;
         display: flex; flex-direction: column; overflow: hidden; }
.athumb { aspect-ratio: 3/2; overflow: hidden; }
.athumb img,
.athumb .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.acard:hover .athumb img { transform: scale(1.06); }
.acard-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; min-height: 170px; }
.acard:hover { background: var(--paper); }
.acard .meta { font-family: var(--ui); font-size: .68rem; letter-spacing: .1em;
               text-transform: uppercase; color: var(--clay); font-weight: 600;
               display: flex; gap: 14px; margin-bottom: auto; }
.acard .meta .src,
.acard .meta .wp-block-post-terms { color: var(--red); }
.acard h3,
.acard .wp-block-post-title { font-size: 1.35rem; margin: 24px 0 0; transition: .3s; }
.acard .wp-block-post-title a { color: inherit; }
.acard:hover h3,
.acard:hover .wp-block-post-title { color: var(--red-deep); }
.acard .loc,
.acard .wp-block-post-terms.loc { font-family: var(--ui); font-size: .74rem; color: #8c8273; margin-top: 12px; }


/* ── Film Cards ──────────────────────────────────────────────── */

/* Query block — block display, let WordPress inner grid do the work */
.film-grid,
.film-grid.wp-block-query { display: block !important; }

/* Override WordPress post-template inner grid gap */
.film-grid .wp-block-post-template,
.film-grid .columns-2 { gap: 36px !important; }

/* Each post list item — fill height */
.film-grid .wp-block-post { display: flex; flex-direction: column; }

/* Film card */
.film { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09);
        border-radius: var(--radius); overflow: hidden; transition: .4s;
        display: flex; flex-direction: column; height: 100%; position: relative; }
.film:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.2); }

/* Thumb */
.film-thumb { aspect-ratio: 16/10; background: #2a2725; position: relative;
              overflow: hidden; flex-shrink: 0; }
.film-thumb img,
.film-thumb .wp-block-post-featured-image,
.film-thumb .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover;
                                                 display: block; transition: .6s; filter: brightness(.82); }
.film:hover .film-thumb img { transform: scale(1.05); }


.film-body  { padding: 26px 28px 30px; flex: 1; }
.status,
.film-body .wp-block-post-terms { font-family: var(--ui); font-size: .66rem; letter-spacing: .14em;
              text-transform: uppercase; font-weight: 600; padding: 5px 10px;
              border-radius: 2px; display: inline-flex; align-items: center; gap: 7px; margin-bottom: 16px; }
.status.release,
.film-body .wp-block-post-terms { background: rgba(225,27,34,.15); color: #ff7b80; }
.status.release::before,
.film-body .wp-block-post-terms::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ff7b80;
  box-shadow: 0 0 0 0 rgba(255,123,128,.7);
  animation: dot-pulse 2s ease-in-out infinite;
}
.status.dev     { background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); }
.film h3,
.film .wp-block-post-title { font-size: 1.5rem; color: #fff; margin-bottom: 10px; }
.film .wp-block-post-title a { color: #fff; }
.film .wp-block-post-excerpt__more-text { display: none; }
.film .wp-block-post-excerpt p,
.film .wp-block-post-excerpt { color: rgba(255,255,255,.6); font-size: .98rem; }

/* Mobile — single column */
@media (max-width: 680px) {
  .film-grid .wp-block-post-template,
  .film-grid .columns-2 { grid-template-columns: 1fr !important; }
}


/* ── Pull Quote ──────────────────────────────────────────────── */
.quote,
.wp-block-quote.quote { border-left: 2px solid var(--red); padding: 6px 0 6px 22px;
                         margin: 30px 0; font-family: var(--display); font-style: italic;
                         font-size: 1.18rem; line-height: 1.5; color: var(--ink); }
.quote cite,
.wp-block-quote.quote cite { display: block; font-style: normal; font-family: var(--ui);
                              font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
                              color: var(--clay); margin-top: 12px; }


/* ══════════════════════════════════════════════════════════════
   8. HOME PAGE
   ══════════════════════════════════════════════════════════════ */

/* ── Hero (Cover block) ──────────────────────────────────────── */
.hero.wp-block-cover,
.hero { min-height: 100vh !important; background: var(--ink); color: var(--paper);
        position: relative; overflow: hidden; }

/* Cover block image replaces old .hero-bg */
.hero .wp-block-cover__image-background { opacity: .20 !important;
  filter: grayscale(.35) contrast(1.05) !important; }

/* Cover block overlay replaces old .hero-bg-overlay */
.hero .wp-block-cover__background { background: linear-gradient(90deg,
  var(--ink) 30%, rgba(10,10,10,.55) 100%) !important; opacity: 1 !important; }

/* Film grain texture */
.hero.wp-block-cover::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  mix-blend-mode: screen; opacity: .5; z-index: 1; }

.hero-wrap.wp-block-columns { display: grid !important; grid-template-columns: 1.15fr .85fr;
                               gap: 50px; align-items: center; padding-top: 80px; }

.hero-text .wp-block-heading { font-size: clamp(2.6rem, 5.4vw, 4.5rem); margin-bottom: 26px;
  color: #fff; opacity: 0; transform: translateY(24px); animation: rise .9s .35s ease forwards; }
.hero-text .wp-block-heading em { font-style: italic; color: var(--clay); }
.hero-text .hero-desc { font-size: 1.18rem; max-width: 30ch; color: rgba(255,255,255,.74);
  margin-bottom: 38px; opacity: 0; transform: translateY(24px); animation: rise .9s .5s ease forwards; }
.hero-cta.wp-block-buttons { display: flex !important; gap: 18px;
  opacity: 0; transform: translateY(24px); animation: rise .9s .65s ease forwards; }

.hero-figure { display: flex; justify-content: center;
               opacity: 0; animation: fade 1.2s .55s ease forwards; }
.hero-logo img { width: min(330px, 80%); filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }

@media (max-width: 920px) {
  .hero-wrap.wp-block-columns { grid-template-columns: 1fr; padding-top: 120px; }
  .hero-figure { display: none; }
}
@media (min-width: 1600px) { .hero-wrap.wp-block-columns { gap: 70px; } }


/* ── Intro — Two Arms ────────────────────────────────────────── */
.intro-head { max-width: 1180px; margin: 0 auto 84px; text-align: center; }
.intro-head .eyebrow { justify-content: center; }
.intro-head .intro-lead { font-family: var(--display); font-size: clamp(2rem, 4.4vw, 3.5rem);
                           line-height: 1.14; max-width: 34ch; margin: 24px auto 28px; }
.intro-head .intro-desc { max-width: 66ch; margin: 0 auto; color: #4a4742;
                           font-size: 1.1rem; line-height: 1.7; }

.intro-grid.wp-block-columns { display: grid !important; grid-template-columns: 1fr 1fr;
                                gap: 0; margin-top: 70px;
                                border-top: 1px solid var(--stone); }
.arm { padding: 48px 44px; position: relative; transition: .4s; cursor: pointer;
       border-bottom: 1px solid var(--stone); }
.intro-grid .wp-block-column.arm:first-child { border-right: 1px solid var(--stone); }
.arm:hover  { background: var(--paper); }
.arm .num   { font-family: var(--ui); font-size: .72rem; letter-spacing: .2em;
              color: var(--clay); text-transform: uppercase; font-weight: 600; }
.arm h3,
.arm .wp-block-heading { font-size: 2.1rem; margin: 14px 0 16px; }
.arm p { color: #4a4742; max-width: 38ch; margin-bottom: 26px; }
.arm-link { font-family: var(--ui); font-size: .84rem; font-weight: 600; color: var(--red);
            display: inline-flex; gap: .5em; align-items: center; }
.arm::before { content: ""; position: absolute; top: 48px; right: 44px;
               width: 8px; height: 8px; border-radius: 50%;
               background: var(--red); opacity: 0; transition: .4s; }
.arm:hover::before { opacity: 1; }

@media (max-width: 920px) {
  .intro-grid.wp-block-columns { grid-template-columns: 1fr; }
  .intro-grid .wp-block-column.arm:first-child { border-right: none; }
  .intro-head { margin-bottom: 46px; }
}


/* ── Featured Project ────────────────────────────────────────── */
.feat { background: var(--paper); }
.feat-grid.wp-block-columns { display: grid !important; grid-template-columns: 1fr 1fr;
                               gap: 64px; align-items: center; }
.feat-img { aspect-ratio: 4/5; border-radius: var(--radius); position: relative; overflow: hidden; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: .6s; }
.feat-img:hover img { transform: scale(1.04); }
.feat h3,
.feat .wp-block-heading[data-level="3"] { font-size: clamp(2rem, 3.2vw, 2.8rem); margin-bottom: 8px; }
.feat .sub { font-family: var(--display); font-style: italic; color: var(--clay);
             font-size: 1.1rem; margin-bottom: 24px; }
.feat p { color: #4a4742; margin-bottom: 18px; }

@media (max-width: 920px) { .feat-grid.wp-block-columns { grid-template-columns: 1fr; } }
@media (min-width: 1600px) { .feat-grid.wp-block-columns { gap: 80px; } }


/* ── Productions dark band ───────────────────────────────────── */
.prod { background: var(--charcoal); color: var(--paper); position: relative; padding: 110px 0; }
.prod .sec-head h2,
.prod .sec-head .wp-block-heading { color: #fff; }
.prod .eyebrow { color: rgba(255,255,255,.55); }

section.block { padding: 110px 0; }
@media (max-width: 920px) { section.block { padding: 80px 0; } }
@media (min-width: 1600px) { section.block { padding: 148px 0; } }
@media (min-width: 1900px) { section.block { padding: 168px 0; } }


/* ── Articles strip (home) ───────────────────────────────────── */
/* Let WordPress inner columns-3 post-template handle the grid */
.articles-grid,
.articles-grid.wp-block-query { display: block !important; }

/* Apply the 2px stone-gap mosaic to the inner template grid */
.articles-grid .wp-block-post-template,
.articles-grid .columns-3 {
  gap: 2px !important;
  background: var(--stone);
}

/* Single-column on mobile */
@media (max-width: 920px) {
  .articles-grid .wp-block-post-template,
  .articles-grid .columns-3 { grid-template-columns: 1fr !important; }
}


/* ══════════════════════════════════════════════════════════════
   9. ABOUT PAGE
   ══════════════════════════════════════════════════════════════ */

.mv.wp-block-columns { display: grid !important; grid-template-columns: 1fr 1fr;
                        gap: 80px; margin: 0 auto; }
.mv .wp-block-column h3,
.mv .col h3 { font-family: var(--display); font-size: 1.7rem; margin: 14px 0 16px; }
.mv .wp-block-column p,
.mv .col p  { color: #4a4742; font-size: 1.08rem; line-height: 1.75; }

.arms2.wp-block-columns { display: grid !important; grid-template-columns: 1fr 1fr;
                           gap: 32px; margin: 0 auto; }

@media (max-width: 920px) {
  .mv.wp-block-columns,
  .arms2.wp-block-columns { grid-template-columns: 1fr; gap: 30px; }
}


/* ══════════════════════════════════════════════════════════════
   10. FOUNDATION PAGE
   ══════════════════════════════════════════════════════════════ */

.approach-grid.wp-block-columns { display: grid !important; grid-template-columns: repeat(3,1fr);
                                   gap: 28px; margin-bottom: 80px; }

.projects-grid.wp-block-columns { display: grid !important; grid-template-columns: repeat(2,1fr);
                                   gap: 32px; max-width: 1000px; }

.project-card { background: var(--paper); border: 1px solid var(--stone);
                border-radius: var(--radius); overflow: hidden; transition: .4s; }
.project-card:hover { box-shadow: 0 20px 50px rgba(28,26,25,.09); }
.pc-image { aspect-ratio: 16/10; overflow: hidden; }
.pc-image img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.project-card:hover .pc-image img { transform: scale(1.04); }
.pc-content { padding: 28px 26px; }
.pc-meta     { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pc-location { font-family: var(--ui); font-size: .8rem; color: var(--clay); }
.pc-status   { font-family: var(--ui); font-size: .75rem; letter-spacing: .04em;
               text-transform: uppercase; color: var(--red); font-weight: 600; }
.pc-title,
.project-card .wp-block-heading { font-family: var(--display); font-size: 1.4rem; margin-bottom: 8px; }
.pc-desc     { color: #4a4742; font-size: .95rem; line-height: 1.65; margin-bottom: 18px; }
.pc-link     { color: var(--red); font-family: var(--ui); font-weight: 600;
               font-size: .9rem; transition: .3s; }
.pc-link:hover { opacity: .7; }

.future-card { background: var(--sand); border: 2px dashed var(--stone);
               padding: 28px 26px; display: flex; align-items: center;
               justify-content: center; min-height: 280px; text-align: center; }
.future-card p { color: #8c8273; font-size: 1rem; }

.found-intro   { max-width: 800px; margin: 0 auto 60px; }
.found-intro p,
.found-intro .wp-block-paragraph { font-size: 1.08rem; color: #36332e; line-height: 1.75; margin-bottom: 18px; }
.found-intro .big { font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 1.9rem);
                    line-height: 1.4; color: var(--ink); }

@media (max-width: 920px) {
  .approach-grid.wp-block-columns { grid-template-columns: 1fr; gap: 20px; }
  .projects-grid.wp-block-columns { grid-template-columns: 1fr; gap: 24px; }
}


/* ══════════════════════════════════════════════════════════════
   11. PRODUCTIONS PAGE
   ══════════════════════════════════════════════════════════════ */

.film-card-link { text-decoration: none; color: inherit; display: block; }


/* ══════════════════════════════════════════════════════════════
   12. PEOPLE PAGE
   ══════════════════════════════════════════════════════════════ */

.p-role { font-family: var(--ui); font-size: .8rem; letter-spacing: .06em;
          text-transform: uppercase; color: var(--clay);
          margin-bottom: 18px; display: block; }

.people-grid.wp-block-columns { display: grid !important; grid-template-columns: repeat(3,1fr);
                                 gap: 36px; margin-top: 54px; }

.person .p-photo { aspect-ratio: 4/5; background: var(--stone);
                   border-radius: var(--radius); overflow: hidden;
                   display: flex; align-items: center; justify-content: center;
                   margin-bottom: 20px; }
.person .p-photo img { width: 100%; height: 100%; object-fit: cover; }
.person h3,
.person .wp-block-heading { font-family: var(--display); font-size: 1.45rem; margin-bottom: 4px; }
.person .p-role { font-size: .74rem; letter-spacing: .08em; color: var(--red); margin-bottom: 12px; }
.person p { color: #4a4742; font-size: .96rem; line-height: 1.65; }

@media (max-width: 920px) { .people-grid.wp-block-columns { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 560px) { .people-grid.wp-block-columns { grid-template-columns: 1fr; } }


/* ══════════════════════════════════════════════════════════════
   13. ARTICLES PAGE
   ══════════════════════════════════════════════════════════════ */

.aindex-grid.wp-block-query { display: grid !important; grid-template-columns: repeat(3,1fr);
                               gap: 26px; }
.aindex-grid .acard { border: 1px solid var(--stone); border-radius: var(--radius); }

.articles-pagination.wp-block-query-pagination { display: flex; gap: 10px;
  justify-content: center; margin-top: 60px; font-family: var(--ui); }
.articles-pagination .wp-block-query-pagination-numbers a,
.articles-pagination .wp-block-query-pagination-previous,
.articles-pagination .wp-block-query-pagination-next { padding: 10px 16px; border: 1px solid var(--stone);
  border-radius: 2px; color: var(--ink); transition: .25s; font-size: .9rem; }
.articles-pagination .wp-block-query-pagination-numbers a:hover,
.articles-pagination .wp-block-query-pagination-previous:hover,
.articles-pagination .wp-block-query-pagination-next:hover { border-color: var(--red); color: var(--red); }

@media (max-width: 920px) { .aindex-grid.wp-block-query { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (max-width: 560px) { .aindex-grid.wp-block-query { grid-template-columns: 1fr; } }


/* ══════════════════════════════════════════════════════════════
   14. CONTACT PAGE
   ══════════════════════════════════════════════════════════════ */

.con-grid.wp-block-columns { display: grid !important; grid-template-columns: .8fr 1.2fr;
                              gap: 80px; align-items: start; }
.con-info h2,
.con-info .wp-block-heading { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 12px 0 28px; }

.con-item { margin-bottom: 26px; }
.con-item .lbl { font-family: var(--ui); font-size: .7rem; letter-spacing: .16em;
                 text-transform: uppercase; color: var(--clay); margin-bottom: 7px; display: block; }
.con-item a,
.con-item .v { font-family: var(--display); font-size: 1.2rem; color: var(--ink); }
.con-item a:hover { color: var(--red); }

.con-socials { display: flex; gap: 12px; margin-top: 8px; }
.con-socials a { width: 42px; height: 42px; border: 1px solid var(--stone); border-radius: 50%;
                 display: flex; align-items: center; justify-content: center;
                 font-family: var(--ui); font-size: .8rem; color: var(--clay); transition: .3s; }
.con-socials a:hover { border-color: var(--red); color: var(--red); }

.con-form { background: var(--sand); border: 1px solid var(--stone);
            border-radius: 4px; padding: 44px; }
.con-form h3,
.con-form .wp-block-heading { font-family: var(--display); font-size: 1.5rem; margin-bottom: 6px; }

/* WPForms / CF7 field styling */
.con-form input,
.con-form textarea,
.con-form .wpforms-field-container input,
.con-form .wpforms-field-container textarea { width: 100%; background: #fff;
  border: 1px solid var(--stone); border-radius: var(--radius); padding: 13px 15px;
  font-family: var(--ui); font-size: .98rem; color: var(--ink); transition: .25s; }
.con-form input:focus,
.con-form textarea:focus { outline: none; border-color: var(--clay); }
.con-form textarea { min-height: 130px; resize: vertical; }

@media (max-width: 920px) {
  .con-grid.wp-block-columns { grid-template-columns: 1fr; gap: 44px; }
  .con-form { padding: 32px 24px; }
}


/* ══════════════════════════════════════════════════════════════
   15. SINGLE ARTICLE (WordPress single.php / template)
   ══════════════════════════════════════════════════════════════ */

.single-post .page-hero.wp-block-cover { min-height: 60vh; text-align: center; align-items: center; }
.single-post .page-hero .wp-block-cover__inner-container { align-self: center; }

.sa-cat { font-family: var(--ui); font-size: .72rem; letter-spacing: .16em;
          text-transform: uppercase; font-weight: 600; color: #ff7b80; }
.sa-standfirst { font-family: var(--display); font-style: italic;
                 font-size: clamp(1.1rem, 2vw, 1.5rem); color: rgba(255,255,255,.8);
                 max-width: 48ch; margin: 0 auto; line-height: 1.45; }
.sa-meta { display: flex; gap: 10px; justify-content: center; align-items: center;
           margin-top: 28px; font-family: var(--ui); font-size: .85rem;
           color: rgba(255,255,255,.6); flex-wrap: wrap; }

/* Article body typography — WordPress applies these to the post content */
.single-post .entry-content,
.article-body { max-width: 740px; margin: 0 auto; }
.single-post .entry-content p,
.article-body p { font-size: 1.14rem; line-height: 1.85; color: #36332e; margin-bottom: 24px; }
.single-post .entry-content h2,
.article-body h2 { font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2rem);
                   margin: 50px 0 18px; color: var(--ink); }
.single-post .entry-content blockquote,
.article-body blockquote { margin: 40px 0; padding-left: 28px;
                            border-left: 3px solid var(--red);
                            font-family: var(--display); font-style: italic;
                            font-size: 1.5rem; line-height: 1.5; color: var(--ink); }

.sa-rel-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 40px; }
.sa-rel-grid .acard { border: 1px solid var(--stone); border-radius: var(--radius); }

@media (max-width: 920px) { .sa-rel-grid { grid-template-columns: 1fr; } }


/* ══════════════════════════════════════════════════════════════
   16. SINGLE FILM (CPT single-film.php)
   ══════════════════════════════════════════════════════════════ */

.single-film .page-hero.wp-block-cover { min-height: 72vh; align-items: flex-end; }

.film-meta-row { display: flex; gap: 34px; margin-top: 30px;
                 flex-wrap: wrap; font-family: var(--ui); font-size: .95rem; color: #fff; }
.film-meta-row b { display: block; font-size: .66rem; letter-spacing: .16em;
                   text-transform: uppercase; color: var(--clay); margin-bottom: 6px; font-weight: 600; }

.video-band { background: var(--charcoal); padding: 0; }
.video-wrap { position: relative; aspect-ratio: 16/9; background: #000;
              overflow: hidden; cursor: pointer; }
.video-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: .6; transition: .5s; }
.video-wrap:hover img { opacity: .7; transform: scale(1.02); }
.playbtn .circle { width: 84px; height: 84px; border-radius: 50%;
                   background: rgba(255,255,255,.95); display: flex;
                   align-items: center; justify-content: center;
                   font-size: 1.5rem; color: var(--ink); padding-left: 6px; transition: .3s; }
.video-wrap:hover .playbtn .circle { background: var(--red); color: #fff; transform: scale(1.08); }

.synopsis { max-width: 760px; margin: 0 auto; }
.synopsis p { font-size: 1.12rem; line-height: 1.8; color: #36332e; margin-bottom: 20px; }
.synopsis p.big { font-family: var(--display); font-size: clamp(1.4rem, 2.3vw, 1.9rem);
                  line-height: 1.4; color: var(--ink); margin-bottom: 24px; }

.credits { list-style: none; display: grid; grid-template-columns: 1fr 1fr;
           gap: 0 60px; margin-top: 8px; }
.credits li { display: flex; justify-content: space-between; gap: 20px;
              padding: 16px 0; border-bottom: 1px solid var(--stone); }
.credits .role { font-family: var(--ui); font-size: .78rem; letter-spacing: .06em;
                 text-transform: uppercase; color: var(--clay); }
.credits .name { font-family: var(--display); font-size: 1.05rem; color: var(--ink); }

.stills { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.stills img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; transition: .4s; }
.stills a:hover img { transform: scale(1.05); opacity: .9; }

@media (max-width: 920px) {
  .credits { grid-template-columns: 1fr; }
  .stills  { grid-template-columns: repeat(2,1fr); }
}


/* ══════════════════════════════════════════════════════════════
   17. BEIT HAYAT / PROJECT PAGE (CPT single or page template)
   ══════════════════════════════════════════════════════════════ */

.proj-meta { display: flex; gap: 40px; margin-top: 34px;
             flex-wrap: wrap; font-family: var(--ui); font-size: .95rem; color: rgba(255,255,255,.9); }
.proj-meta b { display: block; font-size: .66rem; letter-spacing: .16em;
               text-transform: uppercase; color: var(--clay); margin-bottom: 6px; font-weight: 600; }

.prose { max-width: 760px; }
.prose p { margin-bottom: 20px; font-size: 1.08rem; color: #36332e; line-height: 1.75; }
.prose p.big { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-family: var(--display);
               line-height: 1.4; color: var(--ink); margin-bottom: 26px; }

.prog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.gallery { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 1fr; gap: 10px; }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; transition: .5s; }
.gallery a:hover img { transform: scale(1.05); }

.timeline { max-width: 920px; }
.phase    { display: grid; grid-template-columns: 180px 1fr; gap: 34px;
            padding: 28px 0; border-top: 1px solid rgba(255,255,255,.15); }
.ph-when  { font-family: var(--ui); font-size: .82rem; color: rgba(255,255,255,.55); }
.ph-when b { display: block; color: #fff; font-family: var(--display); font-size: 1.2rem; margin-bottom: 5px; }
.ph-what h4 { font-family: var(--display); font-size: 1.3rem; margin-bottom: 9px; color: #fff; }
.ph-what p  { color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.65; }

@media (max-width: 920px) {
  .prog-grid { grid-template-columns: 1fr; }
  .phase     { grid-template-columns: 1fr; gap: 8px; }
  .gallery   { grid-template-columns: repeat(2,1fr); }
  .gallery a:first-child { grid-column: span 2; grid-row: auto; }
}
