/* 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); }
nav.main a[aria-current="page"] { opacity: 1; background: rgba(255,255,255,.1); box-shadow: inset 0 -3px 0 var(--gold); }
@media (max-width: 760px) {
  header.site .wrap { flex-wrap: wrap; row-gap: 6px; padding-block: 10px 6px; }
  nav.main { margin-left: -8px; width: calc(100% + 8px); flex-wrap: wrap; gap: 2px; }
  nav.main a { white-space: nowrap; font-size: .88rem; padding: 6px 8px; }
  .brand svg { width: 44px; }
}

/* 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; } }

/* compile a gift */
.compile { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font: 600 .9rem var(--f-mono); border-radius: 999px; padding: 8px 16px; border: 2px solid var(--gold); background: var(--navy); color: var(--navy-ink); cursor: pointer; }
.compile .prompt { color: var(--gold); }
.compile:disabled { opacity: .6; cursor: progress; }
.term { --t-bg: #0b1120; --t-ink: #d7deef; --t-dim: #7f8bab; --t-gold: #e0b356; --t-green: #5fbf8c; background: var(--t-bg); color: var(--t-ink); border-radius: 14px; border: 1px solid #26324f; margin: -8px 0 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(11,17,32,.25); }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #141c31; border-bottom: 1px solid #26324f; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4666; }
.term-bar i:first-child { background: var(--t-gold); }
.term-bar span { font: 500 .75rem var(--f-mono); color: var(--t-dim); margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term-body { margin: 0; padding: 14px 16px; font: .84rem/1.6 var(--f-mono); white-space: pre-wrap; word-break: break-word; min-height: 3.2em; }
.term-body .ok { color: var(--t-green); } .term-body .dim { color: var(--t-dim); } .term-body .hl { color: var(--t-gold); font-weight: 600; }
.term-body .cursor { display: inline-block; width: .6em; height: 1.05em; vertical-align: -.15em; background: var(--t-ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term-pick { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 0 16px 16px; }
.term-pick img { width: 96px; aspect-ratio: 600/520; object-fit: cover; border-radius: 10px; background: #f6f0e6; }
.term-pick .kind { font: .75rem var(--f-mono); color: var(--t-dim); text-transform: uppercase; letter-spacing: .06em; }
.term-pick h3 { color: #fff; font-size: 1.05rem; margin: 2px 0; }
.term-pick .price { color: var(--t-gold); font-weight: 700; }
.term-pick .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.term-pick button { font: 600 .82rem var(--f-mono); border-radius: 999px; padding: 6px 12px; cursor: pointer; border: 1px solid var(--t-gold); background: transparent; color: var(--t-gold); }
.term-pick button.go { background: var(--t-gold); color: #0b1120; }
@media (max-width: 560px) { .compile { margin-left: 0; width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .term-body .cursor { animation: none; } }

/* multi-page */
h1.h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.btn-ghost-ink { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost-ink:hover { background: var(--chip); }
.me { display: grid; justify-items: center; gap: 16px; text-decoration: none; color: var(--navy-ink); text-align: center; }
.me img { width: min(300px, 70vw); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--gold); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.me-txt { display: grid; gap: 4px; }
.me-txt b { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; }
.me-txt span { opacity: .85; }
.me .go { margin-top: 6px; justify-self: center; font-weight: 700; border-bottom: 3px solid var(--gold); opacity: 1; }
.me:hover img { transform: rotate(-2deg); }
.me img { transition: transform .3s ease; }
.me-sm { grid-template-columns: 88px 1fr; justify-items: start; text-align: left; color: var(--ink); margin: 24px 0 8px; align-items: center; }
.me-sm img { width: 88px; border-width: 3px; box-shadow: none; }
.me-sm .me-txt b { font-size: 1.15rem; }
.me-sm a { font-weight: 600; color: var(--ink); }
.about-me .wrap { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: 48px; align-items: start; }
.grad { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.grad img { width: 100%; height: auto; }
.about-me p { color: var(--ink-soft); max-width: 40em; }
.about-me p.big { font-size: 1.15rem; color: var(--ink); margin-top: 20px; }
.facts { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.facts li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.facts b { font: 600 .78rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--gold); padding-top: 3px; }
nav.foot { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: .9rem; }
nav.foot a { text-decoration: none; opacity: .8; }
nav.foot a:hover { opacity: 1; text-decoration: underline; }
.contact-page { border-top: 0; }
@media (max-width: 860px) {
  .hero .me { order: -1; grid-template-columns: auto 1fr; justify-items: start; text-align: left; gap: 14px; align-items: center; }
  .hero .me img { width: 96px; border-width: 3px; }
  .hero .me .me-txt b { font-size: 1.2rem; }
  .hero .me .go { justify-self: start; }
  .about-me .wrap { grid-template-columns: 1fr; gap: 28px; }
  .grad { max-width: 260px; }
}
@media (max-width: 480px) { .facts li { grid-template-columns: 1fr; gap: 2px; } }

/* Build your quote */
.quote { background: var(--surface); border-block: 1px solid var(--line); }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 40px; align-items: start; }
.quote-intro p { color: var(--ink-soft); }
.quote-rules { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.quote-rules li { padding-left: 26px; position: relative; color: var(--ink-soft); }
.quote-rules li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.quote-rules b { color: var(--ink); }
.qbox { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 18px; }
.qbox fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.qbox legend { font: 600 .78rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; padding: 0; }
.qrate, .qwhere { display: flex; gap: 8px; }
.qrate legend { width: 100%; }
.qrate label, .qwhere label { flex: 1; position: relative; }
.qrate input, .qwhere input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.qrate span, .qwhere span { display: block; text-align: center; font-weight: 600; padding: 10px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--chip); }
.qrate input:checked + span, .qwhere input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.qrate input:focus-visible + span, .qwhere input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.qrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.qrow:last-child { border-bottom: 0; }
.qrow[hidden] { display: none; }
.qrow input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--gold); margin: 0; }
.qrow .qname { font-weight: 600; cursor: pointer; }
.qrow .qname small { display: block; font-weight: 400; font-size: .82rem; color: var(--ink-soft); }
.qrow .qprice { font: 600 .95rem var(--f-mono); white-space: nowrap; text-align: right; }
.qrow .qqty { grid-column: 2 / 4; display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-soft); }
.qrow .qqty[hidden] { display: none; }
.qbox input[type="number"] { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; width: 84px; }
.qmiles { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; font-weight: 600; font-size: .92rem; }
.qmiles[hidden] { display: none; }
.qtotal { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 2px solid var(--ink); padding-top: 14px; }
.qtotal span { font-weight: 600; }
.qtotal output { font: 400 1.9rem var(--f-display); }
.qfine { margin: -8px 0 0; font-size: .85rem; color: var(--ink-soft); }
.qgo { width: 100%; justify-content: center; }
.qmsg { margin: -6px 0 0; font-size: .88rem; min-height: 1.2em; color: var(--ink-soft); }
.qmsg.err { color: #b3261e; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 420px) { .qbox { padding: 16px; } .qtotal output { font-size: 1.6rem; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .qmsg.err { color: #ff8a80; } }
:root[data-theme="dark"] .qmsg.err { color: #ff8a80; }
.care { margin-top: 28px; background: var(--bg); border: 2px solid var(--gold); border-radius: 18px; padding: 22px; }
.care h3 { font-size: 1.45rem; margin-top: 6px; }
.care-price { margin-top: 10px; font-size: 1.05rem; }
.care-price b { font: 400 1.5rem var(--f-display); }
.care ul { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.care p { font-size: .9rem; color: var(--ink-soft); margin: 12px 0 16px; }

/* phone menu and sticky actions */
.menu-btn { display: none; }
.mcta, .qbar { display: none; }
@media (max-width: 760px) {
  header.site .wrap { flex-wrap: nowrap; padding-block: 10px; position: relative; }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: var(--navy-ink); font: 700 1rem var(--f-body); cursor: pointer; }
  .menu-btn .bars { display: grid; gap: 4px; width: 20px; }
  .menu-btn .bars i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  header.site.open .menu-btn .bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  header.site.open .menu-btn .bars i:nth-child(2) { opacity: 0; }
  header.site.open .menu-btn .bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; width: auto; flex-direction: column; flex-wrap: nowrap; gap: 0; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 30px rgba(0,0,0,.35); padding: 8px max(16px, env(safe-area-inset-left, 0px)) 16px; }
  header.site.open nav.main { display: flex; }
  nav.main a { display: flex; align-items: center; min-height: 56px; padding: 0 14px; font-size: 1.15rem; opacity: 1; border-radius: 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
  nav.main a:last-child { border-bottom: 0; }
  nav.main a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); }
  .bname small { font-size: .6rem; }
  .brand b { font-size: 1.1rem; }

  body.has-mcta { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .mcta, .qbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; gap: 10px; align-items: center; background: var(--navy); color: var(--navy-ink); border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 -10px 24px rgba(0,0,0,.25); padding: 10px max(16px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)); }
  .mcta .btn { flex: 1; justify-content: center; min-height: 52px; padding: 0 12px; }
  .mcta[hidden], .qbar[hidden] { display: none; }
  .qbar > div { display: grid; line-height: 1.15; }
  .qbar small { font: 600 .7rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
  .qbar b { font: 400 1.5rem var(--f-display); }
  .qbar .btn { margin-left: auto; min-height: 52px; padding: 0 18px; }
  .toast { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }

  .btn { min-height: 48px; }
  .chip, .compile { min-height: 48px; }
  summary { min-height: 44px; align-items: center; }
  nav.foot { gap: 0 4px; }
  nav.foot a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; margin-left: -8px; }
  .qrate span, .qwhere span { min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .qrow { min-height: 56px; }
  .qrow input[type="checkbox"] { width: 26px; height: 26px; }
  .qbox input[type="number"], form.contact input, form.contact select { min-height: 48px; font-size: 16px; }
  form.contact textarea { font-size: 16px; }
  .qgo { min-height: 52px; }
}
@media (max-width: 760px) { header.site .wrap { gap: 10px; } .menu-btn { flex: none; } .brand { min-width: 0; } }
@media (max-width: 400px) { .menu-btn { padding: 0 12px; gap: 8px; } .brand svg { width: 38px; } .brand { gap: 8px; } .bname small { font-size: .55rem; letter-spacing: .03em; } }
@media (max-width: 340px) { .menu-btn .menu-lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
/* home intro line */
.me-line { max-width: 19em; font-size: .95rem; line-height: 1.55; opacity: .8; margin-top: -4px; }
@media (max-width: 860px) {
  .hero .me { grid-template-columns: 84px 1fr; grid-template-areas: "img txt" "img go" "line line"; column-gap: 16px; row-gap: 4px; padding-bottom: 22px; margin-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .hero .me img { grid-area: img; width: 84px; }
  .hero .me .me-txt { grid-area: txt; align-self: end; gap: 2px; }
  .hero .me .go { grid-area: go; align-self: start; margin-top: 4px; }
  .hero .me .me-line { grid-area: line; max-width: 30em; margin-top: 14px; font-size: .92rem; }
  .hero .tag { display: none; }
}
