:root {
  --ink: #12171c;
  --ink-2: #2b333b;
  --ink-3: #545d66;
  --ink-4: #6d7681;
  --paper: #f6f6f4;
  --paper-2: #ecebe6;
  --gold: #a8873f;
  --gold-light: #c9a24d;
  --teal: #1f4f52;
  --line: rgba(18, 23, 28, 0.14);
  --line-light: rgba(246, 246, 244, 0.16);
  --serif: 'Libre Caslon Display', Georgia, serif;
  --sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; }
::selection { background: #e8d9b0; color: var(--ink); }
input, select, textarea, button { font-family: inherit; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.section { padding: 90px 40px; }
.section-tight { padding: 50px 40px 90px; }
.mb { margin-bottom: 40px; }
.gap-top { margin-top: 26px; }
.narrow { max-width: 340px; }

/* type */
.display-xl { font-family: var(--serif); font-size: 66px; line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 26px; text-wrap: balance; }
.display-l { font-family: var(--serif); font-size: 52px; line-height: 1.07; letter-spacing: -0.02em; margin: 0 0 18px; max-width: 820px; text-wrap: balance; }
.display-m { font-family: var(--serif); font-size: 38px; line-height: 1.11; letter-spacing: -0.015em; margin: 0; }
.display-s { font-family: var(--serif); font-size: 26px; line-height: 1.18; margin: 0 0 12px; }
.display-xs { font-family: var(--serif); font-size: 22px; line-height: 1.2; margin: 0 0 10px; }
.lede { font-size: 18px; line-height: 1.65; color: #b9c0c7; max-width: 580px; margin: 0 0 36px; text-wrap: pretty; }
.body-lg { font-size: 18px; line-height: 1.68; color: var(--ink-2); margin: 0 0 20px; text-wrap: pretty; }
.body { font-size: 16.5px; line-height: 1.7; color: var(--ink-3); margin: 0 0 20px; text-wrap: pretty; }
.body-s { font-size: 14.5px; line-height: 1.62; color: var(--ink-3); margin: 0 0 16px; }
.kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 16px; }
.kicker.gold { color: var(--gold); }
.light .lede, .light.lede { color: rgba(246, 246, 244, 0.82); }

/* header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(246, 246, 244, 0.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(18, 23, 28, 0.1); }
.head-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand .mark { width: 56px; height: 38px; flex-shrink: 0; }
.mark.logo { width: 52px; height: 52px; border-radius: 50%; display: block; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.16; }
.brand-name { font-family: var(--serif); font-size: 19px; letter-spacing: -0.01em; }
.brand-sub { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-4); }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.site-nav a { color: var(--ink-3); }
.site-nav a:hover { color: var(--ink); }
.site-nav a.active { color: var(--ink); border-bottom: 2px solid var(--gold); padding-bottom: 3px; }
.btn-solid { background: var(--ink); color: var(--paper) !important; padding: 11px 20px; border-radius: 999px; font-weight: 500; font-size: 13.5px; }
.btn-solid:hover { background: var(--teal); }
.btn-solid.lg { padding: 14px 26px; font-size: 15px; white-space: nowrap; }

/* hero + page heads */
.hero { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 480px at 78% 12%, rgba(168, 135, 63, 0.18), transparent 70%); }
.hero-grid { position: relative; padding-top: 110px; padding-bottom: 96px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 70px; align-items: center; }
.rule-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.rule-kicker .rule { width: 30px; height: 1px; background: var(--gold); }
.rule-kicker .kicker { margin: 0; color: var(--gold-light); font-size: 11px; letter-spacing: 0.2em; }
.hero .lede { color: #b9c0c7; }
.hero-side { display: flex; flex-direction: column; gap: 18px; }
.panel { border: 1px solid var(--line-light); border-radius: 4px; padding: 24px 26px; }
.panel .kicker { color: var(--gold-light); }
.panel-head { font-family: var(--serif); font-size: 29px; line-height: 1.2; margin-bottom: 10px; }
.panel-copy { font-size: 15px; color: #b9c0c7; line-height: 1.6; margin: 0; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { font-family: var(--serif); font-size: 34px; }
.stat-label { font-size: 13px; color: #8f979f; line-height: 1.5; margin-top: 4px; }
.ticker { border-top: 1px solid rgba(246, 246, 244, 0.12); position: relative; }
.ticker-inner { padding: 20px 40px; display: flex; gap: 36px; flex-wrap: wrap; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #7b838b; }
.page-head { padding: 80px 0 72px; }
.page-head.dark { background: var(--ink); color: var(--paper); }
.page-head.teal { background: var(--teal); color: var(--paper); }
.page-head.teal .kicker { color: #a8d3cf; }
.page-head .lede { margin-bottom: 0; }
.page-head.teal .lede, .page-head.dark .lede { color: #b9c0c7; }
.page-head.teal .lede { color: #cfe0de; margin-bottom: 30px; }

/* buttons */
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-light { background: var(--paper); color: var(--ink) !important; padding: 15px 28px; border-radius: 999px; font-weight: 500; font-size: 15px; display: inline-block; }
.btn-light:hover { background: var(--gold-light); }
.btn-ghost { border: 1px solid rgba(246, 246, 244, 0.28); color: var(--paper) !important; padding: 15px 28px; border-radius: 999px; font-size: 15px; }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light) !important; }
.btn-outline { display: inline-block; border: 1px solid var(--ink); color: var(--ink) !important; padding: 13px 24px; border-radius: 999px; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.btn-outline:hover { background: var(--ink); color: var(--paper) !important; }
.link-underline { display: inline-block; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.pill { background: none; border: 1px solid rgba(18, 23, 28, 0.24); color: var(--ink); width: 38px; height: 38px; border-radius: 999px; cursor: pointer; font-size: 15px; }
.pill.wide { width: auto; padding: 0 18px; font-size: 13.5px; }
.pill:hover { border-color: var(--ink); }

/* layout blocks */
.split { display: grid; grid-template-columns: 320px 1fr; gap: 70px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.head-row.tight { align-items: center; margin-bottom: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.hairline { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.hairline .cell { background: var(--paper-2); padding: 32px 28px 36px; }
.band { background: var(--paper-2); border-top: 1px solid rgba(18, 23, 28, 0.08); border-bottom: 1px solid rgba(18, 23, 28, 0.08); }
.band .hairline .cell { background: var(--paper-2); }
.bordered { border: 1px solid var(--line); padding: 30px 32px; }
.bordered.light { background: var(--paper-2); }
.bordered.flat { padding: 0; display: flex; flex-direction: column; }
.bordered.pad-lg { padding: 38px 34px; }
.bordered .pad { padding: 28px 30px; }
.bordered .kicker, .cell .kicker { margin-bottom: 18px; }
.bordered p:last-child, .bordered .body-s:last-child { margin-bottom: 0; }
.card-link { border: 1px solid var(--line); padding: 32px 30px 28px; display: flex; flex-direction: column; justify-content: space-between; min-height: 250px; color: var(--ink); }
.card-link:hover { background: var(--paper-2); border-color: rgba(18, 23, 28, 0.3); color: var(--ink); }
.card-cta { font-size: 14px; font-weight: 500; color: var(--teal); margin-top: 24px; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.chip-block { border-top: 1px solid rgba(18, 23, 28, 0.12); padding-top: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13.5px; color: var(--ink-2); border: 1px solid rgba(18, 23, 28, 0.16); border-radius: 999px; padding: 7px 15px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price span { font-family: var(--serif); font-size: 56px; line-height: 1; }
.price em { font-style: normal; font-size: 14px; color: var(--ink-4); }
.steps { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.62; color: var(--ink-2); }
.steps li { margin-bottom: 12px; }
.ph { background-image: repeating-linear-gradient(135deg, rgba(18, 23, 28, 0.055) 0 8px, transparent 8px 16px); display: grid; place-items: center; padding: 0 24px; min-height: 200px; text-align: center; }
.ph span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-4); }
.ph.tall { flex: 1; border-bottom: 1px solid var(--line); }
.ph.on-teal { background-image: repeating-linear-gradient(135deg, rgba(246, 246, 244, 0.08) 0 8px, transparent 8px 16px); border: 1px solid rgba(246, 246, 244, 0.2); min-height: 320px; }
.ph.on-teal span { color: #a8bfbd; }

/* shows */
.show-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; }
.feature { padding: 42px 42px 38px; display: flex; flex-direction: column; justify-content: space-between; min-height: 360px; color: var(--paper); }
.feature.teal { background: var(--teal); }
.feature .display-m, .feature .display-m.light { color: var(--paper); margin-bottom: 16px; }
.feature .body-lg.light { color: #cfe0de; margin: 0; max-width: 500px; }
.tag { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); background: var(--gold-light); padding: 6px 12px; border-radius: 999px; margin-bottom: 24px; }
.meta-row { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(246, 246, 244, 0.2); font-size: 15px; line-height: 1.5; }
.meta-row .kicker { color: #a8bfbd; margin-bottom: 7px; }
.youth-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; }
.info-stack { display: flex; flex-direction: column; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); align-self: start; }
.info-stack > div { background: var(--ink); padding: 24px 28px; font-size: 16px; line-height: 1.55; }
.info-stack .kicker { color: #7b838b; margin-bottom: 10px; }
.info-stack a { color: var(--gold-light); }

/* calendar */
.cal-layout { display: grid; grid-template-columns: 1fr 350px; gap: 40px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cal-dow { background: var(--paper-2); padding: 11px 12px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); }
.cal-day { background: var(--paper); min-height: 104px; padding: 10px 11px 12px; }
.cal-day.out { background: #efefec; }
.cal-day.today { background: #f3ecdb; outline: 1px solid var(--gold-light); outline-offset: -1px; }
.cal-daynum { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 13px; font-weight: 500; }
.cal-daynum em { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-style: normal; }
.cal-ev { border-left: 2px solid var(--gold); padding: 3px 0 3px 7px; margin-bottom: 4px; }
.cal-ev b { display: block; font-size: 11.5px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.cal-ev span { font-family: var(--mono); font-size: 9.5px; color: var(--ink-4); }
.up-item { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid rgba(18, 23, 28, 0.1); }
.up-date { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink-4); margin-bottom: 7px; }
.up-title { font-family: var(--serif); font-size: 20px; line-height: 1.2; margin-bottom: 6px; }
.up-detail { font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
.rhythm { display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.rhythm span { color: var(--ink-3); }
.empty-note { font-size: 13px; color: var(--ink-4); line-height: 1.6; }

/* gallery */
.gal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gal-item { margin: 0; border: 1px solid var(--line); display: flex; flex-direction: column; background: var(--paper); }
.gal-photo { width: 100%; height: 260px; background-size: cover; background-position: center; border-bottom: 1px solid var(--line); object-fit: cover; display: block; }
.gal-photo.missing, .thumb.missing { display: grid; place-items: center; text-align: center; padding: 0 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: #8a3b2f; background: rgba(138, 59, 47, 0.08); overflow-wrap: anywhere; }
.gal-item figcaption { padding: 20px 22px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.gal-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; overflow: hidden; }
.gal-open:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
.gal-open .gal-photo { transition: transform 0.45s cubic-bezier(0.2, 0.6, 0.2, 1); }
.gal-open:hover .gal-photo { transform: scale(1.035); }
.gal-zoom { position: absolute; left: 14px; bottom: 14px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); background: rgba(18, 23, 28, 0.78); padding: 6px 11px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity 0.2s, transform 0.2s; }
.gal-open:hover .gal-zoom, .gal-open:focus-visible .gal-zoom { opacity: 1; transform: none; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 5vh 6vw; background: rgba(10, 13, 16, 0.94); backdrop-filter: blur(6px); }
.lb.on { display: flex; animation: lb-in 0.22s ease-out; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 100%; max-height: 100%; }
.lb-img { display: block; max-width: 100%; max-height: 78vh; object-fit: contain; border: 1px solid rgba(246, 246, 244, 0.18); background: #12171c; }
.lb-cap { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; max-width: 640px; }
.lb-text { font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--paper); }
.lb-count { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #8f979f; }
.lb-close { position: absolute; top: 22px; right: 26px; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(246, 246, 244, 0.26); background: none; color: var(--paper); font-size: 24px; line-height: 1; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 999px; border: 1px solid rgba(246, 246, 244, 0.26); background: rgba(18, 23, 28, 0.5); color: var(--paper); font-size: 26px; line-height: 1; cursor: pointer; }
.lb-nav.prev { left: 18px; }
.lb-nav.next { right: 18px; }
.lb-close:hover, .lb-nav:hover { border-color: var(--gold-light); color: var(--gold-light); }
@media (max-width: 700px) {
  .lb { padding: 4vh 12px; }
  .lb-img { max-height: 66vh; }
  .lb-nav { width: 44px; height: 44px; }
  .lb-nav.prev { left: 6px; }
  .lb-nav.next { right: 6px; }
  .lb-text { font-size: 17px; }
}
.gal-head { display: flex; align-items: baseline; justify-content: space-between; gap: 30px; margin-bottom: 26px; flex-wrap: wrap; }

/* footer */
.site-foot { background: var(--ink); color: var(--paper); padding: 68px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 44px; }
.foot-title { font-family: var(--serif); font-size: 24px; margin-bottom: 12px; }
.foot-copy { font-size: 14.5px; line-height: 1.65; color: #8f979f; margin: 0; max-width: 300px; }
.foot-copy.light { color: #b9c0c7; }
.foot-copy a { color: var(--gold-light); }
.foot-links { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.foot-links a { color: #b9c0c7; }
.foot-links a:hover { color: var(--gold-light); }
.site-foot .kicker { color: var(--gold-light); }
.foot-rule { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(246, 246, 244, 0.14); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 12.5px; color: #7b838b; }
.foot-rule .kicker { margin: 0; color: #7b838b; }

/* admin console */
.admin-body { background: var(--ink); color: var(--paper); }
.admin-body a { color: var(--gold-light); }
.admin-body a:hover { color: var(--paper); }
.lock { min-height: 100vh; display: grid; place-items: center; padding: 40px; }
.lock-card { width: 100%; max-width: 420px; }
.lock-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.lock-brand .mark { width: 56px; height: 38px; }
.lock-brand .mark.logo { width: 64px; height: 64px; }
.admin-head .mark.logo { width: 40px; height: 40px; }
.lock-brand .brand-name { font-family: var(--serif); font-size: 21px; }
.lock-brand .brand-sub { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #7b838b; }
.admin-head { border-bottom: 1px solid rgba(246, 246, 244, 0.14); position: sticky; top: 0; background: var(--ink); z-index: 20; }
.admin-head .head-inner { height: 76px; }
.admin-head .kicker { margin: 0; color: #7b838b; }
.tab { background: none; border: 1px solid rgba(246, 246, 244, 0.24); color: var(--paper); padding: 10px 20px; border-radius: 999px; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.tab.on { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); font-weight: 500; }
.admin-main { max-width: 1240px; margin: 0 auto; padding: 50px 40px 90px; }
.admin-title { font-family: var(--serif); font-size: 40px; line-height: 1.1; margin: 0 0 10px; }
.admin-sub { font-size: 15.5px; color: #8f979f; margin: 0; max-width: 560px; line-height: 1.6; }
.admin-cols { display: grid; grid-template-columns: 440px 1fr; gap: 32px; align-items: start; }
.form-card { border: 1px solid var(--line-light); padding: 28px 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card h2 { grid-column: span 2; font-family: var(--serif); font-size: 24px; margin: 0; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; color: #8f979f; }
.field.full { grid-column: span 2; }
.field input, .field select, .field textarea { background: rgba(246, 246, 244, 0.06); border: 1px solid rgba(246, 246, 244, 0.22); color: var(--paper); padding: 11px 12px; font-size: 14.5px; border-radius: 3px; }
.field select { background: #1a2027; }
.field textarea { resize: vertical; }
.form-actions { grid-column: span 2; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.btn-gold { background: var(--gold-light); border: none; color: var(--ink); padding: 12px 24px; font-size: 14px; font-weight: 500; border-radius: 999px; cursor: pointer; }
.btn-line { background: none; border: 1px solid rgba(246, 246, 244, 0.24); color: var(--paper); padding: 12px 22px; font-size: 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.btn-line.small, .btn-gold.small { padding: 7px 14px; font-size: 12.5px; }
.btn-line.danger { color: #e0968a; }
.status { font-size: 13px; color: var(--gold-light); }
.err { font-size: 13px; color: #e0968a; min-height: 20px; margin-top: 10px; }
.admin-list { border: 1px solid var(--line-light); }
.admin-row { padding: 20px 24px; border-bottom: 1px solid rgba(246, 246, 244, 0.12); display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.admin-row.past { opacity: 0.55; }
.admin-row .up-date { color: var(--gold-light); }
.admin-row .up-title { color: var(--paper); }
.admin-row .up-detail { color: #8f979f; }
.admin-empty { border: 1px solid var(--line-light); padding: 50px 30px; text-align: center; color: #8f979f; font-size: 14.5px; line-height: 1.6; }
.drop { border: 1px dashed rgba(246, 246, 244, 0.3); padding: 38px; display: flex; flex-direction: column; justify-content: center; gap: 8px; cursor: pointer; text-align: center; }
.drop strong { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.drop span { font-size: 14.5px; color: #8f979f; }
.drop em { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); font-style: normal; margin-top: 6px; }
.upload-grid { display: grid; grid-template-columns: 1fr 340px; gap: 26px; margin-bottom: 40px; }
.admin-gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.admin-gal figure { margin: 0; border: 1px solid var(--line-light); display: flex; flex-direction: column; }
.admin-gal .thumb { width: 100%; height: 170px; background-size: cover; background-position: center; object-fit: cover; display: block; }
.admin-gal figcaption { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: #d6dbe0; line-height: 1.45; }
.admin-gal .added { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #7b838b; }
.row-actions { display: flex; gap: 8px; flex-shrink: 0; }

@media (max-width: 1080px) {
  .hero-grid, .split, .show-grid, .youth-grid, .contact-grid, .cal-layout, .admin-cols, .upload-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-4, .grid-3, .admin-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .display-xl { font-size: 46px; }
  .display-l { font-size: 38px; }
  .display-m { font-size: 30px; }
  .site-nav { gap: 14px; font-size: 13px; flex-wrap: wrap; justify-content: flex-end; }
  .head-inner { height: auto; padding: 16px 0; flex-wrap: wrap; }
  .site-head { position: static; }
}
@media (max-width: 700px) {
  .wrap, .section, .section-tight, .admin-main { padding-left: 20px; padding-right: 20px; }
  .grid-2, .grid-3, .grid-4, .foot-grid, .admin-gal, .gal-grid, .stat-row { grid-template-columns: 1fr; }
  .display-xl { font-size: 34px; }
  .display-l { font-size: 30px; }
  .calendar { font-size: 11px; }
  .cal-day { min-height: 76px; padding: 6px; }
  .feature { padding: 28px 24px; }
  .form-card { grid-template-columns: 1fr; }
  .field.full, .form-card h2, .form-actions { grid-column: span 1; }
}

/* site status + preview access */
.pill-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #6fbf8a; margin-left: 6px; vertical-align: 1px; font-style: normal; }
.pill-dot.off { background: #e0968a; }
.site-state { grid-column: span 2; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid rgba(111, 191, 138, 0.4); }
.site-state.off { border-color: rgba(224, 150, 138, 0.5); }
.site-state .pill-dot { width: 12px; height: 12px; margin: 6px 0 0; flex: none; }
.site-state strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--paper); margin-bottom: 4px; }
.site-state span { font-size: 14px; color: #8f979f; line-height: 1.55; }
.pv-form { display: flex; gap: 10px; flex-wrap: wrap; }
.pv-form input { flex: 1; min-width: 200px; background: rgba(246, 246, 244, 0.06); border: 1px solid rgba(246, 246, 244, 0.22); color: var(--paper); padding: 11px 12px; font-size: 14.5px; border-radius: 3px; }
.pv-new { margin-top: 20px; border: 1px solid var(--gold-light); padding: 20px 22px; }
.pv-code { font-family: var(--mono); font-size: 30px; letter-spacing: 0.12em; color: var(--paper); }
.pv-link { display: flex; gap: 12px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.pv-link span { font-family: var(--mono); font-size: 12px; color: #8f979f; overflow-wrap: anywhere; flex: 1; min-width: 0; }
.preview-entry summary { cursor: pointer; font-size: 14px; color: var(--gold-light); }
.preview-bar { position: sticky; top: 0; z-index: 200; display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; padding: 9px 20px; background: #c9a24d; color: #12171c; font-size: 13.5px; }
.preview-bar a, .preview-bar button { color: #12171c; font: inherit; font-weight: 600; text-decoration: underline; background: none; border: none; cursor: pointer; padding: 0; }
@media (max-width: 900px) { .admin-cols { grid-template-columns: 1fr; } }

/* admins + account */
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 16px; margin-top: 4px; }
.perm { display: flex; gap: 9px; align-items: center; font-size: 14px; color: var(--paper); cursor: pointer; }
.perm input { width: 16px; height: 16px; accent-color: #c9a24d; margin: 0; flex: none; }
.pw-row { display: flex; gap: 8px; align-items: center; }
.pw-row input { flex: 1; min-width: 0; font-family: var(--mono); letter-spacing: 0.04em; }
.badge { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border: 1px solid rgba(246, 246, 244, 0.3); color: #c3c8cc; border-radius: 999px; font-weight: 400; }
.badge.gold { border-color: #c9a24d; color: #c9a24d; }
.badge.red { border-color: #e0968a; color: #e0968a; }
.cred { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(246, 246, 244, 0.1); font-size: 14px; }
.cred span { color: #8f979f; }
.cred b { font-family: var(--mono); font-weight: 400; color: var(--paper); overflow-wrap: anywhere; }
button:disabled { cursor: default; }

/* page content editor */
.content-cols { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.content-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 100px; }
.content-nav button { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; background: none; border: 1px solid transparent; color: #c3c8cc; padding: 10px 14px; border-radius: 3px; font: inherit; font-size: 14px; cursor: pointer; }
.content-nav button:hover { color: var(--paper); border-color: var(--line-light); }
.content-nav button.on { background: rgba(246, 246, 244, 0.06); border-color: var(--line-light); color: var(--paper); }
.content-nav em { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--gold-light); white-space: nowrap; }
.content-form { gap: 22px; }
.content-head { grid-column: span 2; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.content-head h2 { font-family: var(--serif); font-size: 26px; margin: 0; }
.content-head a { font-size: 13.5px; color: var(--gold-light); }
.c-note { grid-column: span 2; margin: -10px 0 0; font-size: 13.5px; color: #8f979f; }
.format-tip { grid-column: span 2; font-size: 13px; line-height: 1.6; color: #8f979f; border: 1px dashed var(--line-light); padding: 12px 14px; border-radius: 3px; }
.format-tip b { color: #c3c8cc; font-weight: 500; margin-right: 6px; }
.format-tip code { font-family: var(--mono); font-size: 12px; color: var(--paper); background: rgba(246, 246, 244, 0.08); padding: 1px 6px; border-radius: 2px; }
.c-label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: #c3c8cc; }
.c-dirty { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #12171c; background: var(--gold-light); padding: 2px 7px; border-radius: 99px; }
.c-dirty[hidden], .c-restore[hidden] { display: none; }
.c-restore { margin-left: auto; background: none; border: none; padding: 0; color: var(--gold-light); font: inherit; font-size: 12.5px; text-decoration: underline; cursor: pointer; }
.c-help { font-size: 12px; color: #7b838b; }
.c-field textarea { line-height: 1.55; }
.rep { display: flex; flex-direction: column; gap: 8px; }
.rep-cols { display: grid; gap: 8px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #7b838b; }
.rep-list { display: flex; flex-direction: column; gap: 8px; }
.rep-row { display: grid; gap: 8px; align-items: start; }
.rep-btns { display: flex; gap: 6px; }
.content-actions { position: sticky; bottom: 0; background: var(--ink); padding: 16px 0 4px; border-top: 1px solid var(--line-light); z-index: 2; }
.content-actions .btn-gold:disabled { opacity: 0.45; cursor: default; }
@media (max-width: 900px) {
  .content-cols { grid-template-columns: 1fr; }
  .content-nav { position: static; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .rep-row { grid-template-columns: 1fr !important; padding-bottom: 10px; border-bottom: 1px solid var(--line-light); }
  .rep-cols { display: none; }
}

/* links & videos */
.link-list { border-top: 1px solid var(--line); }
.link-item { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto; gap: 24px; align-items: baseline; padding: 20px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
a.link-item:hover { background: var(--paper-2); color: var(--ink); }
.link-name { font-family: var(--serif); font-size: 21px; line-height: 1.25; }
.link-note { font-size: 14.5px; color: var(--ink-3); }
.link-host { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--teal); white-space: nowrap; }
.club-block + .club-block { margin-top: 30px; }
.club-block:first-child { border-top: none; padding-top: 0; }
.chip-link { color: var(--ink-2); }
.chip-link:hover { border-color: var(--gold); color: var(--ink); }
.video-card { border: 1px solid var(--line); padding: 26px 26px 22px; display: flex; flex-direction: column; min-height: 190px; color: var(--ink); }
a.video-card:hover { background: var(--paper-2); border-color: rgba(18, 23, 28, 0.3); color: var(--ink); }
.video-card .kicker { margin-bottom: 14px; }
.video-title { font-family: var(--serif); font-size: 21px; line-height: 1.25; text-wrap: pretty; }
.video-cta { margin-top: auto; padding-top: 22px; font-size: 13.5px; font-weight: 500; color: var(--teal); }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .link-item { grid-template-columns: 1fr; gap: 4px; }
  .video-grid { grid-template-columns: 1fr; }
}

/* forms & documents */
.doc-list { border-top: 1px solid var(--line); }
.doc-item { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 28px 4px; border-bottom: 1px solid var(--line); }
.doc-item .kicker { margin: 0; }
.doc-item .display-xs { margin-bottom: 6px; }
.doc-item .body-s { margin: 0; max-width: 620px; }
.doc-get { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.doc-meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--ink-4); }
.doc-admin { display: flex; flex-direction: column; gap: 12px; }
.doc-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; border: 1px solid var(--line-light); padding: 20px 22px; border-radius: 3px; }
.doc-row.editing { display: block; }
.doc-main { flex: 1 1 320px; min-width: 0; }
.doc-title { font-family: var(--serif); font-size: 20px; color: var(--paper); }
.doc-desc { font-size: 13.5px; color: #8f979f; margin-top: 4px; }
.doc-file { font-size: 13px; color: #8f979f; margin-top: 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.doc-file a { color: var(--gold-light); }
.doc-btns { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.doc-btns label { cursor: pointer; }
.doc-btns button:disabled { opacity: 0.35; cursor: default; }
.doc-edit { display: grid; gap: 14px; }
@media (max-width: 700px) {
  .doc-item { grid-template-columns: 1fr; gap: 12px; }
  .doc-get { align-items: flex-start; }
}

/* offline page calendar + admin toggle */
.offline-cal { background: var(--paper); color: var(--ink); padding: 70px 0 90px; }
.offline-cal .wrap { padding: 0 40px; }
.offline-cal .pill { color: var(--ink); }
.offline-cal .bordered .up-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.lock + .offline-cal { margin-top: 0; }
body.admin-body .lock:has(+ .offline-cal) { min-height: auto; padding: 90px 40px 70px; }
.check-row { grid-column: span 2; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line-light); border-radius: 3px; cursor: pointer; }
.check-row input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--gold-light); flex: none; }
.check-row strong { display: block; font-size: 14px; font-weight: 500; color: var(--paper); }
.check-row em { display: block; font-style: normal; font-size: 13px; color: #8f979f; margin-top: 3px; line-height: 1.5; }
@media (max-width: 700px) { .offline-cal .wrap { padding: 0 20px; } body.admin-body .lock:has(+ .offline-cal) { padding: 60px 20px 50px; } }

/* ---------- phone + tablet ---------- */
html { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
.nav-toggle { display: none; }
.cal-wd { display: none; font-style: normal; }
.admin-tabs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
@media (max-width: 1080px) {
  .site-head { position: sticky; }
  .head-inner { height: 70px; padding: 0; flex-wrap: nowrap; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; margin-right: -8px; background: none; border: none; cursor: pointer; }
  .nav-toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 22px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(18, 23, 28, 0.35); font-size: 17px; max-height: calc(100vh - 70px); overflow-y: auto; }
  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: 14px 2px; border-bottom: 1px solid rgba(18, 23, 28, 0.08); color: var(--ink); }
  .site-nav a.active { border-bottom: 1px solid rgba(18, 23, 28, 0.08); padding-bottom: 14px; color: var(--gold); }
  .site-nav .btn-solid { margin-top: 16px; text-align: center; padding: 15px 20px; border-bottom: none; font-size: 15px; }
  .admin-head .head-inner { height: auto; padding: 14px 0; flex-direction: column; align-items: stretch; gap: 12px; }
  .admin-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 4px; }
  .admin-tabs::-webkit-scrollbar { display: none; }
  .admin-cols, .content-cols { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { overflow-x: hidden; }
  .brand .mark { width: 44px; height: 30px; }
  .brand .mark.logo { width: 42px; height: 42px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 8.5px; letter-spacing: 0.12em; }
  .hero-grid { padding-top: 56px; padding-bottom: 52px; gap: 32px; }
  .display-xl { font-size: 36px; line-height: 1.08; }
  .display-l { font-size: 31px; line-height: 1.12; }
  .display-m { font-size: 27px; }
  .display-s { font-size: 23px; }
  .lede, .body-lg { font-size: 16.5px; }
  .page-head { padding: 48px 0 44px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section-tight { padding-top: 32px; padding-bottom: 56px; }
  .split { gap: 24px; }
  .head-row { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
  .head-row.tight { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn-light, .btn-row .btn-ghost { text-align: center; }
  .head-row.tight .btn-row { flex-direction: row; }
  .page-head .btn-light, .cta-row .btn-solid, .cta-row .btn-outline { display: block; text-align: center; width: 100%; }
  .cta-row { gap: 20px; }
  .ticker-inner { padding: 16px 20px; gap: 10px 22px; }
  .bordered { padding: 24px 22px; }
  .bordered.pad-lg { padding: 28px 24px; }
  .bordered .pad { padding: 22px; }
  .card-link { min-height: 0; padding: 26px 22px 22px; }
  .panel { padding: 20px 22px; }
  .info-stack > div { padding: 20px 22px; }
  .meta-row { gap: 20px; }
  .price span { font-size: 46px; }
  .pill { width: 44px; height: 44px; }
  .pill.wide { height: 44px; }
  .chip { padding: 8px 14px; }
  .site-foot { padding: 48px 0 28px; }
  .foot-grid { gap: 30px; }
  .foot-links a { display: inline-block; padding: 4px 0; }
  .foot-rule { flex-direction: column; gap: 8px; margin-top: 34px; }
  .calendar { grid-template-columns: 1fr; font-size: inherit; }
  .cal-dow, .cal-day.out, .cal-day:not(.has-ev):not(.today) { display: none; }
  .cal-day { min-height: 0; padding: 14px 16px; display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; align-items: start; }
  .cal-daynum { margin: 0; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 15px; grid-row: 1 / span 9; }
  .cal-wd { display: inline; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); }
  .cal-day .cal-ev { grid-column: 2; margin-bottom: 0; }
  .cal-ev b { font-size: 14.5px; }
  .cal-ev span { font-size: 11px; }
  .field input, .field select, .field textarea, .pv-form input, .content-form input, .content-form textarea { font-size: 16px; }
  .admin-main { padding-top: 32px; padding-bottom: 60px; }
  .admin-title { font-size: 30px; }
  .admin-main > .head-row { margin-bottom: 26px !important; }
  .form-card { padding: 22px 18px; }
  .admin-row { flex-direction: column; gap: 12px; padding: 18px; }
  .row-actions, .doc-btns { flex-wrap: wrap; }
  .btn-line.small, .btn-gold.small { padding: 10px 14px; }
  .tab { padding: 10px 16px; }
  .content-head, .c-note, .format-tip, .check-row, .site-state { grid-column: span 1; }
  .content-nav button { padding: 9px 12px; }
  .doc-row { padding: 18px; }
  .drop { padding: 28px 20px; }
  .lock { padding: 40px 20px; place-items: start center; }
  .lb-nav { top: auto; bottom: 18px; transform: none; width: 46px; height: 46px; }
  .lb-close { top: 14px; right: 14px; }
  .preview-bar { gap: 8px 14px; font-size: 12.5px; padding: 8px 16px; }
}
@media (max-width: 380px) {
  .brand-sub { display: none; }
  .display-xl { font-size: 32px; }
}

/* admin calendar list */
.admin-row.standing .up-title { color: #c3c8cc; }
.admin-row.standing .badge { margin-left: 6px; vertical-align: 2px; }
.past-events { margin-top: 22px; }
.past-events summary { cursor: pointer; font-size: 13.5px; color: var(--gold-light); margin-bottom: 12px; }

/* logo in footer */
.foot-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.foot-brand .foot-title { margin: 0; }
.foot-logo { width: 60px; height: 60px; border-radius: 50%; display: block; flex-shrink: 0; }

/* metal spot prices */
.metals { background: var(--ink); color: var(--paper); padding: 84px 0; position: relative; overflow: hidden; border-top: 1px solid rgba(246, 246, 244, 0.1); }
.metals::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 380px at 85% 0%, rgba(168, 135, 63, 0.16), transparent 70%); pointer-events: none; }
.metals-inner { position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 60px; align-items: center; }
.metals .display-m { color: var(--paper); margin: 0 0 14px; }
.metals-note { font-size: 15px; line-height: 1.6; color: #b9c0c7; margin: 0; max-width: 360px; }
.metals-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.metal-card { margin: 0; background: var(--paper); color: var(--ink); border-radius: 4px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); display: flex; flex-direction: column; min-width: 0; }
.metal-card figcaption { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #f3ecdb, var(--paper)); }
.metal-card.silver figcaption { background: linear-gradient(90deg, #e6e8ea, var(--paper)); }
.metal-sym { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 16px; color: var(--ink); background: var(--gold-light); box-shadow: inset 0 0 0 2px rgba(18, 23, 28, 0.12), inset 0 0 0 4px rgba(246, 246, 244, 0.35); }
.metal-card.silver .metal-sym { background: #c3c8cd; }
.metal-name { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.metal-widget { display: flex; justify-content: center; padding: 14px 10px 16px; min-height: 140px; overflow-x: auto; }
.metal-widget > * { max-width: 100%; }
.metal-off { align-self: center; font-size: 13.5px; color: var(--ink-4); }
body.admin-body .lock:has(+ .metals) { min-height: auto; padding: 90px 40px 70px; }
.metals + .offline-cal { border-top: none; }
@media (max-width: 1080px) { .metals-inner { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 760px) {
  .metals { padding: 56px 0; }
  .metals-cards { grid-template-columns: 1fr; max-width: 380px; }
  body.admin-body .lock:has(+ .metals) { padding: 60px 20px 50px; }
}

/* server-rendered spot prices (Update 11) */
.metal-body { padding: 22px 22px 22px; display: flex; flex-direction: column; gap: 4px; }
.metal-price { font-family: var(--serif); font-size: 42px; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.metal-cur { font-size: 0.55em; vertical-align: 0.6em; margin-right: 2px; color: var(--ink-3); }
.metal-unit { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); }
.metal-chg-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); min-height: 18px; }
.metal-chg { font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.metal-chg.up { color: #2f6b3c; }
.metal-chg.down { color: #a23b2c; }
.metal-chg.flat { color: var(--ink-3); }
.metal-chg-l { font-size: 13px; color: var(--ink-4); }
@media (max-width: 760px) { .metal-price { font-size: 36px; } }

/* ===== Update 18: Youth Club photo ===== */
.youth-photo { min-height: 320px; border: 1px solid rgba(246, 246, 244, 0.2); overflow: hidden; }
.youth-photo img { display: block; width: 100%; height: 100%; min-height: 320px; max-height: 460px; object-fit: cover; object-position: 30% center; }
@media (max-width: 700px) { .youth-photo, .youth-photo img { min-height: 220px; } }

/* ===== Update 18: Membership application (online form + print sheet) ===== */
.apply-band { background: var(--paper-2); border-top: 1px solid rgba(18, 23, 28, 0.08); scroll-margin-top: 20px; }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.apply-form { display: flex; flex-direction: column; gap: 26px; }
.apply-form .display-m { margin-bottom: 12px; }
.apply-form .body { max-width: 580px; margin: 0; }
.apply-type { border: 0; padding: 0; margin: 0; min-width: 0; }
.apply-type legend, .apply-field label { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.apply-field .hint { font-weight: 400; color: var(--ink-3); }
.apply-radios { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.apply-radio { display: flex; align-items: center; gap: 12px; border: 1px solid rgba(18, 23, 28, 0.22); border-radius: 8px; padding: 16px 18px; background: #fff; cursor: pointer; font-size: 15px; }
.apply-radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--teal); flex: none; }
.apply-radio b { font-weight: 600; }
.apply-radio:has(input:checked) { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); background: #f1f6f5; }
.apply-radio:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }
.apply-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 16px; }
.apply-field.span-3 { grid-column: span 6; }
.apply-field.span-2 { grid-column: span 4; }
.apply-field.span-1 { grid-column: span 2; }
.apply-field.span-h { grid-column: span 3; }
.apply-field input { width: 100%; height: 48px; padding: 0 14px; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid rgba(18, 23, 28, 0.24); border-radius: 6px; }
.apply-field input:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.apply-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding-top: 4px; }
.apply-actions button { cursor: pointer; border: 0; }
.apply-actions .btn-outline { background: transparent; border: 1px solid var(--ink); }
.apply-tip { margin: 0; }
.apply-side { display: flex; flex-direction: column; gap: 18px; }
.apply-side .bordered { background: #fff; }
.apply-side .bordered + .bordered { background: transparent; }
.apply-pdf-row { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.apply-pdf-row .body-s { margin: 0; }
.apply-pdf-thumb { width: 54px; height: 70px; border: 1px solid #cfd3d7; background: #fff; display: grid; place-items: center; flex: none; }
.btn-teal { display: block; text-align: center; background: var(--teal); color: var(--paper) !important; border-radius: 999px; padding: 14px 20px; font-size: 14.5px; font-weight: 500; }
.btn-teal:hover { background: var(--ink); }
.apply-blank { display: table; margin: 16px auto 12px; background: none; border: 0; border-bottom: 1px solid var(--gold); padding: 0 0 2px; color: var(--teal); cursor: pointer; }
.apply-pdf .doc-meta { text-align: center; }
@media (max-width: 1080px) { .apply-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 700px) {
  .apply-radios { grid-template-columns: 1fr; }
  .apply-field.span-2, .apply-field.span-1, .apply-field.span-h { grid-column: span 6; }
  .apply-actions .btn-solid, .apply-actions .btn-outline { width: 100%; text-align: center; }
}

/* Print sheet — matches the fillable PDF (Letter) */
.print-sheet { display: none; }
@media print {
  @page { size: letter; margin: 0.45in 0.6in; }
  body.printing-app > *:not(.print-sheet) { display: none !important; }
  body.printing-app { background: #fff; }
  body.printing-app .print-sheet { display: block; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.print-sheet { color: var(--ink); font-family: var(--sans); font-size: 12px; }
.ps-kicker { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #4a535c; }
.ps-kicker.gold { color: #7d6326; }
.ps-kicker.ps-ink { color: var(--ink); margin-bottom: 9px; }
.ps-head { display: flex; align-items: center; gap: 20px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.ps-head img { width: 88px; height: 88px; display: block; }
.ps-title { flex: 1; }
.ps-name { font-family: var(--serif); font-size: 34px; line-height: 1.05; margin-top: 6px; }
.ps-sub { font-size: 15px; color: #3d464f; margin-top: 3px; }
.ps-year { text-align: right; }
.ps-yr { font-family: var(--serif); font-size: 40px; line-height: 1; }
.ps-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0 22px; border: 1px solid #d8dbde; border-radius: 4px; }
.ps-steps > div { padding: 11px 14px; font-size: 13px; }
.ps-steps > div + div { border-left: 1px solid #d8dbde; }
.ps-steps .ps-kicker { display: block; margin-bottom: 4px; }
.ps-types { display: flex; gap: 14px; margin-bottom: 20px; }
.ps-type { flex: 1; display: flex; align-items: center; gap: 10px; border: 1px solid #cfd3d7; border-radius: 4px; padding: 11px 14px; font-size: 14px; }
.ps-type b { font-weight: 600; }
.ps-check { width: 16px; height: 16px; border: 1.5px solid var(--ink); border-radius: 2px; display: grid; place-items: center; font-size: 13px; line-height: 1; flex: none; }
.ps-type.on { border-color: var(--ink); }
.ps-type.on .ps-check::after { content: "\2713"; }
.ps-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 16px; }
.ps-field.span-3 { grid-column: span 6; }
.ps-field.span-2 { grid-column: span 4; }
.ps-field.span-1 { grid-column: span 2; }
.ps-field.span-h { grid-column: span 3; }
.ps-field .ps-kicker { margin-bottom: 4px; }
.ps-opt { text-transform: none; letter-spacing: 0; font-family: var(--sans); color: #5d6670; font-size: 11px; }
.ps-val { height: 32px; border-bottom: 1px solid #9aa1a8; font-size: 15px; display: flex; align-items: flex-end; padding: 0 2px 5px; overflow: hidden; white-space: nowrap; }
.ps-office { margin-top: 24px; border: 1px dashed #9aa1a8; background: #f4f3ef; padding: 14px 18px 16px; border-radius: 3px; }
.ps-office > .ps-kicker { margin-bottom: 10px; }
.ps-office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; font-size: 12px; color: #3d464f; }
.ps-office-grid > div { display: flex; align-items: flex-end; gap: 6px; }
.ps-office-grid i { flex: 1; border-bottom: 1px solid #9aa1a8; height: 14px; }
.ps-box { display: inline-block; width: 10px; height: 10px; border: 1px solid #3d464f; vertical-align: -1px; }
.ps-foot { margin-top: 20px; padding-top: 14px; border-top: 1px solid #d8dbde; display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; font-size: 11.5px; line-height: 1.55; color: #3d464f; }
.ps-foot b { color: var(--ink); font-weight: 600; }
.ps-contact { text-align: right; }

/* ===== Update 21: Form Builder — online forms (form.php) ===== */
.fbar { padding-top: 40px; padding-bottom: 20px; }
.fbar-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.fbar-lay { border: 0; padding: 0; margin: 0; display: flex; gap: 18px; align-items: center; font-size: 15px; color: var(--ink-2); flex-wrap: wrap; }
.fbar-lay legend { float: left; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-right: 6px; padding: 0; }
.fbar-lay label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.fbar-lay input { width: 18px; height: 18px; accent-color: var(--teal); margin: 0; }
.fbar-btns { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.fbar-btns button { cursor: pointer; border: 0; }
.fbar-btns .btn-outline { background: transparent; border: 1px solid var(--ink); }
.fbar-tip { margin: 14px 0 0; }
.fsheet-wrap { padding: 0 40px 90px; }
.fsheet { max-width: 816px; margin: 0 auto; background: #fff; box-shadow: 0 18px 50px rgba(18, 23, 28, 0.14); color: var(--ink); font-family: var(--sans); }
.fs-full { padding: 48px 56px; }
.fs-two { padding: 20px 44px; }
.fs-two .fc + .fc { border-top: 1px dashed #9aa1a8; margin-top: 18px; padding-top: 26px; }
.fs-cards6, .fs-cards4 { display: grid; grid-template-columns: 1fr 1fr; padding: 24px; }
.fs-cards6 .fc, .fs-cards4 .fc { border: 1px dashed #9aa1a8; margin: 0 -1px -1px 0; padding: 16px 18px; display: flex; flex-direction: column; }
.fc { display: flex; flex-direction: column; gap: 12px; }
.fc-head { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.fc-head img { width: 56px; height: 56px; display: block; }
.fc-head.card { gap: 9px; padding-bottom: 8px; border-bottom-width: 1.5px; }
.fc-head.card img { width: 26px; height: 26px; }
.fc-half .fc-head img { width: 38px; height: 38px; }
.fc-k { font-family: var(--mono); font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase; color: #4a535c; display: block; }
.fc-k.gold { color: #7d6326; }
.fc-k.ink { color: var(--ink); font-size: 9.5px; }
.fc-club { font-family: var(--serif); font-size: 15px; line-height: 1.1; }
.fc-title { font-family: var(--serif); font-size: 28px; line-height: 1.08; margin-top: 3px; }
.fc-half .fc-title { font-size: 21px; }
.fc-sub { font-size: 13px; color: #3d464f; margin-top: 3px; }
.fc-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #d8dbde; border-radius: 3px; font-size: 12.5px; }
.fc-strip > div { padding: 8px 12px; }
.fc-strip > div + div { border-left: 1px solid #d8dbde; }
.fc-intro { background: #f4f3ef; padding: 11px 14px; font-size: 11px; line-height: 1.5; color: #3d464f; border-radius: 2px; }
.fc-contact { font-size: 11.5px; color: #3d464f; }
.fc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px 12px; }
.fc-card .fc-grid { gap: 7px 10px; }
.fc-f { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fc-f.w1 { grid-column: span 1; } .fc-f.w2 { grid-column: span 2; } .fc-f.w3 { grid-column: span 3; } .fc-f.w4 { grid-column: span 4; } .fc-f.w6 { grid-column: span 6; }
.fc-f fieldset { border: 0; padding: 0; margin: 0; }
.fc input:not([type=checkbox]):not([type=radio]), .fc textarea { width: 100%; font: inherit; font-size: 14px; color: var(--ink); background: #f2f6fb; border: 1px solid #b9bfc5; border-radius: 2px; padding: 0 8px; height: 32px; }
.fc-card input:not([type=checkbox]):not([type=radio]) { height: 26px; font-size: 13px; }
.fc-half input:not([type=checkbox]):not([type=radio]) { height: 24px; font-size: 12.5px; }
.fc textarea { height: auto; padding: 6px 8px; resize: vertical; line-height: 1.35; }
.fc-card .fc-f.flex { flex: 1; } .fc-card .fc-f.flex textarea { flex: 1; min-height: 70px; }
.fc input:focus, .fc textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; background: #fff; }
.fc-check { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; cursor: pointer; }
.fc-check input { width: 17px; height: 17px; margin: 0; accent-color: var(--teal); }
.fc-opts { display: flex; gap: 18px; min-height: 32px; align-items: center; }
.fc-sign { height: 32px; border-bottom: 1px solid var(--ink); }
.fc-hint { font-size: 11px; color: var(--ink-3); }
.fc-note { font-size: 11.5px; line-height: 1.5; color: #3d464f; }
.fc-note.r { text-align: right; font-size: 10.5px; margin-top: auto; }
.fc-list { width: 100%; border-collapse: separate; border-spacing: 0 3px; font-size: 13px; }
.fc-list th { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: #4a535c; font-weight: 400; text-align: left; padding: 0 4px; }
.fc-list td { padding: 0 4px; }
.fc-list .n { width: 30px; font-family: var(--mono); font-size: 10.5px; color: #4a535c; }
.fc-list .s { width: 26px; text-align: center; }
.fc-list .s input { width: 16px; height: 16px; margin: 0; accent-color: var(--teal); }
.fc-list .m { width: 104px; }
.fc-list input:not([type=checkbox]) { height: 28px !important; }
.fc-list input.sold { background: #ecebe6 !important; }
.fc-half .fc-list input:not([type=checkbox]) { height: 21px !important; font-size: 12px !important; }
.fc-after { display: grid; grid-template-columns: 1fr 250px; gap: 22px; align-items: start; }
.fc-settle { border: 1px dashed #9aa1a8; background: #f4f3ef; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: #3d464f; border-radius: 2px; }
.fc-settle label { display: grid; grid-template-columns: 1fr 110px; align-items: center; gap: 8px; }
.fc-settle input { height: 24px !important; background: #fff !important; font-size: 12.5px !important; }
.fc-office { border: 1px dashed #9aa1a8; background: #f4f3ef; padding: 10px 14px 14px; border-radius: 2px; margin-top: 8px; }
.fc-office-grid { display: flex; gap: 22px; margin-top: 8px; font-size: 12px; color: #3d464f; }
.fc-office-grid > div { flex: 1; display: flex; gap: 6px; align-items: flex-end; }
.fc-office-grid i { flex: 1; border-bottom: 1px solid #9aa1a8; height: 14px; }
.fc-foot { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: #3d464f; border-top: 1px solid #d8dbde; padding-top: 10px; margin-top: auto; }
.fc-foot.c { justify-content: center; border: 0; font-weight: 600; color: var(--ink); font-size: 12.5px; }
.fs-full .fc { min-height: 900px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) {
  .fsheet-wrap { padding: 0 0 56px; }
  .fs-full, .fs-two { padding: 26px 18px; }
  .fs-full .fc { min-height: 0; }
  .fs-cards6, .fs-cards4 { grid-template-columns: 1fr; padding: 14px; }
  .fc-grid .fc-f { grid-column: span 6 !important; }
  .fc-strip { grid-template-columns: 1fr; } .fc-strip > div + div { border-left: 0; border-top: 1px solid #d8dbde; }
  .fc-after { grid-template-columns: 1fr; }
  .fc-office-grid { flex-direction: column; gap: 14px; }
  .fc-list .m { width: 74px; } .fc-list .n { width: 22px; }
  .fc-title { font-size: 23px; }
  .fbar-btns { width: 100%; } .fbar-btns .btn-solid, .fbar-btns .btn-outline { flex: 1; text-align: center; }
}
@media print {
  html.fprint body > *:not(.fsheet-wrap) { display: none !important; }
  html.fprint body { background: #fff; }
  html.fprint .fsheet-wrap { padding: 0; }
  html.fprint .fsheet { box-shadow: none; max-width: none; width: 100%; }
  html.fprint .fs-full { padding: 0; } html.fprint .fs-full .fc { min-height: 9.9in; }
  html.fprint .fs-two { padding: 0; } html.fprint .fs-two .fc { height: 4.95in; overflow: hidden; }
  html.fprint .fs-cards6, html.fprint .fs-cards4 { padding: 0; }
  html.fprint .fs-cards6 .fc { height: 3.42in; overflow: hidden; }
  html.fprint .fs-cards4 .fc { height: 5.14in; overflow: hidden; }
  html.fprint .fc textarea { resize: none; overflow: hidden; }
  html.fprint .fc-hint { display: none; }
  html.fprint * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  html.fprint .fc input:focus, html.fprint .fc textarea:focus { outline: none; }
}
@page hccform { size: letter; margin: 0.35in; }
@media print { html.fprint .fsheet-wrap { page: hccform; } }

/* Forms page: layout choice */
.doc-lay { border: 0; padding: 0; margin: 0; display: flex; gap: 14px; font-size: 14px; color: var(--ink-2); }
.doc-lay legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.doc-lay label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.doc-lay input { margin: 0; width: 16px; height: 16px; accent-color: var(--teal); }
.doc-get .doc-links { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 700px) { .doc-get .doc-links { justify-content: flex-start; } }

/* Update 21: admin form editor */
.f-edit-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.f-edit-cols .form-card { align-items: start; }
.f-edit-cols .form-card .field input { height: auto; }
.f-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 90px auto auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(246, 246, 244, 0.1); }
@media (max-width: 1080px) { .f-edit-cols { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .f-row { grid-template-columns: 1fr 1fr; } .f-row > input:first-child { grid-column: 1 / -1; } }
@media print { html.fprint .fc input::placeholder { color: transparent; } }
