/* Generated from site/src/css/styles.css by wordpress/build.mjs. Do not edit here: edit the site CSS and rebuild. */
/* ============================================================
   Tambores e Samba: Festa Bold
   Black ground, cream sections, red / green / yellow brush pattern, full-color photos.
   Source of truth: ../../../design-festa.md (section 5b: Bold revision 2).
   Mobile first.
   ============================================================ */

:root {
  /* color */
  --ink: #15130F;
  --ink-soft: #24211C;
  --red: #D3361C;
  --green: #149A3F;
  --yellow: #F0B323;
  --sand: #F1E6D0;
  --sand-deep: #E6D5B0;
  --clay-text: #8F4318;   /* small text on sand (AA) */
  --field: #FBF6EA;       /* form fields */

  /* type */
  --font-display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --font-voice: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* layout */
  --pad: 20px;
  --tap: 54px;
  --max: 1200px;

  /* pattern artwork (relative to css/) */
  --pattern: url(../img/festa/pattern-reference.jpg);
  --pattern-band: url(../img/festa/pattern-band.jpg);   /* mirrored twin of the artwork, so it repeats without a seam */

  /* button sizes (sm = header / utility, md = default, lg = hero) */
  --btn-h: 54px;
  --btn-px: 24px;
  --btn-fs: 16px;

  /* per-surface roles: light by default, redefined by the dark surfaces below */
  --fg: var(--ink);
  --kicker: var(--clay-text);
  --rule: var(--ink);
  --focus: var(--ink);
  --btn1-bg: var(--ink);
  --btn1-fg: var(--sand);
  --btn1-hover: var(--ink-soft);
  --btn2: var(--ink);
  --btn2-on: var(--sand);          /* text on a filled (hovered) secondary button */
  --btn-acc-border: var(--ink);
  --link-hover: var(--clay-text);
  --tint: rgba(21, 19, 15, 0.08);   /* hover wash for rows and menu items */
  --tint-press: rgba(21, 19, 15, 0.16);
  --accent-word: var(--red);
}
@media (min-width: 700px)  { :root { --pad: 32px; } }
@media (min-width: 1024px) { :root { --pad: 48px; } }

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--sand); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- surfaces ---------- */
:is(.bg-sand, .is-style-bg-sand) { background: var(--sand); }
:is(.bg-sand-deep, .is-style-bg-sand-deep), :is(.bg-spot, .is-style-bg-spot) { background: var(--sand-deep); }
/* everything dark is the black ground: header, page heads, dark bands, the footer */
:is(.bg-dark, .is-style-bg-dark), :is(.bg-dark-alt, .is-style-bg-dark-alt), :is(.bg-ink, .is-style-bg-ink), .page-head, .topbar {
  background: var(--ink); color: var(--sand);
  --fg: var(--sand); --kicker: var(--yellow); --rule: var(--sand); --focus: var(--yellow);
  --btn1-bg: var(--yellow); --btn1-fg: var(--ink); --btn1-hover: color-mix(in srgb, var(--yellow) 82%, #fff); --btn2: var(--sand); --btn2-on: var(--ink);
  --link-hover: var(--yellow); --tint: rgba(241, 230, 208, 0.1); --tint-press: rgba(241, 230, 208, 0.2);
  --btn-acc-border: var(--yellow); --accent-word: var(--yellow);
}
:is(.bg-dark-alt, .is-style-bg-dark-alt) { background: var(--ink-soft); }
:is(.bg-dark, .is-style-bg-dark) + :is(.bg-dark, .is-style-bg-dark), :is(.bg-dark, .is-style-bg-dark) + :is(.bg-dark-alt, .is-style-bg-dark-alt), :is(.bg-dark-alt, .is-style-bg-dark-alt) + :is(.bg-dark, .is-style-bg-dark), .page-head + :is(.bg-dark, .is-style-bg-dark) { border-top: 1.5px solid var(--ink-soft); }
/* yellow band: the support banner. Black text and buttons; red or green never used for text on it. */
:is(.bg-yellow, .is-style-bg-yellow) {
  background: var(--yellow); color: var(--ink);
  --fg: var(--ink); --kicker: var(--ink); --rule: var(--ink); --focus: var(--ink);
  --btn1-bg: var(--ink); --btn1-fg: var(--sand); --btn1-hover: var(--ink-soft); --btn2: var(--ink); --btn2-on: var(--yellow);
  --link-hover: var(--ink); --tint: rgba(21, 19, 15, 0.1); --tint-press: rgba(21, 19, 15, 0.2);
  --btn-acc-border: var(--ink); --accent-word: var(--ink);
}
/* components that carry their own light background reset the surface roles */
.card, .event, .on-light {
  background: var(--sand); color: var(--ink);
  --fg: var(--ink); --kicker: var(--clay-text); --rule: var(--ink); --focus: var(--ink);
  --btn1-bg: var(--ink); --btn1-fg: var(--sand); --btn1-hover: var(--ink-soft); --btn2: var(--ink); --btn2-on: var(--sand);
  --link-hover: var(--clay-text); --tint: rgba(21, 19, 15, 0.08); --tint-press: rgba(21, 19, 15, 0.16);
  --btn-acc-border: var(--ink); --accent-word: var(--red);
}

.section { padding-block: 32px 40px; }
@media (min-width: 1024px) { .section { padding-block: 56px 64px; } }

/* ---------- type ---------- */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; text-wrap: balance; }
h1 { font-size: clamp(54px, 4vw + 40px, 104px); line-height: 0.84; letter-spacing: -0.04em; }
h2 { font-size: clamp(34px, 2vw + 26px, 54px); line-height: 0.9; letter-spacing: -0.03em; }
h3 { font-size: clamp(21px, 0.6vw + 18px, 26px); line-height: 1; letter-spacing: -0.02em; }
.accent { color: var(--accent-word); }
:is(.voice, .is-style-voice) { font-family: var(--font-voice); font-style: italic; font-weight: 500; font-variation-settings: "SOFT" 100; font-size: clamp(19px, 0.5vw + 17px, 24px); line-height: 1.25; text-wrap: pretty; }
:is(.lede, .is-style-lede) { font-size: 17px; line-height: 1.6; max-width: 62ch; text-wrap: pretty; }
p { text-wrap: pretty; }
/* kicker: small mono label with a brush motif; .wp-block-post-content > :nth-child cycles the motif by section */
:is(.kicker, .is-style-kicker) {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--kicker);
}
:is(.kicker, .is-style-kicker)::before {
  content: ""; flex: none; width: 20px; height: 20px;
  background: var(--kicker-icon, url(../img/festa/spiral-red.svg)) center / contain no-repeat;
}
.wp-block-post-content > :nth-child(3n + 1) { --kicker-icon: url(../img/festa/spiral-red.svg); }
.wp-block-post-content > :nth-child(3n + 2) { --kicker-icon: url(../img/festa/rings-green.svg); }
.wp-block-post-content > :nth-child(3n)     { --kicker-icon: url(../img/festa/tri-yellow.svg); }
:is(.mono, .is-style-mono) { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.stack > * + * { margin-top: var(--gap, 14px); }
.stack-lg { --gap: 22px; }

/* ---------- buttons ---------- */
/* Sizes: .btn--sm (header, utility) · default md · .btn--lg (hero). Kinds: primary, secondary, accent.
   Every kind shares one state model: hover = clear change of fill, pressed = a 1px push + darker. Flat: no shadows. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--btn-h); padding: 0 var(--btn-px);
  font-family: var(--font-display); font-size: var(--btn-fs); letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; text-align: center; white-space: nowrap;
  border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; user-select: none;
  transition: transform 0.12s, background-color 0.12s, border-color 0.12s, color 0.12s, filter 0.12s;
}
.btn--sm { --btn-h: 44px; --btn-px: 16px; --btn-fs: 13px; }
.btn--lg { --btn-h: 64px; --btn-px: 32px; --btn-fs: 18px; }
.btn--primary { background: var(--btn1-bg); color: var(--btn1-fg); border-color: var(--btn1-bg); }
.btn--primary:hover { background: var(--btn1-hover); border-color: var(--btn1-hover); }
.btn--secondary { border-color: var(--btn2); color: var(--btn2); }
.btn--secondary:hover { background: var(--btn2); color: var(--btn2-on); }
.btn--accent { background: var(--yellow); color: var(--ink); border-color: var(--btn-acc-border); }
.btn--accent:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); filter: brightness(0.88); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 700px) { .btn-row { flex-direction: row; flex-wrap: wrap; } .btn-row .btn { min-width: 220px; } .btn--block { width: auto; } }
/* stacked: buttons share the width of the widest one (used for the hero pair) */
@media (min-width: 700px) { .btn-row--stack { flex-direction: column; align-items: stretch; width: fit-content; max-width: 100%; } }

/* ---------- text links: one pattern everywhere ---------- */
/* underline by default in running text, heavier + colored on hover, dimmed while pressed */
:is(.rows, .is-style-rows, .is-style-rows-steps) a, p a:not(.btn), .link { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
:is(:is(.rows, .is-style-rows, .is-style-rows-steps) a, p a:not(.btn), .link, .footer__links a, .footer__base a):hover { color: var(--link-hover); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 3px; }
:is(:is(.rows, .is-style-rows, .is-style-rows-steps) a, p a:not(.btn), .link, .footer__links a, .footer__base a):active { opacity: 0.7; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; }
.topbar__inner { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); height: 60px; display: flex; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; color: var(--sand); }
.brand img { width: 40px; height: 40px; }
.brand__word { font-family: var(--font-display); font-size: 14px; line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }
.nav-inline { display: none; }
.menu-btn { width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 5px; background: none; border: 0; padding: 0 10px 0 2px; cursor: pointer; color: var(--sand); transition: background-color 0.12s; }
.menu-btn:hover { background: var(--tint); }
.menu-btn:active { background: var(--tint-press); }
.menu-btn i { display: block; height: 2.5px; background: currentColor; width: 20px; transition: transform 0.15s, opacity 0.15s; }
.menu-btn i:nth-child(2) { width: 14px; }
.menu-btn[aria-expanded="true"] i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); width: 20px; }
.menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 2px solid var(--ink-soft); max-height: calc(100vh - 80px); overflow-y: auto; }
.menu a { display: flex; align-items: center; min-height: var(--tap); padding-inline: var(--pad); font-family: var(--font-display); font-size: 20px; letter-spacing: -0.01em; text-transform: uppercase; text-decoration: none; color: var(--sand); border-top: 1.5px solid var(--ink-soft); transition: background-color 0.12s; }
.menu a:hover { background: var(--tint); }
.menu a:active { background: var(--tint-press); }
.menu a[aria-current="page"] { background: var(--yellow); color: var(--ink); }
.menu a.nav__donate { color: var(--yellow); }
.menu a.nav__donate[aria-current="page"] { background: var(--yellow); color: var(--ink); }
.topbar__cta { display: flex; align-items: center; gap: 8px; }
.topbar__cta .btn--donate { display: none; }
@media (min-width: 1024px) {
  .topbar__inner { height: 72px; gap: 20px; }
  .brand img { width: 48px; height: 48px; }
  .brand__word { font-size: 18px; }
  .menu-btn, .menu { display: none !important; }
  .nav-inline { display: flex; align-items: center; gap: 2px; }
  .nav-inline a { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--sand); padding: 10px 9px; border-bottom: 3px solid transparent; transition: border-color 0.12s, opacity 0.12s; }
  .nav-inline a:hover { border-bottom-color: var(--yellow); }
  .nav-inline a:active { opacity: 0.65; }
  .nav-inline a[aria-current="page"] { border-bottom-color: var(--sand); }
  .topbar__cta { gap: 10px; margin-left: 8px; }
  .topbar__cta .btn--donate { display: inline-flex; }
}

/* ---------- mobile action bar ---------- */
.actionbar { display: none; }
@media (max-width: 699px) {
  .actionbar { display: block; position: sticky; bottom: 0; z-index: 40; background: var(--ink); padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom, 0px)); }
  .actionbar .btn { border-color: var(--yellow); }
  body[data-page="join"] .actionbar, body[data-page="book"] .actionbar, body[data-page="contact"] .actionbar { display: none; }
}

/* ---------- hero (home) ---------- */
/* Mobile: pattern strip, then the text. Desktop: text on the left, pattern filling the right half.
   The text sits in .wrap, so it starts on the same left edge as every other section. */
.hero { background: var(--ink); display: grid; grid-template-rows: 200px auto; }
.hero__field { background: #000 var(--pattern) 50% 50% / cover no-repeat; min-height: 200px; }
.hero__text { padding-block: 28px 36px; }
.hero :is(.voice, .is-style-voice) { max-width: 34ch; }
@media (min-width: 900px) {
  .hero { position: relative; display: flex; align-items: center; min-height: 560px; }
  .hero__field { position: absolute; inset: 0 0 0 50%; min-height: 0; }
  .hero__text { position: relative; padding-block: 64px; }
  .hero__text > .stack { max-width: min(34rem, calc(50vw - var(--pad) - 32px)); }
}

/* ---------- page header (inner pages) ---------- */
.page-head { padding-block: 32px 36px; }
.page-head h1 { margin-top: 12px; font-size: clamp(48px, 4vw + 32px, 88px); }
.page-head :is(.voice, .is-style-voice) { margin-top: 14px; max-width: 34ch; }
@media (min-width: 1024px) { .page-head { padding-block: 56px 60px; } }

/* ---------- pattern strips ---------- */
/* repeating band: same crop and position under every page head and at the top of the footer.
   Never put a strip on both sides of a section: use .divider (a narrow solid band) or a contrasting background instead. */
.fieldstrip { height: 84px; background: #000 var(--pattern-band) repeat-x 0 50% / auto 240px; }
@media (min-width: 900px) { .fieldstrip { height: 112px; background-size: auto 300px; } }

.divider { height: 12px; background: var(--yellow); }

/* ---------- info rows ---------- */
:is(.rows, .is-style-rows, .is-style-rows-steps) { list-style: none; display: grid; counter-reset: row; }
:is(.rows, .is-style-rows, .is-style-rows-steps) li { position: relative; padding: 12px 0 12px 34px; border-top: 1.5px solid var(--rule); font-size: 16px; line-height: 1.5; font-weight: 500; }
:is(.rows, .is-style-rows, .is-style-rows-steps) li::before {
  content: ""; position: absolute; top: 12px; left: 0; width: 22px; height: 22px;
  background: var(--bi, url(../img/festa/target-red.svg)) center / contain no-repeat;
}
:is(.rows, .is-style-rows, .is-style-rows-steps) li:nth-child(4n + 1) { --bi: url(../img/festa/target-red.svg); }
:is(.rows, .is-style-rows, .is-style-rows-steps) li:nth-child(4n + 2) { --bi: url(../img/festa/rings-green.svg); }
:is(.rows, .is-style-rows, .is-style-rows-steps) li:nth-child(4n + 3) { --bi: url(../img/festa/tri-yellow.svg); }
:is(.rows, .is-style-rows, .is-style-rows-steps) li:nth-child(4n)     { --bi: url(../img/festa/diamond-red.svg); }
:is(.rows--steps, .is-style-rows-steps) li { counter-increment: row; padding-left: 38px; }
:is(.rows--steps, .is-style-rows-steps) li::before { content: "0" counter(row); top: 15px; width: auto; height: auto; background: none; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--kicker); }
:is(.rows, .is-style-rows, .is-style-rows-steps) li small { display: block; font-weight: 400; font-size: 15px; opacity: 0.85; margin-top: 2px; }

/* ---------- grids ---------- */
.grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { gap: 24px; } .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.split { display: grid; gap: 28px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } .split--wide-left { grid-template-columns: 1.2fr 1fr; } }

/* ---------- cards ---------- */
.card { border: 2px solid var(--ink); padding: 18px 20px 20px; }
.card h3 + * { margin-top: 10px; }
.facts { display: grid; gap: 0; margin-top: 14px; }
.facts div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 9px 0; border-top: 1.5px solid var(--ink); font-size: 16px; line-height: 1.45; }
.facts dt { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay-text); padding-top: 3px; }
.facts dd { margin: 0; font-weight: 500; }
.card .btn-row { margin-top: 16px; }
.card .btn { min-width: 0; }
.chip { display: inline-block; background: var(--ink); color: var(--yellow); padding: 4px 9px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; vertical-align: middle; line-height: 1.3; }

/* ---------- events ---------- */
.events { display: grid; gap: 10px; }
.event { display: grid; grid-template-columns: 88px 1fr; gap: 18px; border: 2px solid var(--ink); padding: 14px; align-items: start; }
/* date: a solid block so the whole date reads at a glance (weekday · day · month) */
.event__date { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px 4px 12px; background: var(--ink); color: var(--sand); text-align: center; line-height: 1; }
.event__wk { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.event__day { font-family: var(--font-display); font-size: 46px; line-height: 1; letter-spacing: -0.03em; }
.event__mo { font-family: var(--font-display); font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--yellow); }
.event h3 { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.event p { font-size: 15px; line-height: 1.45; margin-top: 5px; }
.event__note { opacity: 0.85; }
.chip + .chip { margin-left: 4px; }
@media (min-width: 1024px) { .events--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.past { list-style: none; }
.past li { display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px; padding: 12px 0; border-top: 1.5px solid var(--rule); font-size: 16px; }
.past__year { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--kicker); padding-top: 4px; }
.past__title { font-weight: 600; }
.past__place { grid-column: 2; font-size: 15px; opacity: 0.85; }
@media (min-width: 700px) { .past li { grid-template-columns: 70px 1fr 1fr; } .past__place { grid-column: auto; } }

/* ---------- photos (full color, tilted frame) ---------- */
.tile { margin: 0; box-shadow: 0 0 0 3px var(--sand), 0 0 0 5px var(--ink); transform: rotate(var(--r, -3deg)); background: var(--sand-deep); }
.tile img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: var(--ar, 4 / 3); }
.photo-strip { display: grid; gap: 28px; padding: 14px 8px; }
@media (min-width: 700px) and (max-width: 899px) { .photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: center; } }
@media (min-width: 900px) { .photo-strip { gap: 36px; padding: 12px 12px 12px 20px; } .photo-strip .tile:nth-child(2) { margin-left: 36px; } }
figcaption { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 12px; }

.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery a { display: block; border: 2px solid var(--ink); background: var(--sand-deep); overflow: hidden; }
.gallery a img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 0.25s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a:active img { transform: scale(1.01); filter: brightness(0.85); }
.gallery .tall img { aspect-ratio: 3 / 4; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.video { position: relative; display: block; border: 2.5px solid var(--ink); background: var(--ink); text-decoration: none; color: var(--sand); }
.video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: brightness(0.8); }
.video__play { position: absolute; inset: 0; display: grid; place-items: center; }
.video__play span { transition: transform 0.15s, filter 0.15s; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--yellow); border: 2.5px solid var(--ink); color: var(--ink); font-size: 26px; padding-left: 4px; }
.video:hover .video__play span { transform: scale(1.1); }
.video:active .video__play span { transform: scale(0.96); filter: brightness(0.9); }
.video__cap { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--yellow); padding: 6px 10px; }
dialog { border: 2.5px solid var(--ink); background: var(--ink); padding: 0; max-width: min(94vw, 1100px); }
dialog::backdrop { background: rgba(21, 19, 15, 0.8); }
dialog img { max-height: 82vh; width: auto; margin: auto; }
dialog button:hover { filter: brightness(1.1); }
dialog button:active { filter: brightness(0.88); }
dialog button { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; background: var(--yellow); border: 2px solid var(--ink); font-family: var(--font-display); font-size: 18px; cursor: pointer; }

/* ---------- forms ---------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); padding: 0; }
.field input, .field select, .field textarea { width: 100%; min-height: var(--tap); padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); background: var(--field); border: 2px solid var(--ink); border-radius: 0; transition: background-color 0.12s, box-shadow 0.12s; }
.field input:hover, .field select:hover, .field textarea:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.field input[type="date"] { appearance: none; -webkit-appearance: none; display: block; text-align: left; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
/* custom caret: native select arrows are tiny and mis-sized next to the 2px border */
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1.5 1.5 8 8l6.5-6.5' fill='none' stroke='%2315130F' stroke-width='2.5' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px 10px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--yellow); outline-offset: 0; background: #fff; }
.form-success { background: #0F5E2B; color: var(--sand); padding: 14px 16px; border: 2px solid var(--ink); font-weight: 500; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 700px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* ---------- details / FAQ ---------- */
.faq details { border-top: 1.5px solid var(--ink); }
.faq details:last-child { border-bottom: 1.5px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--tap); padding: 10px 0; font-weight: 600; font-size: 17px; transition: background-color 0.12s, padding 0.12s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--tint); padding-inline: 10px; }
.faq summary:active { background: var(--tint-press); }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details > p { padding: 0 0 16px; max-width: 62ch; }

/* ---------- quote ---------- */
.quote { background: var(--ink-soft); color: var(--sand); padding: 22px 20px; }
.quote p { font-family: var(--font-voice); font-style: italic; font-weight: 500; font-variation-settings: "SOFT" 100; font-size: clamp(22px, 1vw + 18px, 30px); line-height: 1.2; }
.quote cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }

/* ---------- support banner ---------- */
.banner { text-align: left; }
.banner .wrap { display: grid; gap: 24px; padding-block: 64px; }
.banner h2 { color: var(--fg); max-width: 14ch; }
@media (min-width: 900px) { .banner .wrap { grid-template-columns: 1fr auto; align-items: center; padding-block: 112px; } }

/* ---------- placeholder portrait ---------- */
.placeholder { display: grid; place-items: center; text-align: center; padding: 20px; min-height: 260px; background: var(--sand-deep); border: 2px dashed var(--clay-text); color: var(--clay-text); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- footer ---------- */
.footer__grid { display: grid; gap: 44px; align-items: start; padding-block: 64px 48px; }
.footer__brand { display: flex; align-items: flex-start; gap: 20px; }
.footer__brand p { line-height: 1.5; padding-top: 2px; }
.footer__brand img { width: 96px; height: 96px; }
.footer__h { display: block; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--kicker); border-top: 2px solid var(--rule); padding-top: 10px; margin: 0 0 14px; }
.footer__links { list-style: none; display: grid; }
.footer__links li { padding: 7px 0; line-height: 1.5; }
.footer__links a { text-decoration: none; display: inline-block; min-height: 24px; }
.footer__links a:hover { text-decoration: underline; }
.footer__base { display: flex; flex-direction: column; gap: 16px; padding-block: 28px 40px; border-top: 1.5px solid rgba(241, 230, 208, 0.35); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1.4fr; gap: 56px; padding-block: 80px 64px; } }
