/* Home page only. Everything shared lives in coa-components.css. */
/* ==========================================================================
   HOME PAGE ONLY. Everything shared (base, header, nav, hamburger, theme
   toggle, buttons, cards, product cards) comes from css/coa-components.css
   and the colors from css/coa-tokens.css - the same two files the CoA
   Library (internal-tools/coa-library/) reads. Change a component there and
   this page follows. Only layout that exists nowhere else lives here.
   ========================================================================== */

/* ---- Header: the little gradient mark next to the site name ---- */

@media (max-width: 960px) {
  /* phone: keep the mark, drop the words so the title and hamburger share one row */
  /* the name stays - it is the site's name, and the shared header shrinks it
     rather than hiding it */
}

/* ---- Layout / sections ---- */
/* only the sections in the page column: the hero band is a section too, and
   the bare section:last-of-type took away its invisible High Contrast border
   (it is the last section directly in main) - her catch 2026-09-27 */
.wrap > section { padding: var(--space-8) 0; border-bottom: 2px solid var(--border); }
.wrap > section:last-of-type { border-bottom: none; }
.section-head { max-width: 640px; margin: 0 0 var(--space-7); }
/* a section heading is an h2 and takes the scale - her call 2026-09-24.
   It was 28px and weight 800, a shade bigger and heavier than every
   other h2 on the site. */
.section-head h2 { margin-bottom: var(--space-3); }
/* the intro line under the heading - NOT the kicker above it. Without the
   :not() this also colours .eyebrow, and beats it on specificity, so the
   eyebrow's own colour never applies. */
.section-head p:not(.eyebrow) { margin: 0; font-size: 16px; }
/* ---- Hero band: the band itself is a shared component now, in
   coa-components.css ("HERO BAND"). The home page's own art is below. ---- */

/* ---- Hero art, HERO BAND (5) (her pick 2026-09-26, from the
   Playground: the magnifying glass in the compass's place, every shape with
   the same faint outline). Same drawing rules as the Playground (.pg-art in
   coa-library.css, renamed ha-*): each stop names its shape color (--nc) and
   icon color (--ni) once. */
.hero-art { width: 100%; max-width: 440px; justify-self: start; }
.hero-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-art .ha-teal-3 { --nc: var(--teal-3); }
.hero-art .ha-pink-1 { --nc: var(--pink-1); }
.hero-art .ha-gold-6 { --nc: var(--gold-6); }
.hero-art .ha-wine-6 { --nc: var(--wine-6); }
.hero-art .ha-ni-ice-3 { --ni: var(--ice-3); }
.hero-art .ha-ni-gray-10 { --ni: var(--gray-10); }
.hero-art .ha-ni-cream-2 { --ni: var(--cream-2); }
.hero-art .ha-ni-pink-7 { --ni: var(--pink-7); }
.hero-art .ha-shape { fill: var(--nc); stroke: var(--cream-3); stroke-opacity: 0.3; stroke-width: 3; }
.hero-art .ha-cut { fill: var(--nc); }
.hero-art .ha-ic { fill: var(--ni); }
.hero-art .ha-line { fill: none; stroke: var(--ni); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-art .ha-line.ha-cut { fill: var(--nc); }
/* the magnifying glass's handle */
.hero-art .ha-line.ha-thick { stroke-width: 9; }
.hero-art .ha-arrow { fill: var(--cream-3); fill-opacity: 0.5; }
/* on the light-mode band the cream arrows vanish: gray-2 (3.8:1+) */
:root[data-theme="light"] .hero-art .ha-arrow:not(.theme-dark *),
.theme-light .hero-art .ha-arrow { fill: var(--gray-2); fill-opacity: 0.8; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .hero-art .ha-arrow:not(.theme-dark *) { fill: var(--gray-2); fill-opacity: 0.8; }
}
@media (max-width: 800px) {
  .hero-art { justify-self: start; max-width: 320px; }
}
@media (forced-colors: active) {
  .hero-art .ha-shape { fill: Canvas; stroke: CanvasText; stroke-opacity: 1; stroke-width: 2; }
  .hero-art .ha-cut, .hero-art .ha-line.ha-cut { fill: Canvas; }
  .hero-art .ha-ic, .hero-art .ha-arrow { fill: CanvasText; fill-opacity: 1; }
  .hero-art .ha-line { stroke: CanvasText; }
}

/* ---- Follow ---- */
.follow-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.social-icon { width: 16px; height: 16px; flex-shrink: 0; fill: currentColor; }
.btn.social-btn { display: inline-flex; align-items: center; gap: var(--space-2); }

/* ---- Card art: the Membership and Shop pictures (her picks 2026-12-03
   from the Playground; drawings in parts/card-art.php). They sit in the
   shared product-card layout, beside the words, and drop above them when
   the card is too narrow for both. ---- */
.card-art { flex: 0 1 260px; max-width: 100%; }
.card-art svg { display: block; width: 100%; height: auto; overflow: visible; }
/* Membership: the badges keep their own colors; the faint edge around each
   badge and the band between overlapping ones follow the card. --ca-sep is
   the Gold card's own fill, so the band reads as a gap. */
.member-art { --ca-edge: var(--cream-3); --ca-sep: var(--gold-3); }
.member-art .ca-edge { fill: none; stroke: var(--ca-edge); stroke-opacity: 0.55; stroke-width: 1.5; }
.member-art .ca-sep { fill: none; stroke: var(--ca-sep); stroke-width: 5; }
.member-art .ca-mark { fill: var(--true-white); }
/* Shop: pink bag, gold and ice sparkles on the wine card. --ca-hole is the
   card's own fill, so the heart reads as cut out. */
.shop-art { --ca-main: var(--pink-5); --ca-acc: var(--ice-3); --ca-gold: var(--gold-9); --ca-hole: var(--wine-2); }
.shop-art .ca-main { fill: var(--ca-main); }
.shop-art .ca-acc { fill: var(--ca-acc); }
.shop-art .ca-gold { fill: var(--ca-gold); }
.shop-art .ca-hole { fill: var(--ca-hole); }
.shop-art .ca-main-line { fill: none; stroke: var(--ca-main); stroke-linecap: round; stroke-linejoin: round; }
/* light mode: the cards turn cream and pale pink */
:root[data-theme="light"] .member-art:not(.theme-dark *),
.theme-light .member-art { --ca-edge: var(--gold-1); --ca-sep: var(--cream-3); }
:root[data-theme="light"] .shop-art:not(.theme-dark *),
.theme-light .shop-art { --ca-main: var(--wine-5); --ca-acc: var(--teal-1); --ca-gold: var(--gold-5); --ca-hole: var(--pink-8); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .member-art:not(.theme-dark *) { --ca-edge: var(--gold-1); --ca-sep: var(--cream-3); }
  :root:not([data-theme="dark"]) .shop-art:not(.theme-dark *) { --ca-main: var(--wine-5); --ca-acc: var(--teal-1); --ca-gold: var(--gold-5); --ca-hole: var(--pink-8); }
}
@media (forced-colors: active) {
  .member-art .ca-edge { stroke: CanvasText; stroke-opacity: 1; }
  .shop-art :is(.ca-main, .ca-acc, .ca-gold) { fill: CanvasText; }
  .shop-art .ca-hole { fill: Canvas; }
  .shop-art .ca-main-line { stroke: CanvasText; }
}

/* ---- Card grid (membership / partner) ---- */
/* min() so a 240px minimum can never be wider than the screen itself - at
   400% zoom the viewport is about 320px, and a fixed minimum would push the
   page sideways */
/* the card grid is shared - see coa-components.css */
.card ul { margin: 0; padding-left: var(--space-5); font-size: 16px; }
.card ul li + li { margin-top: var(--space-1); }

/* the show's round logo (brand/logos/LOGO CoA EPic A11y.png, 800px WebP). Its
   card uses the product-card layout and the .card-art slot above, like
   Membership and Shop (her ask 2026-12-03: "make the epic a11y pic match the
   other pics"); the old two-column .podcast-card grid is gone. */
.podcast-art { display: block; width: 100%; height: auto; aspect-ratio: 1; }
/* small buttons side by side inside a card: the podcast's, and Membership's two ways to join */
.podcast-links, .join-links { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }

/* ---- My Story uses the shared product-card layout as-is ---- */
/* Layout only. The colour belongs to whatever pairing the card is wearing -
   this rule setting one is why the card needed an inline style to beat it. */
.product-card-body p { margin: 0; }

/* ---- Footer ---- */

/* zoomed in far, or on a phone */
@media (max-width: 560px) {
  .wrap > section { padding: var(--space-6) 0; }
  .card { padding: var(--space-4); }
}
