/* Jaysora Zenith Quarter: "Split-Flap". The whole site is a terminal: a board bar for navigation, the departure board as the hero (gates = store sections, status = the real Laoag store hours), products as boarding passes, the cart as a ticket stub, and an arrivals board to close. Logo cobalt + board black + flap amber. */
:root {
  --cobalt: #2563eb;
  --cobalt-deep: #1a46b8;
  --cobalt-pale: #e6edff;
  --board: #0e1013;
  --board-2: #171a1f;
  --flap: #1f242c;
  --flap-hi: #2b313b;
  --cream: #fffdf7;
  --ticket: #fbf8ef;
  --amber: #ffc23d;
  --go: #3ddc84;
  --stop: #ff6b5b;
  --ink: #0e1013;
  --muted: #5b6272;
  --line: rgba(14, 16, 19, .14);
  --error: #b42318;
  --display: 'Abril Fatface', Georgia, serif;
  --mono: 'Martian Mono', ui-monospace, Menlo, Consolas, monospace;
  --text: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.wrap { width: min(1320px, 100% - 2 * clamp(16px, 4vw, 48px)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--amber); color: var(--ink); padding: .7rem 1rem; font-weight: 700; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; flex: none; }
[hidden] { display: none !important; }
h2 { font: 400 clamp(2.1rem, 4.6vw, 3.5rem)/1.02 var(--display); }

/* Split-flap cells. Without JS the text simply shows; JS turns it into cells and spins them. */
.flaps-on .cells { display: inline-flex; flex-wrap: wrap; gap: 3px; vertical-align: middle; }
.flaps-on .cell { position: relative; display: inline-grid; place-items: center; min-width: .95em; padding: .16em .06em; border-radius: 3px; background: linear-gradient(var(--flap-hi) 0 50%, var(--flap) 50%); color: var(--cream); font: 600 1em/1 var(--mono); text-transform: uppercase; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .04); }
.flaps-on .cell::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .6); }
.flaps-on .cell.sp { background: transparent; box-shadow: none; min-width: .45em; }
.flaps-on .cell.sp::after { display: none; }
.cell.flip { animation: flip .055s linear; }
@keyframes flip { 0% { transform: perspective(200px) rotateX(-70deg); } 100% { transform: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.5rem; background: var(--amber); color: var(--ink); border: 0; text-decoration: none; font: 600 .9rem/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); padding-right: 2.2rem; transition: background-color .2s; }
.btn:hover { background: #ffd56e; }
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; clip-path: none; padding-right: 1.5rem; }

/* Board bar: the navigation. Solid and unfiltered so the fixed mobile menu is never trapped. */
.boardbar { position: sticky; top: 0; z-index: 60; background: var(--board); color: var(--cream); border-bottom: 3px solid var(--cobalt); }
.nav { display: flex; align-items: stretch; min-height: 64px; padding-right: clamp(12px, 3vw, 32px); }
.brand { display: flex; align-items: center; padding: 0 1.2rem 0 clamp(16px, 3vw, 32px); background: var(--cobalt); margin-right: auto; clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); padding-right: 2.4rem; }
.wordmark { width: 200px; height: auto; }
.nav-list { display: flex; align-items: stretch; }
.nav-list > li { display: flex; }
.nav-link { display: flex; align-items: center; gap: .55rem; padding: 0 1rem; text-decoration: none; font: 600 .78rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--cream); border-left: 1px solid rgba(255, 255, 255, .08); transition: background-color .2s; }
.nav-link:hover { background: var(--board-2); color: var(--amber); }
.nl-code { display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding: 0 .3rem; border-radius: 3px; background: linear-gradient(var(--flap-hi) 0 50%, var(--flap) 50%); color: var(--amber); font-size: .7rem; }
.nav-close-li { display: none; }
.bar-clock { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding: 0 1rem; font: 600 1.1rem/1 var(--mono); color: var(--amber); border-left: 1px solid rgba(255, 255, 255, .08); }
.bar-clock small { margin-top: .25rem; font-size: .58rem; letter-spacing: .14em; color: #8a91a0; }
/* The cart button is a ticket stub */
.cart-btn { position: relative; align-self: center; display: inline-flex; align-items: center; gap: .6rem; min-height: 46px; margin-left: .6rem; padding: .3rem .5rem .3rem 1rem; background: var(--ticket); color: var(--ink); border: 0; font: 600 .78rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  -webkit-mask: radial-gradient(circle at 0 50%, #0000 7px, #000 7.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, #0000 7px, #000 7.5px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle at 0 50%, #0000 7px, #000 7.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, #0000 7px, #000 7.5px) right / 51% 100% no-repeat; }
.stub-word { padding-right: .6rem; border-right: 2px dashed rgba(14, 16, 19, .35); }
.cart-count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 .35rem; border-radius: 3px; background: linear-gradient(var(--flap-hi) 0 50%, var(--flap) 50%); color: var(--amber); font: 600 .95rem/1 var(--mono); position: relative; }
.cart-count::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .6); }
.cart-count.flip { animation: flip .25s cubic-bezier(.3, .6, .4, 1); }
.nav-toggle, .nav-close { display: none; width: 46px; height: 46px; align-self: center; margin-left: .5rem; place-items: center; background: var(--flap); border: 0; border-radius: 4px; color: var(--amber); }
.back-link { margin-left: 0; border-left: 1px solid rgba(255, 255, 255, .08); }
@media (max-width: 1100px) { .bar-clock { display: none; } }
@media (max-width: 939px) {
  .nav-toggle { display: grid; flex: 0 0 auto; }
  .nav-list { display: none; }
  .nav-list.open { display: flex; position: fixed; inset: 0; z-index: 200; height: 100dvh; overflow-y: auto; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 5rem 1.2rem 2rem; background: var(--board); }
  .nav-list.open .nav-link { padding: 1.1rem .6rem; font-size: 1.15rem; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .nav-list.open .nl-code { min-width: 54px; height: 38px; font-size: .95rem; }
  .nav-list.open .nav-close-li { display: block; position: absolute; top: 10px; right: 12px; }
  .nav-close { display: grid; }
}
@media (max-width: 480px) { .wordmark { width: 138px; } .brand { padding-left: 14px; padding-right: 1.9rem; } .stub-word { display: none; } .cart-btn { padding-left: .8rem; } }

/* The departure board is the hero */
.board { background: var(--board); color: var(--cream); padding: clamp(1.6rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 3.2rem); border-bottom: 10px solid var(--cobalt); }
.board-grid { width: min(1320px, 100% - 2 * clamp(16px, 4vw, 48px)); margin-inline: auto; display: grid; gap: 2rem; align-items: center; }
.board-label { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; margin-bottom: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .12); font: 600 .72rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.board-label span:last-child { color: #8a91a0; }
.board-title { font: 600 clamp(1.15rem, 3.1vw, 2.5rem)/1.15 var(--mono); color: var(--cream); letter-spacing: 0; }
.board-title .flap { display: inline-block; margin-bottom: .2em; }
.board-sub { margin-top: .5rem; font-size: clamp(.72rem, 1.6vw, 1rem); }
.board-sub .cell { color: var(--amber); }
.board-table { width: 100%; margin-top: 1.6rem; border-collapse: collapse; font-size: clamp(.66rem, 1.5vw, .9rem); }
.board-table th { text-align: left; font: 600 .78em/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8a91a0; padding: 0 .4em .6em; }
.board-table td { padding: .4em; border-top: 1px solid rgba(255, 255, 255, .07); white-space: nowrap; vertical-align: middle; }
.board .cells, .flap--price .cells, .cart-count { flex-wrap: nowrap; }
.b-status { width: 1%; }
.board-table tr:hover td { background: var(--board-2); }
.flap--gate .cell { color: var(--amber); }
.gate-btn { background: none; border: 0; padding: .3em 0; min-height: 44px; text-align: left; }
.board-table .gate-btn:hover .cell, .board-table .gate-btn:focus-visible .cell { background: var(--cobalt); }
.b-items .cell { color: #c3c9d4; }
.b-status .cell { color: var(--go); }
.store-closed .b-status .cell { color: var(--stop); }
.board-foot { margin-top: 1rem; font: 500 .74rem/1.6 var(--mono); color: #8a91a0; }
.board-window { position: relative; margin: 0; padding: 10px; background: var(--board-2); border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.board-window img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.board-window figcaption { position: absolute; left: 22px; bottom: 22px; padding: .35rem .6rem; background: var(--board); color: var(--amber); font: 600 .68rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; border-radius: 3px; }
@media (max-width: 420px) { .board-table th:nth-child(3), .board-table td:nth-child(3) { display: none; } }
@media (min-width: 1000px) { .board-grid { grid-template-columns: 1.25fr .9fr; gap: clamp(2rem, 4vw, 4rem); } .board-window img { aspect-ratio: 4 / 5; } }

/* Intro strip on cobalt */
.intro { background: var(--cobalt); color: #fff; padding: 2.2rem 0; }
.intro-grid { display: grid; gap: 1.4rem; align-items: center; }
.intro-lede { font: 400 clamp(1.25rem, 2.4vw, 1.75rem)/1.35 var(--display); max-width: 46rem; }
.intro-cta { display: grid; gap: .9rem; justify-items: start; }
.tagline { font: 600 .8rem/1.4 var(--mono); letter-spacing: .04em; color: var(--amber); }
@media (min-width: 960px) { .intro-grid { grid-template-columns: 1.7fr 1fr; gap: 3rem; } .intro-cta { justify-items: end; text-align: right; } }

/* Shop: gate filter + boarding passes */
.shop { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.shop-head { display: grid; gap: 1rem; align-items: end; }
.shop-head p { color: var(--muted); max-width: 36rem; }
@media (min-width: 900px) { .shop-head { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.gates { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 1.8rem; }
.gates .gate-btn { display: inline-flex; align-items: center; gap: .65rem; min-height: 48px; padding: .3rem 1rem .3rem .35rem; background: var(--ticket); border: 1px solid var(--line); border-radius: 4px; font-weight: 600; }
.gates .gate-btn b { display: grid; place-items: center; min-width: 38px; height: 36px; padding: 0 .3rem; border-radius: 3px; background: linear-gradient(var(--flap-hi) 0 50%, var(--flap) 50%); color: var(--amber); font: 600 .8rem/1 var(--mono); }
.gates .gate-btn[aria-pressed="true"] { background: var(--board); color: var(--cream); border-color: var(--board); }
.passes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 760px) { .passes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .passes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; } }
/* A boarding pass: photo stub, perforation with punched notches, details, barcode */
.pass { position: relative; display: grid; grid-template-columns: 38% 1fr; background: var(--ticket); color: var(--ink); filter: drop-shadow(0 10px 16px rgba(14, 16, 19, .12));
  -webkit-mask: radial-gradient(circle at 38% 0, #0000 10px, #000 10.5px) top / 100% 51% no-repeat, radial-gradient(circle at 38% 100%, #0000 10px, #000 10.5px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 38% 0, #0000 10px, #000 10.5px) top / 100% 51% no-repeat, radial-gradient(circle at 38% 100%, #0000 10px, #000 10.5px) bottom / 100% 51% no-repeat; }
.pass-photo { position: relative; background: var(--cobalt-pale); }
.pass-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; min-height: 100%; }
.pass-photo::after { content: ''; position: absolute; top: 14px; bottom: 14px; right: 0; border-right: 2px dashed rgba(14, 16, 19, .3); }
.pass-body { display: flex; flex-direction: column; padding: .9rem 1rem 1rem 1.1rem; min-width: 0; }
.pass-top { display: flex; justify-content: space-between; gap: .5rem; padding-bottom: .45rem; margin-bottom: .55rem; border-bottom: 1px solid var(--line); font: 600 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt-deep); }
.pass h3 { font: 700 1.02rem/1.25 var(--text); }
.item-desc { margin-top: .3rem; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.buy { margin-top: auto; padding-top: .8rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.item-price { display: inline-flex; align-items: center; gap: .25rem; font: 600 1rem/1 var(--mono); }
.item-price .cur { font-family: var(--text); font-weight: 700; }
.flap--price { font-size: .86rem; }
.price { font: 600 1.05rem/1 var(--mono); }
.add-btn { min-height: 44px; padding: .5rem .9rem; background: var(--board); color: var(--amber); border: 0; border-radius: 3px; font: 600 .74rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; transition: background-color .2s; }
.add-btn:hover { background: var(--cobalt); color: #fff; }
.stepper { display: inline-flex; align-items: center; border-radius: 3px; background: var(--board); color: var(--cream); }
.stepper button, .qty button { display: grid; place-items: center; width: 42px; height: 42px; background: none; border: 0; color: inherit; }
.stepper button:hover { background: rgba(255, 255, 255, .1); }
.stepper button:disabled, .qty button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 2ch; text-align: center; font: 600 1rem/1 var(--mono); }
.pass-foot { display: flex; align-items: center; gap: .6rem; margin-top: .7rem; }
.bars { flex: 1; height: 22px; max-width: 120px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); opacity: .85; }
.stock { font: 500 .68rem/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 420px) { .pass { grid-template-columns: 34% 1fr; -webkit-mask-position: top, bottom; } .pass-body { padding: .75rem .8rem .85rem .9rem; } }

/* How pickup works: a route line with stops */
.how { background: var(--board); color: var(--cream); padding: clamp(4rem, 8vw, 6rem) 0; }
.how h2 { color: #fff; }
.how-note { margin-top: .8rem; color: #b8bfcb; max-width: 40rem; }
.route { position: relative; display: grid; gap: 1.6rem; margin-top: 2.6rem; padding-left: 2rem; }
.route::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3px; background: repeating-linear-gradient(var(--amber) 0 10px, transparent 10px 18px); }
.route li { position: relative; }
.route li::before { content: ''; position: absolute; left: -2rem; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--board); border: 4px solid var(--amber); }
.stop { font: 600 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.route h3 { margin: .4rem 0 .3rem; font: 400 1.6rem/1.1 var(--display); color: #fff; }
.route p { color: #b8bfcb; max-width: 30rem; }
@media (min-width: 900px) {
  .route { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; padding: 2.2rem 0 0; }
  .route::before { left: 0; right: 0; top: 8px; bottom: auto; width: auto; height: 3px; background: repeating-linear-gradient(90deg, var(--amber) 0 10px, transparent 10px 18px); }
  .route li::before { left: 0; top: -2.2rem; }
}

/* About: a split with a full-height photo */
.about-grid { display: grid; }
.about-photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-copy { padding: clamp(3rem, 7vw, 5.5rem) clamp(16px, 5vw, 5rem); background: var(--cobalt-pale); }
.about-copy h2 { margin-bottom: 1.3rem; color: var(--cobalt-deep); }
.about-copy .lede { font-size: 1.12rem; max-width: 40rem; }
.values { display: grid; gap: 0; margin-top: 2rem; border-top: 2px solid var(--ink); }
.values div { display: grid; gap: .25rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.values dt { font: 600 .74rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt-deep); }
.values dd { color: #2a3140; }
.goal { margin-top: 1.6rem; font: 400 1.35rem/1.35 var(--display); max-width: 36rem; }
.goal span { display: block; margin-bottom: .4rem; font: 600 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt-deep); }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1.2fr; } .about-photo img { aspect-ratio: auto; } .values div { grid-template-columns: 13rem 1fr; gap: 1.2rem; } }

/* Testimonials: luggage tags */
.tags { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--cream); }
.tag-row { display: grid; gap: 1.6rem; }
.luggage { position: relative; display: flex; flex-direction: column; gap: 1.1rem; padding: 2rem 1.8rem 1.6rem 4.4rem; background: var(--amber); color: var(--ink); clip-path: polygon(46px 0, 100% 0, 100% 100%, 46px 100%, 0 calc(100% - 30px), 0 30px); }
.luggage:nth-child(2) { background: var(--cobalt); color: #fff; }
.hole { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 3px rgba(14, 16, 19, .25); }
.luggage blockquote p { font: 400 clamp(1.35rem, 2.4vw, 1.75rem)/1.3 var(--display); }
.luggage figcaption { font: 600 .74rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
@media (min-width: 860px) { .tag-row { grid-template-columns: 1fr 1fr; gap: 2rem; } .luggage:nth-child(1) { transform: rotate(-1.2deg); } .luggage:nth-child(2) { transform: rotate(1deg) translateY(1.4rem); } }

/* FAQ: the information desk */
.desk { padding: clamp(4rem, 8vw, 6rem) 0; border-top: 2px solid var(--ink); }
.desk-grid { display: grid; gap: 2rem; }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary, .desk summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 60px; padding: 1rem 0; cursor: pointer; list-style: none; font: 700 1.1rem/1.3 var(--text); }
.desk summary::-webkit-details-marker { display: none; }
.desk summary .icon { color: var(--cobalt); transition: transform .25s; }
.desk details[open] summary .icon { transform: rotate(45deg); }
.desk details p { padding: 0 2rem 1.2rem 0; color: var(--muted); }
@media (min-width: 900px) { .desk-grid { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }

/* Contact: the arrivals board */
.arrivals { background: var(--board); color: var(--cream); padding: clamp(4rem, 8vw, 6rem) 0; }
.arrivals-grid { display: grid; gap: 2.4rem; align-items: start; }
.arrivals h2 { font: 600 clamp(1.4rem, 3.4vw, 2.2rem)/1 var(--mono); margin-bottom: 1.6rem; }
.arrivals h2 .cell { color: var(--amber); }
.arr-rows { font-style: normal; border-top: 1px solid rgba(255, 255, 255, .14); }
.arr-rows div { display: grid; gap: .3rem; padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.arr-rows span { font: 600 .7rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.arr-rows p { overflow-wrap: anywhere; }
.arr-rows a { color: var(--cream); text-underline-offset: 4px; text-decoration-color: var(--cobalt); }
.arr-photos { display: grid; grid-template-columns: 1fr 1.4fr; gap: .8rem; align-items: end; }
.arr-photos img { width: 100%; object-fit: cover; border-radius: 4px; }
.arr-photos figure:first-child img { aspect-ratio: 3 / 4; }
.arr-photos figure:last-child img { aspect-ratio: 4 / 3; }
@media (min-width: 640px) { .arr-rows div { grid-template-columns: 8rem 1fr; gap: 1rem; } }
@media (min-width: 980px) { .arrivals-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }

/* Policies: three stubs */
.policies { padding: 2.6rem 0; background: var(--cobalt-pale); }
.policy-list { display: grid; gap: .8rem; }
.policy-list a { display: grid; gap: .3rem; padding: 1.1rem 1.2rem; background: var(--ticket); text-decoration: none; border-left: 6px solid var(--cobalt); }
.policy-list b { font: 600 .78rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt-deep); }
.policy-list span { color: var(--muted); font-size: .94rem; }
.policy-list a:hover b { text-decoration: underline; }
@media (min-width: 860px) { .policy-list { grid-template-columns: repeat(3, 1fr); } }

/* Footer: a last board */
.footer { background: var(--board); color: var(--cream); padding: 3rem 0 1.6rem; border-top: 10px solid var(--cobalt); }
.arrive { font-size: clamp(.8rem, 2.6vw, 1.5rem); margin-bottom: 2rem; }
.arrive .cell { color: var(--amber); }
.foot-board { display: grid; gap: 2rem; }
.foot-brand { display: grid; gap: .8rem; align-content: start; }
.foot-brand .wordmark { width: 230px; }
.foot-brand p { font: 400 1.3rem/1.3 var(--display); }
.foot-rows { border-top: 1px solid rgba(255, 255, 255, .14); }
.foot-rows div { display: grid; gap: .3rem; padding: .7rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.foot-rows dt { font: 600 .68rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.foot-rows dd { overflow-wrap: anywhere; }
.foot-rows a { display: inline-block; padding: .3rem 0; text-decoration: none; }
.foot-rows a:hover { color: var(--amber); text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: 2.2rem; font: 500 .74rem/1.5 var(--mono); color: #8a91a0; }
@media (min-width: 640px) { .foot-rows div { grid-template-columns: 7rem 1fr; gap: 1rem; } }
@media (min-width: 900px) { .foot-board { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }

/* The cart drawer is a long ticket stub */
.cart-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(14, 16, 19, .6); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar { position: fixed; top: 0; right: 0; bottom: 0; z-index: 160; width: min(420px, 100%); display: flex; flex-direction: column; background: var(--ticket); transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility .35s;
  -webkit-mask: radial-gradient(circle at 0 12px, #0000 6px, #000 6.5px) left top / 100% 24px repeat-y; mask: radial-gradient(circle at 0 12px, #0000 6px, #000 6.5px) left top / 100% 24px repeat-y; }
.cart-sidebar.open { transform: none; visibility: visible; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.3rem 1rem 1.6rem; background: var(--board); color: var(--cream); border-bottom: 3px solid var(--amber); }
.cart-head h2 { font: 600 1.1rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.cart-close { display: grid; place-items: center; width: 44px; height: 44px; background: var(--flap); border: 0; border-radius: 3px; color: var(--amber); }
.cart-items { flex: 1; overflow-y: auto; padding: .6rem 1.3rem .6rem 1.6rem; }
.cart-item { display: grid; grid-template-columns: 64px 1fr; gap: .9rem; padding: .9rem 0; border-bottom: 2px dashed rgba(14, 16, 19, .2); }
.cart-item img { width: 64px; height: 64px; object-fit: cover; }
.cart-item h3 { font: 700 .98rem/1.3 var(--text); }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; margin-top: .5rem; }
.qty { display: inline-flex; align-items: center; background: var(--board); color: var(--cream); border-radius: 3px; }
.qty button { width: 40px; height: 40px; }
.qty button:hover { background: rgba(255, 255, 255, .1); }
.qty output { min-width: 2ch; text-align: center; font: 600 .95rem/1 var(--mono); }
.cart-item-sub { font: 600 .98rem/1 var(--mono); }
.cart-remove { margin-top: .35rem; padding: .3rem 0; background: none; border: 0; font-size: .82rem; color: var(--muted); text-decoration: underline; }
.cart-empty { padding: 3rem 0; text-align: center; }
.cart-empty p { font: 400 1.4rem/1.3 var(--display); margin-bottom: 1.2rem; }
.cart-foot { padding: 1.2rem 1.3rem 1.4rem 1.6rem; border-top: 3px solid var(--ink); }
.cart-foot::after { content: ''; display: block; height: 30px; margin-top: 1rem; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); opacity: .8; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; font: 600 .8rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.cart-total .price { font-size: 1.35rem; }
.cart-foot .btn { width: 100%; }
.cart-foot p { margin-top: .8rem; font-size: .82rem; color: var(--muted); text-align: center; }

/* Order page */
.order-page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.order-intro { max-width: 40rem; margin-bottom: 2.2rem; }
.order-intro h1 { font: 400 clamp(2.4rem, 6vw, 3.8rem)/1.05 var(--display); margin-bottom: .9rem; }
.order-intro .lede { color: var(--muted); }
.order { display: grid; gap: 2rem; align-items: start; }
.order-form { background: var(--ticket); border-top: 6px solid var(--cobalt); padding: 2rem clamp(1.1rem, 4vw, 2.2rem); }
.order-form h2, .summary h2 { font: 600 1.1rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.3rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 700; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .95rem; font: 400 1rem/1.4 var(--text); color: var(--ink); background: #fff; border: 1px solid rgba(14, 16, 19, .3); border-radius: 3px; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--amber); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field-hint { margin-top: .35rem; font-size: .84rem; color: var(--muted); }
.field-error { margin-top: .35rem; font-size: .88rem; font-weight: 700; color: var(--error); }
.field-error:empty { display: none; }
.order-submit { width: 100%; margin-top: .6rem; }
.summary { background: var(--board); color: var(--cream); padding: 2rem clamp(1.1rem, 4vw, 2rem); }
.summary h2 { color: var(--amber); }
.summary table { width: 100%; border-collapse: collapse; }
.summary td { padding: .8rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .18); vertical-align: top; }
.summary td small { display: block; margin-top: .2rem; color: #a9b0bd; font-size: .84rem; }
.summary td:last-child { text-align: right; font: 600 1rem/1.3 var(--mono); white-space: nowrap; padding-left: 1rem; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.2rem; }
.summary-total .price { font-size: 1.5rem; color: var(--amber); }
.summary-note { margin-top: 1.2rem; }
.summary-note a { color: var(--amber); text-underline-offset: 4px; }
.sent { max-width: 44rem; background: var(--ticket); border-top: 6px solid var(--cobalt); padding: 2.4rem clamp(1.1rem, 4vw, 2.4rem); }
.sent h2 { margin-bottom: 1rem; }
.sent-copy { margin-top: 2rem; }
.sent-copy pre { margin-top: 1rem; padding: 1rem; background: #fff; border: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere; font-size: .86rem; }
@media (min-width: 900px) { .order { grid-template-columns: 1.4fr 1fr; gap: 3rem; } .summary { position: sticky; top: 88px; } }

/* Legal pages */
.legal-head { background: var(--board); color: var(--cream); padding: clamp(2.6rem, 6vw, 4.2rem) 0 clamp(2.2rem, 5vw, 3.2rem); border-bottom: 6px solid var(--cobalt); }
.legal-head h1 { font: 400 clamp(2.4rem, 6vw, 4rem)/1.05 var(--display); }
.legal-body { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.legal { max-width: 46rem; }
.legal h2 { font: 600 1.05rem/1.3 var(--mono); letter-spacing: .04em; margin: 2.2rem 0 .7rem; color: var(--cobalt-deep); }
.legal h2:first-child { margin-top: 0; }
.legal p + p { margin-top: .9rem; }
.legal ul, .legal ol { padding-left: 1.3rem; list-style: disc; margin-top: .6rem; }
.legal ol { list-style: decimal; }
.legal li + li { margin-top: .45rem; }
.legal a { color: var(--cobalt-deep); text-underline-offset: 3px; overflow-wrap: anywhere; }

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