/* Folger McKinsey Spirit Shop - storefront styles.
   Direction: a school spirit-wear table, done properly. Owl navy and school blue carry the page,
   lime (the owl's belly) is the spirit accent, red is kept for deadlines and errors only.
   Display face: Graduate (collegiate block, like the letters on the shirts). Body: Figtree. */
:root {
  --ink: #0B2059;          /* owl navy: text, hero, footer */
  --ink-2: #26365F;
  --blue: #024EA0;         /* school blue: links and main buttons */
  --blue-dark: #013A78;
  --lime: #B5E55A;         /* owl belly: spirit accent */
  --lime-dark: #9DD03E;
  --red: #A31D28;          /* deadlines, errors */
  --red-dark: #86161F;
  --chalk: #F4F6FA;        /* page background */
  --paper: #FFFFFF;
  --line: #DCE2EC;
  --muted: #56617A;
  --text: #1A2540;
  /* older names still used by a few pages */
  --navy: var(--ink); --owl-navy: var(--ink); --grey-bg: var(--chalk); --grey-line: var(--line); --white: #fff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11,32,89,.06), 0 8px 24px rgba(11,32,89,.08);
  --shadow-lift: 0 2px 4px rgba(11,32,89,.08), 0 18px 40px rgba(11,32,89,.16);
  --display: "Graduate", "Rockwell", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); font-size: 16px; color: var(--text); background: var(--chalk); line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }
main h1 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 48px 20px; }
.wrap.section { padding-left: 20px; padding-right: 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.right { text-align: right; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 14px; z-index: 50; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }
.kicker { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 6px; }

/* Header */
.site-header { background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { height: 50px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-sub { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.brand-name { font-family: var(--display); font-size: 22px; color: var(--ink); line-height: 1.1; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 10px 12px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; transition: background .15s; }
.main-nav a:hover { background: var(--chalk); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--blue); }
.cart-link { gap: 8px; background: var(--ink); color: #fff !important; padding: 10px 16px !important; margin-left: 6px; }
.cart-link:hover { background: var(--ink-2) !important; }
.cart-link .badge { background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 800; border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; padding: 0 6px; font-variant-numeric: tabular-nums; }
.announcement { background: var(--lime); color: var(--ink); font-weight: 700; text-align: center; padding: 10px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 2px solid transparent; border-radius: 999px; padding: 12px 26px; font: 700 16px var(--body); text-decoration: none; cursor: pointer; text-align: center; transition: background .15s, transform .15s var(--ease), box-shadow .15s; }
.btn:active { transform: scale(.98); }
.btn-primary, .btn-red, .btn-blue { background: var(--blue); color: #fff; }
.btn-primary:hover, .btn-red:hover, .btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 6px 0 -1px var(--lime-dark); }
.btn-lime:hover { background: #C3EC70; color: var(--ink); }
.btn-secondary, .btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover, .btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-block { width: 100%; margin-top: 16px; }
.link-btn { background: none; border: 0; color: var(--red); cursor: pointer; font: inherit; text-decoration: underline; min-height: 44px; }

/* Hero: navy band, copy on the left, the shirt rail on the right */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(ellipse 60% 70% at 78% 40%, #1C3A8A 0%, transparent 70%), radial-gradient(circle at 10% 110%, #12307A 0%, transparent 45%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 32px; padding-top: 56px; padding-bottom: 72px; }
.hero .eyebrow { color: var(--lime); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; margin: 0 0 14px; }
.hero h1 { font-family: var(--display); font-weight: 400; color: #fff; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; margin: 0 0 18px; letter-spacing: 0; }
.hero h1 span { color: var(--lime); }
.hero .lead { font-size: 18px; max-width: 30em; color: #D6DDF0; margin: 0 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.hero-link { color: #fff; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.hero-link:hover { color: var(--lime); }
.deadline { display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 0; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 15px; color: #fff; }
.deadline .dot { width: 9px; height: 9px; border-radius: 50%; background: #FF5A66; box-shadow: 0 0 0 4px rgba(255,90,102,.25); }
.hero-stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: linear-gradient(var(--lime) 0 5px, transparent 5px 9px, #fff 9px 14px); opacity: .95; }

/* The rail: shirts on hangers, each one a link to its design */
.rail { position: relative; display: flex; justify-content: center; }
.hanger { position: relative; flex: 0 0 auto; width: 214px; margin: 0 -50px; text-decoration: none; transform-origin: 50% 0; z-index: calc(10 - var(--i)); animation: hang .9s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 150ms); transition: transform .35s var(--ease); }
.hanger:nth-of-type(odd) { --tilt: -1.5deg; } .hanger:nth-of-type(even) { --tilt: 1.5deg; }
.hanger { transform: rotate(var(--tilt, 0deg)); }
.hanger:hover, .hanger:focus-visible { transform: rotate(0deg) translateY(6px); z-index: 12; }
.hanger svg.garment { width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgba(0,0,0,.35)); }
.hanger svg.garment > rect:first-child { display: none; }
.hanger-tag { position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 6px); white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--ink); background: #fff; border-radius: 999px; padding: 5px 12px; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s, transform .2s var(--ease); pointer-events: none; }
.hanger:hover .hanger-tag, .hanger:focus-visible .hanger-tag { opacity: 1; transform: translate(-50%, 0); }
@keyframes hang { 0% { opacity: 0; transform: translateY(-40px) rotate(-8deg); } 60% { opacity: 1; transform: translateY(0) rotate(3deg); } 100% { transform: rotate(var(--tilt, 0deg)); } }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 56px; }
  .rail { min-height: 0; order: 2; }
  .hanger { width: 170px; margin: 0 -40px; }
  .hanger:nth-of-type(n+5) { display: none; }
}
@media (max-width: 560px) {
  .hanger { width: 160px; margin: 0 -36px; }
  .hanger:nth-of-type(n+4) { display: none; }
  .hero .lead { font-size: 17px; }
}

/* Section heading + filter pills */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.section-head h2, .how h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.6vw, 42px); letter-spacing: 0; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pills a { padding: 10px 18px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.pills a:hover { border-color: var(--ink); }
.pills a.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 1px 2px rgba(11,32,89,.04); transition: box-shadow .2s, transform .2s var(--ease), border-color .2s; }
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); border-color: transparent; color: inherit; }
.card-img { aspect-ratio: 1; background: radial-gradient(circle at 50% 42%, #FFFFFF 0%, #EEF1F7 70%); }
.card-img svg > rect:first-child { fill: transparent; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 17px; font-weight: 700; margin: 0; line-height: 1.3; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--blue); background: #E8F0FA; border-radius: 999px; padding: 3px 10px; letter-spacing: .04em; }
.price { font-weight: 800; color: var(--ink); margin: 0; font-variant-numeric: tabular-nums; }
.price.big { font-size: 28px; }
.dots { display: flex; align-items: center; gap: 0; margin: 0; }
.dots span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(11,32,89,.18); margin-left: -4px; }
.dots span:first-child { margin-left: 0; }
.dots em { font-size: 12px; color: var(--muted); font-style: normal; margin-left: 6px; font-weight: 600; }
@media (max-width: 560px) { .card-body { padding: 10px 12px 12px; } .card-body h3 { font-size: 15px; } .card-meta { flex-wrap: wrap; } }

/* How it works: a real sequence, so it is numbered */
.how { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0; margin-top: 24px; }
.how h2 { margin-bottom: 32px; }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 0; margin: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; border-top: 2px dashed var(--line); z-index: 0; }
.steps li { position: relative; counter-increment: step; }
.steps li::before { content: counter(step); position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: var(--ink); font-family: var(--display); font-size: 22px; box-shadow: 0 0 0 6px var(--paper); }
.steps h3 { margin: 16px 0 6px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Product page */
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); }
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 24px; } }
.product-media { background: radial-gradient(circle at 50% 40%, #FFFFFF 0%, #E9EDF5 75%); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; position: sticky; top: 92px; }
@media (max-width: 860px) { .product-media { position: static; } }
.product-media svg > rect:first-child { fill: transparent; }
.product-media img, .shirt-preview { width: 100%; height: auto; display: block; }
#shirtBody { transition: fill .25s; }
.product-info h1 { margin: 10px 0 6px; font-size: clamp(28px, 3.2vw, 40px); }
.product-info > p { color: var(--muted); font-size: 17px; }
fieldset { border: 0; padding: 0; margin: 24px 0; }
legend { font-weight: 600; margin-bottom: 12px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { cursor: pointer; position: relative; }
.swatch input { position: absolute; opacity: 0; }
.swatch span:first-of-type { display: block; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(11,32,89,.22); box-shadow: inset 0 0 0 3px #fff; transition: transform .15s var(--ease); }
.swatch:hover span:first-of-type { transform: scale(1.06); }
.swatch input:checked + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.swatch input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 4px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; }
.size span { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 60px; min-height: 48px; padding: 8px 12px; border: 2px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; cursor: pointer; transition: border-color .15s; }
.size span:hover { border-color: var(--ink); }
.size small { font-weight: 500; font-size: 12px; color: var(--muted); }
.size input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.size input:checked + span small { color: #C9D2EA; }
.size input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.qty-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.qty-row label { font-weight: 600; }
.qty-row input { width: 84px; min-height: 48px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; font: inherit; font-weight: 700; }
.qty-row .btn { flex: 1; min-width: 200px; }

/* Alerts */
.alert { padding: 14px 18px; border-radius: 12px; margin: 16px 0; border: 1px solid transparent; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-success { background: #EEF8E0; border-color: #CBE6A3; }
.alert-error { background: #FBEDEF; border-color: #F0C3C9; color: #6B1019; }
.alert-info { background: #E8F0FA; border-color: #C6D8F0; }

/* Cart */
.cart-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-table th { text-align: left; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding: 12px 14px; background: #FAFBFD; }
.cart-table td { border-bottom: 1px solid var(--line); padding: 14px; vertical-align: middle; }
.cart-table tr:last-child td { border-bottom: 0; }
.cart-table input { width: 76px; min-height: 44px; padding: 8px; border: 2px solid var(--line); border-radius: 10px; font: inherit; }
.cart-item { display: flex; gap: 14px; align-items: center; }
.cart-item img { border-radius: 10px; background: var(--chalk); object-fit: cover; width: 72px; height: 72px; }
.cart-foot { display: flex; justify-content: space-between; align-items: flex-start; margin: 24px 0; gap: 16px; flex-wrap: wrap; }
.cart-total { text-align: right; }
.cart-total p { font-size: 20px; margin: 0 0 12px; }
@media (max-width: 640px) {
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .cart-table td { border: 0; padding: 6px 10px; }
  .cart-table td.cart-item { grid-column: 1 / -1; }
  .cart-table td.right { text-align: left; }
}

/* Checkout */
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } .summary { order: -1; } }
.form h2 { font-size: 21px; margin: 28px 0 8px; }
.form label { display: block; font-weight: 600; font-size: 15px; margin: 14px 0 6px; }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 2px solid var(--line); border-radius: 12px; font: inherit; background: #fff; color: var(--text); transition: border-color .15s; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: #B9C3D6; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(2,78,160,.15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .radio-cards { grid-template-columns: 1fr; } }
.radio-cards label { display: flex; gap: 10px; align-items: flex-start; border: 2px solid var(--line); border-radius: 12px; padding: 14px; margin: 0; cursor: pointer; background: #fff; transition: border-color .15s; }
.radio-cards label:hover { border-color: #B9C3D6; }
.radio-cards input { width: auto; min-height: 0; margin-top: 4px; accent-color: var(--blue); }
.radio-cards small { display: block; color: var(--muted); font-weight: 400; }
.radio-cards label:has(input:checked) { border-color: var(--blue); background: #F3F8FE; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: sticky; top: 92px; }
@media (max-width: 860px) { .summary { position: static; } }
.summary h2 { margin-top: 0; font-size: 20px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.summary-line.total { font-weight: 800; font-size: 19px; border-bottom: 0; color: var(--ink); }

.thanks { text-align: center; }
.thanks img { margin: 0 auto 12px; }
.thanks h1 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4vw, 46px); }

/* Footer */
.site-footer { background: var(--ink); color: #C9D2EA; margin-top: 56px; position: relative; }
.site-footer::before { content: ""; display: block; height: 6px; background: linear-gradient(90deg, var(--lime) 0 33%, #fff 33% 34%, var(--blue) 34%); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; padding-top: 44px; padding-bottom: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { background: #fff; border-radius: 50%; box-sizing: border-box; width: 76px; height: 76px; padding: 12px; object-fit: contain; flex: none; }
.footer-title { color: #fff; font-weight: 700; margin: 0 0 6px; }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: var(--lime); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; padding: 16px 0; color: #9AA6C4; }
.footer-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: inherit; }
.footer-links a:hover { color: #fff; }

@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .brand-name { font-size: 18px; }
  .brand-sub { display: none; }
  .brand img { height: 42px; }
  .cart-link span:not(.badge) { display: none; }
  .cart-link { padding: 10px 14px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hanger { animation: none; }
  .card, .hanger, .btn, .swatch span { transition: none; }
}

/* Payment choices */
.pay-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.pay-option { display: flex !important; flex-direction: column; gap: 6px; border: 2px solid var(--grey-line); border-radius: 8px; padding: 12px; margin: 0 !important; cursor: pointer; position: relative; }
.pay-option input { position: absolute; opacity: 0; }
.pay-option:has(input:checked) { border-color: var(--blue); background: #F5F9FD; }
.pay-option:has(input:focus-visible) { outline: 3px solid var(--red); }
.pay-option small { color: var(--muted); font-weight: 400; }
.pay-badge { align-self: flex-start; color: #fff; font-weight: 700; border-radius: 4px; padding: 3px 10px; }
.pay-box { background: #F5F9FD; border: 2px solid var(--blue); border-radius: var(--radius); padding: 20px; margin: 20px 0; }
.pay-box h2 { margin-top: 0; font-size: 20px; }
.btn-pay { color: #fff; font-size: 17px; padding: 14px 28px; }
.btn-pay:hover { filter: brightness(.92); }
.pay-box.paid { background: #EEF8E0; border-color: #6aa61b; }

/* Checkout: delivery sub-forms */
.sub-form { border: 1px solid var(--grey-line); border-radius: 8px; padding: 12px 16px 4px; margin: 16px 0; }
.sub-form[hidden] { display: none; }
.sub-form legend { font-weight: 700; padding: 0 6px; }
.form-row.three { grid-template-columns: 2fr 1fr 2fr; }
.form-row .span-2 { grid-column: span 2; }
.form-row.tight { grid-template-columns: 1fr 1.4fr; gap: 0 10px; }
.radio-cards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (max-width: 560px) { .form-row.three { grid-template-columns: 1fr; } .form-row .span-2 { grid-column: auto; } }
.receipt-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.summary-line[hidden] { display: none; }
.card-img svg, .product-media svg.garment { width: 100%; height: auto; display: block; }

/* Countdown ticker */
.ticker { display: flex; align-items: stretch; background: var(--red); color: #fff; font-size: 14px; font-weight: 600; overflow: hidden; }
.ticker-blue { background: var(--blue); }
.ticker-navy { background: var(--owl-navy); }
.ticker-lime { background: var(--lime); color: var(--owl-navy); }
.ticker-clock { display: flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(0,0,0,.22); white-space: nowrap; flex: none; }
.ticker-lime .ticker-clock { background: var(--owl-navy); color: #fff; }
.ticker-label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .9; margin-right: 2px; }
.t-unit { display: inline-flex; align-items: baseline; gap: 2px; }
.t-unit b { font-size: 17px; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.t-unit small { font-size: 11px; font-weight: 500; opacity: .85; }
.ticker-link { display: flex; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.ticker-link:hover .ticker-item, .ticker-link:focus-visible .ticker-item { text-decoration: underline; }
.ticker-msg { flex: 1; min-width: 0; display: flex; align-items: center; padding: 8px 16px; justify-content: center; text-align: center; }
.ticker-msg.scrolling { justify-content: flex-start; padding: 8px 0; overflow: hidden; }
.ticker-track { display: inline-flex; white-space: nowrap; animation: ticker-scroll 28s linear infinite; }
.ticker-track .ticker-item { padding-right: 64px; }
.ticker-track .ticker-item::after { content: "\2605"; margin-left: 64px; opacity: .7; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; white-space: normal; }
  .ticker-track .ticker-item:not(:first-child) { display: none; }
  .ticker-track .ticker-item::after { content: none; }
  .ticker-msg.scrolling { justify-content: center; padding: 8px 16px; }
}
@media (max-width: 640px) {
  .ticker { flex-direction: column; }
  .ticker-clock { justify-content: center; padding: 6px 12px; }
  .ticker-msg { font-size: 13px; }
}

/* Privacy & Terms */
.legal h1 { margin-bottom: 4px; }
.legal h2 { font-size: 20px; margin: 28px 0 8px; color: var(--owl-navy); }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 22px; }
.legal-other { margin-top: 32px; padding-top: 16px; border-top: 1px solid #e3e6ee; }
.footer-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: inherit; }
.agree { margin: 12px 0 10px; }

/* Checkout: students and classes */
.student-row { padding: 4px 0 12px; border-bottom: 1px dashed var(--line); margin-bottom: 12px; }
.student-row:last-child { border-bottom: 0; margin-bottom: 4px; }
.student-num { font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.remove-student { padding: 0; min-height: 36px; font-size: 14px; }
.add-student { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.assign { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.assign h3 { font-size: 17px; margin: 0 0 10px; }
.assign-row { display: grid; grid-template-columns: 1fr minmax(160px, 220px); gap: 12px; align-items: center; padding: 6px 0; }
.assign-row label { margin: 0; font-weight: 600; }
@media (max-width: 560px) { .assign-row { grid-template-columns: 1fr; gap: 4px; } }
[hidden] { display: none !important; }

/* Donations */
.donate-band { background: #E9F6D3; border-top: 1px solid #CFE8A6; margin-top: 56px; }
.donate-band + .site-footer { margin-top: 0; }
.donate-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.donate-band h2 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 6px; color: var(--ink); letter-spacing: .01em; }
.donate-band p { margin: 0; color: #2E3B55; max-width: 44em; }
.donate-band .btn { flex: none; }
.footer-donate { color: var(--lime) !important; font-weight: 700; }
.donate { max-width: 760px; }
.donate-head .kicker { color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; margin: 0 0 8px; }
.donate-head h1 { margin: 0 0 10px; font-size: clamp(32px, 4.4vw, 48px); }
.donate-head .lead { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
.donate-form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 3vw, 32px); }
.amounts { border: 0; padding: 0; margin: 0 0 8px; }
.amounts legend { font-weight: 700; color: var(--ink); font-size: 18px; margin-bottom: 12px; padding: 0; }
.amount-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; }
.amount { position: relative; margin: 0; cursor: pointer; }
.amount input { position: absolute; opacity: 0; pointer-events: none; }
.amount span { display: flex; align-items: center; justify-content: center; min-height: 56px; border: 2px solid var(--line); border-radius: 12px; font-weight: 800; font-size: 20px; color: var(--ink); background: #fff; transition: border-color .15s, background .15s; font-variant-numeric: tabular-nums; }
.amount:hover span { border-color: var(--blue); }
.amount input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.amount input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.other-amount { margin-top: 14px; max-width: 240px; }
.money-in { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding-left: 12px; }
.money-in span { font-weight: 700; color: var(--muted); }
.money-in input { border: 0 !important; box-shadow: none !important; }
.donate-form .btn-block { margin-top: 18px; font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .amount span { transition: none; } }

/* ---------- What we're raising money for ---------- */
.goal { padding: 48px 0 8px; }
.goal-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); padding: 0; }
.wrap.goal-inner { padding: 0; }
.goal-copy { padding: clamp(22px, 3.4vw, 40px); }
.goal-copy h2 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; margin: 0 0 12px; color: var(--ink); }
.goal-message { color: var(--text); font-size: 17px; margin: 0 0 16px; max-width: 40em; }
.goal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.goal-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.goal-list svg { flex: none; width: 24px; height: 24px; padding: 2px; border-radius: 50%; background: var(--lime); color: var(--ink); margin-top: 1px; }
.goal-meter { background: var(--ink); color: #fff; padding: clamp(22px, 3.4vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.goal-raised { margin: 0; font-size: 18px; color: #D6DDF0; }
.goal-raised strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5.4vw, 60px); line-height: 1; color: #fff; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.goal-of { margin: 4px 0 18px; color: #D6DDF0; }
.goal-bar { height: 18px; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; }
.goal-bar span { display: block; height: 100%; border-radius: 999px; background: var(--lime); transition: width .6s var(--ease); }
.goal-pct { margin: 10px 0 0; font-weight: 700; color: var(--lime); }
.goal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-ghost-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.goal-compact { padding: 0; margin: 0 0 24px; }
.goal-compact .goal-inner { box-shadow: none; }
.goal-compact .goal-copy h2 { font-size: clamp(22px, 2.6vw, 28px); }
.goal-compact .goal-raised strong { font-size: clamp(34px, 4.4vw, 44px); }
@media (max-width: 760px) {
  .goal-inner { grid-template-columns: 1fr; }
  .goal { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) { .goal-bar span { transition: none; } }
