/* Layout: navy hero with fanned product cards, then a filterable shelf of real listing art, holiday band, help and contact. Brand cues (navy, gold underline, glasses mark, mono taglines) come from the shop's own product art. */
:root {
  --bg: #f4f5f9;
  --surface: #ffffff;
  --ink: #1b2a4e;
  --ink-soft: #4a5675;
  --line: #dde1ec;
  --navy: #1b2a4e;
  --navy-ink: #f4f5f9;
  --gold: #c9952e;
  --gold-ink: #1b2a4e;
  --green: #2e7d55;
  --chip: #e8ebf3;
  --shadow: 0 1px 2px rgba(27,42,78,.08), 0 8px 24px rgba(27,42,78,.08);
  --f-display: "Archivo Black", "Arial Black", Impact, system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1322; --surface: #161f36; --ink: #e9edf6; --ink-soft: #a9b3cb; --line: #26324f;
    --navy: #121c33; --navy-ink: #e9edf6; --gold: #e0b356; --gold-ink: #121c33; --green: #5fbf8c; --chip: #1f2a45;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1322; --surface: #161f36; --ink: #e9edf6; --ink-soft: #a9b3cb; --line: #26324f;
  --navy: #121c33; --navy-ink: #e9edf6; --gold: #e0b356; --gold-ink: #121c33; --green: #5fbf8c; --chip: #1f2a45;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.55; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--navy); }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.15rem; }
.eyebrow { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.mono { font-family: var(--f-mono); }
.underline { display: block; width: 72px; height: 6px; border-radius: 3px; background: var(--gold); margin-top: 14px; }


/* header */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--navy); color: var(--navy-ink); border-bottom: 1px solid rgba(255,255,255,.08); }
header.site .wrap { display: flex; align-items: center; gap: 20px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-ink); }
.brand svg { width: 52px; height: auto; flex: none; }
.brand b { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; letter-spacing: .01em; position: relative; }
.bname { display: grid; gap: 8px; }
.bname small { font: 600 .68rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.brand b::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 40%; height: 4px; border-radius: 2px; background: var(--gold); }
nav.main { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
nav.main a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 10px; border-radius: 8px; color: var(--navy-ink); opacity: .85; }
nav.main a:hover { opacity: 1; background: rgba(255,255,255,.08); }
@media (max-width: 640px) { nav.main { display: none; } }

/* hero */
.hero { background: var(--navy); color: var(--navy-ink); overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.3px); background-size: 22px 22px; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-block: 56px 72px; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lede { font-size: 1.12rem; max-width: 34em; color: var(--navy-ink); opacity: .86; margin: 18px 0 0; }
.hero .tag { font-family: var(--f-mono); font-size: .85rem; opacity: .75; margin-top: 14px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 700 1rem var(--f-body); border-radius: 999px; padding: 12px 22px; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn small { font: 600 .7rem var(--f-mono); opacity: .7; letter-spacing: .04em; }
.fan { position: relative; height: 400px; }
.fan figure { position: absolute; margin: 0; width: 58%; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.35); background: #f6f0e6; transition: transform .35s ease; }
.fan figure:nth-child(1) { left: 0; top: 40px; transform: rotate(-7deg); }
.fan figure:nth-child(2) { left: 21%; top: 0; z-index: 2; transform: rotate(1deg); }
.fan figure:nth-child(3) { right: 0; top: 70px; transform: rotate(8deg); }
.fan:hover figure:nth-child(1) { transform: rotate(-10deg) translateX(-10px); }
.fan:hover figure:nth-child(3) { transform: rotate(11deg) translateX(10px); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 40px 48px; }
  .fan { height: 300px; max-width: 460px; width: 100%; margin: 0 auto; }
}
@media (max-width: 420px) { .fan { height: 240px; } }

/* categories */
section { padding-block: 64px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head p { margin: 10px 0 0; color: var(--ink-soft); max-width: 40em; }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; cursor: pointer; text-align: left; font: inherit; color: inherit; padding: 0; }
.cat:hover { box-shadow: var(--shadow); }
.cat img { aspect-ratio: 600/520; object-fit: cover; width: 100%; background: #f6f0e6; }
.cat .body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.cat .stat { font-family: var(--f-mono); font-size: .76rem; color: var(--ink-soft); }
.cat .from { font-weight: 700; }
.cat .from span { color: var(--green); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .cats { grid-template-columns: repeat(2, 1fr); } }

/* shop */
.shop { background: var(--surface); border-block: 1px solid var(--line); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.chip { font: 600 .92rem var(--f-body); border-radius: 999px; padding: 8px 16px; border: 1px solid var(--line); background: var(--chip); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card.hit { outline: 3px solid var(--gold); outline-offset: 3px; }
.card img { aspect-ratio: 600/520; object-fit: cover; width: 100%; background: #f6f0e6; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .kind { font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.card h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.card .row { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price { font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.price small { font-weight: 500; font-size: .78rem; color: var(--ink-soft); }
.buy { display: flex; gap: 6px; }
.buy a { font: 700 .78rem var(--f-body); text-decoration: none; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.buy a:hover { border-color: var(--ink); }
.badge { align-self: flex-start; font: 600 .7rem var(--f-mono); padding: 2px 8px; border-radius: 999px; background: var(--chip); color: var(--ink-soft); }
.badge.hol { background: var(--green); color: #fff; }
.note { font-size: .85rem; color: var(--ink-soft); margin-top: 20px; }

/* holiday */
.holiday { background: var(--navy); color: var(--navy-ink); position: relative; overflow: hidden; }
.holiday::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1.4px, transparent 1.5px), radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.1px); background-size: 34px 34px, 19px 19px; background-position: 0 0, 9px 13px; pointer-events: none; }
.holiday .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.holiday p { opacity: .86; max-width: 34em; }
.holiday .pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.holiday .pics img { border-radius: 16px; box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.holiday .pics img:nth-child(2) { transform: translateY(24px); }
.timeline { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: .95rem; }
.timeline b { font-family: var(--f-mono); color: var(--gold); font-weight: 600; font-size: .85rem; padding-top: 2px; }
@media (max-width: 860px) { .holiday .wrap { grid-template-columns: 1fr; } .holiday .pics img:nth-child(2) { transform: none; } }

/* resale */
.resale { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.resale svg { width: 64px; height: 64px; }
.resale p { margin: 6px 0 0; color: var(--ink-soft); }
@media (max-width: 700px) { .resale { grid-template-columns: 1fr; } }

/* about */
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.about p { color: var(--ink-soft); }
.ph { background: var(--chip); border: 1px dashed var(--ink-soft); border-radius: 6px; padding: 0 6px; font-family: var(--f-mono); font-size: .85em; color: var(--ink); }
.pillars { display: grid; gap: 14px; }
.pillar { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.pillar .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--chip); display: grid; place-items: center; }
.pillar .ic svg { width: 24px; height: 24px; }
.pillar h3 { font-family: var(--f-body); font-weight: 700; font-size: 1rem; }
.pillar p { margin: 2px 0 0; }
@media (max-width: 860px) { .about .wrap { grid-template-columns: 1fr; gap: 28px; } }

/* help */
.help { background: var(--surface); border-block: 1px solid var(--line); }
.help .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
details { border-bottom: 1px solid var(--line); padding-block: 14px; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--f-mono); color: var(--gold); font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--ink-soft); }
form.contact { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 14px; }
form.contact label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
form.contact input, form.contact select, form.contact textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; }
form.contact textarea { min-height: 110px; resize: vertical; }
.sent { font-size: .9rem; color: var(--green); font-weight: 600; min-height: 1.4em; }
@media (max-width: 860px) { .help .wrap { grid-template-columns: 1fr; } }

/* footer */
footer { background: var(--navy); color: var(--navy-ink); }
footer .wrap { padding-block: 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
footer p { margin: 8px 0 0; opacity: .75; font-size: .9rem; }
footer .ctas { margin-top: 0; }
@media (max-width: 700px) { footer .wrap { grid-template-columns: 1fr; } }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 30; background: var(--ink); color: var(--bg); font-weight: 600; font-size: .92rem; padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center; }
/* two sides */
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.side { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-decoration: none; }
.side:hover { box-shadow: var(--shadow); }
.side .ic { width: 56px; height: 56px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; }
.side .ic svg { width: 32px; height: 32px; }
.side h3 { font-size: 1.35rem; }
.side p { margin: 6px 0 0; color: var(--ink-soft); }
.side .go { margin-top: 10px; font-weight: 700; color: var(--ink); display: inline-block; border-bottom: 3px solid var(--gold); }
@media (max-width: 760px) { .sides { grid-template-columns: 1fr; } }
/* consulting */
.tech { background: var(--surface); border-block: 1px solid var(--line); }
.tech-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; margin-bottom: 40px; }
.tech-top p { color: var(--ink-soft); margin: 14px 0 0; max-width: 36em; }
.who { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.who span { font: 600 .82rem var(--f-mono); padding: 6px 12px; border-radius: 999px; background: var(--chip); }
.checklist { background: var(--navy); color: var(--navy-ink); border-radius: 18px; padding: 22px 24px; font-family: var(--f-mono); font-size: .88rem; }
.checklist .hd { color: var(--gold); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .75rem; }
.checklist ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.checklist li::before { content: "[ ]"; color: var(--gold); }
.checklist .ft { margin-top: 14px; opacity: .7; font-size: .78rem; }
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.svc { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.svc .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--chip); display: grid; place-items: center; }
.svc .ic svg { width: 24px; height: 24px; }
.svc h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.svc p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.svc .ex { font: .76rem var(--f-mono); color: var(--ink-soft); margin-top: auto; padding-top: 6px; }
.draft { align-self: flex-start; font: 600 .68rem var(--f-mono); letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1px dashed var(--ink-soft); color: var(--ink-soft); }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 4px solid var(--gold); padding-top: 14px; }
.steps li::before { content: "Step " counter(s); font: 600 .75rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.steps h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.05rem; margin-top: 6px; }
.steps p { margin: 6px 0 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 860px) { .tech-top { grid-template-columns: 1fr; } .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.consult-only[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
