/* Beth Sholom Congregation — temporary prototype index.
   Tokens transcribed from the Figma mood board 189:2. Design idea: "light through the pyramid". */
:root{
  --red:#DB382C;          /* Brand Red — primary action, one per view. 4.6:1, UI/large only */
  --red-deep:#B8261C;     /* red text + hover. 6.3:1 AA text */
  --red-tint:#FBE3E0;
  --logo-red:#EE352A;     /* the mark ONLY — never a UI colour */
  --ink:#231F20;
  --ink-600:#5E5A5B;
  --ink-300:#B5B0B1;
  --gold:#C9A24B;         /* the light through the pyramid. never text on white */
  --gold-tint:#F5EBD3;
  --gold-ink:#6E5B2E;      /* gold as text, on light grounds only. 5.6:1 on Sand */
  --blue:#1F2A38;         /* Evening Blue — dark bands */
  --blue-700:#2E3D50;
  --paper:#FFFFFF;
  --sand:#F4EFE7;         /* warm, never grey */
  --stone:#E6E0D6;
  --stone-deep:#CFC6B8;
  --wrap:1200px;          /* content column, per the board */
  --ease:cubic-bezier(.22,.9,.25,1);
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  font-family:'Source Serif 4',Georgia,serif;
  font-size:18px;line-height:1.6;color:var(--ink);background:var(--paper);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
img{display:block;max-width:100%;height:auto}
a{color:var(--red-deep);text-decoration:none}
:focus-visible{outline:2px solid var(--red);outline-offset:3px;border-radius:2px}
h1,h2,h3{font-family:'Jost',system-ui,sans-serif;font-weight:600;letter-spacing:-.01em}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 40px}

/* the eyebrow: a 28px rule then tracked caps, exactly as the board draws it */
.eyebrow{display:flex;align-items:center;gap:10px;font-family:'Inter',system-ui,sans-serif;
  font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-600)}
.eyebrow::before{content:"";width:28px;height:2px;background:var(--red);flex:none}

/* THE MOTIF — the logo's pyramid is the one graphic device */
.tri{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;
  border-bottom:10px solid var(--red);flex:none}

/* ── masthead: warm Sand, the mark centred, gold light behind it.
   Light, not Evening Blue: the logo's wordmark is dark ink and disappears on a dark ground. ── */
.top{position:relative;color:var(--ink);overflow:hidden;
  padding:72px 0 64px;text-align:center;border-bottom:1px solid var(--stone);
  background:linear-gradient(180deg,#FCFAF6 0%,var(--sand) 55%,var(--stone) 100%)}
.top::after{content:"";position:absolute;left:50%;top:-40%;width:760px;height:760px;
  margin-left:-380px;pointer-events:none;
  background:radial-gradient(circle,rgba(201,162,75,.26) 0%,rgba(201,162,75,.09) 42%,transparent 68%)}
.top__in{position:relative;z-index:1}
.top img{width:210px;margin:0 auto 26px}
.top h1{font-size:clamp(30px,3.6vw,44px);line-height:1.15;color:var(--ink)}
.top p{margin:14px auto 0;max-width:56ch;color:var(--ink-600);font-size:19px}
.badge{display:inline-flex;align-items:center;gap:8px;margin-bottom:24px;
  font-family:'Inter',sans-serif;font-size:11.5px;font-weight:600;letter-spacing:.11em;
  text-transform:uppercase;color:var(--gold-ink);
  border:1px solid rgba(201,162,75,.6);border-radius:999px;padding:7px 14px}

/* ── the list ── */
.sec{padding:96px 0}
.sec--sand{background:var(--sand)}
.sec__hd{margin-bottom:40px}
.sec__hd h2{font-size:clamp(26px,2.8vw,34px);line-height:1.2;margin:14px 0 10px}
.sec__hd p{color:var(--ink-600);max-width:62ch}

.list{border-top:1px solid var(--stone)}
.row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;
  padding:30px 22px;border-bottom:1px solid var(--stone);position:relative;
  transition:background .45s var(--ease)}
a.row:hover{background:var(--paper)}
.row h3{font-size:23px;font-weight:500;color:var(--ink);margin-bottom:5px;
  transition:color .45s var(--ease)}
a.row:hover h3{color:var(--red-deep)}
.row p{font-size:16px;color:var(--ink-600)}
.row__meta{display:flex;align-items:center;gap:12px}
.tag{font-family:'Inter',sans-serif;font-size:11px;font-weight:600;letter-spacing:.09em;
  text-transform:uppercase;border-radius:999px;padding:6px 12px;white-space:nowrap}
.tag--live{color:var(--red-deep);background:var(--red-tint)}
.tag--soon{color:#7A6636;background:var(--gold-tint)}
.arw{font-family:'Inter',sans-serif;color:var(--red);opacity:.42;
  transition:opacity .45s var(--ease)}
a.row:hover .arw{opacity:1}
.row--soon{opacity:.72;cursor:default}

/* ── footer ── */
.ftr{background:var(--blue);color:rgba(255,255,255,.62);padding:44px 0;
  font-family:'Inter',sans-serif;font-size:13.5px}
.ftr__in{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;align-items:center}
.ftr .tri{border-bottom-color:var(--gold);margin-right:10px}
.ftr__l{display:flex;align-items:center}

@media (max-width:760px){
  .wrap{padding:0 20px}
  .top{padding:56px 0 48px}
  .sec{padding:64px 0}
  .row{grid-template-columns:1fr;gap:14px}
  .row__meta{justify-content:flex-start}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:.01ms!important}
}
