:root {
  --ink: #0b0b0b;
  --muted: #6b6b6b;
  --line: #e7e7e7;
  --ghost: #ececec;
  --paper: #ffffff;
  --gold: #e3a254;
  --gold-deep: #c9853a;
  --night: #0c0c0c;
  --script: "WindSong", cursive;
  --black: "Pirata One", serif;
  --sans: "Archivo", Arial, sans-serif;
  --hdr: 64px;
  --tile: #f1f1f1;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 13px/1.5 var(--sans);
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  height: var(--hdr);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 16px;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.hdr.scrolled { border-bottom-color: var(--line); }
.hdr-right { justify-self: end; display: flex; gap: 4px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; position: relative; transition: background .2s; }
.icon-btn:hover { background: #f3f3f3; }
.logo {
  font: 500 52px/1 var(--script);
  padding: 6px 18px 0;
  margin-top: -6px;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .hdr { padding: 0 8px; }
  .hdr-right { gap: 0; }
  .logo { font-size: 38px; padding: 6px 4px 0; }
  .hero .hero-script { font-size: min(84px, 23vw); }
}
.badge {
  position: absolute; top: 4px; right: 2px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--ink); color: #fff;
  font: 600 10px/17px var(--sans); text-align: center;
}
.badge.pop { animation: pop .4s; }
@keyframes pop { 50% { transform: scale(1.4); } }

/* ---------- Script reveal (writes itself in) ---------- */
/* The clip box is much bigger than the line: WindSong's loops (the G, the y) reach far outside it */
.write { display: inline-block; clip-path: inset(-60% 100% -100% -20%); animation: write 2.2s cubic-bezier(.6,.05,.3,1) forwards; }
.write.d2 { animation-delay: .9s; }
@keyframes write { to { clip-path: inset(-60% -20% -100% -20%); } }
@media (prefers-reduced-motion: reduce) { .write { animation: none; clip-path: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* svh = the screen height with browser bars showing, so nothing is ever pushed off the bottom */
  height: calc(100vh - var(--hdr));
  height: calc(100svh - var(--hdr));
  display: grid; place-items: center;
  overflow: hidden;
  text-align: center;
  padding: 16px;
}
/* Home is exactly one screen: no page scroll, no footer */
body.home { overflow: hidden; height: 100vh; height: 100svh; }
body.home .ftr { display: none; }
.hero-terms {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: calc(26px + var(--safe-b));
  color: #666; font-size: 14px; white-space: nowrap;
}
.hero-terms:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 600px) { .hero-terms { bottom: calc(92px + var(--safe-b)); } }
.hero-mark {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none; user-select: none;
}
.hero-script {
  font: 400 clamp(120px, 24vw, 340px)/.8 var(--script);
  color: var(--ghost);
  white-space: nowrap;
  padding: 0 .2em;
}
.hero-slogan {
  font: italic 900 clamp(38px, 9vw, 120px)/.9 var(--sans);
  letter-spacing: -.03em;
  color: var(--ghost);
  text-transform: uppercase;
  margin-top: -.1em;
  white-space: nowrap;
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-est { font: 400 22px/1 var(--black); color: var(--gold-deep); letter-spacing: .04em; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 44px;
  border-radius: 999px;
  font: 500 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn-pill { background: #fff; box-shadow: 0 6px 30px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04); }
.btn-pill:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; width: 100%; border-radius: 6px; }
.btn-dark:hover { background: #2a2a2a; }
.btn-line { border: 1px solid var(--ink); width: 100%; border-radius: 6px; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: .35; pointer-events: none; }

/* ---------- Marquee ---------- */
.marquee { background: var(--night); color: var(--gold); overflow: hidden; white-space: nowrap; border-block: 1px solid #222; }
.marquee-track { display: inline-flex; animation: slide 28s linear infinite; }
.marquee span { padding: 10px 26px; font: 400 34px/1.2 var(--script); }
.marquee span.bl { font: 400 18px/2.3 var(--black); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.sec { padding: 56px 16px; max-width: 1280px; margin: 0 auto; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-title { margin: 0; font: 400 46px/1 var(--script); padding-top: 6px; }
.sec-link { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid; padding-bottom: 2px; }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 10px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 40px 20px; } .grid.two { grid-template-columns: repeat(2, 1fr); max-width: 980px; margin: 0 auto; } }
.card { display: block; }
.card-img { position: relative; aspect-ratio: 1; background: var(--tile); overflow: hidden; border-radius: 4px; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 7%; filter: drop-shadow(0 8px 14px rgba(0,0,0,.12)); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-img img { transform: scale(1.06); }
.card-tag { position: absolute; top: 8px; left: 8px; background: var(--ink); color: #fff; font-size: 9.5px; letter-spacing: .14em; padding: 4px 8px; text-transform: uppercase; }
.card-quick {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  height: 38px; border-radius: 999px; background: rgba(255,255,255,.95); box-shadow: 0 2px 12px rgba(0,0,0,.1);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: .25s;
}
.card:hover .card-quick, .card-quick:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .card-quick { display: none; } }
.card-name { margin: 12px 0 2px; text-transform: uppercase; font-size: 12.5px; }
.card-price { color: var(--ink); font-size: 12.5px; }

/* ---------- Lookbook band ---------- */
.look { background: var(--night); color: #fff; overflow: hidden; }
.look-inner { max-width: 1280px; margin: 0 auto; display: grid; gap: 0; }
@media (min-width: 900px) { .look-inner { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.look-copy { padding: 64px 24px; }
.look-script { font: 400 min(12.5vw, 76px)/1 var(--script); color: var(--gold); padding: .1em 0; white-space: nowrap; }
@media (min-width: 900px) { .look-script { font-size: clamp(48px, 5.4vw, 80px); } }
.look-est { font: 400 26px/1 var(--black); color: var(--gold); margin: 18px 0 24px; }
.look p { color: #b9b9b9; max-width: 40ch; font-size: 14px; }
.look .btn-pill { background: var(--gold); color: var(--night); box-shadow: none; margin-top: 18px; }
.look .btn-pill:hover { background: #fff; }
.look-img { position: relative; aspect-ratio: 1; padding: 6%; display: block; }
.look-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(0,0,0,.6)); transform: rotate(-3deg); transition: transform .5s; animation: float 6s ease-in-out infinite; }
.look-img:hover img { transform: rotate(0) scale(1.03); }
@keyframes float { 50% { translate: 0 -10px; } }

/* ---------- Collection page ---------- */
.banner { position: relative; padding: 18px 16px 10px; display: grid; place-items: center; overflow: hidden; }
.banner .hero-mark { position: static; }
.banner .hero-script { font-size: clamp(76px, 11vw, 160px); line-height: 1; padding-bottom: .05em; }
.banner .hero-slogan { font-size: clamp(16px, 2.6vw, 34px); color: #dedede; margin-top: -.15em; }
.toolbar { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 18px; max-width: 1280px; margin: 0 auto; }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; padding: 8px 0; }
.filter-btn svg { width: 18px; height: 18px; }
.count { color: var(--muted); font-size: 12px; }
.chips { display: flex; gap: 8px; padding: 0 16px 18px; max-width: 1280px; margin: 0 auto; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.shop-grid { padding: 0 16px 40px; max-width: 1280px; margin: 0 auto; }
.empty { text-align: center; padding: 60px 16px; color: var(--muted); }

/* ---------- Product page ---------- */
/* ---------- Product page: photo + name, price, size, Preorder ---------- */
.pdp { max-width: 1180px; margin: 0 auto; display: grid; gap: 24px; padding: 0 0 48px; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; min-height: calc(100svh - var(--hdr)); padding: 24px 32px; }
}
.pdp-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--tile); cursor: zoom-in; }
@media (min-width: 900px) { .pdp-media { border-radius: 6px; } }
.pdp-media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; filter: drop-shadow(0 12px 22px rgba(0,0,0,.14)); transition: transform .3s; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.pdp-media.zoom img { transform: scale(2.1); }
.pdp-media.zoom { cursor: zoom-out; }
.thumbs { display: flex; justify-content: center; gap: 10px; padding: 14px 16px 0; }
.thumb { width: 58px; height: 68px; border: 1px solid var(--line); padding: 3px; background: #fff; }
.thumb.on { border-color: var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-info { display: grid; gap: 18px; align-content: center; padding: 0 16px; }
@media (min-width: 900px) { .pdp-info { max-width: 400px; padding: 0; } }
.pdp-title { font: 500 clamp(28px, 5vw, 40px)/1.05 var(--sans); margin: 0; text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; }
.pdp-price { font-size: 20px; margin: 0; font-variant-numeric: tabular-nums; }
.pdp-sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size { min-width: 54px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; transition: .15s; }
.size:hover { border-color: var(--ink); }
.size.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.size.out { text-decoration: line-through; color: #bbb; pointer-events: none; }
.btn.pdp-cta { height: 56px; border-radius: 999px; font-size: 14px; letter-spacing: .16em; }
.acc { border-top: 1px solid var(--line); margin-top: 26px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 16px 0; display: flex; justify-content: space-between; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 16px; line-height: 1; transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc-body { padding: 0 0 18px; color: #444; font-size: 13px; }
.acc ul { margin: 0; padding-left: 18px; }

/* ---------- About ---------- */
.about { max-width: 760px; margin: 0 auto; padding: 60px 16px 80px; text-align: center; }
.about .look-script { color: var(--ink); }
.about p { font-size: 15px; color: #333; line-height: 1.7; }
.about .look-est { color: var(--gold-deep); }

/* ---------- Drawers ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 40; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 50;
  width: min(420px, 100vw);
  background: #fff; display: flex; flex-direction: column;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.drawer-left { left: 0; transform: translateX(-100%); }
.drawer-right { right: 0; transform: translateX(100%); }
.drawer.on { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); min-height: var(--hdr); }
.drawer-title { margin: 0; font: 500 24px/1 var(--sans); text-transform: uppercase; letter-spacing: -.01em; }
.drawer-logo { font: 500 44px/1 var(--script); padding-top: 6px; }
.menu-links { display: flex; flex-direction: column; padding: 18px 20px; }
.menu-links a { font: 500 22px/1 var(--sans); text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid #f2f2f2; letter-spacing: -.01em; }
.menu-links a:hover { padding-left: 6px; transition: padding .2s; }
.menu-foot { margin-top: auto; padding: 24px 20px; font: 400 30px/1 var(--script); color: var(--gold-deep); }

.cart-body { flex: 1; overflow: auto; padding: 8px 20px; }
.cart-empty { text-align: center; padding: 60px 0; }
.cart-empty .look-script { font-size: 72px; color: var(--ghost); }
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid #f2f2f2; }
.line img { width: 72px; height: 72px; object-fit: contain; background: var(--tile); border-radius: 4px; padding: 4px; }
.line-name { text-transform: uppercase; font-size: 12px; margin: 2px 0; }
.line-meta { color: var(--muted); font-size: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; height: 34px; margin-top: 10px; }
.qty button { width: 32px; height: 100%; font-size: 15px; }
.qty input { width: 28px; padding: 0; border: 0; background: none; text-align: center; font: inherit; font-size: 13px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.line-right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; white-space: nowrap; font-size: 13px; }
.line-rm { font-size: 11px; color: var(--muted); text-decoration: underline; }
.cart-foot { border-top: 1px solid var(--line); padding: 18px 20px 22px; display: grid; gap: 10px; }
.cart-foot:empty { display: none; }
.sub { display: flex; justify-content: space-between; font-size: 14px; text-transform: uppercase; }
.cart-note { color: var(--muted); font-size: 11.5px; margin: 0; }

.filter-body { flex: 1; overflow: auto; padding: 8px 20px 20px; }
.f-group { border-bottom: 1px solid var(--line); padding: 18px 0; }
.f-group h3 { margin: 0 0 12px; font: 500 15px/1 var(--sans); }
.f-check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; cursor: pointer; }
.f-check input { width: 18px; height: 18px; accent-color: var(--ink); }
.f-check .n { color: var(--muted); margin-left: auto; }
.f-price { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.f-price label { position: relative; }
.f-price label span { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.f-price input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 6px; padding: 0 10px 0 28px; font: inherit; }
.f-hint { color: var(--muted); font-size: 12px; margin: 8px 0 0; }
.f-sort { display: flex; justify-content: space-between; align-items: center; }
.f-sort select { border: 0; font: inherit; background: none; text-align: right; cursor: pointer; }
.f-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }

/* ---------- Modal / toast / chat ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(255,255,255,.7); backdrop-filter: blur(6px); animation: fade .35s; }
.modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.modal-card { position: relative; width: min(440px, 100%); background: #fff; border-radius: 16px; padding: 34px 26px 24px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.15); }
.modal-x { position: absolute; top: 10px; right: 10px; }
.modal-script { font: 400 80px/.8 var(--script); color: var(--ghost); padding-top: 10px; }
.modal-card h2 { margin: 0 0 4px; font: 500 30px/1.1 var(--sans); }
.modal-card p { margin: 0 0 20px; color: var(--muted); }
.modal-card form { display: grid; gap: 10px; }
.modal-card input { height: 52px; border: 1px solid var(--line); border-radius: 6px; padding: 0 14px; font: inherit; font-size: 14px; }
.modal-card .fine { font-size: 11px; margin: 14px 0 0; }

.toast { position: fixed; left: 16px; bottom: 18px; z-index: 35; background: #fff; border-radius: 12px; padding: 14px 18px; box-shadow: 0 6px 24px rgba(0,0,0,.14); font: 700 17px/1 var(--sans); display: flex; gap: 14px; align-items: center; animation: up .4s; }
.toast[hidden] { display: none; }
.toast-x { font-size: 24px; font-weight: 400; color: #555; }
@keyframes up { from { transform: translateY(20px); opacity: 0; } }
.chat { position: fixed; right: 16px; bottom: 18px; z-index: 35; display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 22px 0 18px; border-radius: 26px; background: #4a4a4a; color: #fff; font: 500 17px/1 var(--sans); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.chat:hover { background: var(--ink); }
.chat-panel { position: fixed; right: 16px; bottom: 82px; z-index: 36; width: min(320px, calc(100vw - 32px)); background: #fff; border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.18); padding: 0 18px 18px; animation: up .3s; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; font: 500 14px/1 var(--sans); padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0 -4px 12px 0; }
.chat-panel p { margin: 0 0 14px; color: #444; }
.chat-panel a { display: block; text-align: center; border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin-top: 8px; text-transform: uppercase; font-size: 11.5px; letter-spacing: .1em; }
.chat-panel a:hover { border-color: var(--ink); }

.flash { position: fixed; top: calc(var(--hdr) + 10px); left: 50%; transform: translate(-50%, -20px); opacity: 0; z-index: 70; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; transition: .3s; white-space: nowrap; }
.flash.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.ftr { border-top: 1px solid var(--line); text-align: center; padding: 48px 16px 100px; }
.ftr-script { font: 400 min(13vw, 54px)/1 var(--script); padding-top: 8px; white-space: nowrap; }
.ftr-est { font: 400 20px/1 var(--black); color: var(--gold-deep); margin: 16px 0 20px; }
.ftr-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; color: #555; font-size: 13px; }
.ftr-links a:hover { color: var(--ink); text-decoration: underline; }
.ftr-copy { color: #999; font-size: 11px; margin-top: 18px; }

/* ---------- Mobile ---------- */
@media (max-width: 899px) {
  html { -webkit-tap-highlight-color: transparent; }

  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: 0; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }

  .sec { padding: 40px 16px; }
  .sec-title { font-size: 40px; }
  .look-copy { padding: 48px 20px 8px; }
  .look-img { margin: 0 8% 24px; }

  .modal-card input, .f-price input { font-size: 16px; }

  .chat { width: 52px; padding: 0; justify-content: center; border-radius: 50%; }
  .chat .chat-t { display: none; }
  .chat, .toast { bottom: calc(14px + var(--safe-b)); transition: opacity .25s, transform .25s; }
  .toast { font-size: 15px; padding: 12px 14px; }

  .f-actions { position: sticky; bottom: 0; background: #fff; padding: 12px 0 calc(4px + var(--safe-b)); margin-top: 12px; }
  .cart-foot { padding-bottom: calc(22px + var(--safe-b)); }
  .ftr { padding-bottom: calc(96px + var(--safe-b)); }
}

/* ---------- Loading / checkout ---------- */
.loading { min-height: 60svh; display: grid; place-items: center; font: 400 96px/1 var(--script); color: var(--ghost); }
.card-tag.out { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.co-form { display: grid; gap: 6px; padding: 12px 0 20px; }
.co-lead { margin: 0 0 10px; color: #444; font-size: 13px; }
.co-form label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-top: 8px; }
.co-form .opt { text-transform: none; letter-spacing: 0; color: var(--muted); }
.co-form input, .co-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 12px; font: inherit; font-size: 16px; }
.co-form input:focus, .co-form textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
.co-err { margin: 8px 0 0; color: #b42318; font-size: 13px; }
.co-form .co-agree { display: flex; gap: 10px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 13px; margin-top: 14px; cursor: pointer; }
.co-agree input { width: 18px; height: 18px; flex: none; margin: 1px 0 0; accent-color: var(--ink); }
.co-done { display: grid; gap: 12px; justify-items: center; }
.co-done p { margin: 0; max-width: 32ch; }
.co-done .look-script { font-size: 64px; color: var(--ink); }
/* Preorders */
.pre-code { display: grid; justify-items: center; gap: 8px; width: 100%; padding: 16px; border: 1px dashed var(--gold-deep); border-radius: 10px; background: #fffaf2; }
.pre-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.code { font: 700 26px/1 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .08em; user-select: all; }
.btn.btn-sm { height: 36px; padding: 0 16px; width: auto; font-size: 11px; }
.my-pre { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.my-pre h3 { margin: 0 0 8px; font: 500 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.my-pre-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f2f2f2; font-size: 12.5px; color: var(--muted); }
.my-pre-row .code { font-size: 14px; color: var(--ink); }
/* Account */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 48px; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 6px; color: var(--muted); }
.pw-eye:hover, .pw-eye[aria-pressed="true"] { color: var(--ink); }
.pw-eye svg { width: 20px; height: 20px; }
#acctBtn.signed-in::after { content: ""; position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-deep); box-shadow: 0 0 0 2px var(--paper); }
#accountBody .co-form .btn { margin-top: 14px; }
/* Account page */
.acct-page { max-width: 1080px; margin: 0 auto; padding: 32px 16px 64px; }
.acct-narrow { max-width: 420px; margin: 0 auto; }
.acct-title { margin: 8px 0 18px; font: 500 clamp(28px, 6vw, 40px)/1.1 var(--sans); text-transform: uppercase; letter-spacing: -.01em; }
.acct-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.acct-top .look-script { font: 400 clamp(52px, 10vw, 76px)/1 var(--script); color: var(--ink); padding-top: 6px; }
.btn.acct-admin { width: auto; border-radius: 999px; padding: 0 28px; }
.acct-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 860px) { .acct-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; } }
.acct-side { display: grid; gap: 16px; }
.acct-card { border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 20px; min-width: 0; }
.acct-card .acct-h { margin-top: 0; }
.acct-card .co-form { padding: 0; }
.acct-card .co-lead { margin-bottom: 4px; }
.acct-orders .btn-pill { margin-top: 4px; }
.btn.acct-signout { width: 100%; }
.acct-note { margin: 0 0 6px; padding: 10px 12px; border-radius: 8px; background: #fffaf2; border: 1px solid #f1dfc4; font-size: 13px; }
.acct-links { margin: 6px 0 0; text-align: center; }
.acct-links button, .acct-switch button { text-decoration: underline; font-size: 13px; }
.acct-switch { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.acct-hello { text-align: center; padding: 12px 0 18px; border-bottom: 1px solid var(--line); }
.acct-hello .look-script { font-size: 56px; color: var(--ink); line-height: 1.1; }
.acct-email { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.acct-h { margin: 20px 0 10px; font: 500 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.acct-muted { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
#accountBody > .btn-line { margin-top: 18px; }
.my-order { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; display: grid; gap: 8px; }
.mo-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mo-top .code { font-size: 16px; }
.mo-status { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: #fdf1dc; color: #9a5b00; }
.mo-status.done { background: #e7f4ec; color: #1f7a4a; }
.mo-items { font-size: 13px; text-transform: uppercase; }
.mo-foot { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.chat-email { margin: 10px 0 0; font-size: 12.5px; color: #444; }
.chat-email span { user-select: all; color: var(--ink); }

/* Page transition */
.page { animation: pagein .45s ease; }
@keyframes pagein { from { opacity: 0; transform: translateY(8px); } }
