:root {
  color-scheme: dark;
  --ink: #f5f8fd;
  --muted: #aebfd2;
  --blue: #8dcbff;
  --surface: #102235;
  --line: #284159;
  background: #0a1725;
  color: var(--ink);
  font-family: Inter, system-ui, "Segoe UI", sans-serif;
  line-height: 1.55;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
:focus-visible { outline: 3px solid #9ed8ff; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
img { display: block; max-width: 100%; }
.shell { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: fixed; left: 8px; top: 8px; z-index: 10; background: var(--surface); padding: 10px; transform: translateY(-200%); }
.skip:focus { transform: none; }
.top { background: #102235; border-bottom: 1px solid #263d54; }
.top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 75px; gap: 16px; }
.logo { flex-shrink: 0; }
.logo img { height: auto; }
.portal-name { color: var(--ink); font-weight: 780; text-decoration: none; }
nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
nav { gap: 24px; }
.top-link { text-decoration: none; color: var(--ink); font-weight: 650; font-size: .93rem; }
.top-link:hover { color: var(--blue); }
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--ink);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
  text-align: center;
}
.primary { background: #15649b; border-color: #347eaf; box-shadow: 0 5px 14px #07182c40; }
.primary:hover { background: #1b71ac; }
.quiet { background: #182e43; border-color: #3c536a; }
.quiet:hover { background: #243e58; }
.count { min-width: 24px; padding: 1px 6px; background: #0f2132; border-radius: 20px; color: var(--blue); }
.hero { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(27px, 5.2vw, 78px); align-items: center; padding-block: 44px; }
.eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: .15em; font-weight: 750; font-size: .76rem; }
.hero h1 { margin: 12px 0 18px; font-size: clamp(3.05rem, 5.4vw, 5.55rem); letter-spacing: -.064em; }
.hero h1 span { display: block; color: var(--blue); }
.intro { margin-bottom: 27px; max-width: 42ch; color: #ccdaea; font-size: clamp(.99rem, 1.45vw, 1.14rem); }
.hero-image {
  aspect-ratio: 1.65;
  border-radius: 20px;
  border: 1px solid #9ec5e4;
  background: radial-gradient(ellipse at 60% 15%, #f5fbff, #a9cbe7 85%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-image img {
  position: absolute;
  width: 37%;
  max-width: none;
  filter: drop-shadow(1px 8px 7px #1b3d5d44);
}
.hero-image .hero-tee { left: 3%; top: 15%; transform: rotate(-11deg); }
.hero-image .hero-hood { left: 29%; top: 3%; width: 42%; z-index: 1; }
.hero-image .hero-zip { right: 2%; top: 12%; transform: rotate(10deg); }
.service-band { background: #0d1e30; border-block: 1px solid #263d54; }
.service-inner { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 17px; }
.service-inner > div { padding-inline: 22px; border-left: 1px solid #2c445a; }
.service-inner > div:first-child { padding-left: 0; border-left: 0; }
.service-inner span { display: block; color: var(--muted); font-size: .79rem; }
.service-inner strong { font-size: .99rem; }
.products-section { padding-block: 41px 58px; }
.section-title { margin-bottom: 20px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.55rem); }
.section-title p { margin-top: 5px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card, .panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-image { background: #edf4fa; position: relative; height: clamp(218px, 24vw, 310px); isolation: isolate; }
.product-image img { margin-inline: auto; height: 100%; width: 100%; padding: 11px 12px 16px; object-fit: contain; mix-blend-mode: multiply; }
.photo-toggle { position: absolute; bottom: 9px; right: 9px; min-height: 35px; padding: 5px 9px; background: #fff; color: #24425a; font-size: .78rem; border-color: #abc0d0; }
.photo-toggle:hover { background: #e7f2fa; }
.product-content { padding: 18px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.product-title { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.product-title h3 { font-size: 1.31rem; }
.price { color: var(--blue); font-weight: 800; white-space: nowrap; }
.model { color: var(--muted); font-size: .83rem; }
.description { color: #d6e4f4; font-size: .9rem; margin-bottom: auto; }
.product-form { display: grid; gap: 10px; margin-top: 4px; }
.variants { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field { display: grid; gap: 4px; width: 100%; min-width: 0; }
.field label { font-size: .82rem; font-weight: 650; color: #d6e5f5; }
input, select { color: var(--ink); background: #0b1a2a; border: 1px solid #486079; border-radius: 8px; padding: 8px 10px; min-height: 43px; width: 100%; }
input::placeholder { color: #a0b0c1; }
.instructions { padding-block: 35px 53px; border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 20px; }
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p, .muted { color: var(--muted); }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; gap: 10px 25px; justify-content: space-between; flex-wrap: wrap; padding-block: 22px; color: var(--muted); font-size: .84rem; }
dialog { color: var(--ink); background: #102235; border: 1px solid #4a647d; border-radius: 18px; padding: 22px; width: min(520px, calc(100% - 26px)); max-height: 90dvh; }
dialog::backdrop { background: #020a14ba; }
.dialog-top, .cart-line, .total { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.dialog-top { margin-bottom: 17px; }
.dialog-top h2 { font-size: 1.65rem; }
.close { font-size: 1.28rem; line-height: 1; padding-inline: 13px; }
.cart-line { padding-block: 12px; border-bottom: 1px solid var(--line); }
.cart-line p { font-size: .85rem; overflow-wrap: anywhere; }
.cart-line .button { min-height: 38px; }
.cart-controls { display: flex; gap: 5px; align-items: center; }
.cart-controls .button { min-width: 36px; padding: 5px; }
#checkout { display: grid; gap: 11px; padding-top: 12px; }
.total { font-size: 1.1rem; }
.full { width: 100%; }
.notice, .error { border-radius: 9px; padding: 10px 12px; margin-block: 10px; }
.notice { color: #c5f6e4; background: #124037; border: 1px solid #2d7862; }
.error { color: #ffd7d7; background: #491d29; border: 1px solid #b56975; }
.toast:not(:empty) { position: fixed; z-index: 2; right: 18px; bottom: 18px; background: #132e46; border: 1px solid #628cad; border-radius: 10px; padding: 10px 16px; box-shadow: 0 6px 24px #0006; }
.admin { padding-block: 44px 64px; min-height: 70vh; }
.admin h1 { font-size: clamp(2.25rem, 6vw, 4rem); margin-block: 8px 26px; }
.login { max-width: 475px; display: grid; align-items: start; justify-items: start; gap: 15px; padding: 23px; }
.login h2 { font-size: 1.6rem; }
.admin-bar { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.club-filter { max-width: 290px; margin-top: 18px; }
.admin-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-block: 20px; }
.metric { padding: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.metric strong { display: block; color: var(--blue); font-size: 1.45rem; }
.order-list { display: grid; gap: 13px; }
.order { padding: 18px; display: grid; gap: 11px; }
.order-header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 7px; }
.order-header h3 { font-size: 1.2rem; overflow-wrap: anywhere; }
.order ul { margin: 0; padding-inline-start: 20px; }
.order li { overflow-wrap: anywhere; }
.order-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 9px; align-items: end; }
#saved { margin-top: 12px; }
@media (max-width: 820px) {
  .shell { width: calc(100% - 42px); }
  .product-grid { gap: 12px; }
  .product-content { padding: 12px; }
  .product-title { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  .top-inner { min-height: 64px; }
  .logo img { width: 106px; }
  .top-link { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 28px; gap: 22px; }
  .hero h1 { font-size: clamp(2.65rem, 9vw, 4.4rem); }
  .hero h1 span { display: inline; }
  .intro { margin-bottom: 17px; }
  .hero-image { border-radius: 15px; }
  .service-inner { padding-block: 11px; }
  .service-inner > div { padding-inline: 8px; }
  .service-inner span { font-size: .69rem; line-height: 1.2; }
  .service-inner strong { display: block; margin-top: 4px; font-size: .76rem; line-height: 1.25; }
  .product-grid, .steps { grid-template-columns: 1fr; }
  .product-image { height: 265px; }
  .product-content { padding: 16px; }
  .products-section { padding-block: 28px 43px; }
  .admin-summary { gap: 6px; }
  .metric { padding: 9px; font-size: .81rem; }
  .metric strong { font-size: 1.15rem; }
  .order-form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
