/* Iron Key Commerce public site. Approved v0 Concept A design: warm white, warm gray, charcoal, gold.
   Tokens and spacing follow the approved concept; do not restyle without Kim. */
:root {
  --bg: #faf9f6; --band: #f0efeb; --photo: #f5f3ee; --photo-2: #e5e3de; --photo-3: #eeece7;
  --line: #dfddd7; --input-line: #c9c6be; --text: #292a29; --muted: #65645f; --faint: #8a8881;
  --gold: #b08a2e; --gold-tint: #f4eddb; --error: #9b3d2e; --white: #ffffff;
  --wrap: 1152px; --narrow: 768px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: var(--narrow); }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.muted { color: var(--muted); }
.link { font-size: 14px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.link.gold { color: var(--gold); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; background: var(--gold); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; border: 0; border-radius: 2px; cursor: pointer; font-family: inherit; }
.btn:hover { background: #a07c27; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.ghost { background: var(--white); color: var(--text); border: 1px solid var(--input-line); }
.btn.ghost:hover { background: var(--band); }
.preview-flag { background: var(--gold-tint); border-bottom: 1px solid #e8dcb8; color: #6f5a22; font-size: 12px; text-align: center; padding: 6px 12px; }
.ph-note { display: inline-block; border: 1px dashed #c9b27a; color: #7a6428; background: var(--gold-tint); border-radius: 2px; padding: 0 6px; font-size: 12px; }

/* header */
.hdr { border-bottom: 1px solid var(--line); background: var(--bg); position: relative; }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { line-height: 0; }
.logo img { height: 40px; width: auto; }
.nav { display: none; align-items: center; gap: 28px; font-size: 13px; color: var(--muted); }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.hdr .right { display: flex; align-items: center; gap: 8px; }
.mob-sell { min-height: 0; padding: 8px 12px; font-size: 12px; }
.menu-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--input-line); background: none; font-size: 18px; line-height: 1; color: var(--text); cursor: pointer; }
.nav.open-menu { display: flex; flex-direction: column; align-items: stretch; gap: 16px; border-top: 1px solid var(--line); padding: 16px 20px; font-size: 14px; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); z-index: 5; }
@media (min-width: 1024px) {
  .hdr .wrap { height: 82px; }
  .logo img { height: 44px; }
  .nav { display: flex; }
  .hdr .right { display: none; }
}
@media (min-width: 640px) { .wrap { padding: 0 32px; } }

/* home: opening */
.open { padding: 16px 0 28px; }
.open .grid { display: grid; gap: 20px; }
.open .txt { display: flex; flex-direction: column; justify-content: center; padding: 4px 0; }
.open .eyebrow { margin-bottom: 12px; }
.open h1 { max-width: 520px; font-size: 2.15rem; line-height: 1.02; letter-spacing: -.045em; }
.open .lede { margin-top: 12px; max-width: 420px; font-size: 15px; line-height: 24px; color: var(--muted); }
.open .actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.open .hero-ph { position: relative; height: 218px; overflow: hidden; background: var(--photo); }
.open .hero-ph img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.32); }
@media (min-width: 640px) {
  .open { padding: 28px 0 40px; }
  .open .txt { padding: 20px 0; }
  .open h1 { font-size: 3rem; }
  .open .hero-ph { height: 360px; }
  .open .hero-ph img { transform: scale(1.22); }
}
@media (min-width: 1024px) {
  .open .grid { grid-template-columns: .82fr 1.18fr; align-items: stretch; gap: 32px; }
  .open .txt { padding: 32px 0; }
  .open .hero-ph { height: 410px; }
}

/* home: what we buy */
.buy { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--band); padding: 28px 0; }
.buy h2 { font-size: 24px; letter-spacing: -.025em; margin-bottom: 20px; }
.buy .cards { display: grid; gap: 16px; }
.card { background: var(--bg); }
.card .ph { height: 160px; background: var(--photo-2); }
.card .ph img { width: 100%; height: 100%; object-fit: contain; }
.card .txt { padding: 16px; }
.card h3 { font-size: 20px; }
.card h3 a { text-decoration: none; }
.card p { margin-top: 8px; font-size: 14px; line-height: 24px; color: var(--muted); }
.card .link { display: inline-block; margin-top: 16px; text-decoration-color: currentColor; }
@media (min-width: 640px) { .buy { padding: 36px 0; } .buy h2 { font-size: 30px; } .card .ph { height: 208px; } .card .txt { padding: 20px; } }
@media (min-width: 768px) { .buy .cards { grid-template-columns: 1fr 1fr; } }

/* home: inventory */
.inv { padding: 32px 0; }
.inv .top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.inv .top .link { white-space: nowrap; }
.inv .eyebrow { margin-bottom: 8px; }
.inv h2 { font-size: 24px; letter-spacing: -.025em; }
.items { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 12px; }
.it { text-decoration: none; display: block; }
.it .ph { aspect-ratio: 1.18; background: var(--photo-3); position: relative; overflow: hidden; }
.it .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.it .t { margin-top: 12px; font-size: 14px; font-weight: 600; line-height: 20px; }
.it .p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.it .b { margin-top: 12px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.it .b + .t { margin-top: 4px; }
@media (min-width: 640px) { .inv { padding: 40px 0; } .inv h2 { font-size: 30px; } .items { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* footer */
.ftr { border-top: 1px solid var(--line); background: var(--band); }
.ftr .wrap { display: flex; flex-direction: column; gap: 20px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
.ftr .brand { display: flex; flex-direction: column; gap: 8px; }
.ftr .brand img { height: 28px; width: auto; align-self: flex-start; }
.ftr .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ftr .links a { text-decoration: none; }
.ftr .links a.u { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 640px) { .ftr .wrap { flex-direction: row; align-items: center; justify-content: space-between; } }

/* inner pages (sell, shop, item, contact, privacy) */
.page { padding: 32px 0; }
.page .head { max-width: 576px; }
.page .head h1 { margin-top: 12px; font-size: 30px; letter-spacing: -.035em; }
.page .head .lede { margin-top: 12px; font-size: 15px; line-height: 24px; color: var(--muted); }
.page h2 { font-size: 22px; letter-spacing: -.025em; margin-top: 36px; }
.page h2 + p, .page h2 + ul { margin-top: 10px; }
.page ul.plain { list-style: none; margin: 0; padding: 0; }
.page ul.plain li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.page ul.plain li:last-child { border-bottom: 0; }
.page p.body { font-size: 15px; line-height: 24px; color: var(--muted); }
.crumbs { font-size: 12px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs span { margin: 0 6px; color: var(--faint); }
.backlink { font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 640px) { .page { padding: 48px 0; } .page .head h1 { font-size: 36px; } }

/* sell pages: content sections in the band, form on the warm white */
.sellinfo { border-top: 1px solid var(--line); background: var(--band); padding: 28px 0; }
.sellinfo .grid { display: grid; gap: 24px; }
.sellinfo h2 { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.sellinfo ul { list-style: none; margin: 0; padding: 0; }
.sellinfo li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 22px; }
.sellinfo li:last-child { border-bottom: 0; }
.sellinfo li b { font-weight: 600; }
.sellinfo .steps li { padding-left: 22px; position: relative; counter-increment: s; }
.sellinfo .steps { counter-reset: s; }
.sellinfo .steps li::before { content: counter(s); position: absolute; left: 0; top: 6px; color: var(--gold); font-weight: 600; font-size: 13px; }
.sellinfo p.note { margin-top: 10px; font-size: 13px; line-height: 20px; color: var(--muted); }
@media (min-width: 640px) { .sellinfo { padding: 36px 0; } }
@media (min-width: 900px) { .sellinfo .grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; } }

.faq { padding: 8px 0 40px; }
.faq h2 { font-size: 22px; letter-spacing: -.025em; margin-bottom: 8px; }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.faq details p { margin-top: 8px; font-size: 14px; line-height: 22px; color: var(--muted); }

/* the seller form (v0 design) */
.form { margin-top: 32px; display: flex; flex-direction: column; gap: 28px; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend, .form .lbl { font-size: 14px; font-weight: 600; padding: 0; }
.form .req { color: var(--gold); }
.form .opt { font-weight: 400; color: var(--muted); }
.form .choices { margin-top: 12px; display: grid; gap: 8px; }
.form .choice { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border: 1px solid var(--input-line); background: var(--white); font-size: 14px; cursor: pointer; }
.form .choice input { margin: 0 12px 0 0; accent-color: var(--gold); }
.form .choice.on { border-color: var(--gold); background: var(--gold-tint); }
.form .choice.consent { min-height: 0; padding: 12px 16px; align-items: flex-start; font-size: 13px; line-height: 20px; color: var(--muted); }
.form .choice.consent input { margin-top: 3px; }
.form .field { display: flex; flex-direction: column; }
.form .field .lbl { display: block; }
.form .field .lbl.row { display: flex; align-items: baseline; justify-content: space-between; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form textarea { margin-top: 12px; display: block; width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--input-line); background: var(--white); font: inherit; font-size: 16px; color: var(--text); border-radius: 0; outline: none; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--gold); }
.form ::placeholder { color: var(--faint); }
.form .two { display: grid; gap: 28px; }
.form .drop { margin-top: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 112px; padding: 0 16px; text-align: center; border: 1px dashed var(--gold); background: var(--gold-tint); cursor: pointer; }
.form .drop b { font-size: 14px; font-weight: 600; }
.form .drop small { margin-top: 4px; font-size: 12px; color: var(--muted); }
.form .count { font-size: 12px; color: var(--muted); }
.form .thumbs { margin-top: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.form .thumbs:empty { display: none; }
.form .thumbs div { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--photo-3); }
.form .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.form .thumbs button { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--text); color: #fff; border: 0; font-size: 18px; cursor: pointer; }
.form .err { margin-top: 12px; font-size: 14px; color: var(--error); }
.form .err:empty { display: none; }
.form .fine { font-size: 12px; line-height: 20px; color: var(--muted); }
.form .fine a { color: inherit; }
.form .hp { position: absolute; left: -9999px; }
.form .send { width: 100%; padding: 0 24px; }
.form .status { font-size: 14px; color: var(--muted); }
.form .status:empty { display: none; }
@media (min-width: 640px) { .form .choices { grid-template-columns: repeat(3, 1fr); } .form .two { grid-template-columns: 1fr 1fr; } .form .send { width: auto; } }

.done { margin-top: 64px; max-width: 576px; border-top: 1px solid var(--line); padding-top: 32px; }
.done h1 { margin-top: 12px; font-size: 30px; letter-spacing: -.035em; }
.done p { margin-top: 16px; font-size: 15px; line-height: 24px; color: var(--muted); }
.done .btn { margin-top: 28px; }
@media (min-width: 640px) { .done h1 { font-size: 36px; } }

/* shop */
.shop-tools { margin-top: 24px; display: grid; gap: 10px; }
.shop-tools input, .shop-tools select { min-height: 44px; padding: 0 14px; border: 1px solid var(--input-line); background: var(--white); font: inherit; font-size: 15px; color: var(--text); border-radius: 0; width: 100%; }
.shop-tools input:focus, .shop-tools select:focus { outline: none; border-color: var(--gold); }
.types { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; }
.types a { text-decoration: none; color: var(--muted); padding-bottom: 6px; border-bottom: 2px solid transparent; white-space: nowrap; }
.types a.on { color: var(--text); border-color: var(--gold); font-weight: 600; }
.chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font: inherit; font-size: 13px; padding: 6px 12px; border: 1px solid var(--input-line); background: var(--white); cursor: pointer; color: var(--text); }
.chips button.on { background: var(--text); color: #fff; border-color: var(--text); }
.count { margin-top: 10px; font-size: 13px; color: var(--muted); }
.grid-shop { margin-top: 16px; }
.it[hidden] { display: none; }
.nophoto { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--faint); font-size: 13px; }
.it .q { font-weight: 400; color: var(--faint); }
@media (min-width: 640px) { .shop-tools { grid-template-columns: 1fr 200px 200px; } }

/* item */
.item { margin-top: 20px; display: grid; gap: 20px; }
.item .ph { aspect-ratio: 1.18; background: var(--photo-3); position: relative; overflow: hidden; }
.item .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.item .thumbs { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.item .thumbs button { width: 64px; height: 64px; padding: 0; border: 1px solid var(--line); background: var(--photo-3); cursor: pointer; overflow: hidden; }
.item .thumbs button.on { border-color: var(--gold); }
.item .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.item .b { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.item h1 { margin-top: 8px; font-size: 24px; letter-spacing: -.03em; line-height: 1.15; }
.item .price { margin-top: 12px; font-size: 24px; font-weight: 600; }
.item .facts { margin-top: 6px; font-size: 13px; color: var(--muted); }
.item .desc { margin-top: 14px; font-size: 15px; line-height: 24px; color: var(--muted); }
.item .buy { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.item .note { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--muted); }
.item .pts { margin: 20px 0 0; padding-left: 18px; font-size: 14px; line-height: 22px; color: var(--muted); }
@media (min-width: 900px) { .item { grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; } .item h1 { font-size: 28px; } }

/* contact, privacy */
.contact { display: grid; grid-template-columns: 90px 1fr; gap: 8px 12px; margin-top: 16px; font-size: 15px; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; }
