/* Self-hosted fonts (SIL Open Font License). Subsets: latin, latin-ext. */
@font-face{font-family:'Baskervville';font-style:italic;font-weight:400 700;font-display:swap;src:url(../fonts/baskervville-italic-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Baskervville';font-style:italic;font-weight:400 700;font-display:swap;src:url(../fonts/baskervville-italic-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/playfair-display-normal-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/playfair-display-normal-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/space-grotesk-normal-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/space-grotesk-normal-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* ==========================================================================
   Finesse & Fire — site stylesheet
   Palette and type follow the original Wix design; contrast is corrected to
   WCAG 2.2 AA wherever the original fell short.
   ========================================================================== */

:root {
  --red: #BE0505;          /* brand red: header, footer, bands, buttons */
  --red-deep: #8F0303;     /* hover / pressed */
  --rose: #EABBB5;
  --rose-light: #F6D3CE;
  --cream: #F9F8EF;        /* page ground */
  --paper: #EFEFEC;        /* FAQ band */
  --ink: #212121;          /* body text: 15:1 on cream */
  --ink-soft: #4A4A4A;     /* secondary text: 8.3:1 on cream */
  --line: #D9D5C7;
  --blue-dark: #1636A5;    /* Maddux / Johnson duotone */
  --blue-light: #DCE4F7;

  --serif-display: 'Playfair Display', 'Playfair', Georgia, 'Times New Roman', serif;
  --serif-italic: 'Baskervville', 'Baskerville', 'Libre Baskerville', Georgia, serif;
  --sans: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --edge-h: 28px;
  --focus: var(--ink);
  color-scheme: light;
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-deep); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 600; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.on-red { --focus: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--cream); color: var(--red); font-weight: 700;
  padding: 0.6rem 1rem; border-radius: 0 0 6px 6px; text-decoration: none;
}
.skip-link:focus { top: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.eyebrow {
  font: 700 0.78rem/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
}

/* --- Type ---------------------------------------------------------------- */
.title-italic {
  font-family: var(--serif-italic); font-style: italic; font-weight: 600;
  color: var(--red); line-height: 1.12; letter-spacing: -0.01em;
}
.h-section { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.h-sub { font-size: clamp(1.5rem, 2.6vw, 1.9rem); color: var(--ink-soft); }
.h-card { font-size: clamp(1.35rem, 2.2vw, 1.6rem); }

/* --- Torn brush edges -----------------------------------------------------
   One SVG mask, any colour: set --edge-color on the element that owns it.  */
.torn-top, .torn-bottom { position: relative; }
.torn-top::before, .torn-bottom::after {
  content: ''; position: absolute; left: 0; right: 0; height: var(--edge-h);
  background: var(--edge-color, var(--red)); pointer-events: none;
  -webkit-mask: url(../img/edge.svg) 0 0 / 100% 100% no-repeat;
          mask: url(../img/edge.svg) 0 0 / 100% 100% no-repeat;
}
.torn-top::before { bottom: calc(100% - 1px); }
.torn-bottom::after { top: calc(100% - 1px); transform: scaleY(-1); }

.dots {
  display: inline-block; width: 30px; aspect-ratio: 31 / 43; flex: none;
  background: currentColor;
  -webkit-mask: url(../img/dots.svg) center / contain no-repeat;
          mask: url(../img/dots.svg) center / contain no-repeat;
}

/* --- Buttons ------------------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.45em 1.4em;
  border: 1.5px solid var(--red); border-radius: 999px;
  background: var(--cream); color: var(--red);
  font-family: var(--serif-italic); font-style: italic; font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.15; text-align: center; text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.pill:hover { background: var(--red); color: #fff; }
.pill--solid { background: var(--red); color: #fff; }
.pill--solid:hover { background: var(--red-deep); color: #fff; }
.pill--sm {
  min-height: 44px; padding: 0.4em 1.3em;
  font-family: var(--sans); font-style: normal; font-weight: 500; font-size: 0.95rem;
}
.pill--soon {
  border-style: dashed; border-color: #9C8F86; color: var(--ink-soft); background: transparent;
  cursor: default; flex-direction: column; gap: 0.1em;
}
.pill--soon:hover { background: transparent; color: var(--ink-soft); }
.pill--soon small {
  font: 700 0.66rem/1 var(--sans); font-style: normal; letter-spacing: 0.14em; text-transform: uppercase;
}
.text-link {
  font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px;
}
.text-link:hover { border-bottom-width: 2.5px; }

/* --- Header -------------------------------------------------------------- */
.site-header {
  --edge-color: var(--red);
  position: relative; z-index: 20;
  background: var(--red); color: #fff;
}
.site-header__bar {
  position: relative; z-index: 16;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 84px; padding-block: 0.75rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.75rem;
  color: #fff; text-decoration: none;
}
.brand:hover { color: #fff; }
.brand img { width: 44px; height: 44px; }
.brand__text {
  font-family: var(--serif-italic); font-style: italic; font-weight: 600;
  font-size: 1.3rem; line-height: 1.02;
}
.brand__text span { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.85rem;
  color: #fff; text-decoration: none;
  font: 700 0.82rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
}
.site-nav a:hover, .site-nav a[aria-current='page'] {
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.join-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.4rem;
  border-radius: 999px; background: var(--cream); color: var(--red);
  font: 500 0.92rem/1 var(--sans); text-decoration: none; white-space: nowrap;
}
.join-btn:hover { background: #fff; color: var(--red-deep); }
.nav-toggle { display: none; }

/* Without JavaScript the nav stays inline and wraps under the logo. */
@media (max-width: 859px) {
  html:not(.js) .site-header__bar { flex-wrap: wrap; }
  html:not(.js) .site-nav { order: 3; width: 100%; }
  html:not(.js) .site-nav ul { justify-content: center; flex-wrap: wrap; }
  .js .site-nav, .js .site-header__bar .join-btn { display: none; }
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-right: -8px;
    background: none; border: 0; color: #fff; cursor: pointer; border-radius: 6px;
  }
}
.nav-toggle__icon { position: relative; width: 28px; height: 18px; }
.nav-toggle__icon span {
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.nav-toggle__icon span:nth-child(1) { top: 0; }
.nav-toggle__icon span:nth-child(2) { top: 8px; }
.nav-toggle__icon span:nth-child(3) { top: 16px; }
.nav-toggle[aria-expanded='true'] .nav-toggle__icon span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle__icon span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

/* Full-screen mobile menu: red duotone over the batter photograph. */
.menu-panel {
  position: fixed; inset: 0; z-index: 15;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
  padding: 7rem 1.5rem 3rem;
  background-color: var(--red); color: #fff;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s;
}
.menu-panel::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: url(../img/menu-batter.webp) center / cover no-repeat;
  mix-blend-mode: multiply; opacity: 0.55;
}
.menu-panel.is-open { opacity: 1; visibility: visible; transition: opacity .2s ease; }
.menu-panel ul { list-style: none; margin: 0; padding: 0; text-align: center; display: grid; gap: 1.25rem; }
.menu-panel a:not(.join-btn) {
  display: inline-block; padding: 0.25rem 0.75rem; min-height: 44px;
  color: #fff; text-decoration: none;
  font: 500 2rem/1.2 var(--sans); letter-spacing: 0.04em; text-transform: uppercase;
}
.menu-panel a[aria-current='page'] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.menu-panel .join-btn { font-size: 1.05rem; padding: 0 2rem; min-height: 52px; }
body.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .menu-panel, .menu-panel.is-open, .nav-toggle__icon span { transition: none; }
}
@media (min-width: 860px) { .menu-panel { display: none; } }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; text-align: center;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem);
  background: var(--cream);
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: url(../img/hero-baseballs-960.webp) center / cover no-repeat;
  opacity: 0.16;
}
@media (min-width: 961px) { .hero::before { background-image: url(../img/hero-baseballs.webp); } }
.hero__title {
  font-family: var(--serif-display); font-weight: 400; color: var(--red);
  font-size: clamp(3.1rem, 13.5vw, 7.75rem); line-height: 1; letter-spacing: -0.015em;
  margin-bottom: 0.3em;
}
.hero__sub {
  font-family: var(--serif-italic); font-style: italic; font-weight: 600;
  font-size: clamp(1.3rem, 2.9vw, 1.9rem); line-height: 1.3; color: #3C3C3C;
  max-width: 34ch; margin: 0 auto 1.6rem;
}
.hero__intro { max-width: 64ch; margin: 0 auto; text-align: left; font-size: 1rem; }
.hero__intro strong { font-weight: 700; }
.hero__actions {
  display: grid; gap: 1.1rem; justify-content: center;
  grid-template-columns: minmax(0, 20rem); margin-top: 2.5rem;
}
@media (min-width: 640px) {
  .hero__actions { grid-template-columns: repeat(2, minmax(0, 19.5rem)); gap: 1.4rem 2.5rem; align-items: center; }
  .hero__intro { text-align: center; }
}

/* Hero entrance — the fade-and-grow the Wix site played on load.
   Pure CSS on purpose. The keyframe has a `from` only, so the finish state is
   each element's own resting style: if the animation never runs (old browser,
   CSS partially applied, a screenshot tool that freezes animations) the hero is
   simply *visible*, never stuck invisible. Nothing here depends on JavaScript
   or an IntersectionObserver. */
@keyframes ff-hero-rise {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
}
.hero__title,
.hero__sub,
.hero__intro,
.hero__actions > * {
  animation: ff-hero-rise 0.85s cubic-bezier(0.22, 0.7, 0.3, 1) backwards;
}
.hero__sub    { animation-delay: 0.10s; }
.hero__intro  { animation-delay: 0.20s; }
/* The four buttons flip in, tilting from alternate sides before settling
   level — the motion the Wix hero had. Odd ones swing in from the left,
   even ones from the right. */
@keyframes ff-flip-left  { from { opacity: 0; transform: rotate(-11deg) translateY(18px) scale(0.94); } }
@keyframes ff-flip-right { from { opacity: 0; transform: rotate(11deg)  translateY(18px) scale(0.94); } }
.hero__actions > *:nth-child(odd)  { animation-name: ff-flip-left; }
.hero__actions > *:nth-child(even) { animation-name: ff-flip-right; }
.hero__actions > * { animation-duration: 0.95s; }
.hero__actions > *:nth-child(1) { animation-delay: 0.30s; }
.hero__actions > *:nth-child(2) { animation-delay: 0.42s; }
.hero__actions > *:nth-child(3) { animation-delay: 0.54s; }
.hero__actions > *:nth-child(4) { animation-delay: 0.66s; }

@media (prefers-reduced-motion: reduce) {
  .hero__title,
  .hero__sub,
  .hero__intro,
  .hero__actions > * { animation: none; }
}

/* --- Scroll reveal ------------------------------------------------------
   Sections fade and rise as they come into view, the way the Wix site did.
   The hidden state lives behind .js-reveal, which the inline head script adds
   and removes again on a 2.5s timer if site.js never reports in — so a script
   failure ends with everything visible rather than a blank page. */
.js-reveal .ff-reveal {
  opacity: 0;
  transform: translateY(22px);
}
.ff-reveal {
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 0.7, 0.3, 1);
}
.ff-reveal.is-in { opacity: 1; transform: none; }
/* Items in a row arrive one after another. */
.ff-reveal.is-in:nth-child(2) { transition-delay: 0.09s; }
.ff-reveal.is-in:nth-child(3) { transition-delay: 0.18s; }
.ff-reveal.is-in:nth-child(4) { transition-delay: 0.27s; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal .ff-reveal { opacity: 1; transform: none; }
  .ff-reveal { transition: none; }
}

/* --- Marquee band -------------------------------------------------------- */
.band {
  --edge-color: var(--red);
  background: var(--red); color: var(--cream);
  margin-block: var(--edge-h);
}
.marquee { position: relative; overflow: hidden; padding: 0.55rem 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__group { display: flex; align-items: center; }
.marquee__item {
  display: flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem;
  font-family: var(--serif-italic); font-style: italic; font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.25; white-space: nowrap;
}
.marquee__item .dots { width: 24px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee.is-paused .marquee__track,
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__toggle {
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--cream); background: var(--red); color: var(--cream); cursor: pointer;
}
.marquee__toggle:hover { background: var(--red-deep); }
.marquee__toggle svg { width: 16px; height: 16px; }
.marquee__toggle .icon-play { display: none; }
.marquee.is-paused .marquee__toggle .icon-play { display: block; }
.marquee.is-paused .marquee__toggle .icon-pause { display: none; }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee__toggle { display: none; }
}
html:not(.js) .marquee__toggle { display: none; }

/* --- Finesse / Fire prototypes ----------------------------------------- */
.prototypes { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(4rem, 7vw, 6rem); }
.prototypes__grid { display: grid; gap: 3.5rem; }
@media (min-width: 900px) { .prototypes__grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.proto__head { display: grid; gap: 1.1rem; margin-bottom: 1.5rem; }
@media (min-width: 520px) {
  .proto__head { grid-template-columns: minmax(0, 15rem) 1fr; align-items: center; gap: 1.25rem; }
}
.proto__title > span:not(.visually-hidden) { display: block; }
.proto__label { font-size: clamp(2.4rem, 5vw, 3.2rem); }
.proto__name { margin-top: 0.1rem; }
.proto p { font-size: 0.98rem; }
.prototypes__cta { display: flex; justify-content: center; margin-top: 3rem; }

.duotone {
  --duo-dark: var(--blue-dark); --duo-light: var(--blue-light);
  position: relative; isolation: isolate; overflow: hidden; margin: 0;
  background: var(--duo-light);
}
.duotone img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.08); mix-blend-mode: multiply;
}
.duotone::after {
  content: ''; position: absolute; inset: 0;
  background: var(--duo-dark); mix-blend-mode: lighten; pointer-events: none;
}
.proto .duotone { aspect-ratio: 2 / 1; }

/* --- FFI FAQ band -------------------------------------------------------- */
.faq {
  --edge-color: var(--paper);
  background: var(--paper);
  margin-block: var(--edge-h);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5rem);
}
.faq__layout { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .faq__layout { grid-template-columns: minmax(0, 18rem) 1fr; gap: 3.5rem; } }
.faq__intro { display: flex; flex-direction: column; gap: 1.5rem; }
.faq__intro .dots { color: var(--red); width: 34px; }
.faq__list { display: grid; gap: 2.25rem 2.75rem; margin: 0; }
@media (min-width: 700px) { .faq__list { grid-template-columns: 1fr 1fr; } }
.faq__item h3 { font-size: clamp(1.35rem, 2.3vw, 1.6rem); margin-bottom: 0.5rem; }
.faq__answer { font-size: 0.98rem; }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__more { margin-top: 0.75rem; font-size: 0.95rem; }
.faq__cta { display: flex; justify-content: center; margin-top: 3rem; }

/* --- FFI score cards ----------------------------------------------------- */
.scores { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5rem); text-align: center; }
.scores__title { margin-bottom: 2.5rem; }
.card-grid { display: grid; gap: 1.75rem; text-align: left; }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.score-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--red); color: #fff; border-radius: 4px; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.score-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgb(120 0 0 / 0.22); }
@media (prefers-reduced-motion: reduce) { .score-card, .score-card:hover { transition: none; transform: none; } }
.score-card .duotone { --duo-dark: #7A0B0B; --duo-light: #F4C3BC; aspect-ratio: 4 / 3; }
.score-card .duotone img { object-position: center 25%; }
.score-card__body { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.1rem 1.25rem 1.3rem; }
.score-card__meta { font-size: 0.8rem; font-weight: 500; opacity: 0.95; }
.score-card__title { color: #fff; }
.score-card__link { color: inherit; text-decoration: none; }
.score-card__link::after { content: ''; position: absolute; inset: 0; } /* whole card is the target */
.score-card__link:focus-visible { outline: none; }
.score-card:has(.score-card__link:focus-visible) { outline: 3px solid var(--ink); outline-offset: 4px; }
.scores__cta { display: flex; justify-content: center; margin-top: 2.75rem; }

/* --- Contact + subscribe ------------------------------------------------- */
.contact { padding: clamp(2rem, 5vw, 4rem) 0 clamp(4.5rem, 8vw, 6rem); }
.contact__card { display: grid; overflow: hidden; border-radius: 4px; box-shadow: 0 1px 0 var(--line); }
@media (min-width: 900px) { .contact__card { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.defs {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
  background: var(--red); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.defs .dots { color: #fff; width: 30px; margin: 0 auto; }
.defs dl { margin: 0; }
.defs dt, .defs dd {
  display: inline; font-family: var(--serif-italic); font-style: italic; font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem); line-height: 1.35;
}
.defs dt { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.defs dd { margin: 0; }
.defs cite {
  display: block; margin-top: 0.75rem;
  font: 500 0.85rem/1.3 var(--sans); font-style: normal; letter-spacing: 0.04em; opacity: 0.95;
}
.forms {
  position: relative; isolation: isolate; display: grid; gap: 3rem;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.5rem, 5vw, 3.5rem);
  background: #F2EFE3;
}
.forms::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: url(../img/dugout.webp) center / cover no-repeat; opacity: 0.08; /* ≤0.08 keeps red labels ≥4.5:1 */
}
.form__title { font-size: clamp(2rem, 4vw, 2.6rem); }
.form__lede { margin: 0.35rem 0 1.5rem; }
.form__title-sub { display: block; margin-top: 0.2rem; font: 400 1.15rem/1.3 var(--sans); font-style: normal; color: var(--red); }
.form__req-note { display: block; margin-top: 0.35rem; font-size: 0.85rem; color: var(--ink-soft); }
.field { display: grid; gap: 0.35rem; margin-bottom: 1.1rem; }
.field label, .check__label { font-size: 0.9rem; font-weight: 500; color: var(--red); }
.req { color: var(--red); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.85rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #9C8F86; border-radius: 4px;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field input[aria-invalid='true'], .field textarea[aria-invalid='true'] { border-color: var(--red); border-width: 2px; }
.field__error { font-size: 0.85rem; font-weight: 600; color: var(--red); }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; margin: 0.25rem 0 1.25rem; }
.check input { width: 22px; height: 22px; margin: 0.15rem 0 0; accent-color: var(--red); flex: none; }
.check__label { color: var(--ink); font-weight: 400; line-height: 1.45; }
.btn-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; width: 100%; padding: 0.6rem 1.5rem;
  border: 0; border-radius: 4px; background: var(--red); color: #fff;
  font: 600 1rem/1 var(--sans); cursor: pointer;
}
.btn-submit:hover { background: var(--red-deep); }
.btn-submit[disabled] { opacity: 0.7; cursor: progress; }
.form-status { margin: 1rem 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status[data-state='ok'] { color: #1D6B34; }
.form-status[data-state='error'] { color: var(--red); }

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  --edge-color: var(--red);
  background: var(--red); color: #fff; text-align: center;
  margin-top: var(--edge-h); padding: 2.5rem 0 2rem;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--rose-light); }
.site-footer__ball { width: 48px; height: 48px; margin: 0 auto 0.75rem; }
.site-footer__name {
  display: inline-block; font-family: var(--serif-italic); font-style: italic; font-weight: 600;
  font-size: 1.9rem; line-height: 1.2; text-decoration: none;
}
.site-footer__email { display: inline-block; margin-top: 0.35rem; }
.site-footer nav ul {
  list-style: none; margin: 1.25rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.5rem;
}
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.92rem; }
.site-footer__copy { margin: 1.5rem 0 0; font-size: 0.85rem; }

/* --- Blog index ---------------------------------------------------------- */
.page-head { padding: clamp(2.75rem, 6vw, 4.25rem) 0 clamp(1.5rem, 3vw, 2.25rem); }
.page-head__title { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.page-head__lede { max-width: 60ch; margin: 0.75rem 0 0; color: var(--ink-soft); }
.post-list { list-style: none; margin: 0; padding: 0 0 clamp(4rem, 8vw, 6rem); display: grid; gap: 1.75rem; }
.post-row {
  position: relative; display: grid; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  transition: box-shadow .2s ease;
}
.post-row:hover { box-shadow: 0 8px 26px rgb(60 20 10 / 0.12); }
@media (min-width: 760px) { .post-row { grid-template-columns: minmax(0, 22rem) 1fr; } }
.post-row__img { margin: 0; aspect-ratio: 4 / 3; background: var(--paper); }
.score-card .duotone img.crop-top, .post-row__img img.crop-top { object-position: center 6%; }
.post-row__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.post-row__body { display: flex; flex-direction: column; gap: 0.6rem; padding: clamp(1.25rem, 3vw, 2rem); }
.post-row__title a { color: var(--red); text-decoration: none; }
.post-row__title a::after { content: ''; position: absolute; inset: 0; }
.post-row__title a:focus-visible { outline: none; }
.post-row:has(a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 4px; }
.post-row__excerpt { margin: 0; color: var(--ink-soft); }
.post-row__more { margin-top: auto; font-weight: 600; color: var(--red); }

.byline { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem 0.6rem; font-size: 0.85rem; color: var(--ink-soft); }
.byline img { width: 32px; height: 32px; border-radius: 50%; }
.byline__sep { opacity: 0.6; }

/* --- Single post --------------------------------------------------------- */
.post-wrap { width: min(100% - 2 * var(--gutter), 46rem); margin-inline: auto; padding-top: calc(var(--edge-h) + 1rem); }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.92rem; font-weight: 500; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.post {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: clamp(1.5rem, 5vw, 3.25rem); margin: 0.5rem 0 3rem;
}
.post__title { font-size: clamp(2.1rem, 5.5vw, 3rem); margin: 1rem 0 0.4rem; }
.post__updated { font-size: 0.85rem; color: var(--ink-soft); margin: 0 0 1.75rem; }
.prose { font-size: 1.05rem; }
.prose h2 {
  font-family: var(--serif-italic); font-style: italic; font-weight: 600; color: var(--red);
  font-size: clamp(1.3rem, 2.6vw, 1.55rem); line-height: 1.25; margin: 2.25rem 0 0.85rem;
}
.prose ul { padding-left: 1.2rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: 0.6rem; }
.prose li::marker { color: var(--red); }
.prose figure { margin: 2rem auto; text-align: center; }
.prose figure img { margin: 0 auto; border-radius: 3px; }
.prose figcaption { margin-top: 0.6rem; font-size: 0.85rem; color: var(--ink-soft); }
.post__foot { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.share__label { font-size: 0.85rem; font-weight: 600; margin-right: 0.35rem; }
.share a, .share button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 44px; min-width: 44px; padding: 0 0.85rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--cream);
  color: var(--ink); font: 500 0.85rem/1 var(--sans); text-decoration: none; cursor: pointer;
}
.share a:hover, .share button:hover { border-color: var(--red); color: var(--red); }
.share svg { width: 16px; height: 16px; }
.post__ask { margin: 1.5rem 0 0; font-size: 0.95rem; }
.related { padding-bottom: clamp(4rem, 8vw, 6rem); }
.related__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.25rem; }
.related__head h2 { font-size: 1.6rem; }

/* --- About ------------------------------------------------------------- */
.about {
  --focus: #fff;
  position: relative; isolation: isolate; color: var(--cream);
  background: #2A1A12;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem);
}
.about::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: url(../img/about-bg.webp) center 30% / cover no-repeat;
}
.about::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(33 16 10 / 0.86), rgb(33 16 10 / 0.9));
}
.about .prose-wrap { width: min(100% - 2 * var(--gutter), 44rem); margin-inline: auto; }
.about h1, .about h2 { color: var(--rose-light); }
.about h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); margin-bottom: 1.75rem; text-align: center; }
.about h2 { font-size: clamp(1.7rem, 3.6vw, 2.2rem); margin: 2.5rem 0 1rem; }
.about p, .about li { font-size: 1.05rem; }
.about ul { padding-left: 1.2rem; }
.about li { margin-bottom: 0.75rem; }
.about li::marker { color: var(--rose); }
.about strong { color: #fff; }
.about a { color: #fff; }
.about__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.75rem; }
.about .pill { background: transparent; border-color: var(--cream); color: var(--cream); }
.about .pill:hover { background: var(--cream); color: var(--red); }

/* --- Legal / simple pages ---------------------------------------------- */
.doc { padding: clamp(2.75rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.doc .prose-wrap { width: min(100% - 2 * var(--gutter), 44rem); margin-inline: auto; }
.doc h1 { font-size: clamp(2.3rem, 5.5vw, 3.2rem); margin-bottom: 0.5rem; }
.doc__date { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 2rem; }
.doc h2 {
  font-family: var(--serif-italic); font-style: italic; font-weight: 600; color: var(--red);
  font-size: clamp(1.45rem, 3vw, 1.75rem); margin: 2.25rem 0 0.75rem;
}
.doc ul { padding-left: 1.2rem; }
.doc li { margin-bottom: 0.5rem; }
.doc li::marker { color: var(--red); }
.notice { text-align: center; padding: clamp(4rem, 12vw, 8rem) 0; }
.notice h1 { font-size: clamp(2.6rem, 8vw, 4.5rem); margin-bottom: 1rem; }
.notice p { max-width: 46ch; margin: 0 auto 2rem; color: var(--ink-soft); font-size: 1.1rem; }
.notice__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* --- Print -------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .band, .nav-toggle, .menu-panel, .share, .related, .contact, .skip-link { display: none !important; }
  body { background: #fff; }
  .post { border: 0; padding: 0; }
  .torn-top::before, .torn-bottom::after { display: none; }
}

/* ==========================================================================
   WordPress layer — maps the site styles onto the markup core blocks produce
   (Query Loops, featured images, post content). Appended after site.css.
   ========================================================================== */

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wp-site-blocks { padding: 0; }
.wp-block-template-part { margin: 0; }

/* Query Loop lists */
.wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.card-grid > li, .post-list > li { display: flex; flex-direction: column; margin: 0; }
.card-grid > li > .score-card, .post-list > li > .post-row { flex: 1; }
.wp-block-post-featured-image { margin: 0; }
.wp-block-post-featured-image img { display: block; }
.query-empty { color: var(--ink-soft); text-align: center; }

/* Cards: the title link covers the whole card */
.score-card .wp-block-post-title, .post-row .wp-block-post-title { margin: 0; }
.score-card .wp-block-post-title a { color: #fff; text-decoration: none; }
.post-row .wp-block-post-title a { color: var(--red); text-decoration: none; }
.score-card .wp-block-post-title a::after,
.post-row .wp-block-post-title a::after { content: ''; position: absolute; inset: 0; }
.score-card .wp-block-post-title a:focus-visible,
.post-row .wp-block-post-title a:focus-visible { outline: none; }
.score-card:has(.wp-block-post-title a:focus-visible),
.post-row:has(.wp-block-post-title a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 4px; }
.score-card__meta { margin: 0; }
.score-card__meta .byline { color: #fff; font-size: inherit; }
.post-row__body > * { margin: 0; }
.post-row__excerpt p, .wp-block-post-excerpt__excerpt { margin: 0; }
.post-row__excerpt { color: var(--ink-soft); }
.score-card .duotone img.crop-top, .post-row__img img.crop-top { object-position: center 6%; }

.wp-block-query-pagination {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; align-items: center;
  margin: 0 0 clamp(4rem, 8vw, 6rem);
}
.wp-block-query-pagination a, .wp-block-query-pagination .current {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
  border: 1.5px solid var(--red); border-radius: 999px; text-decoration: none; font-weight: 500;
}
.wp-block-query-pagination .current { background: var(--red); color: #fff; }

/* Post, About, and page content come from the editor */
.post__title, .doc .wp-block-post-title, .about .wp-block-post-title { margin: 0; }
.doc .wp-block-post-title { margin-bottom: 0.5rem; }
.about .wp-block-post-title { margin-bottom: 1.75rem; }
.wp-block-post-content.prose > *,
.about .wp-block-post-content > *,
.doc .wp-block-post-content > * { margin-block: 0 1.1em; }
.wp-block-post-content.prose > h2,
.doc .wp-block-post-content > h2 { margin-block: 2.25rem 0.85rem; }
.about .wp-block-post-content > h2 { margin-block: 2.5rem 1rem; }
.about h2 { font-family: var(--serif-italic); font-style: italic; font-weight: 600; line-height: 1.15; }
.prose .wp-block-image { margin: 2rem auto; text-align: center; }
.prose .wp-block-image img { margin: 0 auto; border-radius: 3px; }
.prose .wp-element-caption, .prose .wp-block-image figcaption {
  margin-top: 0.6rem; font-size: 0.85rem; color: var(--ink-soft); text-align: center;
}
.post__foot .share, .post__foot .post__ask { margin: 0; }
.post__foot > * + * { margin-top: 1.5rem; }

/* Form result for visitors without JavaScript */
.form-notice { margin: 0 0 1.5rem; padding: 0.85rem 1rem; border-radius: 4px; font-weight: 600; }
.form-notice--ok { background: #E6F2E9; color: #1D5B2E; }
.form-notice--error { background: #FBE5E5; color: var(--red-deep); }

/* Recent Posts sit in the narrower article column: smaller photo, roomier text */
@media (min-width: 760px) { .post-list--related .post-row { grid-template-columns: minmax(0, 13rem) 1fr; } }
