/* The Silver Hour – Tech Club landing page. Loaded after styles.css. */

.sh {
  --sh-charcoal: #202428;
  --sh-silver:   #B9BEC5;
  --sh-silver-2: #E4E7EB;
  --sh-white:    #F8F7F4;
  --sh-navy:     #172A3A;
  --sh-gold:     #C5A46D;
  --sh-gold-2:   #D9BE8C;
  --sh-ink:      #202428;
  --sh-muted:    #4A5058;   /* 8:1 on warm white */
  --sh-line:     #D6D9DD;
  --sh-head: 'Montserrat', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --sh-radius: 20px;
  background: var(--sh-white);
  color: var(--sh-ink);
  font-size: 18px;
  line-height: 1.65;
}

.sh h1, .sh h2, .sh h3 { font-family: var(--sh-head); letter-spacing: -.01em; line-height: 1.2; }
.sh h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); font-weight: 800; margin-bottom: 18px; }
.sh h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.sh p + p { margin-top: 14px; }
.sh a:not(.sh-btn) { color: inherit; }
.sh-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.sh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Focus: always visible, thick, high-contrast */
.sh :focus-visible { outline: 3px solid var(--sh-gold); outline-offset: 3px; border-radius: 6px; }
.sh-light :focus-visible, .sh-white :focus-visible, .sh-form :focus-visible { outline-color: #1d4ed8; }

.sh-skip {
  position: absolute; left: 16px; top: -100px; z-index: 300; background: var(--sh-charcoal); color: #fff;
  padding: 12px 18px; border-radius: 10px; font-weight: 700;
}
.sh-skip:focus { top: 16px; }

/* ---- Buttons ---- */
.sh-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.sh-actions.sh-center { justify-content: center; }
.sh-btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 56px; padding: 14px 30px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--sh-head); font-weight: 700; font-size: 1.05rem; line-height: 1.2; cursor: pointer;
  text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.sh-btn-primary { background: var(--sh-silver-2); color: var(--sh-charcoal); border-color: var(--sh-silver-2); }
.sh-btn-primary:hover { background: #fff; border-color: #fff; }
.sh-light .sh-btn-primary, .sh-white .sh-btn-primary { background: var(--sh-charcoal); color: #fff; border-color: var(--sh-charcoal); }
.sh-light .sh-btn-primary:hover, .sh-white .sh-btn-primary:hover { background: #000; border-color: #000; }
.sh-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.sh-btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.sh-btn-dark { background: var(--sh-charcoal); color: #fff; }
.sh-btn-dark:hover { background: #000; }
.sh-btn-gold { background: var(--sh-gold); color: #1b1b1b; border-color: var(--sh-gold); }
.sh-btn-gold:hover { background: var(--sh-gold-2); border-color: var(--sh-gold-2); }
.sh-btn-outline { background: transparent; color: #fff; border-color: var(--sh-silver); }
.sh-btn-outline:hover { background: rgba(255,255,255,.1); }
.sh-btn-disabled { background: var(--sh-silver-2); color: var(--sh-muted); cursor: default; }
.sh-btn-block { width: 100%; }
.sh-btn:disabled { opacity: .65; cursor: default; }

/* ---- Silver lettering ---- */
.sh-metal {
  background: linear-gradient(180deg, #FFFFFF 0%, #E4E7EB 45%, #B9BEC5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Hero ---- */
.sh-hero { position: relative; color: #fff; background: var(--sh-charcoal); overflow: hidden; }
.sh-hero-media, .sh-final-media { position: absolute; inset: 0; background-size: cover; background-position: center; }
/* Photos go monochrome so the page stays silver and charcoal whatever the source colors. */
.sh-hero-media:not(.sh-art), .sh-final-media:not(.sh-art) { filter: grayscale(1) contrast(1.05); }
.sh-hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,23,26,.95) 0%, rgba(20,23,26,.86) 45%, rgba(23,42,58,.7) 100%);
}
.sh-hero-inner { position: relative; padding-top: 190px; padding-bottom: 110px; max-width: 1200px; }
.sh-hero-inner > * { max-width: 720px; }
.sh-kicker { font-size: .95rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sh-silver); margin-bottom: 18px; }
.sh-hero-title { font-size: clamp(2.8rem, 8vw, 5.4rem); font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: -.02em; }
.sh-hero-sub {
  display: block; width: fit-content; margin-top: 18px; font-size: clamp(1rem, 2.2vw, 1.35rem); letter-spacing: .5em; font-weight: 700;
  color: var(--sh-gold); padding-left: .5em; border-left: 3px solid var(--sh-gold);
}
.sh-hero-tagline { font-family: var(--sh-head); font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 700; margin-top: 28px; color: #fff; }
.sh-hero-lead { font-size: 1.2rem; margin-top: 18px; color: var(--sh-silver-2); }
.sh-hero-copy { color: #D9DDE2; }

/* ---- Schedule bar ---- */
.sh-schedule { background: #fff; border-bottom: 1px solid var(--sh-line); padding: 28px 0; }
.sh-schedule-grid { display: grid; gap: 20px; }
.sh-schedule-grid li { display: flex; gap: 14px; align-items: flex-start; }
.sh-schedule-grid .sh-icon { width: 48px; height: 48px; border-radius: 14px; }
.sh-schedule-grid .sh-icon svg { width: 24px; height: 24px; }
.sh-schedule-grid div { display: flex; flex-direction: column; gap: 2px; font-size: 1rem; color: var(--sh-muted); line-height: 1.45; }
.sh-schedule-grid strong { font-family: var(--sh-head); font-size: 1.05rem; color: var(--sh-ink); }
.sh-schedule-grid a { color: var(--sh-navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 700px) { .sh-schedule-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .sh-schedule-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---- Sections ---- */
.sh-section { padding: 96px 0; }
.sh-light { background: var(--sh-white); }
.sh-white { background: #fff; }
.sh-dark  { background: var(--sh-charcoal); color: #E9EBEE; }
.sh-navy  { background: var(--sh-navy); color: #E9EBEE; }
.sh-dark h2, .sh-navy h2, .sh-dark h3, .sh-navy h3 { color: #fff; }
.sh-head { max-width: 800px; margin-bottom: 48px; }
.sh-eyebrow { font-family: var(--sh-head); font-size: .9rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #5B626B; margin-bottom: 12px; }
.sh-dark .sh-eyebrow, .sh-navy .sh-eyebrow { color: var(--sh-silver); }
.sh-eyebrow.sh-gold { color: var(--sh-gold); }
.sh-sub { font-size: 1.15rem; color: var(--sh-muted); }
.sh-dark .sh-sub, .sh-navy .sh-sub { color: #CDD2D8; }
.sh-emphasis { font-size: 1.15rem; font-weight: 600; border-left: 4px solid var(--sh-silver); padding-left: 18px; margin-top: 24px !important; }

.sh-split { display: grid; gap: 48px; align-items: center; }

/* Learn / Create / Connect */
.sh-pillars { display: flex; flex-direction: column; gap: 16px; }
.sh-pillar { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--sh-line); border-radius: var(--sh-radius); padding: 24px; }
.sh-pillar h3 { text-transform: uppercase; letter-spacing: .08em; font-size: 1.1rem; }
.sh-pillar p { color: var(--sh-muted); }

.sh-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 56px; height: 56px; border-radius: 16px; color: var(--sh-charcoal);
  background: linear-gradient(145deg, #F1F3F5, #C9CED4);
}
.sh-icon svg { width: 28px; height: 28px; }
.sh-card-dark .sh-icon { background: linear-gradient(145deg, #3A4048, #2A2F35); color: var(--sh-gold-2); border: 1px solid #4A5058; }

/* Generic cards */
.sh-card-grid { display: grid; gap: 20px; }
.sh-card { background: #fff; border: 1px solid var(--sh-line); border-radius: var(--sh-radius); padding: 28px; }
.sh-card .sh-icon { margin-bottom: 18px; }
.sh-card p { color: var(--sh-muted); }
.sh-card-dark { background: #2A2F35; border-color: #3A4048; }
.sh-card-dark p { color: #CDD2D8; }

/* ---- Class cards ---- */
.sh-class-grid { display: grid; gap: 24px; }
.sh-class { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sh-line); border-radius: var(--sh-radius); overflow: hidden; }
.sh-class-media { aspect-ratio: 16 / 7; display: flex; align-items: center; justify-content: center; }
.sh-class-media img { width: 100%; height: 100%; object-fit: cover; }
.sh-class-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.sh-class-body p { color: var(--sh-muted); }
.sh-class-label { font-family: var(--sh-head); font-size: .85rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5B626B !important; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sh-soon { background: #F3EAD9; color: #6B5326; border-radius: 999px; padding: 3px 12px; letter-spacing: .06em; font-size: .78rem; }
.sh-class-note { font-size: 1rem; font-style: italic; }
.sh-class .sh-btn { margin-top: auto; align-self: flex-start; }
.sh-class-body > p:last-of-type { margin-bottom: 22px; }
.sh-class.is-soon .sh-class-media { filter: grayscale(.4); }

/* Silver artwork used where no photo is set */
.sh-art {
  background:
    radial-gradient(circle at 20% 25%, rgba(255,255,255,.75), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(197,164,109,.28), transparent 50%),
    linear-gradient(135deg, #E9ECEF 0%, #C3C8CE 55%, #9DA3AB 100%);
}
.sh-art .sh-icon { width: 88px; height: 88px; border-radius: 26px; background: rgba(255,255,255,.55); box-shadow: 0 10px 30px rgba(32,36,40,.15); }
.sh-art .sh-icon svg { width: 44px; height: 44px; }

/* ---- Community ---- */
.sh-media { border-radius: 28px; overflow: hidden; min-height: 320px; display: flex; align-items: center; justify-content: center; }
.sh-media img { width: 100%; height: 100%; object-fit: cover; }
.sh-callout {
  margin-top: 26px !important; display: inline-block; font-family: var(--sh-head); font-weight: 700; font-size: 1.15rem;
  background: var(--sh-white); border: 1px solid var(--sh-line); border-left: 5px solid var(--sh-gold); border-radius: 12px; padding: 16px 20px;
}

/* ---- Packages ---- */
.sh-package-grid { display: grid; gap: 24px; align-items: stretch; }
.sh-package { position: relative; display: flex; flex-direction: column; background: #1F3446; border: 1px solid #2E4A61; border-radius: var(--sh-radius); padding: 32px 28px; }
.sh-package h3 { font-size: 1.35rem; }
.sh-price { font-family: var(--sh-head); font-size: 2.6rem; font-weight: 800; color: #fff; margin: 6px 0 18px; }
.sh-list-title { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sh-silver); margin-top: 14px !important; }
.sh-package ul { margin: 8px 0 6px; display: flex; flex-direction: column; gap: 6px; }
.sh-package li { padding-left: 26px; position: relative; color: #DCE1E6; }
.sh-package li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 9px; height: 9px; border-radius: 50%; background: var(--sh-silver); }
.sh-package .sh-btn { margin-top: auto; }
.sh-package ul:last-of-type { margin-bottom: 26px; }
.sh-package.is-featured { background: linear-gradient(180deg, #24394B, #1B2F40); border: 2px solid var(--sh-gold); }
.sh-package.is-featured li::before { background: var(--sh-gold); }
.sh-package-flag { position: absolute; top: -15px; left: 28px; background: var(--sh-gold); color: #1b1b1b; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 14px; border-radius: 999px; }
.sh-fineprint { margin-top: 28px; font-size: 1rem; color: #CDD2D8; text-align: center; }
.sh-fineprint.sh-left { text-align: left; }

/* ---- Impact ---- */
.sh-impact-label {
  display: inline-block; font-family: var(--sh-head); font-weight: 700; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase;
  background: #fff; border: 2px dashed var(--sh-silver); border-radius: 999px; padding: 8px 18px; margin-bottom: 22px;
}
.sh-metrics { display: grid; gap: 20px; }
.sh-metric { background: #fff; border: 1px solid var(--sh-line); border-radius: var(--sh-radius); padding: 30px 26px; display: flex; flex-direction: column; gap: 6px; }
.sh-metric-value { font-family: var(--sh-head); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--sh-navy); }
.sh-metric-label { color: var(--sh-muted); font-weight: 600; }
.sh-impact-note { margin-top: 28px; max-width: 760px; color: var(--sh-muted); }

/* ---- Forms ---- */
.sh-form-layout { display: grid; gap: 48px; align-items: start; }
.sh-form-layout > div p:not(.sh-eyebrow) { color: var(--sh-muted); }
.sh-dark .sh-form-layout > div p:not(.sh-eyebrow) { color: #CDD2D8; }
.sh-phone-callout { margin-top: 24px !important; font-size: 1.2rem; font-weight: 700; color: var(--sh-ink) !important; }
.sh-phone-callout a { color: var(--sh-navy); text-decoration: underline; text-underline-offset: 4px; }
.sh-form { background: var(--sh-white); border: 1px solid var(--sh-line); border-radius: 24px; padding: 32px; }
.sh-form fieldset { border: none; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.sh-form-dark { background: #2A2F35; border-color: #3A4048; color: #fff; }
.sh-row { display: grid; gap: 20px; }
.sh-field { display: flex; flex-direction: column; gap: 8px; }
.sh-field > label, .sh-choice-group legend { font-weight: 700; font-size: 1.02rem; }
.sh-req, .sh-opt { font-weight: 500; color: var(--sh-muted); font-size: .92rem; }
.sh-form-dark .sh-req, .sh-form-dark .sh-opt { color: #B9BEC5; }
.sh-field input[type="text"], .sh-field input[type="tel"], .sh-field input[type="email"], .sh-field select, .sh-field textarea {
  width: 100%; min-height: 54px; padding: 12px 16px; font: inherit; font-size: 1.05rem; color: var(--sh-ink);
  background: #fff; border: 2px solid #8C939B; border-radius: 12px;
}
.sh-field textarea { resize: vertical; }
.sh-field [aria-invalid="true"] { border-color: #B42318; }
.sh-error { color: #B42318; font-weight: 600; font-size: .98rem; }
.sh-error:empty { display: none; }
.sh-form-dark .sh-error { color: #FFB4AB; }
.sh-form fieldset.sh-choice-group { display: block; border: none; padding: 0; }
.sh-choice-group legend { margin-bottom: 8px; }
.sh-choice { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-right: 24px; font-weight: 500; cursor: pointer; }
.sh-choice input { width: 24px; height: 24px; accent-color: var(--sh-navy); flex: none; }
.sh-consent { align-items: flex-start; margin-right: 0; }
.sh-consent input { margin-top: 3px; }
.sh-form-note { font-size: .95rem; color: var(--sh-muted); }
.sh-form-status { color: #FFB4AB; font-weight: 600; }
.sh-form-status:empty { display: none; }

.sh-pending:empty { display: none; }
.sh-pending { background: #F3EAD9; border: 1px solid #E2CFA8; color: #4A3A17; border-radius: 14px; padding: 16px 18px; margin-bottom: 22px; }
.sh-pending a { font-weight: 700; text-decoration: underline; }
.sh-pending.is-error { background: #FDECEA; border-color: #F5B5AE; color: #7A1A12; }
.sh-form.is-pending fieldset { opacity: .55; }

.sh-thanks { text-align: center; padding: 32px 8px; }
.sh-thanks:focus { outline: none; }
.sh-thanks-icon { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; background: var(--sh-silver-2); color: var(--sh-charcoal); margin-bottom: 16px; }
.sh-form-dark .sh-thanks-icon { background: var(--sh-gold); }
.sh-thanks h3 { font-size: 1.5rem; }
.sh-form-dark .sh-thanks p { color: #DCE1E6; }

/* ---- Final CTA ---- */
.sh-final { position: relative; overflow: hidden; color: #fff; background: var(--sh-charcoal); text-align: center; }
.sh-final-media.sh-art { background:
    radial-gradient(circle at 15% 20%, rgba(185,190,197,.35), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(197,164,109,.3), transparent 45%),
    linear-gradient(135deg, #2A2F35, #172A3A); }
.sh-final-media:not(.sh-art)::after { content: ''; position: absolute; inset: 0; background: rgba(20,23,26,.78); }
.sh-final-inner { position: relative; padding-top: 110px; padding-bottom: 110px; max-width: 820px; }
.sh-final h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); }
.sh-final p { font-size: 1.2rem; color: #D9DDE2; }

/* ---- Program footer ---- */
.sh-footer { background: #15181B; color: #CDD2D8; padding: 64px 0 24px; font-size: 1rem; }
.sh-footer-grid { display: grid; gap: 32px; }
.sh-footer-title { font-family: var(--sh-head); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; color: #fff; margin-bottom: 8px; }
.sh-footer address { font-style: normal; line-height: 1.8; }
.sh-footer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sh-footer-social { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px !important; }
.sh-footer nav { display: flex; flex-direction: column; gap: 10px; }
.sh-access { margin-top: 40px; padding-top: 24px; border-top: 1px solid #2E3338; font-size: .98rem; }

/* ---- Layout breakpoints ---- */
@media (min-width: 700px) {
  .sh-card-grid.sh-four, .sh-card-grid.sh-three, .sh-class-grid, .sh-metrics, .sh-row { grid-template-columns: repeat(2, 1fr); }
  .sh-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .sh-split { grid-template-columns: 1.1fr .9fr; }
  .sh-split-media { grid-template-columns: .9fr 1.1fr; }
  .sh-media { min-height: 460px; height: 100%; }
  .sh-card-grid.sh-four, .sh-metrics { grid-template-columns: repeat(4, 1fr); }
  .sh-card-grid.sh-three, .sh-package-grid { grid-template-columns: repeat(3, 1fr); }
  .sh-form-layout { grid-template-columns: .85fr 1.15fr; }
  .sh-footer-grid { grid-template-columns: 1.4fr 1fr 1fr .8fr; }
}
@media (max-width: 699px) {
  .sh { font-size: 17px; }
  .sh-section { padding: 72px 0; }
  .sh-wrap { padding-inline: 16px; }
  .sh-hero-inner { padding-top: 120px; padding-bottom: 72px; }
  .sh-actions .sh-btn { width: 100%; }
  .sh-form { padding: 22px 18px; }
  .sh-package-flag { left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .sh *, .sh *::before, .sh *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Sponsor page: compact class overview (no photos or sign-up buttons) */
.sh-class-grid[data-variant="overview"] .sh-class-media { display: none; }
.sh-class-grid[data-variant="overview"] .sh-class-body { padding-top: 24px; }
.sh-class-grid[data-variant="overview"] .sh-class-body > p:last-of-type { margin-bottom: 0; }
@media (min-width: 980px) {
  .sh-class-grid[data-variant="overview"] { grid-template-columns: repeat(4, 1fr); }
}
