@font-face { font-family: Barlow; src: url('/fonts/barlow-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Barlow; src: url('/fonts/barlow-semibold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url('/fonts/barlow-condensed-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
:root {
  color-scheme: dark;
  --ink: #191918;
  --well: #111110;
  --paper: #f6f5ed;
  --muted: #c2c1b8;
  --rule: #484843;
  --spot: #ff8965;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  font: 400 100%/1.5 Barlow, "Helvetica Neue", Arial, sans-serif;
  color: var(--paper);
  background: var(--ink);
}
* { box-sizing: border-box; }
body,h1,h2,h3,ol,dl,dd,p { margin: 0; }
img { width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--spot); }
a:focus-visible { outline: 3px solid var(--spot); outline-offset: 3px; }
.wrap { width: min(94rem, calc(100% - 2 * clamp(1.15rem,4vw,4.6rem))); margin-inline: auto; }
.skip { position: fixed; z-index: 3; left: .5rem; top: .5rem; padding: .6rem 1rem; background: var(--paper); color: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.mast { border-bottom: 1px solid var(--rule); }
.mast-inner, .brand, nav, .section-head, .footer { display: flex; align-items: center; }
.mast-inner, .section-head, .footer { justify-content: space-between; gap: 1rem; }
.mast-inner { min-height: 5.5rem; }
.brand { gap: .55rem; width: fit-content; font: 700 clamp(1.6rem,2.6vw,2.6rem)/1 var(--display); letter-spacing: -.035em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--paper); }
.brand .shop-tag { font-size: .55em; letter-spacing: .08em; color: var(--muted); margin-left: .15em; }
.mark { width: .82em; height: .72em; background: repeating-radial-gradient(circle at 50% 92%,var(--spot) 0 .075em, transparent .085em .118em); clip-path: polygon(0 0,100% 0,100% 88%,0 88%); border-radius: 100% 100% 0 0; flex-shrink: 0; }
nav { flex-wrap: wrap; column-gap: clamp(1rem,2.2vw,2.3rem); }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; text-decoration: none; }
nav a[aria-current] { text-decoration: underline; text-underline-offset: .45rem; text-decoration-color: var(--spot); }
main { min-height: 50vh; }
h1,h2,h3 { font-family: var(--display); font-weight: 700; line-height: .99; letter-spacing: -.027em; }
h1 { font-size: clamp(3.5rem,7.6vw,8rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem,3.7vw,4.2rem); }
.kicker,.meta { color: var(--muted); font-size: .95rem; font-weight: 600; line-height: 1.35; }
.solid-link { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; padding: .58rem 1.1rem; background: var(--paper); color: var(--well); font-weight: 600; text-decoration: none; }
.solid-link:hover { background: var(--spot); color: var(--well); }
.line-link { display: inline-block; text-decoration: underline; font-weight: 600; }
.section { margin-top: clamp(3rem,6vw,6.5rem); }
.section-head { border-top: 1px solid var(--rule); padding-top: .85rem; margin-bottom: clamp(1.1rem,2vw,2rem); align-items: baseline; }
.page-head { padding-block: clamp(2rem,5vw,5rem); }
.page-head p { margin-top: .8rem; color: var(--muted); max-width: 42ch; }
.crumb { padding-block: 1.1rem 0; }
.crumb a { color: var(--muted); }
.footer { margin-top: clamp(3.5rem,7vw,8rem); border-top: 1px solid var(--rule); padding-block: 1.5rem 3rem; align-items: start; }
.footer .brand { font-size: 1.65rem; }
.footer p,.footer nav a { color: var(--muted); font-size: .95rem; }
.footer p { margin-top: .5rem; }
.hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: clamp(1.5rem,4vw,4rem); align-items: center; padding-block: clamp(2rem,5vw,4.5rem); }
.hero-copy .kicker { margin-bottom: 1rem; }
.hero-copy p { margin-top: 1.15rem; color: var(--muted); font-size: clamp(1.05rem,1.5vw,1.25rem); max-width: 36ch; }
.hero-copy .actions { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; margin-top: 1.6rem; align-items: center; }
.hero-art { background: #efe8dc; }
.hero-art img { aspect-ratio: 1; object-fit: cover; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.9rem,2.5vw,2.6rem); }
.product-card { display: block; text-decoration: none; }
.product-card .thumb { position: relative; background: #efe8dc; }
.product-card img { aspect-ratio: 1; object-fit: cover; }
.product-card .card-caption { margin-top: .7rem; display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; }
.product-card strong { font: 700 clamp(1.6rem,2.8vw,3rem)/1.03 var(--display); letter-spacing: -.015em; }
.product-card .price { color: var(--muted); font-weight: 600; }
.product-card:hover strong { text-decoration: underline; text-decoration-thickness: .045em; }
.badge { display: inline-flex; align-items: center; min-height: 1.7rem; padding: 0 .5rem; border: 1px solid var(--spot); color: var(--spot); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.thumb .badge { position: absolute; top: .75rem; left: .75rem; background: var(--ink); }
.product { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: clamp(1.5rem,5vw,5.5rem); align-items: start; padding-bottom: 2rem; }
.product-image { background: #efe8dc; }
.product-image img { aspect-ratio: 1; object-fit: cover; }
.product-copy .badge { margin-bottom: 1rem; }
.product-copy h1 { margin: .1em 0 .15em; font-size: clamp(3rem,6vw,6.2rem); }
.product-copy .price { font-size: clamp(1.3rem,2vw,1.7rem); font-weight: 600; margin-bottom: 1rem; }
.product-copy > p { margin: .75rem 0; color: var(--muted); max-width: 42ch; }
.sizes { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.1rem 0 .3rem; }
.size { display: inline-flex; align-items: center; justify-content: center; min-width: 2.8rem; min-height: 2.8rem; padding: 0 .6rem; border: 1px solid var(--rule); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; align-items: center; margin: 1.5rem 0 .5rem; }
.also { margin-top: clamp(3rem,6vw,6.5rem); }
.also .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 54rem; }
.prose { max-width: 46rem; }
.prose p { margin: 0 0 1rem; color: var(--muted); font-size: 1.08rem; }
.faq { margin: 0; }
.faq div { padding: 1.25rem 0 1.45rem; border-bottom: 1px solid var(--rule); }
.faq dt { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem,2.4vw,2.6rem); line-height: 1.1; }
.faq dd { color: var(--muted); margin-top: .45rem; max-width: 48ch; font-size: 1.05rem; }
.hero-art, .thumb, .product-image { overflow: hidden; }
#checkout.is-ready { min-height: 24rem; }

@media (prefers-reduced-motion: no-preference) {
  a, .solid-link, button.solid-link {
    transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease;
  }
  .solid-link:hover, button.solid-link:hover { transform: translateY(-1px); }
  .solid-link:active, button.solid-link:active { transform: translateY(0) scale(.98); }

  .hero-copy { animation: rise .7s ease both; }
  .hero-art { animation: rise .75s ease both; animation-delay: .1s; }
  .product-image { animation: rise .7s ease both; }
  .product-copy { animation: rise .75s ease both; animation-delay: .08s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(.7rem); }
    to { opacity: 1; transform: none; }
  }

  .hero-art img, .thumb img, .product-image img {
    transition: transform .55s ease;
    transform-origin: center;
  }
  .hero-art:hover img, .product-card:hover img, .product-image:hover img {
    transform: scale(1.045);
  }

  .size {
    transition: color .16s ease, border-color .16s ease, background-color .16s ease, transform .16s ease;
  }
  .size:hover { border-color: var(--muted); }
  .size:has(input:checked) { background: rgba(255,137,101,.12); }
  .size:active { transform: scale(.96); }

  .reveal { opacity: 0; transform: translateY(.85rem); }
  .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity .55s ease, transform .55s ease;
  }
  .product-grid.reveal.is-in .product-card:nth-child(2) { transition-delay: .08s; }
  .product-grid.reveal.is-in .product-card:nth-child(3) { transition-delay: .16s; }
  .product-grid.reveal .product-card {
    opacity: 0;
    transform: translateY(.7rem);
  }
  .product-grid.reveal.is-in .product-card {
    opacity: 1;
    transform: none;
    transition: opacity .55s ease, transform .55s ease;
  }

  #checkout { opacity: 0; transform: translateY(.5rem); }
  #checkout.is-ready {
    opacity: 1;
    transform: none;
    transition: opacity .45s ease, transform .45s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal .product-card, #checkout { opacity: 1; transform: none; }
}
@media (max-width: 780px) {
  .hero, .product { grid-template-columns: 1fr; }
  .hero { padding-block: 1.5rem 2rem; }
  .hero-art { order: -1; }
  .hero-art img, .product-image img { aspect-ratio: 1; }
}
@media (max-width: 620px) {
  .mast-inner { flex-wrap: wrap; min-height: 0; padding-block: .8rem .35rem; }
  .mast-inner nav { gap: .3rem 1rem; }
  .product-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .also .product-grid { grid-template-columns: 1fr; }
  .footer { flex-wrap: wrap; }
  .solid-link, nav a, .line-link { min-height: 44px; }
  .crumb { padding-block: .35rem 0; }
}

button.solid-link { border: 0; cursor: pointer; font: inherit; }
.size { position: relative; cursor: pointer; }
.size input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.size:has(input:checked) { border-color: var(--spot); color: var(--spot); }
.size:has(input:focus-visible) { outline: 3px solid var(--spot); outline-offset: 3px; }
.qty { margin: 1.15rem 0 0; display: flex; align-items: center; gap: .75rem; }
.qty label { font-weight: 600; color: var(--muted); }
.qty input { width: 4.6rem; min-height: 2.8rem; background: var(--well); color: var(--paper); border: 1px solid var(--rule); padding: 0 .6rem; font: inherit; font-weight: 600; }
.buy-form .actions { margin-top: 1.15rem; }
.checkout-shell { width: min(44rem, 100%); margin: clamp(1.5rem,4vw,3rem) auto 4rem; }
.checkout-shell h1 { font-size: clamp(2.6rem,6vw,4.5rem); margin-bottom: .8rem; }
.checkout-status { color: var(--muted); margin: 0 0 1.2rem; }
#checkout { min-height: 8rem; }
.return-box { max-width: 40rem; padding-block: clamp(2rem,5vw,4rem); }
.return-box p { color: var(--muted); margin: .8rem 0 0; max-width: 40ch; font-size: 1.08rem; }

.policy { max-width: 42rem; }
.policy section { padding: 1.15rem 0 1.25rem; border-bottom: 1px solid var(--rule); }
.policy h2 { font-size: clamp(1.45rem, 2.2vw, 2rem); margin: 0 0 .4rem; }
.policy p { margin: 0; color: var(--muted); font-size: 1.05rem; max-width: 48ch; }
.buy-legal { margin-top: .35rem; }
.checkout-agree { margin-top: 1.25rem; }

/* Account */
nav .acct { position: relative; justify-content: center; min-width: 2.75rem; padding: 0; color: var(--paper); }
nav .acct svg { display: block; }
nav .acct:hover { color: var(--spot); }
.acct-dot { position: absolute; top: .55rem; right: .45rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--spot); box-shadow: 0 0 0 2px var(--ink); display: none; }
.acct.is-in .acct-dot { display: block; }
.link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.link-button:hover { color: var(--spot); }
.link-button:focus-visible { outline: 3px solid var(--spot); outline-offset: 3px; }
.auth-shell { width: min(32rem, 100%); margin: clamp(1.5rem,4vw,3.5rem) 0 4rem; }
.auth-shell h1, .settings h1, .account-head h1 { font-size: clamp(2.6rem,6vw,4.5rem); margin-bottom: .8rem; }
.auth-note { margin-top: 1.5rem; max-width: 40ch; }
.stack-form { display: grid; gap: 1rem; margin-top: 1.2rem; }
.stack-form h2 { font-size: clamp(1.6rem,2.4vw,2.2rem); margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.stack-form h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.field { display: grid; gap: .35rem; }
.field label, .check label { font-weight: 600; }
.field input, .field select { width: 100%; min-height: 2.9rem; background: var(--well); color: var(--paper); border: 1px solid var(--rule); padding: 0 .75rem; font: inherit; border-radius: 0; }
.field input:disabled { color: var(--muted); }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--spot); outline-offset: 2px; border-color: var(--spot); }
.field-row { display: grid; grid-template-columns: 1.3fr 1.2fr .9fr; gap: 1rem; }
.check { display: grid; grid-template-columns: 1.4rem 1fr; gap: .7rem; align-items: start; }
.check input { width: 1.2rem; height: 1.2rem; margin: .2rem 0 0; accent-color: var(--spot); }
.check label span { display: block; font-weight: 400; }
.form-msg { margin: 0; font-weight: 600; }
.form-msg.is-error { color: var(--spot); }
.form-msg.is-ok { color: var(--paper); }
.sent-note { margin-top: 1.5rem; padding: 1.2rem 0 0; border-top: 1px solid var(--rule); }
.sent-note h2 { font-size: clamp(1.8rem,3vw,2.6rem); margin-bottom: .5rem; }
.sent-note p { color: var(--muted); max-width: 44ch; margin-bottom: .6rem; }
.sent-note strong { color: var(--paper); overflow-wrap: anywhere; }
.account-head { padding-block: clamp(1.5rem,3.5vw,3rem) 0; }
.account-grid { display: grid; grid-template-columns: minmax(0,1fr) 19rem; gap: clamp(1.5rem,4vw,4rem); align-items: start; margin-top: clamp(1.2rem,3vw,2.5rem); }
.side-col { display: grid; gap: 1rem; }
.card { border: 1px solid var(--rule); padding: 1.1rem 1.2rem 1.2rem; display: grid; gap: .45rem; justify-items: start; }
.card h2 { font-size: 1.5rem; margin-bottom: .1rem; }
.card-line { font-style: normal; color: var(--paper); overflow-wrap: anywhere; }
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th { text-align: left; color: var(--muted); font-size: .9rem; font-weight: 600; padding: .5rem .8rem .6rem 0; border-bottom: 1px solid var(--rule); }
.orders-table td { padding: 1rem .8rem 1rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.orders-table td:last-child, .orders-table th:last-child { padding-right: 0; }
.item-line, .item-name { display: block; }
.item-name { font-weight: 600; }
.order-link { font-weight: 600; }
.status { display: inline-flex; align-items: center; min-height: 1.7rem; padding: 0 .55rem; border: 1px solid var(--rule); font-size: .85rem; font-weight: 600; margin: 0 .6rem .3rem 0; white-space: nowrap; }
.status-in_production { border-color: var(--spot); color: var(--spot); }
.status-shipped { background: var(--paper); border-color: var(--paper); color: var(--well); }
.status-refunded, .status-partially_refunded { border-style: dashed; color: var(--muted); }
.empty { padding: 2rem 0; display: grid; gap: .6rem; justify-items: start; }
.empty-title { font: 700 clamp(1.8rem,3vw,2.6rem)/1.05 var(--display); }
.order-head { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: flex-start; justify-content: space-between; padding-block: 1rem 1.2rem; }
.order-head h1 { font-size: clamp(2.6rem,6vw,4.5rem); }
.order-head .status { font-size: 1rem; min-height: 2.2rem; padding: 0 .9rem; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; list-style: none; margin: 0 0 1.8rem; padding: 0; }
.steps li { padding-top: .6rem; border-top: 3px solid var(--rule); color: var(--muted); font-weight: 600; }
.steps li.is-done { border-top-color: var(--spot); color: var(--paper); }
.refund-note { margin: 0 0 1.8rem; padding: .9rem 1rem; border: 1px dashed var(--rule); color: var(--muted); }
.order-grid { display: grid; grid-template-columns: minmax(0,1fr) 19rem; gap: clamp(1.5rem,4vw,4rem); align-items: start; padding-bottom: 2rem; }
.items-table td:nth-child(2), .items-table th:nth-child(2) { width: 4rem; }
.items-table td:last-child, .items-table th:last-child { text-align: right; }
.totals { margin: 1rem 0 0 auto; max-width: 20rem; display: grid; gap: .35rem; }
.totals div { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); }
.totals dt, .totals dd { margin: 0; }
.totals .total { color: var(--paper); font-weight: 600; border-top: 1px solid var(--rule); padding-top: .5rem; margin-top: .2rem; }
.settings { width: min(40rem, 100%); padding-bottom: 3rem; }
.settings-out { margin-top: 2.2rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.settings-out h2 { font-size: clamp(1.6rem,2.4vw,2.2rem); margin-bottom: .3rem; }
@media (prefers-reduced-motion: no-preference) {
  .rise-in { animation: rise .5s ease both; }
}
@media (max-width: 780px) {
  .account-grid, .order-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .orders-table:not(.items-table) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .orders-table:not(.items-table), .orders-table:not(.items-table) tbody, .orders-table:not(.items-table) tr, .orders-table:not(.items-table) td { display: block; width: 100%; }
  .orders-table:not(.items-table) tr { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
  .orders-table:not(.items-table) td { border: 0; padding: .2rem 0; display: grid; grid-template-columns: 5.5rem 1fr; gap: .5rem; }
  .orders-table:not(.items-table) td::before { content: attr(data-label); color: var(--muted); font-weight: 600; }
  nav .acct { min-height: 44px; }
}
.status-cell { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; }
.status-cell .status { margin: 0; }
