/* Home page (DEC-085), loaded only on /. Built from the Yard Sign mockup (OPEN-044); colours and fonts are the
   site-wide tokens in site.css. Every rule is scoped to body.home. */
.home h1, .home h2, .home h3 { font-weight:900; line-height:1.02; letter-spacing:-.01em; }
.home .hero { padding:56px 0 64px; background:linear-gradient(var(--bg), var(--tint)); }
.home .hero .wrap { display:grid; grid-template-columns:1.25fr .75fr; gap:48px; align-items:center; }
/* The headline is sized from its own column so it always sits on two lines: "Who gets" / "access to AI?".
   The longer line is about 7.7 em wide in Libre Franklin Black; 8 leaves room for the underline. */
.home .hero-text { container-type:inline-size; min-width:0; }
.home h1 { font-size:min(96px, 100cqi / 8); text-transform:uppercase; margin:0 0 20px; }
.home h1 .u { position:relative; white-space:nowrap; color:var(--blue); }
.home h1 .u svg { position:absolute; left:-2%; bottom:-.12em; width:104%; height:.32em; overflow:visible; }
.home .lede { font-size:21px; margin:0 0 26px; }
.home .btn { display:inline-flex; align-items:center; gap:12px; font-weight:800; font-size:18px; padding:15px 26px; border-radius:999px;
  text-decoration:none; background:var(--navy); color:var(--navy-ink); box-shadow:0 4px 0 rgba(15,27,51,.25); }
.home .btn svg { width:22px; height:22px; flex:none; }
.home .btn:hover { transform:translateY(-1px); }
.home .easy { display:inline-block; margin-left:18px; font-size:28px; transform:rotate(-3deg); vertical-align:middle; }
.home .civic { font-size:15px; color:var(--muted); margin:16px 0 0; }

/* postage stamp */
.home .stamp { position:relative; padding:14px; transform:rotate(2deg);
  /* Perforations: one strip per edge, each a row of holes centred on that edge; "round" fits a whole number of holes. */
  --hole: radial-gradient(circle, var(--tint) 5px, transparent 5.5px);
  background:
    var(--hole) 0 -9px / 18px 18px round no-repeat,
    var(--hole) 0 calc(100% + 9px) / 18px 18px round no-repeat,
    var(--hole) -9px 0 / 18px 18px no-repeat round,
    var(--hole) calc(100% + 9px) 0 / 18px 18px no-repeat round,
    var(--card);
  box-shadow:0 10px 24px rgba(0,0,0,.12); }
.home .stamp .inner { background:var(--card); border:3px solid var(--blue); padding:20px; text-align:center; position:relative; }
.home .stamp .flag { height:64px; margin:0 auto 14px; width:100%; max-width:220px; border-radius:2px;
  background:linear-gradient(90deg, var(--blue) 0 38%, transparent 38%),
             repeating-linear-gradient(180deg, var(--red) 0 9.14px, var(--card) 9.14px 18.28px); }
.home .stamp .big { font-weight:900; font-size:30px; color:var(--ink); line-height:1.05; text-transform:uppercase; margin:0 0 6px; }
.home .stamp p { margin:0; font-size:16px; color:var(--muted); }
.home .stamp .denom { position:absolute; top:6px; right:10px; font-weight:900; color:var(--blue); font-size:18px; }

.home main > section { padding:72px 0; }
.home h2 { font-size:clamp(34px, 4.6vw, 54px); text-transform:uppercase; margin:0 0 14px; }
.home .kicker { font-weight:800; font-size:14px; letter-spacing:.16em; text-transform:uppercase; color:var(--blue); margin:0 0 10px; }
.home .sub { margin:0 0 36px; font-size:20px; }

.home .versus { display:grid; grid-template-columns:1fr auto 1fr; align-items:stretch; border-radius:16px; overflow:hidden; border:2px solid var(--ink); }
.home .side { padding:32px; display:flex; flex-direction:column; }   /* result lines sit at the same height on both sides */
.home .side h3 { font-size:30px; text-transform:uppercase; margin:0 0 10px; }
.home .side p { margin:0 0 18px; }
.home .side.few { background:var(--few); color:var(--few-ink); } .home .side.few h3 { color:var(--few-ink); }
.home .result { display:block; margin-top:auto; padding-top:14px; border-top:2px solid currentColor; font-weight:900;
  text-transform:uppercase; letter-spacing:.06em; font-size:17px; }
.home .side.all { background:var(--blue); color:var(--blue-ink); } .home .side.all h3 { color:var(--blue-ink); }
.home .vs { display:grid; place-items:center; background:var(--ink); color:var(--bg); font-weight:900; padding:0 14px; font-size:20px; writing-mode:vertical-rl; letter-spacing:.2em; }

/* Breakthroughs: a looping row of examples */
.home .anyone { background:var(--tint); }
.home .marquee { overflow-x:auto; overflow-y:hidden; scrollbar-width:none; cursor:grab; touch-action:pan-x pan-y; margin:8px -20px 0; padding:8px 0 4px; outline-offset:4px;
  -webkit-mask:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.home .marquee::-webkit-scrollbar { display:none; }
.home .marquee { -webkit-user-select:none; user-select:none; }
.home .marquee a { -webkit-user-drag:none; }
.home .marquee.dragging { cursor:grabbing; }
.home .marquee.dragging a { pointer-events:none; }
.home .track { display:flex; gap:18px; width:max-content; padding:0 20px; }
.home .ex { width:290px; flex:none; display:flex; flex-direction:column; background:var(--card); border-radius:14px; padding:20px 22px; border-top:6px solid var(--blue); }
.home .ex:nth-child(even) { border-top-color:var(--red); }   /* strict alternation; 8 cards, so the loop stays in step */
.home .ex h3 { font-size:24px; text-transform:uppercase; margin:0 0 4px; }
.home .ex .who { font-weight:800; color:var(--blue); font-size:16px; margin:0 0 8px; }
.home .ex p { margin:0; font-size:16px; }
.home .ex .tag { display:block; margin-top:auto; padding-top:10px; font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.home .ex .story { display:inline-block; margin-top:10px; font-weight:800; font-size:15px; color:var(--blue); text-decoration:none; }
.home .ex .story:hover { text-decoration:underline; text-decoration-thickness:2px; }
.home .ex .story .src { font-weight:600; color:var(--muted); }
.home .punch { font-size:22px; font-weight:800; color:var(--ink); margin:30px 0 0; }

/* We've been here before */
.home .before .grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin:0 0 24px; }
.home .era { border:2px solid var(--line); border-radius:14px; padding:24px 26px; }
.home .era.us { border-color:var(--blue); }
.home .era h3 { font-size:22px; text-transform:uppercase; margin:0 0 8px; }
.home .era .meter { font-family:"Caveat"; font-weight:700; font-size:26px; color:var(--muted); display:block; margin-bottom:4px; }
.home .era.us .meter { color:var(--blue); }
.home .era p { margin:0; }
.home .today { font-size:21px; margin:0; }
.home .today b { color:var(--ink); }
.home .before .sub b { color:var(--ink); }

.home .asks { background:var(--tint); }
.home .asklist { list-style:none; margin:0; padding:0; display:grid; gap:16px; }
.home .asklist li { display:grid; grid-template-columns:90px 1fr; gap:24px; align-items:center; background:var(--card);
  border-radius:14px; padding:22px 28px; border-left:10px solid var(--blue); }
.home .asklist li:nth-child(even) { border-left-color:var(--red); }
.home .asklist .n { font-weight:900; font-size:64px; line-height:1; color:var(--blue); text-align:center; }
.home .asklist li:nth-child(even) .n { color:var(--red); }
.home .asklist h3 { font-size:24px; text-transform:uppercase; margin:0 0 4px; }
.home .asklist p { margin:0; font-size:17px; }

.home .wolves { background:var(--red); color:var(--red-ink); }
.home .wolves .wrap { display:grid; grid-template-columns:minmax(120px, 200px) 1fr minmax(120px, 200px); gap:40px; align-items:center; }
/* White wolf on the left, black on the right, both facing the text (public-domain silhouette, recoloured with filters). */
.home .wolf { width:100%; height:auto; display:block; }
.home .w-left { filter:brightness(0) invert(1); }   /* the drawing faces right, toward the text */
.home .w-right { filter:brightness(0); transform:scaleX(-1); }
.home .wolves h2 { color:var(--red-ink); margin-bottom:16px; }
.home .wolves .q { font-size:24px; line-height:1.45; margin:0 0 16px; }
.home .wolves .hand { color:var(--red-ink); font-size:34px; display:block; margin-top:8px; }

.home .steps { display:grid; grid-template-columns:repeat(3, 1fr); gap:32px; margin:0 0 40px; }
.home .step .n { display:grid; place-items:center; width:64px; height:64px; border-radius:50%; border:4px solid var(--ink);
  font-weight:900; font-size:30px; color:var(--ink); margin-bottom:14px; }
.home .step h3 { font-size:24px; text-transform:uppercase; margin:0 0 6px; }
.home .step p { margin:0; color:var(--muted); }
.home .big-cta { text-align:center; background:var(--tint); border:2px solid var(--blue); border-radius:20px; padding:44px 24px; }
.home .big-cta p { margin:0 0 22px; font-size:19px; }


/* The longer passages run in two columns on wide screens (project lead, 2026-11-19, OPEN-044). */
@media (min-width:821px) {
  .home .before .sub { column-count:2; column-gap:48px; orphans:2; widows:2; }
}
@media (max-width:820px) {
  .home .hero .wrap, .home .steps, .home .before .grid { grid-template-columns:1fr; }
  .home .versus { grid-template-columns:1fr; } .home .vs { writing-mode:horizontal-tb; padding:8px; }
  .home .asklist li { grid-template-columns:52px 1fr; gap:14px; padding:18px; } .home .asklist .n { font-size:42px; }
  .home .easy { display:block; margin:14px 0 0 6px; }
  .home .stamp { max-width:340px; margin:12px auto 0; }
  .home .wolves .wrap { grid-template-columns:1fr 1fr; gap:20px 24px; }
  .home .wolves .wrap > div { grid-column:1 / -1; grid-row:2; }
  .home .wolf { width:120px; } .home .w-left { justify-self:end; } .home .w-right { justify-self:start; }
  .home .btn { display:flex; justify-content:center; font-size:16px; padding:14px 18px; }
  .home h1 .u { white-space:normal; }
  .home .ex { width:250px; }
}
