/* Tae's Imperial Gold — static site. Black and gold, Archivo. */
:root {
  --bg: #000;
  --panel: #0b0b0a;
  --fg: #f4f4f1;
  --muted: #9a9a94;
  --line: #242422;
  --line-2: #3a3a38;
  --gold: #d4af37;
  --gold-deep: #8a6a14;
  --btn-bg: #f4f4f1;
  --btn-fg: #111;
  --font: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.55 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
button { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.h2 { font-size: clamp(28px, 4.2vw, 48px); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; margin: 8px 0 0; }
.lede { color: var(--muted); max-width: 52ch; }
.skip { position: absolute; left: -999px; top: 0; background: var(--btn-bg); color: var(--btn-fg); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(0,0,0,.88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.hdr__brand { display: flex; align-items: center; gap: 12px; }
.hdr__brand img { width: 46px; height: auto; }
.hdr__name { font-weight: 700; letter-spacing: .14em; font-size: 13px; text-transform: uppercase; }
.hdr__nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.hdr__nav .btn { letter-spacing: .1em; }
@media (max-width: 720px) {
  .hdr__name { display: none; }
  .hdr__nav a.hide-sm { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--gold); border-color: var(--gold); color: #111; }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn--ghost:hover { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 12px; }
.btn--wide { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Hero */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(20px, 4vw, 56px); padding-top: clamp(24px, 6vw, 72px); padding-bottom: clamp(32px, 6vw, 72px); }
.hero__title { font-size: clamp(44px, 8vw, 104px); line-height: .92; font-weight: 700; letter-spacing: -.035em; margin: 14px 0 22px; }
.hero__title span { display: block; color: var(--gold); }
.hero__lines { list-style: none; padding: 0; margin: 0 0 28px; color: var(--muted); font-size: 15px; }
.hero__lines li { padding: 6px 0; border-top: 1px solid var(--line); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__img { position: relative; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--panel); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__tag { position: absolute; left: 14px; bottom: 14px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; background: rgba(0,0,0,.6); padding: 6px 10px; border-radius: 999px; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__img { aspect-ratio: 1 / 1; order: -1; }
}

/* Feature row */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.feat { padding: 22px var(--gut) 22px 0; }
.feat + .feat { padding-left: 20px; border-left: 1px solid var(--line); }
.feat b { display: block; font-size: 15px; }
.feat span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) {
  .feats { grid-template-columns: 1fr 1fr; }
  .feat:nth-child(3) { border-left: 0; padding-left: 0; }
  .feat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Sections */
.sec { padding: clamp(48px, 8vw, 96px) 0; border-bottom: 1px solid var(--line); }
.sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: 28px; }

/* Shop grid */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 13px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--fg); color: #111; border-color: var(--fg); }
.chip:hover { border-color: var(--gold); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 20px; }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; } }
.card[hidden] { display: none; }
.card__img { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--panel); border-radius: 4px; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card__img:hover img { transform: scale(1.03); }
.card__body { padding-top: 12px; }
.card__name { font-size: 15px; font-weight: 600; line-height: 1.3; }
.card__price { color: var(--muted); font-size: 14px; margin-top: 2px; }
.sw { display: flex; gap: 8px; margin-top: 10px; }
.sw button { width: 24px; height: 23px; padding: 0 0 7px; border: 0; background: none; position: relative; cursor: pointer; }
.sw button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.sw button[aria-pressed="true"]::after { background: #8c8c8c; }
.sw i { display: block; width: 14px; height: 14px; margin: 0 auto; }
.fin-w { background: linear-gradient(135deg, #b9b9b9 0%, #e6e6e6 45%, #f7f7f7 53%, #c6c6c6 100%); }
.fin-y { background: linear-gradient(135deg, #d6b44c 0%, #f1df93 45%, #fbf3c2 53%, #dbbf65 100%); }
.fin-r { background: linear-gradient(135deg, #d99d85 0%, #efc1ab 45%, #f8d8c9 53%, #e1ab94 100%); }
.empty { color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; }
.step { padding: 20px 20px 4px 0; border-top: 1px solid var(--line-2); counter-increment: s; }
.step + .step { padding-left: 20px; }
.step::before { content: "0" counter(s); display: block; color: var(--gold); font-size: 13px; letter-spacing: .2em; margin-bottom: 10px; }
.step b { display: block; font-size: 18px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; gap: 0 20px; } .step + .step { padding-left: 0; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Finish cards */
.fins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fincard { border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.fincard--accent { border-color: var(--gold); }
.fincard__dot { width: 34px; height: 34px; border-radius: 50%; margin-bottom: 18px; }
.fincard h3 { margin: 0; font-size: 24px; }
.fincard .tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fincard p { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .fins { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* Order band */
.band { text-align: center; }
.band .h2 { margin-bottom: 12px; }
.band p { color: var(--muted); margin: 0 auto 24px; max-width: 56ch; }
.band .hero__cta { justify-content: center; }

/* Footer */
.ftr { padding: 48px 0 40px; color: var(--muted); font-size: 14px; }
.ftr__in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.ftr h4 { color: var(--fg); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 12px; font-weight: 600; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { padding: 3px 0; }
.ftr__brand img { width: 64px; margin-bottom: 12px; }
.ftr__legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; }
@media (max-width: 760px) { .ftr__in { grid-template-columns: 1fr; } }

/* Product page */
.crumbs { font-size: 13px; color: var(--muted); padding: 20px 0 0; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 60px); padding: 24px 0 64px; align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }
.gal { position: sticky; top: 88px; }
@media (max-width: 900px) { .gal { position: static; } }
.gal__main { aspect-ratio: 1 / 1; background: var(--panel); border-radius: 6px; overflow: hidden; }
.gal__main img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gal__thumbs button { width: 84px; aspect-ratio: 1 / 1; padding: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--panel); cursor: pointer; }
.gal__thumbs button[aria-pressed="true"] { border-color: var(--fg); }
.gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pi__type { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pi__title { font-size: clamp(30px, 4vw, 46px); line-height: 1.04; letter-spacing: -.02em; margin: 10px 0 12px; }
.pi__price { font-size: 24px; font-weight: 600; }
.pi__pieces { color: var(--muted); font-size: 14px; margin-top: 4px; }
.opt { border: 0; padding: 0; margin: 22px 0 0; }
.opt legend { display: flex; justify-content: space-between; width: 100%; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; padding: 0; }
.opt legend span:last-child { color: var(--muted); letter-spacing: .08em; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 44px; min-width: 56px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.pill[aria-pressed="true"] { background: var(--fg); color: #111; border-color: var(--fg); }
.pill:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.pill i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.order { margin-top: 28px; display: grid; gap: 10px; }
.order__note { font-size: 13px; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--fg); color: #111; padding: 12px 18px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60; max-width: calc(100% - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.pi__desc { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: #d6d6d0; }
.pi__desc p { margin: 0 0 12px; }
.facts { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts li span:first-child { color: var(--muted); }
.more { padding: 56px 0; border-top: 1px solid var(--line); }

/* Text pages */
.page { max-width: 760px; padding: 40px 0 80px; }
.page h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.02em; margin: 0 0 24px; }
.page h2 { font-size: 20px; margin: 36px 0 10px; }
.page p, .page li { color: #d6d6d0; }
