/* Get Lost Riding — based on DESIGN.md (warm cream editorial), palette adapted to the logo.
   Pine green from the reference is swapped for the logo's trail blue. */
:root {
  --charcoal: #23212c;
  --paper: #f7f0e1;
  --snow: #fff;
  --blue: #215c8d;      /* brand: wordmark + inline links only */
  --marigold: #fcbd1c;  /* surface only */
  --sky: #a6dfff;       /* announcement + soft surfaces */
  --ember: #dd5000;     /* warm accent for promo links */
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-card: 20px; --r-hero: 40px; --r-chip: 12px; --r-pill: 99px;
  --max: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--charcoal); font: 300 16px/1.45 var(--font); letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { font-weight: 300; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.5rem); line-height: 0.98; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); line-height: 1; }
h3 { font-size: 1.375rem; line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
code { background: rgba(35,33,44,.08); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: var(--snow); padding: 8px 12px; border-radius: var(--r-chip); z-index: 99; }
:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 3px; border-radius: 6px; }

.label { font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 8px; color: var(--charcoal); }
.lead { font-size: 1.125rem; line-height: 1.3; max-width: 36em; letter-spacing: -0.01em; }
.muted { opacity: .75; } .fine { font-size: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 56px; padding-bottom: 56px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.pagehead { padding-top: 48px; padding-bottom: 24px; } .pagehead h1 { margin-bottom: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }

/* buttons */
.btn, .pill { display: inline-flex; align-items: center; gap: 6px; font: 400 14px/1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn { background: var(--charcoal); color: var(--snow); padding: 15px 24px; border-radius: var(--r-card); font-size: 16px; border: 0; }
.btn:hover { box-shadow: inset 0 -2px 0 var(--blue); }
.pill { color: var(--charcoal); border: 1px solid var(--charcoal); border-radius: var(--r-pill); padding: 10px 20px; background: transparent; }
.pill:hover { background: var(--charcoal); color: var(--snow); }
.pill.sm { padding: 8px 14px; font-size: 13px; }

/* announcement */
.announce { background: var(--sky); min-height: 40px; display: flex; align-items: center; justify-content: center; position: relative; padding: 8px 48px; font-size: 14px; font-weight: 400; text-align: center; }
.announce[hidden] { display: none; }
.announce p { margin: 0; } .announce a { color: var(--ember); text-decoration: none; font-weight: 400; }
.announce a:hover { text-decoration: underline; }
.announce button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: var(--charcoal); padding: 4px 8px; }

/* header */
.site-header { max-width: var(--max); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue); font-size: 1.75rem; font-weight: 300; letter-spacing: -0.04em; }
.brand img { width: 52px; height: auto; } .brand.small { font-size: 1.25rem; } .brand.small img { width: 40px; }
#nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
#nav a { color: var(--charcoal); text-decoration: none; font-weight: 400; padding: 8px 14px; border-radius: var(--r-pill); }
#nav a:hover { background: rgba(35,33,44,.08); }
#nav a[aria-current="page"] { border: 1px solid var(--charcoal); padding: 7px 13px; }
.menu-btn { display: none; font: 400 14px var(--font); background: none; border: 1px solid var(--charcoal); border-radius: var(--r-pill); padding: 10px 18px; cursor: pointer; color: var(--charcoal); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-top: 32px; padding-bottom: 24px; }
.hero h1 { margin-bottom: 20px; max-width: 11em; }
.hero-art { display: grid; grid-template-columns: 60fr 40fr; gap: 32px; align-items: end; }
.hero-card { border-radius: var(--r-hero); overflow: hidden; }
.hero-card.big { background: var(--snow); padding: 12px; aspect-ratio: 4/5; display: grid; place-items: center; }
.hero-card.big img { width: 100%; height: auto; }
.hero-card.small { background: var(--sky); aspect-ratio: 1/1; display: grid; place-items: center; padding: 8px; }

/* quick bar (the one loud surface) */
.quickbar-wrap { padding-top: 16px; }
.quickbar { background: var(--marigold); border-radius: var(--r-hero); display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: center; padding: 14px 14px 14px 12px; }
.quickbar a { text-decoration: none; color: var(--charcoal); padding: 6px 24px; display: grid; gap: 2px; border-right: 1px solid rgba(35,33,44,.55); }
.quickbar a .label { font-size: 10px; margin: 0; } .quickbar a span:last-child { font-size: 16px; font-weight: 400; border-bottom: 1px solid var(--charcoal); justify-self: start; }
.quickbar a:nth-child(4) { border-right: 0; }
.quickbar .go { background: var(--charcoal); color: var(--snow); border: 0; border-radius: var(--r-card); padding: 14px 24px; font-weight: 400; }

/* grids + cards */
.grid { display: grid; gap: 32px 24px; } .g3 { grid-template-columns: repeat(3, 1fr); }
.card .media { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4/3; background: var(--snow); margin-bottom: 16px; display: grid; place-items: center; }
.card .media .tee { width: 78%; } .cover { width: 100%; height: 100%; object-fit: cover; }
.card h3 { margin-bottom: 8px; } .card p { margin-bottom: 10px; } .price { font-weight: 400; }
.steps .card { background: var(--snow); border-radius: var(--r-card); padding: 24px; }

/* journal card: image is the card, snow label panel on top */
.journal { position: relative; } .media-link { display: block; position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4/3.2; text-decoration: none; color: var(--charcoal); }
.media-link .cover { position: absolute; inset: 0; }
.overlay { position: absolute; left: 12px; bottom: 12px; right: 12px; background: var(--snow); border-radius: var(--r-chip); padding: 16px 20px; }
.overlay .label { font-size: 10px; margin-bottom: 4px; } .overlay h3 { margin: 0; font-size: 1.25rem; }
.media-link:hover .overlay { background: var(--paper); }

.feature { background: var(--snow); border-radius: var(--r-hero); padding: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; margin: 0 auto; }
.feature h2 { margin-bottom: 14px; } .feature-art { background: var(--sky); border-radius: var(--r-card); padding: 16px; } .feature-art .tee { width: 60%; margin: 0 auto; }
.feature.small { display: block; padding: 32px; margin-top: 48px; } .feature.small p { margin-bottom: 12px; }
.where { text-align: left; } .where h2 { margin-bottom: 8px; }

/* embeds */
.embed { position: relative; aspect-ratio: 16/9; border-radius: var(--r-hero); overflow: hidden; background: var(--charcoal); }
.card .embed { border-radius: var(--r-card); margin-bottom: 12px; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-fallback { background: var(--snow); border-radius: var(--r-hero); padding: 48px; }
.embed-fallback h3 { font-size: 1.75rem; margin-bottom: 12px; }

/* article */
.post { max-width: 760px; padding-top: 32px; padding-bottom: 48px; }
.crumbs { font-size: 14px; margin-bottom: 20px; } .crumbs a { color: var(--charcoal); }
.post h1 { margin-bottom: 16px; } .meta { font-size: 14px; opacity: .75; }
.quick-answer { background: var(--marigold); border-radius: var(--r-card); padding: 20px 24px; margin: 24px 0; }
.quick-answer p:last-child { margin: 0; font-size: 1.125rem; line-height: 1.3; font-weight: 400; }
.toc { background: var(--snow); border-radius: var(--r-card); padding: 20px 24px; margin-bottom: 32px; }
.toc ol { margin: 0; padding-left: 20px; } .toc a { color: var(--charcoal); }
.prose { font-size: 1.0625rem; line-height: 1.55; font-weight: 300; }
.prose h2 { margin: 2em 0 .5em; } .prose h3 { margin: 1.5em 0 .4em; font-size: 1.2rem; font-weight: 400; }
.prose li { margin-bottom: .4em; } .prose a { font-weight: 400; }
.faq { border-top: 1px solid rgba(35,33,44,.25); margin-top: 3em; padding-top: 1em; }

/* footer */
.site-footer { max-width: var(--max); margin: 80px auto 0; padding: 48px 24px 32px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; } .foot-grid li { margin-bottom: 10px; font-size: 14px; font-weight: 400; }
.foot-grid a { color: var(--charcoal); text-decoration: none; } .foot-grid a:hover { text-decoration: underline; }
.foot-grid p { margin-top: 12px; max-width: 22em; font-size: 14px; }

@media (max-width: 900px) {
  .hero, .feature { grid-template-columns: 1fr; } .hero-art { grid-template-columns: 60fr 40fr; gap: 16px; }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .quickbar { grid-template-columns: 1fr 1fr; gap: 8px; border-radius: var(--r-card); }
  .quickbar a { border-right: 0; padding: 10px 14px; } .quickbar .go { grid-column: 1 / -1; text-align: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; } .feature { padding: 28px; }
}
@media (max-width: 680px) {
  .menu-btn { display: inline-block; }
  #nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-top: 8px; } #nav.open { display: flex; }
  .g3 { grid-template-columns: 1fr; } .section { padding-top: 40px; padding-bottom: 40px; }
  .brand { font-size: 1.4rem; } .brand img { width: 44px; } .embed { border-radius: var(--r-card); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* shop filter + product page */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
.filters .pill.active { background: var(--charcoal); color: var(--snow); }
.product[hidden] { display: none; }
.card h3 a, .media-link-plain { color: inherit; text-decoration: none; }
.media-link-plain { display: block; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-top: 16px; }
.product-page .price { margin: 6px 0 14px; }
@media (max-width: 760px) { .product-grid { grid-template-columns: 1fr; } }

/* ---------- store: header cart, pickers, cart drawer ---------- */
.site-header #nav { order: 1; margin-left: auto; }
.head-actions { order: 2; display: flex; align-items: center; gap: 8px; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; font: 400 14px var(--font); background: var(--charcoal); color: var(--snow); border: 0; border-radius: var(--r-pill); padding: 11px 18px; cursor: pointer; }
.cart-btn:hover { box-shadow: inset 0 -2px 0 var(--blue); }
.cart-count { background: var(--marigold); color: var(--charcoal); border-radius: var(--r-pill); min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 500; }
@media (max-width: 680px) {
  .site-header #nav { order: 3; margin-left: 0; }
  .head-actions { margin-left: auto; }
}

.buybox { margin: 18px 0 8px; }
.opt { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.opt legend { padding: 0; margin-bottom: 8px; }
.opt-val { text-transform: none; font-weight: 500; }
.opt-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-btn.active { background: var(--charcoal); color: var(--snow); }
.opt-btn.na { opacity: .5; text-decoration: line-through; }
.opt-btn:disabled { opacity: .25; cursor: not-allowed; }
.qty-row { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.qty-row input { width: 76px; font: 400 16px var(--font); padding: 10px 12px; border: 1px solid var(--charcoal); border-radius: var(--r-chip); background: var(--snow); color: var(--charcoal); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.sm { padding: 11px 16px; font-size: 14px; border-radius: var(--r-chip); }
.buy-msg { min-height: 1.4em; margin-top: 10px; }

.cart-overlay { position: fixed; inset: 0; background: rgba(35,33,44,.45); opacity: 0; transition: opacity .2s; z-index: 90; }
.cart-overlay.open { opacity: 1; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); z-index: 91; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .2s; box-shadow: -8px 0 32px rgba(35,33,44,.2); }
.cart-drawer.open { transform: none; }
.cart-drawer.busy { cursor: progress; } .cart-drawer.busy .cart-body { opacity: .6; pointer-events: none; }
body.cart-open { overflow: hidden; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid rgba(35,33,44,.15); }
.cart-head h2 { margin: 0; }
.cart-x { font: 400 28px/1 var(--font); background: none; border: 0; cursor: pointer; color: var(--charcoal); padding: 4px 10px; border-radius: var(--r-chip); }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(35,33,44,.12); }
.cart-img { width: 76px; height: 76px; border-radius: var(--r-chip); overflow: hidden; background: var(--snow); }
.cart-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-name { margin: 0 0 2px; font-weight: 500; } .cart-info p { margin-bottom: 4px; }
.cart-price { margin: 0; font-weight: 500; }
.cart-ctl { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--charcoal); border-radius: var(--r-pill); }
.qty-btn { font: 400 18px/1 var(--font); width: 36px; height: 34px; background: none; border: 0; cursor: pointer; color: var(--charcoal); border-radius: var(--r-pill); }
.qty-n { min-width: 24px; text-align: center; font-size: 14px; }
.cart-remove { font: 400 13px var(--font); background: none; border: 0; padding: 6px 0; cursor: pointer; text-decoration: underline; color: var(--charcoal); }
.cart-foot { padding: 18px 24px 24px; border-top: 1px solid rgba(35,33,44,.15); background: var(--paper); }
.cart-sub { display: flex; justify-content: space-between; font-size: 18px; margin-bottom: 6px; }
.cart-checkout { width: 100%; justify-content: center; margin-top: 8px; }
.cart-error { background: #fde8e0; border-radius: var(--r-chip); padding: 10px 12px; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .cart-drawer, .cart-overlay { transition: none; } }
.cart-count[hidden] { display: none; }

/* real shirt photos on the home page, embedded designer */
.hero-card.small { display: block; overflow: hidden; }
.hero-card.small img.cover, .feature-art img.cover { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.designer-wrap { margin-top: 8px; }
.designer-frame { display: block; width: 100%; height: min(1100px, calc(100vh - 120px)); min-height: 720px; border: 1px solid rgba(35,33,44,.2); border-radius: var(--r-card); background: var(--snow); }
.designer-fallback { margin-top: 10px; }
@media (max-width: 680px) { .designer-frame { min-height: 640px; } }

/* scattered shirt photos on the home page */
.feature-art.scatter { position: relative; aspect-ratio: 1 / 1; padding: 0; overflow: hidden; }
.scatter a { position: absolute; width: 44%; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: var(--snow); border: 4px solid var(--snow); box-shadow: 0 8px 20px rgba(35,33,44,.22); transition: transform .2s, z-index 0s; }
.scatter a:hover, .scatter a:focus-visible { transform: rotate(0) scale(1.06); z-index: 5; }
.scatter img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scatter a:nth-child(1) { left: 4%;  top: 5%;  transform: rotate(-7deg); }
.scatter a:nth-child(2) { right: 4%; top: 9%;  transform: rotate(6deg); z-index: 2; }
.scatter a:nth-child(3) { left: 27%; top: 33%; transform: rotate(-2deg); z-index: 3; }
.scatter a:nth-child(4) { left: 4%;  bottom: 5%; transform: rotate(5deg); }
.scatter a:nth-child(5) { right: 4%; bottom: 6%; transform: rotate(-6deg); z-index: 2; }
@media (prefers-reduced-motion: reduce) { .scatter a { transition: none; } }

/* embedded designer: tall enough that visitors never scroll inside the box */
.designer-frame { height: 1900px; min-height: 0; }
@media (max-width: 1000px) { .designer-frame { height: 3700px; } }
@media (max-width: 560px) { .designer-frame { height: 4300px; } }

/* product details, size chart table, policy note */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ship-note { background: var(--snow); border-radius: var(--r-chip); padding: 12px 14px; font-size: 14px; margin: 14px 0; }
.product-details { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; margin-top: 48px; }
.product-details h2 { font-size: 22px; margin-bottom: 10px; }
.product-details ul { padding-left: 20px; margin: 0; } .product-details li { margin-bottom: 6px; }
.product-details .size-chart { grid-column: 1 / -1; }
.table-scroll { overflow-x: auto; border: 1px solid rgba(35,33,44,.2); border-radius: var(--r-chip); background: var(--snow); }
.size-table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14px; }
.size-table th, .size-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid rgba(35,33,44,.1); white-space: nowrap; }
.size-table thead th { background: rgba(35,33,44,.06); font-weight: 500; }
.size-table tbody th { font-weight: 500; }
.size-table tbody tr:last-child th, .size-table tbody tr:last-child td { border-bottom: 0; }
.browse-links { margin-top: 16px; } .browse-links a { color: var(--blue); }
@media (max-width: 760px) { .product-details { grid-template-columns: 1fr; } }
.post-cover { margin: 20px 0; } .post-cover img { width: 100%; height: auto; border-radius: var(--r-card); display: block; }
.size-table { min-width: 0; font-size: 13px; } .size-table th, .size-table td { padding: 9px 10px; }

/* race hub: video + stats + photos in a row */
.race-tiles { align-items: start; }
.race-tile { display: flex; flex-direction: column; gap: 10px; }
.race-media { display: block; position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-card); overflow: hidden; background: #111; }
.race-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.race-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.race-foot { margin: 0; font-size: 14px; } .race-foot a { color: var(--blue); }
.race-body { max-width: 900px; margin-left: auto; margin-right: auto; }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0 24px; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(35,33,44,.14); }
.prose thead th { background: rgba(35,33,44,.07); font-weight: 500; }
.prose tbody tr:hover { background: rgba(252,189,28,.12); }
.card.race .media { aspect-ratio: 4 / 3; }
.faq h3 { font-size: 1.1rem; margin: 1.1em 0 .3em; }

/* breadcrumb trail at the top of pages */
.crumbs-top { padding-top: 22px; padding-bottom: 0; font-size: 14px; margin-bottom: -8px; }
.crumbs-top a { color: var(--blue); } .crumbs-top [aria-current="page"] { opacity: .75; }

/* full-size image viewer */
.lightbox { border: 0; padding: 0; background: var(--paper); border-radius: var(--r-card); width: min(960px, 94vw); max-height: 94vh; overflow: auto; }
.lightbox::backdrop { background: rgba(35,33,44,.72); }
.lightbox-inner { padding: 0 20px 20px; }
.lightbox-close { position: sticky; top: 0; display: block; margin: 0 0 12px auto; font: 500 15px var(--font); background: var(--charcoal); color: var(--snow); border: 0; border-radius: 0 0 var(--r-chip) var(--r-chip); padding: 12px 20px; cursor: pointer; z-index: 2; }
.lightbox img { display: block; width: 100%; height: auto; border-radius: var(--r-chip); }
.lightbox-foot { margin: 12px 0 0; font-size: 14px; text-align: center; } .lightbox-foot a { color: var(--blue); }

/* About page photo gallery: two portraits side by side, the beach photo across the bottom */
.about-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 32px; }
.about-gallery figure { margin: 0; }
.about-gallery img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; display: block; border-radius: var(--r-card); background: var(--snow); }
.about-gallery figure:nth-child(2) { grid-column: 1 / -1; order: 3; }
.about-gallery figure:nth-child(2) img { aspect-ratio: 16 / 9; object-position: center 30%; }
.about-gallery figcaption { font-size: 13px; opacity: .75; margin-top: 8px; line-height: 1.3; }
@media (max-width: 560px) { .about-gallery { grid-template-columns: 1fr; } .about-gallery figure:nth-child(2) { order: 0; } .about-gallery img { aspect-ratio: auto; } }

/* two-color home headline */
.hero h1 { max-width: 12em; }
.hero h1 .accent { color: var(--ember); font-weight: 700; }

/* fun quiz */
.quiz { background: var(--snow); border-radius: var(--r-hero); padding: 28px; margin: 28px 0; }
.quiz-q { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.quiz-q legend { font-size: 1.2rem; font-weight: 400; padding: 0; margin-bottom: 10px; }
.quiz-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-bottom: 8px; border: 1px solid rgba(35,33,44,.25); border-radius: var(--r-chip); cursor: pointer; line-height: 1.35; background: var(--paper); }
.quiz-opt input { margin-top: 3px; accent-color: var(--charcoal); flex: none; }
.quiz-opt:hover { border-color: var(--charcoal); }
.quiz-opt:has(input:checked) { background: var(--marigold); border-color: var(--charcoal); }
.quiz-opt:has(input:focus-visible) { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.quiz-msg { min-height: 1.4em; margin-top: 10px; color: var(--ember); }
.quiz-result { background: var(--marigold); border-radius: var(--r-card); padding: 24px; }
.quiz-result h3 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 4px 0 12px; }
.quiz-result p { margin-bottom: 10px; }
@media (max-width: 560px) { .quiz { padding: 18px; } }

/* ATV rodeo pattern diagrams */
.pattern-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 28px; }
.pattern { margin: 0; background: var(--snow); border-radius: var(--r-card); padding: 12px; }
.pattern svg { width: 100%; height: auto; display: block; }
.pattern figcaption { font-size: 14px; margin-top: 8px; line-height: 1.35; }
.pt-ground { fill: #f4e9cf; stroke: none; }
.pt-barrel { fill: var(--marigold); stroke: var(--charcoal); stroke-width: 2; }
.pt-pole { fill: var(--charcoal); }
.pt-path { fill: none; stroke: var(--ember); stroke-width: 2.5; stroke-dasharray: 6 4; stroke-linecap: round; stroke-linejoin: round; }
.pt-boundary { fill: none; stroke: var(--charcoal); stroke-width: 3; }
.pt-line { stroke: var(--charcoal); stroke-width: 3; }
.pt-num { font: 600 11px var(--font); fill: var(--charcoal); }
.pt-lbl { font: 500 9px var(--font); fill: var(--charcoal); letter-spacing: .06em; }
@media (max-width: 640px) { .pattern-grid { grid-template-columns: 1fr; } }

.pt-arrow { stroke-dasharray: none; stroke-width: 2.5; }
