/* Poke Trading Co. concept — shared design system for every concept page. */
:root {
  --cream: #f4efe6;
  --paper: #fbf8f2;
  --ink: #111;
  --soft: #5d5a54;
  --line: #e3ddd1;
  --gold: #c9a563;
  --gold-deep: #8a6a2f;
  --night: #0b0b0b;
  --night-text: #eeeae2;
  --night-muted: #b5b1a8;
  --font: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
body { -webkit-user-select: none; user-select: none; }
input, textarea, [contenteditable]:not([contenteditable="false"]) { -webkit-user-select: text; user-select: text; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; touch-action: manipulation; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html:has(.top.on-dark), html:has(.top.on-dark) body, html:has(dialog.detail[open]), body:has(dialog.detail[open]) { background-color: var(--night); }
html:has(dialog.detail[open]) .top { --ink: #eeeae2; --soft: #b5b1a8; background: #101214; color: var(--ink); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 8px; }
.dot { color: var(--gold); }
.shell { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; left: 16px; top: 16px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; clip-path: inset(50%); }
.skip:focus-visible { clip-path: none; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: #fbf8f2d1; backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid #0000000d; }
.top .shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
/* Same crest lockup as the live site (styles.css .brand-lockup). */
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; font-weight: 600; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.emblem { position: relative; display: block; flex: none; width: 44px; height: 44px; border-radius: 50%; clip-path: circle(50%); overflow: hidden; }
/* Centre the circular crest around (343.5, 366.5) in the 687×859 artwork. */
.emblem img { position: absolute; max-width: none; width: 156.14%; height: auto; left: 50%; top: 50%; transform: translate(-50%, -42.666%); }
.links { display: flex; gap: 40px; font-size: 14px; font-weight: 500; }
.links a { padding: 8px 0; color: #2a2825; transition: color .15s; }
.links a:hover { color: var(--gold-deep); }
.actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: #0000000a; }
.icon-btn svg { width: 24px; height: 24px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; min-width: 220px; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: #fffdf9; box-shadow: 0 20px 50px #0000001f; }
.menu-panel a { display: block; padding: 12px 14px; border-radius: 12px; font-weight: 500; }
.menu-panel a:hover { background: var(--cream); }

/* Shared hero type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border: 1px solid #c9a5634d; border-radius: 999px; background: #fffaf0b3; color: var(--gold-deep); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #c9a56326; }
h1 { margin-top: 22px; font-size: clamp(52px, 7.6vw, 108px); font-weight: 800; line-height: .9; letter-spacing: -.055em; }
.lede { margin-top: 26px; color: var(--soft); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; }
.lede span { display: block; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; transition: transform .15s, background .15s; }
.pill:hover { background: #2a2721; transform: translateY(-1px); }
.pill:active { transform: scale(.98); }
.pill svg { width: 18px; height: 18px; transition: transform .15s; }
.pill:hover svg { transform: translateX(3px); }
.ghost { font-weight: 600; font-size: 15px; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }

/* Favorites */
.section { padding-block: clamp(56px, 8vw, 96px); }
.head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; line-height: 1; letter-spacing: -.045em; }
.more { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 14px; font-weight: 600; }
.more svg { width: 18px; height: 18px; transition: transform .15s; }
.more:hover svg { transform: translateX(3px); }
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.card { flex: 0 0 calc((100% - 54px) / 4); scroll-snap-align: start; }
.card-stage img.photo { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 84%; max-height: 84%; border-radius: 6px; object-fit: contain; filter: drop-shadow(0 16px 18px #00000038); }
.head-actions { display: flex; align-items: center; gap: 8px; }
.rail-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: opacity .2s, background .15s; }
.rail-arrow:hover { background: var(--cream); }
.rail-arrow:disabled { opacity: .35; cursor: default; }
.rail-arrow svg { width: 18px; height: 18px; }
.card-stage { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 4.5; overflow: hidden; border-radius: var(--radius); background: var(--tint, #ece4d6); isolation: isolate; }
.card-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 55% at 50% 38%, #ffffffa6, transparent 70%), linear-gradient(180deg, transparent 74%, #00000012 74.2%, #00000008); }
.card-stage img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 84%; max-height: 84%; object-fit: contain; filter: drop-shadow(0 22px 22px #00000038); transition: transform .45s var(--ease); }
.card:hover .card-stage img { transform: translateY(-8px) rotate(-1.5deg) scale(1.03); }
.tag { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 5px 10px; border-radius: 999px; background: #ffffffc7; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tag.tag-gem { display: grid; place-content: center; justify-items: center; width: 60px; height: 55px; padding: 7px 4px 15px; border-radius: 0; background: url('assets/concept/gem-clear.webp') center / contain no-repeat; color: #303b47; text-align: center; font-size: 7px; line-height: 1.1; letter-spacing: .02em; }
.tag-gem strong { font-size: 18px; font-weight: 500; letter-spacing: -.03em; }
.engraved-gem::before { content: ''; display: inline-block; width: 14px; height: 12px; margin-right: 6px; vertical-align: -1px; opacity: .75; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20' fill='none' stroke='%23c9a563' stroke-width='1'%3E%3Cpath d='M5 1h14l4 6-11 12L1 7zM1 7h22M5 1l3 6 4 12 4-12 3-6M8 7l4-6 4 6'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 1px 0 #000); }
.card-meta { display: flex; justify-content: space-between; gap: 12px; padding: 14px 4px 0; }
.card-meta h3 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.card-meta p { margin-top: 3px; color: var(--soft); font-size: 13px; }
.card-meta b { font-size: 15px; white-space: nowrap; }

/* Footer */
footer { border-top: 1px solid var(--line); }
footer .shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-block: 36px; color: var(--soft); font-size: 14px; }
footer strong { color: var(--ink); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a:hover { color: var(--ink); }


/* Header extras */
.links a[aria-current="page"], .menu-panel a[aria-current="page"] { color: var(--gold-deep); }
.bag-link { position: relative; }
.bag-count { position: absolute; top: 4px; right: 2px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #17120a; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.file-warning { position: fixed; inset: auto 12px 12px; z-index: 60; margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--gold); color: #17120a; font-weight: 600; font-size: 14px; text-align: center; }
.visually-hidden, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Inner page heading */
.page-hero { padding-block: clamp(40px, 7vw, 88px) clamp(28px, 4vw, 44px); }
.page-hero h1 { max-width: 14ch; font-family: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif; font-size: clamp(44px, 6.4vw, 88px); font-weight: 400; letter-spacing: -.035em; line-height: 1.02; }
.page-hero .lede { max-width: 560px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.pill-light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.pill-light:hover { background: var(--cream); }
.pill-gold { background: var(--gold); color: #17120a; }
.pill-gold:hover { background: #d8b674; }
.pill:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* Forms */
.panel-card { padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 30px 60px -40px #0000002e; }
.panel-card h2 { font-size: clamp(28px, 3.2vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0 0; padding: 0; border: 0; min-width: 0; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid label, .field-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.form-grid label span { color: var(--soft); font-weight: 400; }
input:not([type="range"], [type="checkbox"], [type="radio"], [type="file"]), select, textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); font: 16px/1.4 var(--font); transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 140px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px #c9a56333; }
button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
select { appearance: none; padding-right: 40px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d5a54' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.help { margin-top: 8px; color: var(--soft); font-size: 13px; }
.help a, .prose a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 12px 16px; border-radius: 14px; background: #fff7e6; color: #6f5524; font-size: 14px; }
.status { margin-top: 14px; font-size: 14px; font-weight: 600; }
.status[data-state="error"], .form-error { color: #a3361f; }
.steps-mini { display: flex; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 600; color: var(--soft); }
.steps-mini li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.steps-mini li[aria-current="step"] { border-color: var(--gold); background: #fffaf0; color: var(--gold-deep); }
.summary-box { margin-top: 18px; padding: 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); white-space: pre-wrap; font-size: 15px; }
.summary-box dl { display: grid; gap: 10px; margin: 0; }
.summary-box dt { color: var(--soft); font-size: 13px; }
.summary-box dd { margin: 2px 0 0; }

/* Dialogs (card detail, bag) */
dialog.sheet { width: min(1040px, calc(100% - 24px)); max-height: min(860px, calc(100dvh - 24px)); padding: 0; border: 0; border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 120px #0006; overflow: auto; overscroll-behavior: contain; }
dialog.sheet::backdrop { background: #0b0b0bb3; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog.sheet[open] { animation: sheet-in .35s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.sheet-close { position: sticky; top: 14px; float: right; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin: 14px 14px 0 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.sheet-close:hover { background: var(--cream); }

/* Form pages: intro beside the form */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(40px, 7vw, 88px); }
.split-intro { position: sticky; top: 100px; }
.split-intro h1 { font-family: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif; font-size: clamp(40px, 4.8vw, 68px); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; }
.side-links { display: grid; gap: 4px; margin: 28px 0 0; padding: 0; list-style: none; }
.side-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }
.side-links svg { width: 18px; height: 18px; color: var(--gold-deep); transition: transform .15s; }
.side-links a:hover svg { transform: translateX(3px); }
.steps { display: grid; gap: 18px; margin: 32px 0 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.steps b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fffaf0; border: 1px solid #c9a5634d; color: var(--gold-deep); font-size: 13px; }
.steps h2 { font-size: 20px; letter-spacing: -.02em; }
.steps p { margin-top: 4px; color: var(--soft); }
.panel-card > .notice { margin-top: 16px; }
.review h2 { margin-top: 6px; }
.review-actions { margin-top: 20px; }
/* Classes created by inquiry.mjs / consignment.mjs */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 15px var(--font); cursor: pointer; }
.button-secondary { border: 1px solid var(--line); background: #fff; color: var(--ink); }
[tabindex="-1"]:focus { outline: none; }
.accent-dot { color: var(--gold); }
.text-link { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.card-context { display: flex; gap: 16px; align-items: center; margin-top: 24px; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.card-context img { width: 64px; height: 90px; object-fit: contain; }
.inquiry-card-title { font-weight: 700; }
.inquiry-card-details p { margin-bottom: 4px; color: var(--soft); font-size: 14px; }
.inquiry-review-facts { display: grid; gap: 10px; margin: 0; }
.inquiry-review-facts dt { color: var(--soft); font-size: 13px; }
.inquiry-review-facts dd { margin: 2px 0 0; font-weight: 600; }
.summary-box h3 { margin-top: 16px; font-size: 15px; }
.inquiry-review-message { margin-top: 6px; white-space: pre-wrap; }

/* Info tiles (support) */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.info-tile { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.info-tile h2 { font-size: clamp(24px, 2.4vw, 30px); }
.info-tile p { margin: 12px 0 18px; color: #3b3935; line-height: 1.6; }
.info-tile .ghost { display: inline-block; }

/* Text pages */
.prose { max-width: 720px; padding-bottom: clamp(56px, 8vw, 96px); }
.prose h2 { margin-top: 44px; font-size: clamp(26px, 3vw, 34px); }
.prose p, .prose li { margin-top: 14px; color: #3b3935; font-size: 17px; line-height: 1.65; }
.prose ul { padding-left: 20px; }

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split-intro { position: static; }
  .info-grid { grid-template-columns: 1fr; }
  .links { display: none; }
  .menu { display: block; }
  .card { flex-basis: calc((100% - 18px) / 2.3); }
}
@media (max-width: 560px) {
  .top .shell { height: 60px; }
  .form-grid { grid-template-columns: 1fr; }
  .brand > span:last-child { font-size: 12px; }
  h1 { font-size: clamp(46px, 14.5vw, 64px); }
  .cta-row .pill { width: 100%; }
  .cta-row .ghost { margin-inline: auto; }
  .rail { display: flex; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .card { flex-basis: 68%; }
  .rail-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
