:root {
  color-scheme: dark;
  --bg: #141210;
  --panel: #201b16;
  --border: #4f3f30;
  --text: #faf2e6;
  --muted: #c9bbaa;
  --gold: #efc77d;
  font: 17px/1.55 system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: var(--gold); text-underline-offset: .23em; }
a:hover { color: #ffe7ab; }
:focus-visible { outline: 3px solid #ffe4a0; outline-offset: 5px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; transform: translateY(-200%); padding: .5em; background: var(--bg); }
.skip:focus { transform: none; }
.header, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.2rem; }
.header { border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--text); font-weight: 700; text-decoration: none; }
.brand span { border: 1px solid var(--gold); border-radius: 50%; padding: .45rem .35rem; font-size: .65rem; color: var(--gold); }
nav { display: flex; flex-wrap: wrap; gap: .9rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2rem; align-items: center; padding-block: clamp(2rem, 7vw, 6rem); background: radial-gradient(ellipse at 80% 50%, #483019 0, transparent 52%); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; line-height: 1.05; letter-spacing: -.035em; }
h1 { font-size: clamp(3.1rem, 7vw, 6.1rem); max-width: 11ch; }
h2 { font-size: clamp(2rem, 4.7vw, 3.45rem); }
h3 { line-height: 1.23; }
p { color: var(--muted); }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; margin-bottom: .7rem; }
.lead { font-size: 1.12rem; max-width: 45ch; margin-top: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; margin-top: 1.5rem; }
.button { display: inline-block; padding: .7rem 1.05rem; font: inherit; font-weight: 700; border: 1px solid var(--gold); background: var(--gold); color: #20160b; text-decoration: none; border-radius: 5px; cursor: pointer; }
.button:hover { background: #ffe4a0; color: #20160b; }
figure { text-align: center; }
figure img { display: block; width: min(100%, 272px); height: auto; margin: auto; border: 1px solid #9b753f; border-radius: 5px; box-shadow: 0 18px 42px #0009; }
figcaption { margin-top: .9rem; color: var(--muted); font-size: .86rem; }
.section { border-top: 1px solid var(--border); padding-block: clamp(2rem, 5vw, 4rem); }
.section h2 + p { margin-top: .85rem; }
.filters { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; margin: 1.5rem 0 .6rem; }
label { color: var(--text); font-size: .9rem; }
input, select { width: 100%; display: block; margin-top: .3rem; padding: .65rem .7rem; background: var(--panel); border: 1px solid #887156; border-radius: 5px; font: inherit; color: var(--text); }
#count { font-size: .88rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.card, .sample { padding: 1.15rem; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); }
.card { display: flex; flex-direction: column; }
.card h3 + p { margin: .65rem 0 1rem; }
.purchase { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: .75rem; border-top: 1px solid var(--border); margin-top: auto; font-size: .88rem; }
.prompt { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 1.5rem; }
.sample p:first-child { color: var(--text); }
.sample button { margin-top: .9rem; }
.feedback:not(:empty) { margin-top: .5rem; }
.about p:last-child { max-width: 63ch; }
.footer { border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem; flex-wrap: wrap; }
@media (max-width: 850px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .header { align-items: flex-start; flex-direction: column; }
  .hero, .prompt, .grid, .filters { grid-template-columns: 1fr; }
}

.founder-portrait { width: min(100%, 320px); margin-inline: auto; position: relative; }
.founder-portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 24%; }
.founder-portrait figcaption { color: var(--text); text-align: left; padding-inline: .2rem; }
.founder-portrait figcaption strong { display: block; color: var(--gold); font: 1.35rem Georgia, serif; }
.founder-story p:not(.eyebrow) { max-width: 62ch; margin-top: .85rem; }
.founder-story a { display: inline-block; margin-top: 1rem; }
.product-cover { display: block; width: 95px; height: auto; margin-top: .85rem; }
.card .product-cover + p { margin: .65rem 0 1rem; }
