:root {
  --ink: #0b0c0e;
  --paper: #f2f1ed;
  --white: #fff;
  --orange: #ff4d00;
  --orange-deep: #da3600;
  --copper: #a86940;
  --wheel-gold: #bd8d29;
  --silver: #cccccc;
  --acid: #dfff00;
  --line: rgba(11, 12, 14, 0.18);
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); }
body.cart-open { overflow: hidden; }
button, select, input { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; top: 0; left: 1rem; z-index: 99; padding: .75rem 1rem; background: var(--acid); transform: translateY(-110%); }
.skip-link:focus { transform: translateY(0); }

.signal-bar { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem clamp(1rem, 4vw, 4.5rem); background: var(--acid); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.signal-bar a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.site-header { min-height: 5.8rem; padding: 1rem clamp(1rem, 4vw, 4.5rem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; background: var(--ink); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.14); }
.brand { display: inline-flex; align-items: center; gap: .8rem; width: max-content; color: inherit; text-decoration: none; }
.brand-logo { width: 3.2rem; height: 2.5rem; object-fit: contain; }
.brand-name { font-family: var(--display); font-size: 1.15rem; font-weight: 800; line-height: .88; letter-spacing: .025em; text-transform: uppercase; }
.site-header nav { display: flex; align-items: center; gap: 2.4rem; }
.site-header nav a { position: relative; color: rgba(255,255,255,.78); font-size: .87rem; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--white); }
.cart-button { justify-self: end; display: inline-flex; align-items: center; gap: .65rem; padding: .75rem 0; border: 0; background: transparent; color: var(--white); cursor: pointer; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.cart-button strong { display: grid; place-items: center; min-width: 1.9rem; height: 1.9rem; padding: 0 .4rem; border-radius: 50%; background: var(--orange); color: var(--white); font-size: .8rem; }

.intro { position: relative; min-height: min(70vh, 46rem); padding: clamp(3.5rem, 8vw, 8rem) clamp(1rem, 7vw, 8rem); overflow: hidden; background: var(--ink); color: var(--white); border-bottom: .75rem solid var(--orange); }
.eyebrow { margin: 0 0 1.2rem; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.intro h1 { position: relative; z-index: 2; max-width: 13ch; margin: 0; font-family: var(--display); font-size: clamp(4rem, 10vw, 9rem); font-weight: 900; line-height: .75; letter-spacing: -.035em; text-transform: uppercase; }
.intro h1 em { color: var(--copper); font-style: italic; }
.intro-copy { position: relative; z-index: 2; max-width: 37rem; margin: 2rem 0; color: rgba(255,255,255,.72); font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.6; }
.primary-link { position: relative; z-index: 2; display: inline-block; padding: 1rem 1.3rem; background: var(--copper); color: var(--white); font-family: var(--display); font-size: 1.15rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; transform: skew(-5deg); }
.primary-link:hover { background: var(--orange-deep); }
.intro-art { position: absolute; inset: 0 0 0 46%; overflow: hidden; }
.intro-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(11,12,14,.62) 18%, rgba(11,12,14,.08) 55%, rgba(11,12,14,.22) 100%), linear-gradient(0deg, rgba(11,12,14,.58), transparent 45%); }
.intro-art .bike-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% center; filter: saturate(.72) contrast(1.15) brightness(.82); }
.shop { padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5.5rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 2px solid var(--ink); }
.section-heading .eyebrow { margin-bottom: .4rem; color: var(--orange-deep); }
.section-heading h2, .support h2 { margin: 0; font-family: var(--display); font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: .85; text-transform: uppercase; }
.product-status { margin: 0; color: #686866; font-size: .85rem; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 3rem); }
.product-card { min-width: 0; }
.product-image-wrap { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; overflow: hidden; border: 0; background: #deddd7; cursor: pointer; }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-image-wrap:hover .product-image { transform: scale(1.025); }
.product-tag { position: absolute; top: 1rem; left: 1rem; padding: .5rem .7rem; background: var(--acid); color: var(--ink); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.quick-view { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; padding: .9rem 1rem; background: rgba(11,12,14,.92); color: var(--white); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-align: center; text-transform: uppercase; transform: translateY(calc(100% + 1rem)); transition: transform .25s ease; }
.product-image-wrap:hover .quick-view, .product-image-wrap:focus-visible .quick-view { transform: translateY(0); }
.product-info { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0 2rem; border-bottom: 1px solid var(--line); }
.product-name { margin: 0; font-family: var(--display); font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1; text-transform: uppercase; }
.product-meta { margin: .55rem 0 0; color: #696966; font-size: .82rem; }
.product-price { white-space: nowrap; font-family: var(--display); font-size: 1.3rem; }
.placeholder-image { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(145deg,#d9d8d2,#f5f4ef); color: rgba(11,12,14,.24); font-family: var(--display); font-size: clamp(4rem, 9vw, 9rem); font-weight: 900; }

.manifesto { display: grid; grid-template-columns: .5fr 2fr 1fr; gap: clamp(1.5rem, 5vw, 6rem); padding: clamp(4rem, 9vw, 9rem) clamp(1rem, 5vw, 5.5rem); background: var(--orange); color: var(--ink); }
.manifesto blockquote { margin: 0; font-family: var(--display); font-size: clamp(2.7rem, 6vw, 6rem); font-weight: 900; line-height: .88; letter-spacing: -.025em; text-transform: uppercase; }
.manifesto-copy { align-self: end; }
.manifesto-copy p { margin: 0 0 1.2rem; font-size: 1rem; line-height: 1.65; }
.manifesto-copy a { display: inline-block; padding-bottom: .2rem; border-bottom: 2px solid var(--ink); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.support { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5.5rem); background: var(--acid); }
.support .eyebrow { margin-bottom: .5rem; }
.support a { padding-bottom: .35rem; border-bottom: 3px solid var(--ink); font-weight: 800; text-decoration: none; }
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 2rem; padding: 3rem clamp(1rem, 5vw, 5.5rem); background: var(--ink); color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.footer-links a { color: rgba(255,255,255,.66); font-size: .78rem; text-decoration: none; }
footer > p { justify-self: end; margin: 0; color: rgba(255,255,255,.46); font-size: .7rem; }

.scrim { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); }
.cart { position: fixed; top: 0; right: 0; z-index: 21; display: flex; flex-direction: column; width: min(32rem, 100%); height: 100dvh; padding: 1.5rem; overflow-y: auto; background: var(--paper); transform: translateX(101%); transition: transform .3s ease; box-shadow: -1rem 0 3rem rgba(0,0,0,.2); }
.cart.open { transform: translateX(0); }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.5rem; border-bottom: 2px solid var(--ink); }
.cart-header h2 { margin: 0; font-family: var(--display); font-size: 2.3rem; text-transform: uppercase; }
.close-cart, .dialog-close { border: 0; background: transparent; cursor: pointer; font-size: 2rem; line-height: 1; }
.cart-items { flex: 0 0 auto; }
.cart-item { display: grid; grid-template-columns: 5rem 1fr auto; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 5rem; height: 6.2rem; object-fit: cover; background: #ddd; }
.cart-item h3 { margin: 0 0 .4rem; font-family: var(--display); font-size: 1.2rem; text-transform: uppercase; }
.cart-item p { margin: .25rem 0; color: #696966; font-size: .75rem; }
.remove-item { padding: 0; border: 0; background: transparent; color: #696966; cursor: pointer; font-size: .75rem; text-decoration: underline; }
.cart-empty { margin: auto; text-align: center; }
.text-button { padding: .3rem; border: 0; border-bottom: 2px solid; background: transparent; cursor: pointer; font-weight: 700; }
.cart-footer { margin-top: auto; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.1rem; }
.cart-footer > p { color: #696966; font-size: .75rem; }
.shipping-form { display: grid; gap: .65rem; margin: 1rem 0; }
.shipping-form label { display: grid; gap: .25rem; color: #5f5f5c; font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.shipping-form input { width: 100%; min-width: 0; padding: .7rem .75rem; border: 1px solid rgba(11,12,14,.35); border-radius: 0; background: var(--white); color: var(--ink); font-size: .85rem; text-transform: none; }
.shipping-form input:focus { border-color: var(--orange); outline: 2px solid rgba(255,77,0,.18); }
.shipping-row { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.shipping-row-three { grid-template-columns: 1.5fr .55fr .8fr; }
.checkout-button, .add-button { width: 100%; padding: 1.1rem; border: 0; background: var(--orange); color: var(--white); cursor: pointer; font-family: var(--display); font-size: 1.2rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.checkout-button:disabled { cursor: wait; opacity: .6; }

.product-dialog { width: min(70rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; overflow: auto; border: 0; background: var(--paper); color: var(--ink); }
.product-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: .9rem; right: 1rem; z-index: 2; }
.product-dialog[open] { display: grid; grid-template-columns: 1.05fr .95fr; }
.dialog-image-panel { min-height: 38rem; background: #ddd; }
.dialog-image-panel img { width: 100%; height: 100%; object-fit: cover; }
.dialog-info { align-self: center; padding: clamp(2rem, 5vw, 4.5rem); }
.dialog-info h2 { margin: 0; font-family: var(--display); font-size: clamp(2.8rem, 5vw, 5rem); line-height: .86; text-transform: uppercase; }
.dialog-price { font-family: var(--display); font-size: 1.8rem; font-weight: 800; }
.dialog-description { color: #5f5f5c; line-height: 1.65; }
.dialog-info label { display: block; margin: 1.2rem 0 .45rem; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dialog-info select { width: 100%; padding: .95rem; border: 1px solid var(--ink); border-radius: 0; background: var(--white); }
.quantity-control { display: inline-grid; grid-template-columns: 2.5rem 3rem 2.5rem; margin-bottom: 1.3rem; border: 1px solid var(--ink); }
.quantity-control button, .quantity-control input { width: 100%; height: 2.7rem; border: 0; background: transparent; text-align: center; }
.quantity-control input { appearance: textfield; }
.product-promises { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; padding: 0; margin: 1.4rem 0 0; list-style: none; color: #666; font-size: .72rem; }
.product-promises li::before { content: "✓"; margin-right: .35rem; color: var(--orange-deep); font-weight: 800; }

@media (max-width: 760px) {
  .signal-bar span { display: none; }
  .signal-bar { justify-content: center; }
  .site-header { min-height: 4.7rem; grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .brand-logo { width: 2.8rem; height: 2.15rem; }
  .brand-name { font-size: .95rem; }
  .intro { min-height: 40rem; padding-top: 4.5rem; }
  .intro h1 { font-size: clamp(4.3rem, 21vw, 7rem); }
  .intro-copy { max-width: 26rem; }
  .intro-art { inset: 45% 0 0 0; }
  .intro-art::after { background: linear-gradient(180deg, var(--ink) 0%, rgba(11,12,14,.25) 32%, rgba(11,12,14,.36) 100%); }
  .intro-art .bike-photo { object-position: center; }
  .section-heading { align-items: start; flex-direction: column; gap: 1rem; }
  .product-grid { grid-template-columns: 1fr; }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto-copy { max-width: 32rem; }
  .support { align-items: start; flex-direction: column; }
  footer { grid-template-columns: 1fr; align-items: start; }
  .footer-links { justify-content: start; }
  footer > p { justify-self: start; }
  .product-dialog[open] { display: block; }
  .dialog-image-panel { min-height: 25rem; height: 45dvh; }
}

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