/* /beta, the home page from launch (D-382, D-393, D-394), on top of styles.css, beta.css, events.css and beta-home.css.
   Everything here is under .page-beta, and only Beta.cshtml loads this file, so the pre-launch home page (index.html),
   which shares the other four stylesheets, can't change. No scripts, no inline styles, local fonts only (D-303, D-371). */

/* Fraunces 600 for card titles only (D-394; SIL Open Font License, Fraunces-OFL.txt beside it). */
@font-face{font-family:'Fraunces';font-style:normal;font-weight:600;font-display:swap;src:url(Fraunces-600.woff2) format('woff2')}
.page-beta{--font-card:'Fraunces', Georgia, 'Times New Roman', serif}

/* The rust button (as on /venues and the pre-launch page: accent-strong, white text 7.0:1) */
.page-beta .button--accent{background:var(--accent-strong);border-color:var(--accent-strong);color:var(--on-primary);font:700 18px/1 var(--font-display);letter-spacing:.04em;text-transform:uppercase}
.page-beta .button--accent:hover{background:var(--accent);border-color:var(--accent)}

/* Kat's hero (D-393): her layout, the red line under "wonder", the search and shortcuts where "Notify me" was */
.page-beta .hero-wonder{position:relative;display:inline-block;white-space:nowrap}
.page-beta .hero-wonder::after{content:"";position:absolute;left:0;right:6%;bottom:-.14em;height:.09em;min-height:3px;border-radius:999px;background:var(--accent);transform:rotate(-1.2deg)}
.page-beta .hero-lead{margin-bottom:var(--space-5)}
.page-beta .home-search{display:flex;flex-direction:column;gap:var(--space-3);max-width:540px}
.page-beta .home-search-row{display:flex}
.page-beta .home-search-row .input{flex:1 1 auto;border-right:0;border-color:var(--line-control)}
.page-beta .home-search-row .button{flex:none;min-height:48px;padding:0 var(--space-6)}
.page-beta .home-shortcuts{display:flex;flex-wrap:wrap;gap:var(--space-1) 0}
.page-beta .home-shortcuts a{display:inline-flex;align-items:center;min-height:32px;color:var(--accent);font-weight:600;text-decoration:none}
.page-beta .home-shortcuts a + a::before{content:"/";color:var(--line-control);margin:0 14px;font-weight:400}
.page-beta .home-shortcuts a:hover,.page-beta .home-shortcuts a:focus-visible{text-decoration:underline;text-underline-offset:4px}
.page-beta .hero-photo img{object-fit:cover}

/* Section heads: the condensed heading, a side line, the "See all" link on the right */
.page-beta .home-block{padding:var(--space-8) 0 0}
.page-beta .home-block-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 22px;margin-bottom:var(--space-4)}
.page-beta .home-block-head h2{font-size:var(--size-heading-2);line-height:1}
.page-beta .home-picked{font-size:32px;margin:0}
.page-beta .home-dates{margin-top:4px;color:var(--muted)}
.page-beta .home-more{margin-left:auto;color:var(--accent);font:700 20px/1.2 var(--font-display);text-decoration:none}
.page-beta .home-more:hover,.page-beta .home-more:focus-visible{text-decoration:underline;text-underline-offset:4px}

/* Home cards (_HomeCard): white, thin border, square corners (D-394) */
/* position:relative keeps each card's screen-reader text inside it, so a swipe row never widens the page on phones */
.page-beta .home-card{position:relative;display:flex;flex-direction:column;min-width:0;background:var(--surface-card);border:1px solid var(--line);color:var(--ink)}
.page-beta .home-card-photo{position:relative;flex:none;height:140px;background:var(--surface-band);overflow:hidden}
.page-beta .home-card-photo img{display:block;width:100%;height:100%;object-fit:cover}
/* The age tags in the tag row: only where the photo is too small for them (an event row on a phone, below) */
.page-beta .home-card-tags .tag--age{display:none}
.page-beta p.home-card-tags--ages{display:none}   /* only age tags, which are hidden here */
.page-beta .home-card-body{display:flex;flex-direction:column;gap:2px;flex:1;padding:10px 14px 4px}
.page-beta .home-card-label{font-size:var(--size-label);font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}
.page-beta .home-card-title{font:600 17px/1.25 var(--font-card);letter-spacing:0}
.page-beta .home-card-title a{color:inherit;text-decoration:none}
.page-beta .home-card-title a:hover,.page-beta .home-card-title a:focus-visible{text-decoration:underline;text-underline-offset:4px}
.page-beta .home-card-facts{font-size:13px;color:var(--muted)}
.page-beta .home-card-why{font-size:var(--size-meta);margin-top:2px}
.page-beta .home-card-line{font-size:24px;margin-top:4px}
/* Ages under the title on every card (D-404): the semi-bold the date line had, so the ages stand out; the date regular */
.page-beta .home-card-ages{font-size:var(--size-meta);font-weight:600;color:var(--ink);margin-top:2px}
.page-beta .home-card-when{font-size:var(--size-meta);margin-top:2px}
.page-beta .home-card-where{font-size:var(--size-meta);color:var(--muted)}
.page-beta .home-card-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.page-beta .home-card-tags .tag{font-size:13px}
.page-beta .home-card-band,.page-beta .home-card-deadline{display:flex;align-items:center;gap:6px;color:var(--accent);font-size:var(--size-meta);font-weight:700}
.page-beta .home-card-band .icon,.page-beta .home-card-deadline .icon{width:15px;height:15px;flex:none}
.page-beta .home-card-foot{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);margin-top:auto;padding-top:2px}
.page-beta .home-card-link{display:inline-flex;align-items:center;gap:4px;min-height:44px;color:var(--ink);font-size:var(--size-meta);text-decoration:underline;text-underline-offset:4px}
.page-beta .home-card-foot .card-save-form,.page-beta .home-card-foot .card-save{margin-left:auto}

/* Wonder Gems (D-393). No rust outline (Kat, 2026-11-05): the top pick isn't called out more than the other gems. */
.page-beta .home-card--top .home-card-title{font-size:22px;line-height:1.2}
.page-beta .home-card--top .home-card-facts{font-size:var(--size-meta)}
.page-beta .home-card--top .home-card-why{font-size:15px}
/* Desktop and tablet (Kat, 2026-11-05): Kat's top pick as the big card on the left, then two columns of two gems
   stacked. The cards fill down each column; a photo grows to fill any spare height. Fewer gems: four puts the last one
   alone in the third column, full height; three or two drop the third column. Phones keep their own layout (below). */
@media (min-width:801px){
  .page-beta .home-gems{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto;grid-auto-flow:column;gap:16px}
  .page-beta .home-gems > .home-card--top{grid-row:1 / span 2}
  .page-beta .home-gems:has(> .home-card:nth-child(4):last-child) > .home-card:last-child{grid-row:1 / span 2}
  .page-beta .home-gems:has(> .home-card:nth-child(3):last-child),
  .page-beta .home-gems:has(> .home-card:nth-child(2):last-child){grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
  .page-beta .home-gems:has(> .home-card:nth-child(2):last-child) > .home-card:last-child{grid-row:1 / span 2}
  .page-beta .home-gems:has(> .home-card:only-child){grid-template-columns:minmax(0,1fr)}
  .page-beta .home-gems .home-card-photo{position:relative;flex:1 1 auto;height:auto;min-height:110px}
  .page-beta .home-gems > .home-card--top .home-card-photo{min-height:200px}
  .page-beta .home-gems .home-card-photo img{position:absolute;inset:0}
  .page-beta .home-gems .home-card-body{flex:0 0 auto}
  /* The smaller gems show their title, date and place; their "why" is on the event page (as on phones) */
  .page-beta .home-gems > .home-card:not(.home-card--top) .home-card-why{display:none}
}

/* Browse by interest: every topic, on two lines (D-393) */
.page-beta .home-topics{display:flex;flex-wrap:wrap;align-items:center;gap:12px 30px;margin-top:30px;padding:18px 24px;background:var(--surface-band)}
.page-beta .home-topics h2{font-size:28px;line-height:1;padding-right:26px;border-right:1px solid var(--line-sponsored)}
/* Every topic stays on one line (Astra, 2026-11-05): columns as wide as their longest topic, the spare room between them */
.page-beta .home-topic-list{flex:1 1 600px;min-width:0;display:grid;grid-template-columns:repeat(5,max-content);justify-content:space-between;gap:6px 12px}
.page-beta .home-topic-list a{display:inline-flex;align-items:center;gap:10px;min-height:36px;color:var(--ink);font-size:15px;white-space:nowrap;text-underline-offset:4px}
/* Each topic's icon (Kat, 2026-11-08; Pages/Shared/_TopicIcon.cshtml): ink lines, one rust detail; a small lift on hover */
.page-beta .topic-icon{flex:0 0 auto;width:28px;height:28px;color:var(--ink);transition:transform .2s ease}
.page-beta .topic-icon-accent{fill:var(--accent);stroke:none}
.page-beta .topic-icon-fill{fill:currentColor;stroke:none}
.page-beta .topic-icon-accent-line{stroke:var(--accent)}
.page-beta .home-topic-list a:hover .topic-icon,.page-beta .home-topic-list a:focus-visible .topic-icon{transform:translateY(-2px)}
@media (prefers-reduced-motion:reduce){.page-beta .topic-icon{transition:none}}
/* Narrower screens: the heading sits above the topics, which take the full width, as many columns as fit one-line topics.
   From 1360 down since the icons (2026-11-08): five icon-and-name columns need about 900px beside the heading. */
@media (max-width:1359px){
  .page-beta .home-topics h2{flex-basis:100%;padding-right:0;border-right:0}
  .page-beta .home-topic-list{flex-basis:100%;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));justify-content:normal;gap:6px 24px}
}
@media (max-width:1150px){
  /* The hero shortcuts wrap here, so no "/" between them: a slash would start the second line */
  .page-beta .home-shortcuts{gap:var(--space-1) 22px}
  .page-beta .home-shortcuts a + a::before{content:none}
}

/* This weekend / In the next few days: four compact cards (D-393) */
.page-beta .home-next{padding-top:36px}
.page-beta .home-next-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.page-beta .home-next .home-card-photo{height:auto;aspect-ratio:5/2}
@media (max-width:1100px){.page-beta .home-next-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Plan ahead: one line of links on the cream band (D-393) */
.page-beta .home-plan{display:flex;flex-wrap:wrap;align-items:center;gap:10px 0;margin-top:34px;padding:16px 26px;background:var(--surface-band)}
.page-beta .home-plan h2{font-size:30px;line-height:1;padding-right:26px;margin-right:8px;border-right:1px solid var(--line-sponsored)}
.page-beta .home-plan a{flex:0 1 auto;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 24px;color:var(--ink);font-size:var(--size-body-lg);text-decoration:none}
.page-beta .home-plan a + a{border-left:1px solid var(--line-sponsored)}
.page-beta .home-plan a span{color:var(--accent)}
.page-beta .home-plan a:hover,.page-beta .home-plan a:focus-visible{text-decoration:underline;text-underline-offset:4px}
/* Volunteer with no listings yet: the same place and size as a link, in plain words, "none right now" in grey */
.page-beta .home-plan-none{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin:0;padding:0 24px;font-size:var(--size-body-lg);color:var(--ink)}
.page-beta .home-plan a + .home-plan-none{border-left:1px solid var(--line-sponsored)}
.page-beta .home-plan-none span{color:var(--muted)}

/* Guides for curious families (D-384, D-393): three across, serif title; samples until posts exist.
   Photo tiles (Kat, 2026-11-10, as the clubs, D-452): the photo fills the tile, the title in white over a soft fade.
   A guide that links somewhere lifts gently on hover; the samples don't link, so they stay still. */
.page-beta .home-guides-lead{margin:0;font-size:var(--size-body-lg)}
.page-beta .home-sample{margin-left:auto;padding:3px 8px;background:var(--status-tint);font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.page-beta .home-guides-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.page-beta .home-guide{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:var(--ink);box-shadow:0 1px 2px #19233814,0 6px 18px #1923381f;transition:transform .2s ease,box-shadow .2s ease}
.page-beta .home-guide img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.page-beta .home-guide::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,#0a0e16e0 0%,#0a0e1670 45%,#0a0e1600 75%)}
.page-beta .home-guide-body{position:absolute;left:0;right:0;bottom:0;z-index:1;display:flex;flex-direction:column;gap:4px;padding:18px 20px}
.page-beta .home-guide h3{font:600 23px/1.2 var(--font-card);letter-spacing:0;color:var(--on-primary)}
.page-beta .home-guide-soon{margin:0;color:#ffffffd9;font-size:var(--size-meta)}
.page-beta .home-guide:has(a):hover{transform:translateY(-3px);box-shadow:0 2px 4px #1923381a,0 14px 30px #19233833}
.page-beta .home-guide:has(a):hover img{transform:scale(1.05)}
@media (prefers-reduced-motion:reduce){.page-beta .home-guide,.page-beta .home-guide img{transition:none}}

/* The Weekly Edit: the dark band (D-393), rust button, white focus ring on the dark */
.page-beta .founder-note{padding-top:var(--space-8)}

/* Phones (D-393): its own layout so the first event comes quickly. Kat expects to rework it later. */
@media (max-width:800px){
  /* The full-width Menu and no bottom bar now apply to every signed-in page (styles.css, _SiteFooter; C96) */
  .page-beta .hero-phone--beta img{height:110px;object-position:center 55%}
  .page-beta .hero-phone--beta h1,.page-beta .hero-phone--beta .hero-phone-headline{margin-bottom:var(--space-4)}
  .page-beta .hero-phone--beta .hero-wonder::after{bottom:-.12em}
  .page-beta .home-search-row .button{padding:0 var(--space-4);font-size:17px}
  /* The search and the shortcuts fill the screen's width, whatever the phone: the shortcuts as two even rows of two */
  .page-beta .hero-phone--beta .home-search{max-width:none}
  .page-beta .home-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px 0 4px}
  .page-beta .home-chips a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:40px;padding:4px 10px;border:1.5px solid var(--ink);background:var(--surface-card);color:var(--ink);font-size:var(--size-meta);font-weight:600;line-height:1.2;text-align:center;text-decoration:none}
  .page-beta .home-block{padding-top:var(--space-6)}
  .page-beta .home-block-head h2{font-size:28px}
  .page-beta .home-picked{font-size:22px}
  .page-beta .home-more{margin-left:0;font-size:18px}
  /* Phone trims (Kat, 2026-11-05): each has another way there, so nothing is lost.
     Gems drop "Explore all events" (the bottom bar's Events and the See all link go there);
     the founder note keeps Kat's photo small beside her words; Say hello goes (the footer's Contact goes there). */
  .page-beta .home-gems-row .home-more{display:none}
  .page-beta .founder-grid{gap:0}
  .page-beta .founder-main{flex-wrap:nowrap;align-items:flex-start;gap:16px}
  .page-beta .founder-photo{width:88px;height:88px;flex:0 0 88px}
  .page-beta .founder-text{flex:1 1 auto}
  .page-beta .founder-text > :first-child{margin-top:0}
  .page-beta .say-hello{display:none}
  /* Gems: no sideways scrolling (Kat, 2026-11-05). The whole width: the top pick across it, the others two by two.
     When the others are an odd number, the last one takes the full row on its side (photo left, words right). */
  .page-beta .home-gems{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .page-beta .home-gems > .home-card--top{grid-column:1 / -1}
  .page-beta .home-gems .home-card-photo{height:100px}
  .page-beta .home-gems > .home-card--top .home-card-photo{height:150px}
  .page-beta .home-gems:has(> .home-card:nth-child(even):last-child) > .home-card:last-child:not(.home-card--top){grid-column:1 / -1;flex-direction:row}
  .page-beta .home-gems:has(> .home-card:nth-child(even):last-child) > .home-card:last-child:not(.home-card--top) .home-card-photo{width:40%;height:auto;min-height:120px}
  .page-beta .home-gems .home-card:not(.home-card--top) .home-card-why{display:none}
  .page-beta .home-card--top .home-card-title{font-size:18px}
  .page-beta .home-card--top .home-card-why{display:none}
  .page-beta .home-card--top .home-card-line{font-size:20px}
  /* Topics: no sideways scrolling either (Kat, 2026-11-05): every topic shows, two to a row across the full width */
  .page-beta .home-topics{display:block;margin-top:var(--space-4);margin-inline:calc(-1 * var(--gutter-phone));padding:12px var(--gutter-phone)}
  .page-beta .home-topics h2{font-size:20px;border:0;padding:0;margin-bottom:8px}
  .page-beta .home-topic-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .page-beta .home-topic-list a{display:flex;min-width:0;min-height:40px;align-items:center;gap:8px;padding:4px 10px;background:var(--surface-card);line-height:1.2;text-decoration:none;font-size:var(--size-meta);white-space:normal}
  .page-beta .topic-icon{width:22px;height:22px}
  /* Events: compact rows, a small photo on the left */
  .page-beta .home-next{padding-top:var(--space-6)}
  .page-beta .home-next-grid{display:flex;flex-direction:column;gap:0}
  .page-beta .home-next .home-card{flex-direction:row;gap:12px;border:0;border-top:1px solid var(--line);padding:10px 0;background:transparent}
  .page-beta .home-next .home-card:last-child{border-bottom:1px solid var(--line)}
  .page-beta .home-next .home-card-photo{flex:none;width:92px;height:92px;aspect-ratio:auto}
  /* The photo is a small square here, so the age tags move into the tag row after the venue (Kat, 2026-11-07) */
  .page-beta .home-next .age-tags{display:none}
  .page-beta .home-next .home-card-tags .tag--age{display:inline-flex}
  .page-beta .home-next .home-card-tags--ages{display:flex}
  .page-beta .home-next .home-card-body{padding:0}
  .page-beta .home-card-title{font-size:16px}
  .page-beta .home-card-link{min-height:40px}
  /* Plan ahead: stacked links */
  .page-beta .home-plan{display:block;margin-top:var(--space-6);padding:12px 16px}
  .page-beta .home-plan h2{font-size:22px;border:0;padding:0;margin-bottom:4px}
  .page-beta .home-plan a{display:flex;justify-content:space-between;padding:0;border-bottom:1px solid var(--line-sponsored)}
  .page-beta .home-plan a + a{border-left:0}
  .page-beta .home-plan a:last-child{border-bottom:0}
  .page-beta .home-plan-none{display:flex;padding:0}
  .page-beta .home-plan a + .home-plan-none{border-left:0}
  /* Guides: one under another across the full width (no sideways scrolling); round rows, as the clubs on a phone
     (Kat, 2026-11-10): a small round photo beside the title */
  .page-beta .home-guides-grid{grid-template-columns:minmax(0,1fr);gap:8px}
  .page-beta .home-guide{display:flex;flex-direction:row;align-items:center;gap:12px;aspect-ratio:auto;padding:10px 12px 10px 10px;background:var(--surface-card);border:1px solid var(--line);box-shadow:0 1px 2px #19233810}
  .page-beta .home-guide::after{display:none}
  .page-beta .home-guide img{position:static;flex:none;width:56px;height:56px;border-radius:50%}
  .page-beta .home-guide-body{position:static;min-width:0;gap:2px;padding:0;justify-content:center}
  .page-beta .home-guide h3{font-size:16px;color:var(--ink)}
  .page-beta .home-guide-soon{color:var(--muted)}
  .page-beta .home-guide:has(a):hover{transform:none}
  .page-beta .home-guides-lead{flex-basis:100%;font-size:var(--size-meta)}
}
/* Large phones and small tablets (600 to 800 wide): more room, so more across.
   The shortcuts sit four across, the gems take the tablet grid, the topics three to a row. */
@media (min-width:600px) and (max-width:800px){
  .page-beta .home-chips{grid-template-columns:repeat(4,minmax(0,1fr))}
  .page-beta .home-gems{grid-template-columns:repeat(3,minmax(0,1fr))}
  .page-beta .home-gems > .home-card--top{grid-column:span 2}
  .page-beta .home-gems:has(> .home-card:nth-child(4):last-child) > .home-card--top{grid-column:1 / -1}
  .page-beta .home-gems:has(> .home-card:nth-child(even):last-child) > .home-card:last-child:not(.home-card--top){grid-column:auto;flex-direction:column}
  .page-beta .home-gems:has(> .home-card:nth-child(even):last-child) > .home-card:last-child:not(.home-card--top) .home-card-photo{width:auto;height:100px;min-height:0}
  .page-beta .home-gems > .home-card--top .home-card-photo{height:110px}
  .page-beta .home-topic-list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* Four gems from 600 to 800 wide: the top pick has the whole first row, so it lies on its side (photo left, words right)
   instead of stretching its photo into a wide strip */
@media (min-width:600px) and (max-width:800px){
  .page-beta .home-gems:has(> .home-card:nth-child(4):last-child) > .home-card--top{flex-direction:row}
  .page-beta .home-gems:has(> .home-card:nth-child(4):last-child) > .home-card--top .home-card-photo{width:45%;height:auto;min-height:200px}
}