/*
Theme Name: FBI Pizza
Theme URI: https://fbipizza.ca
Author: FBI Pizza
Author URI: https://fbipizza.ca
Description: Custom theme for FBI Pizza — Full Blooded Italian pizza bar in Etobicoke, est. 2011. Black / silver / siren-red "case file" design. Ships with a one-click setup wizard that deploys all pages (EN + FR), imports images to the media library, writes Rank Math SEO metadata and wires Polylang translations (English at /, French at /fr).
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fbipizza
Tags: restaurant, food-and-drink, custom-menu, translation-ready
*/

/* ============================================================
   FBI PIZZA — design direction "The Dossier"
   black / silver / siren red · Anton (display) + Archivo (body + labels)
   ============================================================ */

:root {
  --ink: #121110;
  --ink-2: #1c1a18;
  --ink-3: #26231f;
  --paper: #f4f1ea;
  --paper-2: #ece8de;
  --line: #e2dccd;
  --line-dark: #363230;
  --silver: #c7c7c7;
  --grey: #a39b8f;
  --grey-dark: #5e564b;
  --red: #d7281f;
  --red-dark: #b01e16;
  --basil: #2e6b3a;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1280px;
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Archivo", "Segoe UI", sans-serif;
  --font-mono: "Archivo", "Segoe UI", sans-serif; /* label font — clean zeros, no dotted 0 */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
figure { margin: 0; }
address { font-style: normal; }

.container { max-width: var(--container); margin: 0 auto; width: 100%; padding-inline: clamp(16px, 4vw, 40px); }
.red { color: var(--red); }

/* labels & stamps */
.case-label { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin: 0; }
.case-label--red { color: #e8655a; }
.stamp { font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.22em; color: var(--red); border: 3px solid var(--red); border-radius: 4px; padding: 8px 18px; font-size: 14px; background: rgba(18,17,16,0.82); text-transform: uppercase; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 1; padding: 15px 26px; border-radius: 12px; border: 2px solid transparent; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn--ghost-light { background: transparent; color: var(--paper); border-color: var(--line-dark); }
.btn--ghost-light:hover { border-color: var(--paper); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #000; color: #fff; }

/* ticker */
.ticker { background: #000; border-bottom: 1px solid var(--line-dark); overflow: hidden; padding: 9px 0; }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ticker 36s linear infinite; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.18em; color: var(--silver); text-transform: uppercase; white-space: nowrap; }
.ticker__track i { font-style: normal; color: var(--red); font-size: 8px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(18,17,16,0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-dark); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,0.45); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__badge { width: 46px; height: 46px; }
.brand__word { font-family: var(--font-display); font-size: 24px; letter-spacing: 0.03em; color: var(--paper); }
.brand__word em { font-style: normal; color: var(--red); }
.site-nav { display: flex; gap: 24px; align-items: center; }
.site-nav a { font-weight: 600; font-size: 15px; color: var(--silver); transition: color .15s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-header__cta { display: flex; align-items: center; gap: 14px; }
.phone-link { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--silver); }
.phone-link:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: none; color: var(--paper); padding: 6px; cursor: pointer; }

/* language switcher (flag dropdown) */
.lang-switch { position: relative; }
.lang-switch__btn { display: inline-flex; align-items: center; gap: 7px; background: transparent; color: var(--silver); border: 1.5px solid var(--line-dark); border-radius: 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; padding: 9px 11px; cursor: pointer; text-transform: uppercase; transition: color .15s ease, border-color .15s ease; }
.lang-switch__btn:hover { color: #fff; border-color: var(--silver); }
.lang-switch__btn img { width: 16px; height: 11px; border-radius: 2px; display: block; }
.lang-switch__btn svg { display: block; transition: transform .15s ease; }
.lang-switch__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang-switch__menu { position: absolute; top: calc(100% + 8px); right: 0; margin: 0; padding: 6px; list-style: none; background: #0c0b0a; border: 1px solid var(--line-dark); border-radius: 12px; min-width: 156px; z-index: 70; box-shadow: 0 18px 40px rgba(0,0,0,0.5); }
.lang-switch__menu[hidden] { display: none; }
.lang-switch__menu a { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--silver); }
.lang-switch__menu a:hover { background: var(--ink-2); color: #fff; }
.lang-switch__menu a[aria-current="true"] { color: #fff; }
.lang-switch__menu a[aria-current="true"]::after { content: "✓"; margin-left: auto; color: var(--red); font-family: var(--font-mono); font-size: 12px; }
.lang-switch__menu img { width: 18px; height: 12px; border-radius: 2px; display: block; }

/* hero (front page) */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 120px) clamp(64px, 9vw, 130px); background: radial-gradient(1200px 600px at 85% -10%, rgba(215,40,31,0.07), transparent 60%), var(--ink); }
.hero__watermark { position: absolute; right: -180px; bottom: -220px; width: 640px; opacity: 0.05; transform: rotate(-12deg); pointer-events: none; }
.hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 72px); position: relative; }
.hero__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero__title { font-family: var(--font-display); font-size: clamp(56px, 8.4vw, 118px); line-height: 0.96; letter-spacing: 0.005em; color: var(--paper); text-transform: uppercase; }
.hero__sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--grey); max-width: 52ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__micro { margin-top: 4px; }
.hero__media { flex: 0 1 460px; min-width: 300px; position: relative; margin-inline: auto; }
.hero__frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); box-shadow: 0 40px 80px rgba(0,0,0,0.55); transform: rotate(1.5deg); }
.hero__frame img { aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; }
.stamp--hero { position: absolute; top: 22px; left: -16px; transform: rotate(-7deg); font-size: 16px; }
.hero__badge { position: absolute; bottom: -34px; right: -14px; width: clamp(96px, 10vw, 128px); height: auto; filter: drop-shadow(0 12px 28px rgba(0,0,0,0.6)); animation: badge-spin 28s linear infinite; }
@keyframes badge-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero__badge, .ticker__track, .marquee__track { animation: none; } }

/* red marquee */
.marquee { background: var(--red); overflow: hidden; padding: 14px 0; border-block: 1px solid rgba(0,0,0,0.25); }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: ticker 22s linear infinite; font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 30px); letter-spacing: 0.06em; color: #fff; text-transform: uppercase; white-space: nowrap; }
.marquee__track i { font-style: normal; font-size: 10px; color: rgba(255,255,255,0.75); }

/* section heads */
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.section-head h2, .byo h2, .story h2, .catering h2, .visit h2, .page-section h2 { font-family: var(--font-display); font-size: clamp(42px, 5.6vw, 76px); line-height: 0.98; text-transform: uppercase; letter-spacing: 0.005em; }
.section-head__sub { color: var(--grey); font-size: 17px; max-width: 62ch; }

/* evidence cards */
.evidence { background: var(--ink); padding-block: clamp(70px, 9vw, 130px); }
.cards { margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .22s ease, border-color .22s ease; }
.card:hover { transform: translateY(-6px); border-color: #4d4740; }
.card__media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card__media img { transform: scale(1.045); }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card__head h3 { font-family: var(--font-display); font-size: 27px; letter-spacing: 0.02em; text-transform: uppercase; }
.card__body p { color: var(--grey); font-size: 15px; line-height: 1.55; }
.card__sizes { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; color: #e8655a; }
.evidence__foot { margin-top: clamp(36px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; border-top: 1px dashed var(--line-dark); padding-top: 30px; }
.evidence__foot .case-label { max-width: 720px; line-height: 2; }

/* build-your-own */
.byo { background: var(--paper); color: var(--ink); padding-block: clamp(70px, 9vw, 130px); }
.byo__grid { display: flex; flex-wrap: wrap; gap: clamp(36px, 6vw, 90px); }
.byo__intro { flex: 1 1 380px; display: flex; flex-direction: column; gap: 22px; }
.byo__sub { color: var(--grey-dark); font-size: 17px; max-width: 46ch; }
.byo__sizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; max-width: 420px; }
.size { border: 2px solid var(--ink); border-radius: var(--radius); padding: 14px 18px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; background: #fff; }
.size__tag { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; }
.size__price { font-family: var(--font-display); font-size: 24px; }
.byo__options { flex: 1 1 460px; display: flex; flex-direction: column; gap: 26px; }
.byo .case-label, .visit .case-label { color: var(--grey-dark); }
.opt-group { display: flex; flex-direction: column; gap: 12px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { border: 2px solid var(--ink); border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: 14px; background: transparent; color: var(--ink); }
.chip--on { background: var(--ink); color: var(--paper); }
.chip--sm { padding: 7px 14px; font-size: 13px; border-width: 1.5px; }
.chip--red { border-color: var(--red); color: var(--red-dark); }

/* checker divider */
.checker { height: 28px; background: conic-gradient(#0d0d0d 0 25%, #f4f1ea 0 50%, #0d0d0d 0 75%, #f4f1ea 0) 0 0 / 28px 28px; }

/* beyond tiles */
.beyond { background: var(--ink); padding-block: clamp(70px, 9vw, 130px); }
.tiles { margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.tile { display: flex; flex-direction: column; gap: 14px; }
.tile figure { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1 / 1.08; border: 1px solid var(--line-dark); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.tile:hover img { transform: scale(1.05); }
.tile__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tile__meta h3 { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em; }
.tile__meta .case-label { color: #e8655a; }
.tile p { color: var(--grey); font-size: 14px; line-height: 1.5; }

/* story */
.story { background: #0c0b0a; padding-block: clamp(70px, 9vw, 130px); border-block: 1px solid var(--line-dark); }
.story__grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(36px, 6vw, 90px); }
.story__media { flex: 1 1 400px; position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); max-width: 560px; }
.story__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1.05; }
.stamp--story { position: absolute; top: 22px; right: 22px; transform: rotate(5deg); }
.story__copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 22px; }
.story__copy p { color: var(--grey); max-width: 56ch; }
.story__facts { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.story__facts li { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 14px 18px; display: flex; flex-direction: column; gap: 6px; font-weight: 600; color: var(--paper); background: var(--ink-2); }

/* catering band */
.catering { background: var(--red); color: #fff; padding-block: clamp(70px, 9vw, 120px); }
.catering__grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(36px, 6vw, 90px); }
.catering__copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 22px; }
.catering .case-label--red { color: rgba(255,255,255,0.75); }
.catering__copy p { color: rgba(255,255,255,0.92); max-width: 56ch; font-size: 17px; }
.catering .btn--red { background: var(--ink); }
.catering .btn--red:hover { background: #000; }
.catering .btn--ghost { border-color: rgba(255,255,255,0.85); color: #fff; }
.catering .btn--ghost:hover { background: #fff; color: var(--red-dark); }
.catering__media { flex: 0 1 420px; min-width: 280px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.35); transform: rotate(-1.5deg); margin-inline: auto; }
.catering__media img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }

/* visit */
.visit { background: var(--paper); color: var(--ink); padding-block: clamp(70px, 9vw, 130px); }
.visit__grid { display: flex; flex-wrap: wrap; gap: clamp(36px, 6vw, 90px); align-items: center; }
.visit__block { flex: 1 1 360px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.visit .case-label--red { color: var(--red-dark); }
.visit__line { font-size: 19px; font-weight: 600; line-height: 1.6; }
.visit__line a { text-decoration: underline; text-underline-offset: 3px; }
.visit__line a:hover { color: var(--red-dark); }
.visit__gallery { flex: 1 1 460px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.visit__gallery img { border-radius: var(--radius); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.visit__gallery img:nth-child(odd) { transform: rotate(-1deg); }
.visit__gallery img:nth-child(even) { transform: rotate(1.2deg); }

/* footer */
.footer { background: #000; padding: clamp(60px, 8vw, 100px) 0 36px; border-top: 1px solid var(--line-dark); }
.footer__top { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer__word { font-family: var(--font-display); font-size: clamp(54px, 9vw, 110px); line-height: 1; letter-spacing: 0.02em; color: var(--paper); text-transform: uppercase; }
.footer__cols { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; border-top: 1px solid var(--line-dark); padding-top: 34px; }
.footer__cols nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__cols nav a { font-weight: 600; font-size: 15px; color: var(--silver); }
.footer__cols nav a:hover { color: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-mono); font-size: 13px; color: var(--grey); }
.footer__contact a:hover { color: #fff; }
.footer__fine { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: #6f685c; text-transform: uppercase; }

/* ============ sub-pages ============ */
.breadcrumbs { background: #0c0b0a; border-bottom: 1px solid var(--line-dark); padding: 10px 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-dark); }
.breadcrumbs a:hover { color: #fff; }

.page-hero { position: relative; overflow: hidden; background: radial-gradient(900px 480px at 90% -20%, rgba(215,40,31,0.08), transparent 60%), var(--ink); padding-block: clamp(48px, 7vw, 96px); }
.page-hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(30px, 5vw, 70px); }
.page-hero__copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 20px; }
.page-hero__title { font-family: var(--font-display); font-size: clamp(44px, 6.4vw, 92px); line-height: 0.96; text-transform: uppercase; color: var(--paper); }
.page-hero__lede { color: var(--grey); font-size: clamp(16px, 1.5vw, 19px); max-width: 58ch; }
.page-hero__media { flex: 0 1 420px; min-width: 280px; margin-inline: auto; position: relative; }
.page-hero__media figure { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); box-shadow: 0 30px 70px rgba(0,0,0,0.5); transform: rotate(1.2deg); }
.page-hero__media img { aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }

.page-section { padding-block: clamp(56px, 7vw, 100px); }
.page-section--cream { background: var(--paper); color: var(--ink); }
.page-section--cream .case-label { color: var(--grey-dark); }
.page-section--cream .case-label--red { color: var(--red-dark); }
.page-section--dark { background: var(--ink); color: var(--paper); }
.page-section--darker { background: #0c0b0a; color: var(--paper); border-block: 1px solid var(--line-dark); }

.prose { max-width: 72ch; display: flex; flex-direction: column; gap: 16px; font-size: 17px; }
.page-section--cream .prose { color: #3a352e; }
.page-section--dark .prose, .page-section--darker .prose { color: var(--grey); }
.prose strong { color: inherit; }
.prose h3 { font-family: var(--font-display); font-size: 26px; text-transform: uppercase; letter-spacing: 0.02em; margin-top: 12px; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }

.split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 70px); align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); }
.split__media img { width: 100%; object-fit: cover; }

/* menu lists */
.menu-cat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.menu-cat h2 { font-size: clamp(34px, 4vw, 54px); }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; margin-top: 18px; }
.menu-item { padding: 14px 0; border-bottom: 1px dashed var(--line); display: flex; flex-direction: column; gap: 6px; }
.page-section--dark .menu-item, .page-section--darker .menu-item { border-bottom-color: var(--line-dark); }
.menu-item__row { display: flex; align-items: baseline; gap: 10px; }
.menu-item__name { font-weight: 700; font-size: 17px; }
.menu-item__dots { flex: 1; border-bottom: 2px dotted rgba(94,86,75,0.4); transform: translateY(-4px); }
.menu-item__price { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--red-dark); white-space: nowrap; }
.page-section--dark .menu-item__price, .page-section--darker .menu-item__price { color: #e8655a; }
.menu-item__desc { font-size: 14.5px; color: var(--grey-dark); line-height: 1.5; max-width: 60ch; }
.page-section--dark .menu-item__desc, .page-section--darker .menu-item__desc { color: var(--grey); }
.menu-item__sizes { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--grey-dark); }
.page-section--dark .menu-item__sizes, .page-section--darker .menu-item__sizes { color: var(--grey); }
.menu-note { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-dark); border-top: 1px dashed var(--line); padding-top: 16px; margin-top: 10px; }

.jump-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.jump-row a { border: 1.5px solid var(--line-dark); border-radius: 999px; padding: 8px 16px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver); transition: all .15s ease; }
.jump-row a:hover { border-color: var(--paper); color: #fff; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin-top: 26px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.page-section--dark .faq details, .page-section--darker .faq details { background: var(--ink-2); border-color: var(--line-dark); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 20px; color: var(--red); flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq .faq__a { padding: 0 22px 20px; font-size: 15.5px; line-height: 1.6; color: var(--grey-dark); max-width: 70ch; }
.page-section--dark .faq .faq__a, .page-section--darker .faq .faq__a { color: var(--grey); }

/* CTA band */
.cta-band { background: var(--red); color: #fff; padding-block: clamp(56px, 7vw, 90px); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 64px); text-transform: uppercase; line-height: 1; }
.cta-band .btn--red { background: var(--ink); }
.cta-band .btn--red:hover { background: #000; }
.cta-band__note { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-top: 8px; }

/* related pages */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.related a { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; background: var(--ink-2); transition: border-color .2s ease, transform .2s ease; }
.related a:hover { border-color: #4d4740; transform: translateY(-3px); }
.related strong { font-family: var(--font-display); font-weight: 400; font-size: 20px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--paper); }
.related span { font-size: 14px; color: var(--grey); }

/* WP alignment helpers */
.alignwide { max-width: var(--container); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* reveal animations */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal--d1 { transition-delay: .08s; }
.reveal--d2 { transition-delay: .16s; }
.reveal--d3 { transition-delay: .24s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #0c0b0a; border-bottom: 1px solid var(--line-dark); padding: 10px 0; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px clamp(16px, 4vw, 40px); }
  .nav-toggle { display: block; }
  .phone-link { display: none; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .story__facts { grid-template-columns: 1fr; }
  .stamp--hero { left: 8px; }
  .hero__badge { right: 8px; }
  .evidence__foot { flex-direction: column; align-items: flex-start; }
}

/* ---------- v1.0.1: nav-toggle X + compact mobile header ---------- */
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.brand { min-width: 0; flex-shrink: 1; }
.site-header__cta { flex-shrink: 0; }

@media (max-width: 880px) {
  .site-header__inner { padding-block: 10px; gap: 10px; }
  .brand { gap: 9px; }
  .brand__badge { width: 44px; height: 44px; }
  .brand__word { font-size: 19px; white-space: nowrap; letter-spacing: 0.02em; }
  .site-header__cta { gap: 9px; }
  .site-header__cta .btn--red { padding: 11px 15px; font-size: 14px; border-radius: 10px; }
  .lang-switch__btn { padding: 8px 9px; gap: 6px; }
  .nav-toggle { padding: 5px; }
  .ticker { padding: 7px 0; }
  .ticker__track { font-size: 10.5px; }
}
@media (max-width: 480px) {
  .site-header__inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand__badge { width: 46px; height: 46px; }
  .brand__word { font-size: 16px; }
  .site-header__cta { gap: 7px; }
  .site-header__cta .btn--red { padding: 10px 11px; font-size: 13px; }
  .lang-switch__btn { padding: 7px 8px; gap: 5px; }
  .lang-switch__btn span { font-size: 11px; }
  .nav-toggle { padding: 4px; }
}
@media (max-width: 374px) {
  .brand__badge { width: 42px; height: 42px; }
  .brand__word { font-size: 14px; }
  .site-header__cta .btn--red { padding: 9px 9px; font-size: 12px; }
  .lang-switch__btn { padding: 6px 7px; }
  .lang-switch__btn svg { display: none; }
}
