/* The Arc design system, Phase C demo.
   Stone, oak, bronze and light. Every page shares this file; in production the same rules would live,
   scoped, in ShulCloud's CSS override. Glass is reserved for floating chrome (header, menus, sub-nav,
   lightbox, the illustrative schedule); content surfaces stay solid. */

/* ---------- Tokens ---------- */
:root {
  --stone: #EEE9E1;          /* page ground */
  --stone-2: #E6DFD3;        /* recessed ground */
  --ivory: #FBF9F5;          /* luminous surface */
  --white: #FFFEFC;
  --oak: #B39470;
  --bronze: #7A5A32;          /* ≥4.5:1 on stone for small text */
  --bronze-lt: #C7A57A;
  --navy: #0B2141;
  --navy-2: #13305A;
  --ink: #1A2230;
  --ink-2: #4E5561;          /* secondary text, ≥ 4.5:1 on stone */
  --ink-3: #585E69;          /* captions, ≥4.5:1 on stone and ivory */
  --line: rgba(110, 84, 50, .16);
  --line-strong: rgba(110, 84, 50, .28);

  --display: "Marcellus", "Trajan Pro", Georgia, serif;
  --text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --hebrew: "Frank Ruhl Libre", serif;

  --t-hero: clamp(50px, 6.4vw, 100px);
  --t-1: clamp(40px, 4.6vw, 68px);
  --t-2: clamp(30px, 3vw, 44px);
  --t-3: 26px;
  --t-4: 21px;
  --t-body: 17px;
  --t-small: 15px;
  --t-cap: 13px;

  --r-pill: 999px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 8px;

  --e1: 0 1px 2px rgba(60, 44, 24, .06), 0 6px 16px -10px rgba(60, 44, 24, .28);
  --e2: 0 2px 6px rgba(60, 44, 24, .06), 0 22px 44px -26px rgba(60, 44, 24, .45);
  --e3: 0 4px 12px rgba(60, 44, 24, .08), 0 40px 80px -40px rgba(40, 28, 14, .55);
  --edge: inset 0 1px 0 rgba(255, 255, 255, .85);

  --glass: rgba(251, 249, 245, .72);
  --glass-strong: rgba(251, 249, 245, .88);
  --blur: blur(22px) saturate(1.35);

  --ease: cubic-bezier(.22, .7, .12, 1);
  --ease-spring: cubic-bezier(.3, 1.35, .55, 1);
  --d-fast: 160ms;
  --d-med: 280ms;
  --d-slow: 560ms;

  --wrap: 1320px;
  --gutter: clamp(20px, 4.4vw, 56px);
  --section: clamp(84px, 10vw, 148px);
  --header-h: 84px;
}

/* Smooth cross-page transitions (CSS only; browsers without support simply navigate) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 340ms; animation-timing-function: var(--ease); }
.site-header { view-transition-name: site-header; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 72px); -webkit-text-size-adjust: 100%; }
body.arc { margin: 0; -webkit-tap-highlight-color: rgba(199,165,122,.18); background: var(--stone); color: var(--ink); font: 400 var(--t-body)/1.65 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "kern", "liga"; }
.arc img { display: block; max-width: 100%; height: auto; }
.arc a { color: inherit; }
.arc :focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }
.arc ::selection { background: rgba(199, 165, 122, .35); }
.arc .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.arc a, .arc button, .arc summary, .arc .chip { touch-action: manipulation; }
@media (pointer: fine) { html { overscroll-behavior-y: none; } }
.arc .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.arc .skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); text-decoration: none; transition: top var(--d-med) var(--ease); }
.arc .skip:focus { top: 12px; }
/* Stone grain: a material, not a flat colour */
body.arc::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Type ---------- */
.arc [id] { scroll-margin-top: calc(var(--header-h) + 76px); }
.arc h1, .arc h2, .arc h3, .arc h4 { font-family: var(--display); font-weight: 400; color: var(--navy); letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.arc .t-hero { font-size: var(--t-hero); line-height: .98; letter-spacing: -.015em; }
.arc .t-1 { font-size: var(--t-1); line-height: 1.02; }
.arc .t-2 { font-size: var(--t-2); line-height: 1.08; }
.arc .t-3 { font-size: var(--t-3); line-height: 1.15; }
.arc .t-4 { font-size: var(--t-4); line-height: 1.2; }
.arc p { margin: 0; text-wrap: pretty; }
.arc .lede { font-size: 19px; line-height: 1.62; color: var(--ink-2); max-width: 34em; }
.arc .muted { color: var(--ink-2); }
.arc .cap { font-size: var(--t-cap); color: var(--ink-3); line-height: 1.45; }
.arc .kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: var(--bronze); letter-spacing: .01em; }
.arc .kicker::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.arc .he { font-family: var(--hebrew); }
.arc .num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Links and buttons ---------- */
.arc .link { font-weight: 600; text-decoration: none; color: var(--navy); background: linear-gradient(var(--bronze-lt), var(--bronze-lt)) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size var(--d-med) var(--ease), color var(--d-fast); }
.arc .link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--bronze); }
.arc .btn { --bg: var(--navy); --fg: var(--ivory); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: var(--r-pill); border: 0; background: var(--bg); color: var(--fg); font: 600 16px/1 var(--text); text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 14px 26px -16px rgba(11,33,65,.75); transition: transform var(--d-med) var(--ease-spring), box-shadow var(--d-med) var(--ease), background var(--d-fast); }
.arc .btn:hover { transform: translateY(-2px); background: var(--navy-2); box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 20px 32px -18px rgba(11,33,65,.8); }
.arc .btn:active { transform: translateY(0) scale(.975); transition-duration: 90ms; }
.arc .btn--light { --bg: var(--ivory); --fg: var(--navy); box-shadow: var(--edge), var(--e1); }
.arc .btn--light:hover { background: #fff; }
.arc .btn--ghost { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 1px var(--line-strong); }
.arc .btn--ghost:hover { background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px var(--bronze-lt); }
.arc .btn--small { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.arc .btn .ico { width: 16px; height: 16px; }
/* Links that leave the demo for The Shul's current site or a partner site */
.arc .ext::after { content: ""; display: inline-block; width: .62em; height: .62em; margin-left: .32em; vertical-align: .08em; background: currentColor; opacity: .55;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7M11 1 1 11' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7M11 1 1 11' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.arc .btn.ext::after { opacity: .8; }

/* Chips (filters, sub-nav) */
.arc .chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--r-pill); border: 0; background: transparent; color: var(--ink); font: 500 15px/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); transition: background var(--d-fast), color var(--d-fast), box-shadow var(--d-fast), transform var(--d-med) var(--ease-spring); }
.arc .chip:hover { background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px var(--line-strong); }
.arc .chip:active { transform: scale(.96); }
.arc .chip[aria-pressed="true"], .arc .chip.is-current { background: var(--navy); color: var(--ivory); box-shadow: none; }
.arc .chip .count { font-size: 12.5px; opacity: .65; }

/* Tags and labels */
.arc .tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); background: rgba(179,148,112,.16); color: #6B4E2A; font: 600 12.5px/1 var(--text); letter-spacing: .01em; }
.arc .tag--navy { background: rgba(11,33,65,.08); color: var(--navy); }
.arc .tag--today { background: var(--navy); color: var(--ivory); }
/* Subtle label for illustrative (static) information */
.arc .illus { display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px/1 var(--text); color: var(--ink-3); }
.arc .illus::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; }

/* ---------- Glass ---------- */
.arc .glass { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid rgba(255,255,255,.65); box-shadow: var(--edge), var(--e2); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .arc .glass { background: var(--glass-strong); } }

/* ---------- Header ---------- */
.arc .site-header { position: sticky; top: 0; z-index: 40; transition: background var(--d-med), box-shadow var(--d-med); background: rgba(238,233,225,.72); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-bottom: 1px solid transparent; }
.arc .site-header.is-scrolled { background: rgba(244,241,236,.82); border-bottom-color: var(--line); box-shadow: 0 12px 30px -24px rgba(60,44,24,.5); }
.arc .site-header .bar { display: flex; align-items: center; gap: 28px; height: var(--header-h); padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.arc .brand img { height: 54px; width: auto; }
.arc .site-header nav { margin-left: auto; }
.arc .nav { display: flex; align-items: center; gap: 4px; }
.arc .nav > li { list-style: none; position: relative; }
.arc .nav ul { margin: 0; padding: 0; }
.arc .nav-top { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: var(--r-pill); border: 0; background: transparent; color: var(--ink); font: 500 15.5px/1 var(--text); text-decoration: none; cursor: pointer; transition: background var(--d-fast), color var(--d-fast); }
.arc .nav-top:hover, html:not(.js) .arc .nav > li:focus-within > .nav-top, .arc .nav-top[aria-expanded="true"] { background: rgba(255,255,255,.6); }
.arc .nav-top.is-current { color: var(--navy); box-shadow: inset 0 -2px 0 var(--bronze-lt); border-radius: 0; }
.arc .nav-top .chev { width: 10px; height: 10px; transition: transform var(--d-med) var(--ease); opacity: .6; }
.arc .nav-top[aria-expanded="true"] .chev { transform: rotate(180deg); }
.arc .header-actions { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
.arc .login { font: 500 15px/1 var(--text); text-decoration: none; padding: 12px 12px; color: var(--ink-2); }
.arc .login:hover { color: var(--navy); }

/* Mega panel: glass, fades and lifts in. Opens on hover (fine pointers), focus, or click (script). */
.arc .mega { position: absolute; top: calc(100% + 10px); left: 50%; width: 600px; padding: 22px; border-radius: var(--r-lg); transform: translate(-50%, 8px) scale(.985); transform-origin: 50% 0; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--d-med) var(--ease), transform var(--d-med) var(--ease), visibility 0s linear var(--d-med); display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
.arc .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.arc .nav > li.is-open > .mega, html:not(.js) .arc .nav > li:focus-within > .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) { .arc .nav > li:hover > .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0) scale(1); transition-delay: 0s; } }
.arc .mega a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; transition: background var(--d-fast); }
.arc .mega a:hover { background: rgba(255,255,255,.75); }
.arc .mega a strong { display: block; font: 600 15.5px/1.3 var(--text); color: var(--navy); }
.arc .mega a span { display: block; font-size: 13.5px; line-height: 1.4; color: var(--ink-3); margin-top: 3px; }
.arc .mega .feature { grid-column: 1 / -1; margin-top: 8px; padding: 14px 16px; border-radius: 14px; background: rgba(11,33,65,.05); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }

/* Mobile sheet: native <details> base, script adds focus handling and scroll lock */
.arc .sheet { display: none; }
.arc .sheet > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: var(--r-pill); cursor: pointer; font: 600 15px/1 var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); background: rgba(255,255,255,.4); }
.arc .sheet > summary::-webkit-details-marker { display: none; }
.arc .sheet > summary .bars { width: 16px; height: 10px; position: relative; }
.arc .sheet > summary .bars::before, .arc .sheet > summary .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform var(--d-med) var(--ease), top var(--d-med) var(--ease); }
.arc .sheet > summary .bars::before { top: 1px; } .arc .sheet > summary .bars::after { top: 7.5px; }
.arc .sheet[open] > summary .bars::before { top: 4.5px; transform: rotate(45deg); }
.arc .sheet[open] > summary .bars::after { top: 4.5px; transform: rotate(-45deg); }
.arc .sheet-panel { position: fixed; left: 10px; right: 10px; top: calc(var(--header-h) - 4px); max-height: calc(100dvh - var(--header-h) - 10px - env(safe-area-inset-bottom)); overflow: auto; overscroll-behavior: contain; padding-bottom: calc(10px + env(safe-area-inset-bottom)); padding: 10px; border-radius: 24px; z-index: 50; animation: arc-sheet var(--d-slow) var(--ease) both; }
@keyframes arc-sheet { from { opacity: 0; transform: translateY(-8px) scale(.985); } to { opacity: 1; transform: none; } }
.arc .sheet-panel details { border-bottom: 1px solid var(--line); }
.arc .sheet-panel details:last-of-type { border-bottom: 0; }
.arc .sheet-panel summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 14px; font: 500 19px/1 var(--display); color: var(--navy); cursor: pointer; }
.arc .sheet-panel summary::-webkit-details-marker { display: none; }
.arc .sheet-panel summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid var(--bronze); border-bottom: 1.5px solid var(--bronze); transform: rotate(45deg) translateY(-3px); transition: transform var(--d-med) var(--ease); }
.arc .sheet-panel details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.arc .sheet-panel details > div { padding: 0 6px 12px; display: grid; animation: arc-fade var(--d-med) var(--ease) both; }
.arc .sheet-panel details a { padding: 11px 10px; border-radius: 10px; text-decoration: none; font-size: 16.5px; }
.arc .sheet-panel details a:active { background: rgba(179,148,112,.14); }
.arc .sheet-panel .direct { display: block; padding: 16px 14px; font: 500 19px/1 var(--display); color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line); }
.arc .sheet-panel .sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 4px 4px; }
@keyframes arc-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.arc .section { padding: var(--section) 0; }
.arc .section--tight { padding: calc(var(--section) * .6) 0; }
.arc .section-head { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.arc .section-head .actions { justify-self: end; }
.arc .surface { background: var(--ivory); }
.arc .surface-navy { background: var(--navy); color: var(--ivory); }
.arc .surface-navy h2, .arc .surface-navy h3 { color: var(--ivory); }
.arc .surface-navy .muted { color: rgba(251,249,245,.74); }
.arc .surface-navy .link { color: var(--ivory); }
.arc .surface-navy .cap { color: rgba(251,249,245,.6); }

/* Page hero for interior pages */
.arc .page-hero { position: relative; padding: 64px 0 56px; background: radial-gradient(60% 120% at 88% 0%, rgba(255,253,248,.85) 0%, rgba(255,253,248,0) 70%); }
.arc .crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 28px; display: flex; gap: 8px; align-items: center; }
.arc .crumbs a { text-decoration: none; color: var(--ink-2); }
.arc .crumbs a:hover { color: var(--navy); }
.arc .page-hero .t-1 { margin-bottom: 22px; max-width: 14em; }
.arc .page-hero .lede { position: relative; z-index: 1; }

/* Sticky glass sub-nav (in-page sections) */
.arc .subnav { position: sticky; top: calc(var(--header-h) + 10px); z-index: 30; margin: 0 auto; width: max-content; max-width: calc(100% - 2 * var(--gutter)); display: flex; gap: 4px; padding: 6px; border-radius: var(--r-pill); overflow-x: auto; scrollbar-width: none; }
.arc .subnav::-webkit-scrollbar { display: none; }
.arc .subnav .chip { box-shadow: none; }

/* ---------- Home hero (typography-led) ---------- */
.arc .home-hero { position: relative; overflow: clip; padding: 56px 0 150px; }
.arc .home-hero .glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; max-width: 1100px; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,251,242,.95), rgba(255,247,232,.4) 55%, rgba(255,247,232,0)); }
.arc .home-hero .arcline { position: absolute; left: 0; right: 0; bottom: 6px; height: 140px; width: 100%; pointer-events: none; }
.arc .home-hero .arcline path { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: arc-draw 2.2s .5s var(--ease) forwards; }
@keyframes arc-draw { to { stroke-dashoffset: 0; } }
.arc .home-hero .grid { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.arc .home-hero .kicker { margin-bottom: 30px; }
.arc .home-hero h1 { margin-bottom: 30px; }
.arc .home-hero h1 .line { display: block; overflow: hidden; padding-bottom: .05em; }
.arc .home-hero h1 .line > span { display: block; animation: arc-rise 1.05s var(--ease) both; }
.arc .home-hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
.arc .home-hero h1 .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes arc-rise { from { transform: translateY(104%); } to { transform: none; } }
.arc .home-hero .lede { margin-bottom: 36px; animation: arc-in .9s .4s var(--ease) both; }
.arc .home-hero .actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; animation: arc-in .9s .5s var(--ease) both; }
@keyframes arc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* The schedule plaque (illustrative until a native ShulCloud source is verified) */
.arc .plaque { border-radius: 26px; padding: 26px 28px 22px; animation: arc-in 1s .7s var(--ease) both; }
.arc .plaque-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.arc .plaque h2 { font-size: 25px; }
.arc .plaque .date { font-size: 13.5px; color: var(--ink-3); margin: 4px 0 16px; }
.arc .plaque .tabs { display: flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: rgba(11,33,65,.06); margin-bottom: 14px; }
.arc .plaque .tabs button { flex: 1; height: 32px; border: 0; border-radius: var(--r-pill); background: transparent; font: 600 13.5px/1 var(--text); color: var(--ink-2); cursor: pointer; transition: background var(--d-fast), color var(--d-fast), box-shadow var(--d-fast); }
.arc .plaque .tabs button[aria-selected="true"] { background: var(--white); color: var(--navy); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 4px 10px -6px rgba(60,44,24,.4); }
.arc .plaque dl { display: grid; grid-template-columns: 1fr auto; margin: 0; }
.arc .plaque dt, .arc .plaque dd { padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.arc .plaque dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--navy); }
.arc .plaque .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.arc [data-panel][hidden] { display: none; }

/* ---------- Event cards ---------- */
.arc .events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.arc .event { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--white); box-shadow: var(--e1); transition: transform var(--d-med) var(--ease), box-shadow var(--d-med) var(--ease); }
.arc .event:hover { transform: translateY(-4px); box-shadow: var(--e2); }
.arc .event .art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-2); isolation: isolate; }
.arc .event .art .bg { position: absolute; inset: -30px; z-index: -1; background: center / cover no-repeat; filter: blur(26px) saturate(1.15) brightness(1.05); opacity: .9; }
.arc .event .art img { position: relative; height: 86%; width: auto; max-width: 70%; margin: 7% auto 0; object-fit: contain; border-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 18px 34px -16px rgba(20,14,6,.55); transition: transform var(--d-slow) var(--ease); }
.arc .event:hover .art img { transform: translateY(-3px) scale(1.02); }
.arc .event .art .open-art { position: absolute; inset: 0; }
.arc .event .when { position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 62px; padding: 8px 0 7px; border-radius: 14px; text-align: center; line-height: 1; }
.arc .event .when b { display: block; font: 400 26px/1 var(--display); color: var(--navy); }
.arc .event .when span { display: block; font: 600 11.5px/1 var(--text); letter-spacing: .06em; color: var(--bronze); margin-top: 5px; }
.arc .event .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.arc .event h3 { font-size: 23px; line-height: 1.15; }
.arc .event .meta { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.arc .event .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.arc .event .actions { margin-top: auto; padding-top: 6px; display: flex; gap: 18px; align-items: center; }
.arc .event.is-past { display: none; }

/* Weekly classes: a calm, scannable list */
.arc .weekly { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.arc .weekly li { list-style: none; display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); }
.arc .weekly ul { margin: 0; padding: 0; }
.arc .weekly .day { font-weight: 600; color: var(--navy); font-size: 15px; }
.arc .weekly .what { font-size: 16px; }
.arc .weekly .what small { display: block; color: var(--ink-3); font-size: 13.5px; margin-top: 2px; }
.arc .weekly .time { font-variant-numeric: tabular-nums; font-size: 14.5px; color: var(--ink-2); }

/* ---------- Program discovery (the arc) ---------- */
.arc .arc-pillars { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.arc .arc-pillars svg { position: absolute; left: 0; top: 0; width: 100%; height: 100px; overflow: visible; }
.arc .arc-pillars .p { padding: 0 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.arc .arc-pillars .p.outer { margin-top: 30px; }
.arc .arc-pillars .p.inner { margin-top: 70px; }
.arc .arc-pillars .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--stone); border: 1px solid var(--bronze); box-shadow: 0 0 0 5px var(--stone); margin-bottom: 28px; }
.arc .arc-pillars h3 { font-size: 34px; margin-bottom: 12px; }
.arc .arc-pillars p { color: var(--ink-2); font-size: 16px; max-width: 17em; margin-bottom: 16px; }
.arc .more-programs { margin-top: 90px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.arc .more-programs a { position: relative; display: grid; gap: 4px; padding: 20px 28px 20px 0; border-top: 1px solid var(--line); text-decoration: none; transition: transform var(--d-med) var(--ease); }
.arc .more-programs a:hover { transform: translateX(6px); }
.arc .more-programs a.ext::after { position: absolute; right: 4px; top: 26px; }
.arc .more-programs a strong { font: 400 22px/1.2 var(--display); color: var(--navy); }
.arc .more-programs a span { font-size: 14px; color: var(--ink-3); }

/* ---------- Split feature (visit, belong) ---------- */
.arc .split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.arc .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0 34px; }
.arc .fact { padding: 18px 20px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--e1); }
.arc .fact strong { display: block; font: 400 19px/1.2 var(--display); color: var(--navy); margin-bottom: 6px; }
.arc .fact p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }

/* Belong: membership and giving panels */
.arc .belong-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.arc .panel { position: relative; border-radius: 28px; padding: 44px 44px 40px; overflow: clip; min-height: 340px; display: flex; flex-direction: column; }
.arc .panel h3 { font-size: 36px; margin-bottom: 14px; }
.arc .panel p { margin-bottom: 28px; max-width: 26em; }
.arc .panel .actions { margin-top: auto; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.arc .panel--ivory { background: var(--ivory); box-shadow: var(--e1); }
.arc .panel--navy { background: radial-gradient(120% 90% at 100% 0%, #1b3a66 0%, var(--navy) 60%); color: var(--ivory); box-shadow: var(--e2); }
.arc .panel--navy h3 { color: var(--ivory); }
.arc .panel--navy p { color: rgba(251,249,245,.78); }
.arc .panel .ring { position: absolute; right: -70px; top: -70px; width: 240px; aspect-ratio: 1; border-radius: 50%; pointer-events: none; border: 1px solid rgba(199,165,122,.45); box-shadow: 0 0 0 22px transparent, 0 0 0 23px rgba(199,165,122,.25), 0 0 0 52px transparent, 0 0 0 53px rgba(199,165,122,.14); }

/* ---------- Media: gallery tiles, figures, placeholders ---------- */
.arc .gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 14px; }
.arc .tile { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; background: var(--stone-2); text-decoration: none; box-shadow: var(--e1); }
.arc .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d-slow) var(--ease), filter var(--d-slow); }
.arc .tile:hover img { transform: scale(1.04); }
.arc .tile .label { position: absolute; left: 10px; bottom: 10px; right: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; font-size: 13px; color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity var(--d-med) var(--ease), transform var(--d-med) var(--ease); }
.arc .tile:hover .label, .arc .tile:focus-visible .label { opacity: 1; transform: none; }
.arc .tile .play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; }
.arc .tile .play::before { content: ""; margin-left: 4px; border-left: 14px solid var(--navy); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.arc .ph { position: relative; display: grid; place-items: center; text-align: center; padding: 18px; color: var(--ink-2); font-size: 14px; line-height: 1.45;
  background: radial-gradient(120% 120% at 20% 0%, #F6F1E8 0%, #E9E1D3 60%, #E2D8C7 100%); }
.arc .ph::before { content: ""; position: absolute; inset: 10px; border-radius: 10px; border: 1px dashed rgba(142,106,62,.35); }
.arc .ph strong { display: block; font: 400 18px/1.25 var(--display); color: var(--navy); margin-bottom: 4px; }
.arc .figure-cap { margin-top: 10px; }

/* Future vision: an arched aperture that opens as you scroll (progressive enhancement) */
.arc .vision { padding: var(--section) 0; background: var(--navy); color: var(--ivory); overflow: clip; }
.arc .vision .head { text-align: center; max-width: 760px; margin: 0 auto 56px; padding: 0 24px; }
.arc .vision h2 { color: var(--ivory); margin-bottom: 18px; }
.arc .vision .muted { color: rgba(251,249,245,.76); }
.arc .aperture { width: min(1180px, calc(100% - 2 * var(--gutter))); margin: 0 auto; aspect-ratio: 16 / 8; overflow: hidden; border-radius: 8px; }
.arc .aperture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
@supports (animation-timeline: view()) {
  .arc .aperture { animation: arc-aperture linear both; animation-timeline: view(); animation-range: entry 10% cover 50%; }
  .arc .aperture img { animation: arc-settle linear both; animation-timeline: view(); animation-range: entry 10% cover 50%; }
}
@keyframes arc-aperture { from { clip-path: inset(0 calc(50% - 170px) round 170px 170px 8px 8px); } to { clip-path: inset(0 0 round 8px); } }
@keyframes arc-settle { from { transform: scale(1.16); } to { transform: none; } }
.arc .vision .cap { text-align: center; margin-top: 16px; color: rgba(251,249,245,.62); }

/* ---------- Lists for guides ---------- */
.arc .listing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.arc .item { position: relative; padding: 22px 24px 20px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--e1); transition: box-shadow var(--d-med) var(--ease), transform var(--d-med) var(--ease); }
.arc .item:hover { box-shadow: var(--e2); transform: translateY(-2px); }
.arc .item h3 { font-size: 22px; line-height: 1.2; margin-bottom: 6px; }
.arc .item .dist { position: absolute; right: 20px; top: 22px; }
.arc .item p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.arc .item .links { margin-top: 12px; display: flex; gap: 16px; flex-wrap: wrap; font-size: 14.5px; }
.arc .item.is-closed { background: var(--stone-2); box-shadow: none; }
.arc .guide-section { padding: 72px 0 24px; }
.arc .guide-section > .wrap > header { display: grid; grid-template-columns: 4fr 7fr; gap: 48px; align-items: end; margin-bottom: 30px; }
.arc .note { padding: 20px 24px; border-radius: var(--r-md); background: rgba(179,148,112,.12); border: 1px solid rgba(179,148,112,.25); font-size: 15.5px; line-height: 1.6; }
.arc .note strong { color: var(--navy); }
.arc .filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }

/* Bronze band (borrowed from Inscription, used once per page at most) */
.arc .bronze-band { position: relative; min-height: 520px; display: flex; align-items: center; overflow: clip; background: #1a130c; color: var(--ivory); }
.arc .bronze-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.arc .bronze-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11,33,65,.94) 0%, rgba(11,33,65,.78) 34%, rgba(11,33,65,.1) 64%, rgba(11,33,65,.55) 100%); }
.arc .bronze-band .wrap { position: relative; z-index: 2; width: 100%; }
.arc .bronze-band h2 { color: var(--ivory); margin-bottom: 18px; max-width: 11em; }
.arc .bronze-band p { color: rgba(251,249,245,.8); max-width: 30em; margin-bottom: 24px; }

/* Hand-off: operational tasks that stay on ShulCloud */
.arc .handoff { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.arc .secure { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); background: rgba(11,33,65,.05); font-size: 14.5px; color: var(--ink-2); margin-top: 18px; }
.arc .secure svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--navy); }
.arc .ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.arc .way { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--e1); text-decoration: none; transition: transform var(--d-med) var(--ease), box-shadow var(--d-med) var(--ease); }
.arc .way:hover { transform: translateY(-3px); box-shadow: var(--e2); }
.arc .way h3 { font-size: 23px; }
.arc .way p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.arc .way .go { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 14.5px; color: var(--navy); }
/* Design demonstration of a native screen (never functional) */
.arc .demo-frame { position: relative; border-radius: 26px; padding: 30px; background: var(--white); box-shadow: var(--e3); }
.arc .demo-ribbon { position: absolute; top: -14px; left: 24px; display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 14px; border-radius: var(--r-pill); background: #7A2E1F; color: #fff; font: 600 12.5px/1 var(--text); letter-spacing: .02em; box-shadow: 0 8px 16px -8px rgba(122,46,31,.6); }
.arc .demo-frame fieldset { border: 0; margin: 0; padding: 0; }
.arc .demo-frame [disabled] { cursor: not-allowed; }
.arc .amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0 18px; }
.arc .amounts span { display: grid; place-items: center; height: 52px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-strong); font: 600 17px/1 var(--text); color: var(--navy); }
.arc .amounts span.on { background: var(--navy); color: var(--ivory); box-shadow: none; }
.arc .field { display: grid; gap: 6px; margin-bottom: 14px; font-size: 14px; color: var(--ink-2); }
.arc .field i { display: block; height: 48px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line-strong); background: var(--ivory); font-style: normal; padding: 14px 14px; color: var(--ink-3); font-size: 15px; }
.arc .seg { display: flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: rgba(11,33,65,.06); margin-bottom: 16px; }
.arc .seg span { flex: 1; text-align: center; padding: 9px 0; border-radius: var(--r-pill); font: 600 13.5px/1 var(--text); color: var(--ink-2); }
.arc .seg span.on { background: var(--white); color: var(--navy); box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* Steps (membership) */
.arc .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.arc .step { padding: 26px 24px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--e1); }
.arc .step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 16px; font: 400 18px/1 var(--display); color: var(--bronze); box-shadow: inset 0 0 0 1px var(--bronze-lt); }
.arc .step h3 { font-size: 22px; margin-bottom: 8px; }
.arc .step p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }

/* Program page */
.arc .program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.arc .program { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 26px 26px 24px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--e1); }
.arc .program h3 { font-size: 26px; }
.arc .program .who { font-size: 13.5px; color: var(--bronze); font-weight: 600; align-self: center; }
.arc .program p { grid-column: 1 / -1; font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }
.arc .program .when { grid-column: 1 / -1; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.arc .program .links { grid-column: 1 / -1; margin-top: 10px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14.5px; }
.arc .schedule { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.arc .schedule table { width: 100%; border-collapse: collapse; font-size: 15px; }
.arc .schedule caption { text-align: left; font: 400 24px/1.2 var(--display); color: var(--navy); padding-bottom: 12px; }
.arc .schedule th, .arc .schedule td { text-align: left; padding: 11px 10px 11px 0; border-top: 1px solid var(--line); vertical-align: top; }
.arc .schedule th { width: 92px; color: var(--navy); font-weight: 600; }
.arc .schedule td.t { white-space: nowrap; color: var(--ink-2); font-variant-numeric: tabular-nums; text-align: right; padding-right: 0; }
.arc .schedule .card { padding: 26px 26px 18px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--e1); }

/* Lightbox (script) */
.arc dialog.lightbox { width: min(1100px, 94vw); max-height: 94vh; padding: 0; border: 0; border-radius: 26px; background: transparent; overflow: visible; overscroll-behavior: contain; }
.arc dialog.lightbox::backdrop { background: rgba(14, 18, 26, .55); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); animation: arc-fade-only var(--d-med) var(--ease) both; }
@keyframes arc-fade-only { from { opacity: 0; } to { opacity: 1; } }
.arc .lb-inner { position: relative; display: grid; grid-template-rows: 1fr auto; border-radius: 26px; overflow: hidden; animation: arc-pop var(--d-med) var(--ease) both; }
@keyframes arc-pop { from { opacity: 0; transform: scale(.97) translateY(8px); } to { opacity: 1; transform: none; } }
.arc .lb-stage { display: grid; place-items: center; background: #0f141c; min-height: 50vh; max-height: 80vh; touch-action: pan-y; }
.arc .lb-stage img { max-width: 100%; max-height: 80vh; object-fit: contain; transition: opacity var(--d-med) var(--ease), transform var(--d-med) var(--ease); }
.arc .lb-stage img.is-swapping { opacity: 0; transform: scale(.985); }
.arc .lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.arc .lb-cap { font-size: 14.5px; color: var(--ink); }
.arc .lb-cap small { display: block; color: var(--ink-3); font-size: 12.5px; margin-top: 2px; }
.arc .lb-ctrl { display: flex; gap: 6px; }
.arc .icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(11,33,65,.07); color: var(--navy); transition: background var(--d-fast), transform var(--d-med) var(--ease-spring); }
.arc .icon-btn:hover { background: rgba(11,33,65,.13); }
.arc .icon-btn:active { transform: scale(.92); }
.arc .icon-btn svg { width: 18px; height: 18px; }

/* ---------- Oak band and footer ---------- */
.arc .oak { height: 64px; background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(0,0,0,.1)), repeating-linear-gradient(90deg, #BA9C78 0 9px, #A88A66 9px 10px, #C4A784 10px 17px, #9E8060 17px 18px); }
.arc .site-footer { background: var(--navy); color: rgba(251,249,245,.8); padding: 80px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 15px; }
.arc .site-footer .close { font: 400 clamp(34px, 4vw, 56px)/1.05 var(--display); color: var(--ivory); margin-bottom: 52px; max-width: 14em; }
.arc .site-footer .cols { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 32px; padding-top: 32px; border-top: 1px solid rgba(251,249,245,.15); }
.arc .site-footer .fh { font: 600 12.5px/1 var(--text); letter-spacing: .05em; color: var(--bronze-lt); margin-bottom: 14px; }
.arc .site-footer a { display: block; text-decoration: none; padding: 4px 0; color: rgba(251,249,245,.8); transition: color var(--d-fast); }
.arc .site-footer a:hover { color: #fff; }
.arc .site-footer .fine { margin-top: 56px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; color: rgba(251,249,245,.5); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .arc *, .arc *::before, .arc *::after { animation: none !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .arc .home-hero .arcline path { stroke-dashoffset: 0; }
  @view-transition { navigation: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1180px) {
  :root { --header-h: 72px; }
  .arc .nav, .arc .header-actions .login { display: none; }
  .arc .sheet { display: block; }
  .arc .header-actions { margin-left: auto; }
  .arc .brand img { height: 46px; }
  .arc .home-hero .grid, .arc .split, .arc .handoff { grid-template-columns: 1fr; gap: 48px; }
  .arc .events-grid { grid-template-columns: repeat(2, 1fr); }
  .arc .arc-pillars { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .arc .arc-pillars svg, .arc .arc-pillars .dot { display: none; }
  .arc .arc-pillars .p.outer, .arc .arc-pillars .p.inner { margin-top: 0; }
  .arc .more-programs { grid-template-columns: 1fr 1fr; }
  .arc .site-footer .cols { grid-template-columns: repeat(3, 1fr); }
  .arc .site-footer .cols > div:first-child { grid-column: 1 / -1; }
  .arc .ways { grid-template-columns: 1fr 1fr; }
}

/* ---------- Phone: its own composition ---------- */
@media (max-width: 760px) {
  body.arc { font-size: 16px; }
  .arc .lede { font-size: 17px; }
  .arc .brand img { height: 40px; }
  .arc .sheet > summary { height: 44px; padding: 0 16px; }
  .arc .chip { height: 44px; padding: 0 18px; }
  .arc .header-actions .btn--small { min-height: 44px; }
  .arc .site-footer a { padding: 9px 0; }
  .arc .crumbs a { padding: 10px 0; }
  .arc .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 30px; }
  .arc .section-head .actions { justify-self: start; }
  .arc .home-hero { padding: 30px 0 70px; }
  .arc .home-hero .kicker { margin-bottom: 20px; font-size: 14px; }
  .arc .home-hero h1 { font-size: 50px; margin-bottom: 20px; }
  .arc .home-hero .lede { margin-bottom: 26px; }
  .arc .home-hero .actions .btn { flex: 1 1 100%; }
  .arc .home-hero .arcline { display: none; }
  .arc .plaque { padding: 22px 20px 18px; border-radius: 22px; background: var(--glass-strong); }
  /* events become a swipeable rail on phones */
  .arc .events-grid.rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 14px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px; scrollbar-width: none; }
  .arc .events-grid.rail::-webkit-scrollbar { display: none; }
  .arc .events-grid.rail .event { flex: 0 0 82%; scroll-snap-align: start; }
  .arc .events-grid { grid-template-columns: 1fr; }
  .arc .weekly { grid-template-columns: 1fr; }
  .arc .weekly li { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .arc .weekly .day { grid-column: 1 / -1; font-size: 13.5px; color: var(--bronze); }
  .arc .arc-pillars { grid-template-columns: 1fr; row-gap: 0; }
  .arc .arc-pillars .p { text-align: left; align-items: flex-start; padding: 24px 0; border-top: 1px solid var(--line); }
  .arc .arc-pillars h3 { font-size: 30px; }
  .arc .more-programs { grid-template-columns: 1fr; margin-top: 40px; }
  .arc .facts { grid-template-columns: 1fr; }
  .arc .belong-grid { grid-template-columns: 1fr; }
  .arc .panel { padding: 32px 26px 28px; min-height: 0; }
  .arc .panel h3 { font-size: 30px; }
  .arc .gallery { grid-auto-rows: 92px; gap: 10px; }
  .arc .aperture { aspect-ratio: 4 / 5; width: calc(100% - 2 * var(--gutter)); }
  @keyframes arc-aperture { from { clip-path: inset(0 calc(50% - 100px) round 100px 100px 8px 8px); } to { clip-path: inset(0 0 round 8px); } }
  .arc .listing, .arc .program-grid, .arc .schedule, .arc .steps, .arc .ways { grid-template-columns: 1fr; }
  .arc .guide-section { padding-top: 54px; }
  .arc .guide-section > .wrap > header { grid-template-columns: 1fr; gap: 12px; }
  .arc .page-hero { padding: 36px 0 34px; }
  .arc .crumbs { margin-bottom: 18px; }
  .arc .subnav { top: calc(var(--header-h) + 8px); }
  .arc .bronze-band { min-height: 0; padding: 260px 0 56px; align-items: flex-end; }
  .arc .bronze-band::before { background: linear-gradient(180deg, rgba(11,33,65,.1) 0%, rgba(11,33,65,.6) 40%, rgba(11,33,65,.96) 64%); }
  .arc .amounts { grid-template-columns: repeat(2, 1fr); }
  .arc .demo-frame { padding: 24px 18px; }
  .arc .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .arc .site-footer .close { font-size: 34px; }
  .arc .tile .label { opacity: 1; transform: none; }
}

.arc .tag:empty { display: none; }
.arc [hidden] { display: none !important; }

/* External-link arrow on block-level link cards: keep it inline with the label */
.arc .way.ext::after, .arc .mega a.ext::after, .arc a.tile.ext::after { display: none; }
.arc .way.ext .go::after, .arc .mega a.ext strong::after { content: ""; display: inline-block; width: .62em; height: .62em; margin-left: .35em; vertical-align: .05em; background: currentColor; opacity: .55;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7M11 1 1 11' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7M11 1 1 11' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Links inside listing items share the link style */
.arc .item .links a, .arc .program .links a { font-weight: 600; color: var(--navy); text-decoration: none; background: linear-gradient(var(--bronze-lt), var(--bronze-lt)) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size var(--d-med) var(--ease), color var(--d-fast); }
.arc .item .links a:hover, .arc .program .links a:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--bronze); }
/* A call-to-action card that completes an event grid */
.arc .event--cta { background: radial-gradient(120% 90% at 100% 0%, #1b3a66 0%, var(--navy) 60%); color: var(--ivory); padding: 34px 30px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; min-height: 320px; text-decoration: none; }
.arc .event--cta h3 { color: var(--ivory); font-size: 30px; }
.arc .event--cta p { color: rgba(251,249,245,.78); font-size: 15.5px; }
.arc .event--cta .go { font-weight: 600; margin-top: 8px; }

.arc .tile.ph .play { top: 34%; }
.arc .tile.ph:has(.play) > div { margin-top: 64px; }
