:root {
  --bg: #0d0c10;
  --panel: #17151c;
  --panel2: #1f1c25;
  --line: #2c2833;
  --text: #f3efe8;
  --muted: #a7a1b2;
  --amber: #ffb627;
  --pink: #ff4f9a;
  --cyan: #38d5ef;
  --tile: #f3f0ea;
  --ok: #7ee08a;
  --bad: #ff6b6b;
  --r: 14px;
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Work Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
body.hascart { padding-bottom: 84px; }
a { color: var(--amber); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 680px; padding-top: 24px; padding-bottom: 64px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 900; letter-spacing: .01em; line-height: 1.05; margin: 0 0 .4em; }
h2 { font-size: 40px; text-transform: uppercase; }
h3 { font-size: 22px; }

/* ---------- logo ---------- */
.logo { font-family: var(--display); font-weight: 900; font-size: 28px; color: var(--text); text-decoration: none; letter-spacing: .02em; }
.logo span { color: var(--amber); margin-left: .12em; }
.logo.big { font-size: clamp(76px, 17vw, 190px); line-height: .85; margin: 0; }
.logo.big span { display: inline-block; -webkit-text-stroke: 2px var(--amber); color: transparent; }

/* ---------- hero with moving heads ---------- */
.hero { position: relative; overflow: hidden; padding: 150px 0 56px; background:
  radial-gradient(ellipse 80% 60% at 50% 110%, rgba(255, 182, 39, .10), transparent 70%), var(--bg); }
.hero-in { position: relative; z-index: 2; }
.tagline { font-size: clamp(20px, 3vw, 28px); font-weight: 500; margin: 18px 0 4px; }
.sub-tag { color: var(--muted); margin: 0; }
.rig { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.truss { position: absolute; top: 26px; left: -2%; right: -2%; height: 14px;
  background: repeating-linear-gradient(60deg, #3a3642 0 2px, transparent 2px 14px), repeating-linear-gradient(-60deg, #3a3642 0 2px, transparent 2px 14px);
  border-top: 2px solid #4a4553; border-bottom: 2px solid #4a4553; }
.head { position: absolute; top: 36px; width: 26px; height: 30px; transform-origin: 50% 0; animation: sweep 9s ease-in-out infinite alternate; }
.head i { position: absolute; inset: 0; background: #2a2730; border-radius: 4px 4px 12px 12px; border: 1px solid #4a4553; }
.head b { position: absolute; left: 50%; top: 26px; width: 520px; height: 900px; transform: translateX(-50%);
  clip-path: polygon(48% 0, 52% 0, 100% 100%, 0 100%); opacity: .22; filter: blur(6px); mix-blend-mode: screen; }
.h1 { left: 26%; --c: var(--pink); animation-duration: 11s; }
.h2 { left: 42%; --c: var(--cyan); animation-delay: -3s; }
.h3 { left: 58%; --c: var(--amber); animation-duration: 13s; animation-delay: -5s; }
.h4 { left: 74%; --c: var(--pink); animation-duration: 10s; animation-delay: -7s; }
.head b { background: linear-gradient(to bottom, var(--c), transparent 85%); }
/* flown CDL12P hangs: 2 boxes on a grid each side */
.hang { position: absolute; top: 40px; width: 84px; display: flex; flex-direction: column; align-items: center; }
.hang.hl { left: 3%; }
.hang.hr { right: 3%; }
.hang .chain { width: 50px; height: 22px; border-left: 2px dotted #5d5866; border-right: 2px dotted #5d5866; }
.hang .bar { width: 84px; height: 9px; background: #34303c; border: 1px solid #5d5866; border-radius: 2px; }
.hang .spk { position: relative; width: 74px; height: 94px; margin-top: 3px; border: 1px solid #5d5866; border-radius: 6px 6px 4px 4px;
  background: radial-gradient(circle, #45404f 1px, transparent 1.4px) 0 0 / 5px 5px, linear-gradient(#26232c, #151318);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .55); clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%); }
.hang .spk::before { content: ''; position: absolute; left: 12px; right: 12px; top: 10px; height: 16px; border-radius: 40% 40% 6px 6px / 90% 90% 6px 6px;
  background: repeating-linear-gradient(90deg, #26232c 0 6px, #3a3643 6px 8px); }
.hang .spk::after { content: ''; position: absolute; left: 50%; bottom: 7px; width: 18px; height: 3px; margin-left: -9px; background: #6a6573; border-radius: 2px; }
.hang .s2 { height: 88px; margin-top: 2px; }
@media (max-width: 1200px) { .hang .s2 { display: none; } .hang { transform: scale(.75); transform-origin: 50% 0; } }
@keyframes sweep { 0% { transform: rotate(-24deg); } 50% { transform: rotate(8deg); } 100% { transform: rotate(26deg); } }
@media (prefers-reduced-motion: reduce) { .head { animation: none; transform: rotate(-8deg); } .h2, .h4 { transform: rotate(10deg); } }

/* ---------- date bar ---------- */
.datebar { position: sticky; top: 0; z-index: 20; background: rgba(13, 12, 16, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.datebar-in { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.datebtn { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); color: var(--text);
  border-radius: 999px; padding: 10px 18px; font: inherit; cursor: pointer; }
.datebtn:hover, .datebtn[aria-expanded="true"] { border-color: var(--amber); }
.datebtn.set { border-color: var(--amber); }
.datebtn .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.datebtn .val { font-weight: 600; min-width: 90px; text-align: left; }
.datebtn .arrow { color: var(--amber); }
.daysinfo { color: var(--muted); font-size: 14px; }
.calpanel { border-top: 1px solid var(--line); padding: 14px 0 18px; background: var(--panel); }
.calnav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.calhint { color: var(--muted); font-size: 14px; }
.months { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.month h4 { font-size: 22px; margin-bottom: 8px; }
.mgrid, .mcgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dh { font-size: 11px; color: var(--muted); text-align: center; padding-bottom: 2px; }
button.d { aspect-ratio: 1.3; border: 0; border-radius: 8px; background: var(--panel2); color: var(--text); font: 500 15px var(--body); cursor: pointer; }
button.d:hover:not(:disabled) { outline: 2px solid var(--amber); }
button.d.past { background: transparent; color: #4a4553; cursor: default; }
button.d.lead { background: repeating-linear-gradient(45deg, #221f28 0 5px, #1a1820 5px 10px); color: #6c6676; cursor: not-allowed; }
button.d.today { box-shadow: inset 0 -2px 0 var(--muted); }
button.d.range { background: rgba(255, 182, 39, .22); }
button.d.sel { background: var(--amber); color: #1a1405; font-weight: 700; }
.callegend { font-size: 13px; color: var(--muted); margin: 12px 0 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sw { width: 18px; height: 14px; border-radius: 4px; display: inline-block; }
.sw.lead { background: repeating-linear-gradient(45deg, #2c2833 0 4px, #1a1820 4px 8px); }

/* ---------- gear ---------- */
.cat { padding-top: 48px; }
.cat h2 { display: flex; align-items: center; gap: 12px; }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; box-shadow: 0 0 18px currentColor; }
.dot.amber { background: var(--amber); color: var(--amber); }
.dot.pink { background: var(--pink); color: var(--pink); }
.dot.cyan { background: var(--cyan); color: var(--cyan); }
.dot.white { background: var(--text); color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.pair .grid { grid-template-columns: 1fr; }
@media (min-width: 721px) { .pair { grid-template-columns: repeat(5, 1fr); } }
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.card.in { border-color: var(--amber); }
.card.out { opacity: .55; }
.pic { background: var(--tile); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 14px; }
.pic img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.pic.noimg::after { content: 'photo soon'; color: #9a948a; font-size: 13px; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: 4px; }
.blurb { color: var(--muted); font-size: 14px; margin: 0 0 12px; flex: 1; }
.meta { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.price { font-family: var(--display); font-weight: 900; font-size: 30px; color: var(--amber); }
.price small { font-family: var(--body); font-size: 13px; color: var(--muted); font-weight: 400; margin-left: 2px; }
.free { font-size: 13px; color: var(--muted); }
.free.yes { color: var(--ok); }
.free.no { color: var(--bad); }
.buy { display: flex; justify-content: space-between; align-items: center; }
.step { display: flex; align-items: center; background: var(--panel2); border-radius: 999px; border: 1px solid var(--line); }
.step button { width: 40px; height: 40px; border: 0; background: none; color: var(--text); font-size: 22px; cursor: pointer; border-radius: 50%; }
.step button:hover:not(:disabled) { color: var(--amber); }
.step button:disabled { color: #4a4553; cursor: default; }
.step output { min-width: 26px; text-align: center; font-weight: 600; }
.callink { background: none; border: 0; color: var(--muted); font: 14px var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.callink:hover, .callink[aria-expanded="true"] { color: var(--text); }
.minical { position: absolute; top: 0; left: 0; right: 0; z-index: 3; background: var(--panel2); border-bottom: 1px solid var(--line); padding: 10px 12px 8px; box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.mchead { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.mchead button { background: none; border: 0; color: var(--text); font-size: 16px; cursor: pointer; padding: 2px 8px; }
.mchead button:disabled { color: #4a4553; }
.mcgrid .c { font-size: 11px; text-align: center; border-radius: 5px; padding: 3px 0; }
.c.past { color: #4a4553; }
.c.all { background: rgba(126, 224, 138, .18); color: var(--ok); }
.c.some { background: rgba(255, 182, 39, .2); color: var(--amber); }
.c.none { background: rgba(255, 107, 107, .18); color: var(--bad); text-decoration: line-through; }
.mlegend { font-size: 11px; color: var(--muted); display: flex; gap: 5px; align-items: center; margin: 8px 0 0; white-space: nowrap; }
.mlegend .c { width: 14px; height: 10px; display: inline-block; padding: 0; }

/* ---------- engineer + how ---------- */
.eng { margin-top: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(100deg, rgba(255, 79, 154, .12), rgba(56, 213, 239, .08)); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 28px; }
.eng h2 { font-size: 32px; }
.eng p { margin: 0; color: var(--muted); max-width: 560px; }
.how { margin-top: 64px; padding: 36px 0 20px; border-top: 1px solid var(--line); }
.how ol { padding-left: 22px; max-width: 720px; }
.how li { margin-bottom: 10px; }
.how li::marker { color: var(--amber); font-family: var(--display); font-weight: 900; }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 28px; }
.twocol p { color: var(--muted); margin: 0; }

.area, .faq { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); max-width: 760px; }
.area p { color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--amber); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* ---------- buttons ---------- */
.btn { background: var(--amber); color: #1a1405; border: 0; border-radius: 999px; padding: 12px 24px; font: 600 16px var(--body); cursor: pointer; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .6; cursor: default; }
.btn.big { width: 100%; padding: 15px; font-size: 18px; margin-top: 10px; }
.sbtn { background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font: 14px var(--body); cursor: pointer; }
.sbtn:hover { border-color: var(--amber); }
.sbtn:disabled { opacity: .4; cursor: default; }
.sbtn.warn:hover { border-color: var(--bad); color: var(--bad); }
.sbtn.ghost { background: none; }

/* ---------- cart bar ---------- */
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(23, 21, 28, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--amber); }
.cartbar-in { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
.cartsum { flex: 1; display: flex; flex-direction: column; font-size: 14px; }
.cartsum span { color: var(--muted); }
.carttot { font-family: var(--display); font-weight: 900; font-size: 32px; color: var(--amber); }

/* ---------- modals ---------- */
.modal { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); color: var(--text); padding: 0; width: min(480px, calc(100vw - 24px)); max-height: calc(100vh - 32px); }
.modal::backdrop { background: rgba(0, 0, 0, .7); }
.modal-in { padding: 26px 24px 22px; position: relative; }
.modal h2 { font-size: 34px; }
.x { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--muted); font-size: 30px; cursor: pointer; }
.modal label { display: block; font-size: 14px; color: var(--muted); margin-top: 12px; }
.modal input:not([type=checkbox]), .modal textarea, .blockf input, .blockf select, .itemf input {
  width: 100%; margin-top: 4px; background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 11px 12px; font: 16px var(--body); }
.modal input:focus, .modal textarea:focus { outline: none; border-color: var(--amber); }
.modal .check { display: flex; gap: 10px; align-items: center; color: var(--text); margin-top: 16px; }
.modal .check input { width: 20px; height: 20px; accent-color: var(--amber); }
.fh { font-size: 22px; margin: 22px 0 0; text-transform: uppercase; }
.modal select { width: 100%; margin-top: 4px; background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 11px 12px; font: 16px var(--body); }
.map { height: 230px; border-radius: 12px; margin-top: 8px; border: 1px solid var(--line); z-index: 0; }
.suggest { list-style: none; margin: 4px 0 0; padding: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.suggest li { padding: 9px 12px; font-size: 14px; cursor: pointer; border-bottom: 1px solid var(--line); }
.suggest li:last-child { border-bottom: 0; }
.suggest li:hover, .suggest li:focus { background: var(--panel2); outline: none; }
.placeinfo { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.placeinfo b { color: var(--text); }
.rainbox { font-size: 14px; border-radius: 10px; padding: 10px 12px; margin: 10px 0 0; }
.rainbox.wet { background: rgba(255, 107, 107, .12); border: 1px solid var(--bad); }
.rainbox.dry { background: rgba(126, 224, 138, .08); border: 1px solid rgba(126, 224, 138, .4); }
.rainbox.unk { background: var(--panel2); border: 1px solid var(--line); }
.flag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; background: var(--amber); color: #1a1405; border-radius: 5px; padding: 2px 6px; margin-top: 4px; }
.flag.rain { background: var(--cyan); }
.fee { width: 90px !important; padding: 5px 8px; background: var(--bg); border: 1px solid var(--amber); color: var(--text); border-radius: 8px; font: 13px var(--body); }
.leaflet-container { font: 12px var(--body); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute !important; left: -9999px; }
.dates { font-weight: 600; margin: 0 0 12px; }
.dates span { color: var(--muted); font-weight: 400; margin-left: 8px; }
table.lines, .receipt table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lines td, .receipt td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.lines td:last-child { text-align: right; white-space: nowrap; }
.lines small { color: var(--muted); }
tr.tot td { font-weight: 700; border-bottom: 0; font-size: 17px; padding-top: 10px; }
.err { color: var(--bad); margin: 12px 0 0; }
.fine { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 26px 0; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.foot .logo { font-size: 24px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }

/* ---------- sub pages ---------- */
header.mini { border-bottom: 1px solid var(--line); padding: 16px; }
body.sub h1 { font-size: 52px; text-transform: uppercase; }
body.sub h2 { font-size: 26px; margin-top: 28px; }
.lede { font-size: 19px; color: var(--muted); }
.receipt { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin: 18px 0; }
.demo-note { background: rgba(56, 213, 239, .1); border: 1px solid var(--cyan); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.flash { background: rgba(126, 224, 138, .1); border: 1px solid var(--ok); border-radius: 10px; padding: 10px 14px; }
.terms li { margin-bottom: 10px; }
.emailview { background: #fff; color: #222; border-radius: 10px; padding: 18px 22px; }
.emailview a { color: #0a58ca; }
.muted { color: var(--muted); }
.bad { color: var(--bad); }
.decl input { width: 150px; padding: 5px 8px; margin: 6px 4px 0 0; background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 8px; font: 13px var(--body); }
a.btn { display: inline-block; text-align: center; text-decoration: none; }

/* ---------- admin ---------- */
.scroll { overflow-x: auto; }
table.adm { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm th { text-align: left; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line); padding: 6px 8px; }
.adm td { border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.adm a { color: var(--text); }
.adm .st { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.st-paid .st { color: var(--amber); } .st-out .st { color: var(--cyan); } .st-returned .st { color: var(--ok); } .st-cancelled { opacity: .5; }
.acts { white-space: nowrap; }
.inl { display: inline; }
.tag { font-size: 12px; background: var(--panel2); border-radius: 6px; padding: 3px 8px; }
.blockf { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.blockf input, .blockf select { width: auto; }
.itemf input { width: auto; padding: 6px 8px; font-size: 14px; }
body.sub .wrap.narrow:has(.adm) { max-width: 1100px; }

@media (max-width: 720px) {
  .hero { padding: 120px 0 40px; }
  .head b { width: 300px; }
  .hang { transform: scale(.62); transform-origin: 50% 0; }
  .hang.hl { left: -4px; } .hang.hr { right: -4px; }
  .months { grid-template-columns: 1fr; }
  .twocol { grid-template-columns: 1fr; }
  h2 { font-size: 32px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pair { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pair h2 { font-size: 26px; }
  .card .body { padding: 12px; }
  .blurb { font-size: 13px; }
  .price { font-size: 24px; }
  .step button { width: 34px; height: 34px; }
  .buy { flex-wrap: wrap; gap: 6px; }
  .datebtn { padding: 8px 14px; gap: 6px; }
  .datebtn .val { min-width: 0; }
  .datebtn .lbl { display: none; }
  .cartbar-in { gap: 12px; }
  .carttot { font-size: 26px; }
  .eng { padding: 20px; }
}
@media (max-width: 340px) {
  .grid { grid-template-columns: 1fr; }
}
