:root {
  --navy: #0f2747;
  --navy-dark: #0a1b31;
  --blue: #193b68;
  --accent: #00ceda;
  --accent-dark: #00aeb8;
  --white: #ffffff;
  --offwhite: #f7f9fc;
  --text: #1f2937;
  --muted: #637083;
  --border: #dbe3ee;
  --radius: 18px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--offwhite);
  line-height: 1.55;
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--blue); text-underline-offset: 4px; }
img { max-width: 100%; height: auto; display: block; }
.site-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 2000; transform: translateY(-180%); background: var(--white); border-radius: 8px; padding: 10px 16px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

/* A smaller version of the main site's white, navy and teal header. */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--white); border-bottom: 1px solid var(--border); }
.site-header-inner { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.brand { flex: 0 1 250px; text-decoration: none; }
.brand-logo { width: 250px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; flex-shrink: 0; }
.site-nav a { color: var(--navy); font-size: .94rem; font-weight: 700; text-decoration: none; }
.site-nav .active { position: relative; padding: 10px 0; }
.site-nav .active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 999px; background: var(--accent); }
.header-sign-in { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--border); border-radius: 999px; transition: background .15s ease; }
.header-sign-in:hover { background: var(--offwhite); border-color: #b9c9da; }

.workshop-hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(ellipse at 95% 20%, #00ceda15, transparent 55%), linear-gradient(135deg, var(--navy), var(--blue)); border-bottom: 4px solid var(--accent); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); align-items: center; gap: 72px; padding-top: 48px; padding-bottom: 48px; }
.eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
.intro .eyebrow { display: inline-block; margin: 0 0 20px; padding: 7px 12px; border: 1px solid #ffffff25; border-radius: 999px; color: #d7f9fc; background: #ffffff0c; font-size: .7rem; letter-spacing: .1em; }
.intro h1 { font-size: clamp(2.15rem, 4.3vw, 3.55rem); line-height: 1.06; letter-spacing: -.035em; margin: 0 0 18px; font-weight: 750; }
.intro-description { color: #e0e8f2; font-size: 1.04rem; max-width: 490px; margin: 0 0 24px; }
.hero-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; border-radius: 999px; padding: 12px 22px; background: var(--accent); color: var(--navy-dark); box-shadow: 0 8px 20px #00f4f02b; text-decoration: none; font-size: .95rem; font-weight: 700; transition: background .15s ease, transform .15s ease; }
.hero-button:hover { background: #30dce5; transform: translateY(-1px); }
.hero-button span { font-size: 1.25rem; line-height: 1; }
.hero-note { color: #c4d3e5; font-size: .79rem; margin: 14px 0 0; }
.workshop-partner { background: var(--white); color: var(--text); border: 1px solid #ffffff50; border-radius: 20px; padding: 28px; box-shadow: 0 18px 50px #07162b30; }
.partner-label { color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .13em; margin: 0 0 22px; }
.goodwill-logo { width: 290px; height: auto; }
.partner-description { border-top: 1px solid var(--border); margin-top: 24px; padding-top: 18px; }
.partner-description strong { color: var(--navy); font-size: .98rem; }
.partner-description p { color: var(--muted); font-size: .87rem; line-height: 1.6; margin: 6px 0 0; }

.registration-shell { width: 100%; max-width: 900px; margin: 36px auto 64px; padding: 0 24px; flex: 1; }
#choose-workshop { scroll-margin-top: 16px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; margin-bottom: 22px; box-shadow: 0 6px 24px #0f274706; }
.section-heading { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.step { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #e5f9fb; border: 1px solid #b9ebee; color: var(--navy); font-size: .9rem; font-weight: 700; }
.section-heading h2 { font-size: 1.2rem; color: var(--navy); margin: 1px 0 5px; letter-spacing: -.02em; }
.section-heading p { margin: 0; color: var(--muted); font-size: .9rem; }
label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 7px; color: var(--navy); }
.intake-choices legend { font-size: .88rem; font-weight: 700; margin-bottom: 10px; padding: 0; color: var(--navy); }
input, select, textarea { width: 100%; min-width: 0; font: inherit; font-size: 1rem; border: 1px solid #bdcad9; background: var(--white); border-radius: 10px; padding: 12px 14px; color: var(--text); min-height: 48px; }
input:hover, select:hover, textarea:hover { border-color: #95abc1; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 3px solid #00aeb830; outline-offset: 2px; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 4px; }
select { max-width: 100%; }
select:disabled { background: #f4f7fb; color: var(--muted); }
.workshop-picker { position: relative; }
.workshop-picker-toggle { display: flex; align-items: center; gap: 18px; width: 100%; min-height: 88px; padding: 16px 18px; border: 2px solid #a9dadd; border-radius: 12px; background: linear-gradient(110deg, #ffffff, #effbfc); color: var(--navy); font: inherit; text-align: left; cursor: pointer; box-shadow: 0 4px 14px #0f274709; }
.workshop-picker-toggle:hover { border-color: var(--accent-dark); }
.workshop-picker-toggle[aria-expanded="true"], .workshop-picker-toggle[data-selected="true"] { border-color: var(--accent-dark); }
.workshop-picker-toggle[aria-invalid="true"] { border-color: #b23b35; }
.workshop-picker-toggle:disabled { cursor: default; background: #f4f7fb; border-color: var(--border); color: var(--muted); box-shadow: none; }
.workshop-picker-value { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; }
.workshop-picker-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.workshop-picker-name { font-size: 1.08rem; line-height: 1.3; font-weight: 750; overflow-wrap: anywhere; }
.workshop-picker-date { color: var(--muted); font-size: .88rem; font-weight: 400; line-height: 1.4; }
.workshop-picker-chevron { width: 9px; height: 9px; flex: none; margin: -5px 2px 0 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.workshop-picker-toggle[aria-expanded="true"] .workshop-picker-chevron { margin-top: 5px; transform: rotate(225deg); }
.workshop-status { display: inline-flex; flex: none; align-items: center; max-width: 100%; padding: 6px 10px; border: 1px solid #b5dfd3; border-radius: 999px; background: #eaf8f2; color: #176247; font-size: .77rem; line-height: 1.4; font-weight: 700; }
.workshop-status--upcoming, .workshop-status--unavailable { border-color: #dbe3ee; background: #f0f3f8; color: #566378; }
.workshop-status--full { border-color: #edcbc8; background: #fff1ef; color: #992b26; }
.workshop-picker-options { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40; max-height: 360px; overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid #bfcfdf; border-radius: 14px; background: var(--white); box-shadow: 0 14px 36px #0f274724; }
.workshop-option { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 82px; padding: 14px 12px; border: 2px solid transparent; border-radius: 9px; cursor: pointer; }
.workshop-option + .workshop-option { margin-top: 4px; }
.workshop-option:not([aria-disabled="true"]):hover, .workshop-option[aria-selected="true"] { background: #eefafb; }
.workshop-option.is-active { border-color: var(--blue); }
.workshop-option[aria-disabled="true"] { background: #f7f9fc; color: var(--muted); cursor: not-allowed; }
.workshop-option[aria-disabled="true"] .workshop-picker-name { color: #637083; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.wide { grid-column: 1 / -1; }
.help { font-size: .82rem; color: var(--muted); margin: 8px 0 0; }
.venue { padding: 16px; background: #eef8fb; border: 1px solid #d5eaf0; color: var(--navy); border-radius: 10px; white-space: pre-line; }
.reveal { animation: reveal .25s ease-out; }
.consent { display: flex; gap: 12px; font-size: .9rem; font-weight: 400; align-items: flex-start; color: var(--text); }
.consent input { width: 20px; min-height: 20px; height: 20px; flex: none; margin: 3px 0 0; accent-color: var(--blue); }
.county-help { margin: 0 0 14px; }
.county-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 16px; max-height: 260px; overflow-y: auto; overscroll-behavior: contain; margin-top: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; }
.county-options .consent { min-width: 0; margin: 0; padding: 6px 0; align-items: center; }
.county-options .consent input { margin-top: 0; }
.primary-button { border: 0; border-radius: 999px; background: var(--accent); color: var(--navy-dark); padding: 14px 26px; min-height: 48px; font: inherit; font-weight: 700; cursor: pointer; margin-top: 18px; box-shadow: 0 8px 20px #00ceda24; transition: background .15s ease; }
.primary-button:hover { background: #30dce5; }
.primary-button:disabled { opacity: .6; cursor: wait; }
.text-button { font: inherit; font-size: .8rem; background: none; border: 0; color: var(--blue); padding: 8px 0; min-height: 36px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.notice { padding: 16px; border-radius: 10px; }
.error { color: #992b26; background: #fff0ef; border: 1px solid #efc6c3; }
.receipt { border-top: 4px solid var(--accent); }
.receipt h2 { color: var(--navy); font-size: 2rem; margin: 8px 0 20px; }
.receipt dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.receipt dt { font-weight: 700; color: var(--navy); }
.receipt dd { margin: 0; overflow-wrap: anywhere; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

.site-footer { background: var(--navy-dark); color: #cbd5e1; padding: 28px 0; font-size: .82rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand { color: var(--white); font-size: 1rem; font-weight: 700; text-decoration: none; }
.site-footer p { margin: 4px 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.site-footer nav a { color: #dce7f4; }
.site-footer a:hover { color: var(--accent); }

@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 800px) {
  .site-header-inner { min-height: 84px; }
  .brand { flex-basis: 210px; }
  .brand-logo { width: 210px; }
  .site-nav { gap: 20px; }
  .hero-inner { gap: 32px; grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); padding-top: 38px; padding-bottom: 38px; }
  .intro .eyebrow { max-width: 100%; font-size: .62rem; letter-spacing: .06em; }
  .workshop-partner { padding: 22px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 96px; }
  .site-container { padding-left: 18px; padding-right: 18px; }
  .site-header-inner { min-height: 78px; gap: 12px; }
  .brand { flex-basis: 172px; min-width: 0; }
  .brand-logo { width: 172px; }
  .site-nav .active { display: none; }
  .site-nav { flex-shrink: 0; }
  .site-nav .header-sign-in { font-size: .77rem; min-height: 44px; padding: 0 12px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 32px; padding-bottom: 30px; }
  .intro .eyebrow { margin-bottom: 17px; font-size: .62rem; }
  .intro h1 { font-size: clamp(2.15rem, 9.5vw, 3rem); }
  .intro-description { font-size: .96rem; max-width: 430px; margin-bottom: 20px; }
  .hero-button { min-height: 46px; font-size: .9rem; }
  .hero-note { font-size: .75rem; }
  .workshop-partner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 20px; border-radius: 16px; }
  .partner-label { margin-bottom: 12px; font-size: .64rem; }
  .goodwill-logo { width: 226px; }
  .partner-description { display: none; }
  .partner-description strong { font-size: .92rem; }
  .partner-description p { font-size: .82rem; }
  .registration-shell { padding: 0 16px; margin-top: 24px; margin-bottom: 40px; }
  #choose-workshop { scroll-margin-top: 12px; }
  .card { padding: 22px 20px; margin-bottom: 18px; border-radius: 16px; }
  .section-heading { gap: 12px; margin-bottom: 22px; }
  .section-heading h2 { font-size: 1.12rem; }
  .section-heading p { font-size: .84rem; }
  .field-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .county-options { grid-template-columns: minmax(0, 1fr); }
  .workshop-picker-toggle { padding: 14px; gap: 12px; }
  .workshop-picker-value, .workshop-option { flex-direction: column; align-items: flex-start; gap: 10px; }
  .workshop-picker-name { font-size: 1rem; }
  .workshop-picker-options { max-height: 320px; }
  .wide { grid-column: auto; }
  .primary-button { width: 100%; }
  .receipt dl { grid-template-columns: 1fr; gap: 3px; }
  .receipt dd { margin-bottom: 12px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .site-footer { padding: 26px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; }
  .hero-button, .header-sign-in, .primary-button { transition: none; }
}
