/* Fortune Made LLC site. One file, no framework. Brand: brand/fortune-made/final/README.md
   Colour rule: yellow and blue never adjacent. This palette has no blue at all; gold (#C98A2E) is decoration only. */
:root {
  --cream: #F5EFE4;
  --paper: #FFFDF8;
  --sand: #EDE4D5;
  --line: #DCD0BE;
  --ink: #2B241E;
  --muted: #5C5147;
  --bronze: #6B4424;
  --bronze-2: #8A5A2E;
  --gold: #C98A2E;
  --night: #1E1915;
  --night-2: #2B241E;
  --on-night: #F5EFE4;
  --on-night-muted: #CBBDA6;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 14px;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bronze); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.eyebrow { font: 700 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); margin: 0 0 .9em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* header */
.site-head { background: var(--cream); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; font-size: .95rem; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bronze); text-decoration: underline; }
.nav .btn { padding: 9px 16px; color: var(--paper); }
.nav .btn:hover { color: var(--paper); text-decoration: none; }

/* buttons */
.btn { display: inline-block; background: var(--bronze); color: var(--paper); text-decoration: none; font-weight: 600; padding: 13px 22px; border-radius: 999px; border: 2px solid var(--bronze); line-height: 1.2; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.ghost { background: transparent; color: var(--bronze); }
.btn.ghost:hover { background: var(--bronze); color: var(--paper); }
.btn.light { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn.light:hover { background: var(--paper); border-color: var(--paper); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 12px; }

/* sections */
section { padding: 56px 0; }
section.tight { padding: 36px 0; }
.band { background: var(--sand); }
.night { background: var(--night); color: var(--on-night); }
.night a { color: var(--on-night); }
.night .muted, .night .lead { color: var(--on-night-muted); }
.night .eyebrow { color: var(--gold); }
.page-head { padding: 44px 0 20px; }
.page-head .lead { margin-bottom: 0; }

/* hero */
.hero { padding: 40px 0 52px; }
.hero .wrap { display: grid; gap: 28px; align-items: center; }
.hero-art { background: var(--sand); border-radius: 22px; padding: 14px; max-width: 280px; justify-self: center; width: 100%; }
.hero-art img { width: 100%; aspect-ratio: 420 / 520; object-fit: contain; }
.hero-art figcaption { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 8px; }
.facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; font-size: .95rem; color: var(--muted); }
.facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--bronze-2); margin-right: 10px; vertical-align: middle; }

/* bundles A B C */
.bundles { display: grid; gap: 18px; margin-top: 24px; }
.bundle { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.bundle .ph { position: relative; background: var(--sand); }
.bundle .ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bundle .ph img[src$=".svg"] { object-fit: contain; padding: 10px; }
.bundle .body { padding: 18px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.bundle .tag { font: 700 .75rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); margin-bottom: 8px; }
.bundle p { color: var(--muted); font-size: .97rem; flex: 1; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 6px 0 8px; }
.prices div { padding: 8px 4px; text-align: center; }
.prices div + div { border-left: 1px solid var(--line); }
.prices small { display: block; font-size: .72rem; letter-spacing: .08em; color: var(--muted); }
.prices b { font: 600 1.35rem/1.2 var(--serif); }
.per { font-size: .82rem; color: var(--muted); margin: 0 0 8px; }
.when { font-size: .88rem; margin: 0; }
.when b { color: var(--bronze); font-weight: 600; }

/* steps */
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 16px 64px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--bronze); color: var(--paper); font: 600 1rem/32px var(--serif); text-align: center; }
.steps h3 { font-size: 1.1rem; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }
.band .steps li { background: var(--paper); }

.included { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-top: 22px; }
.included p { margin: 0; }

/* terms list */
.terms { display: grid; gap: 0 28px; margin: 18px 0 0; padding: 0; list-style: none; }
.terms li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.terms b { font-weight: 600; }

/* catalog */
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.cat-nav a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); text-decoration: none; color: var(--ink); font-size: .9rem; }
.cat-nav a:hover { border-color: var(--bronze); color: var(--bronze); }
.cat { padding-top: 36px; }
.cat > h3 { font-size: 1.5rem; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 16px; }
.items { display: grid; gap: 14px; }
.item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-columns: 112px 1fr; }
.item .ph { background: var(--sand); position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.item .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.item .ph img[src$=".svg"] { object-fit: contain; padding: 6px; }
.item .tx { padding: 12px 14px; min-width: 0; display: flex; flex-direction: column; }
.item .tx dl { flex: 1; align-content: start; }
.item h4 { font-size: 1.05rem; margin-bottom: .25em; }
.item .ben { font-size: .9rem; color: var(--muted); margin-bottom: .5em; }
.item dl { margin: 0 0 .6em; font-size: .82rem; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; }
.item dt { color: var(--muted); }
.item dd { margin: 0; }
.item .prices { margin: 0; }
.item .prices b { font-size: 1.1rem; }
.item .quote { font-size: .9rem; border-top: 1px solid var(--line); padding-top: 8px; margin: 0; }
.item .quote b { font-family: var(--serif); font-size: 1.05rem; }
.render-note { font-size: .72rem; color: var(--muted); }

/* brands */
.cards { display: grid; gap: 18px; margin-top: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; }
.card p { color: var(--muted); flex: 1; }
.card .go { font-weight: 600; }

/* facts table */
.kv { display: grid; grid-template-columns: 1fr; margin: 16px 0 0; }
.kv dt { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 12px; }
.kv dd { margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }

.prose > * { max-width: 46em; }
.prose > .kv { max-width: 52em; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

.credits { font-size: .85rem; color: var(--muted); }
.credits summary { cursor: pointer; color: var(--bronze); font-weight: 600; }
.credits ul { padding-left: 1.2em; columns: 1; }

/* footer */
.site-foot { background: var(--night); color: var(--on-night-muted); font-size: .9rem; padding: 40px 0 28px; }
.site-foot a { color: var(--on-night); }
.site-foot .wrap { display: grid; gap: 22px; }
.site-foot .brand img { height: 46px; width: auto; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot address { font-style: normal; line-height: 1.7; }
.site-foot .legal { border-top: 1px solid #3A3029; padding-top: 16px; font-size: .82rem; }

@media (min-width: 760px) {
  body { font-size: 18px; }
  .hero { padding: 56px 0 72px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hero-art { max-width: 460px; padding: 18px; }
  .bundles { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .terms { grid-template-columns: 1fr 1fr; }
  .items { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .item { grid-template-columns: 1fr; }
  .item .ph { aspect-ratio: 4 / 3; }
  .items.four { grid-template-columns: repeat(2, 1fr); }
  .item .tx { padding: 14px 16px 16px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .kv { grid-template-columns: 220px 1fr; }
  .kv dt { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .kv dd { padding: 12px 0; }
  .credits ul { columns: 2; }
  .site-foot .wrap { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; }
  .site-foot .legal { grid-column: 1 / -1; }
  .site-foot nav { flex-direction: column; }
}
@media (min-width: 1040px) {
  .items.four { grid-template-columns: repeat(4, 1fr); }
  .steps.four { grid-template-columns: repeat(4, 1fr); }
  .steps.four li { padding: 64px 18px 18px; }
  .steps.four li::before { top: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-head .nav, .btns, .site-foot nav, .cat-nav { display: none; }
  body { background: #fff; }
  .item, .bundle { break-inside: avoid; }
}

/* ---------- online shop (/shop) ---------- */
.cart-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.cart-link .count { display: inline-block; min-width: 1.6em; padding: 0 .45em; border-radius: 999px; background: var(--sand); border: 1px solid var(--line); font-size: .85rem; line-height: 1.5; text-align: center; color: var(--ink); }
.btn.ghost.on-night { color: var(--on-night); border-color: var(--on-night-muted); }
.btn.ghost.on-night:hover { background: var(--on-night); color: var(--ink); border-color: var(--on-night); }
.order-link { margin: 8px 0 0; font-size: .9rem; font-weight: 600; }
.small-btn { padding: 8px 16px; font-size: .92rem; }
.shop-item h4 a { color: var(--ink); text-decoration: none; }
.shop-item h4 a:hover { color: var(--bronze); text-decoration: underline; }
.shop-item .quote { flex: 1; }
.shop-cta { margin-top: 10px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.shop-head h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.shop-grid { display: grid; gap: 24px; align-items: start; }
.shop-media .ph { background: var(--sand); border-radius: var(--r); overflow: hidden; }
.shop-media .ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shop-media .ph img[src$=".svg"] { object-fit: contain; padding: 12px; }
.shop-media .render-note { margin: 6px 0 0; }
.facts-dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 14px 0; font-size: .95rem; }
.facts-dl dt { color: var(--muted); }
.facts-dl dd { margin: 0; }
.tiers { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tiers caption { text-align: left; font-size: .85rem; color: var(--muted); padding-bottom: 6px; }
.tiers th, .tiers td { text-align: center; padding: 8px 4px; }
.tiers th { font: 700 .74rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.tiers td { font: 600 1.35rem/1.2 var(--serif); }
.tiers td + td, .tiers th + th { border-left: 1px solid var(--line); }
.order-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 18px; }
.order-form h2 { font-size: 1.5rem; }
.field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.field > label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); font-size: .9rem; }
.hint { font-size: .86rem; color: var(--muted); margin: 6px 0 0; }
select, input[type="number"], input[type="email"], input[type="text"], textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid #B9AB97; border-radius: 10px; padding: 10px 12px; width: 100%; }
select:focus, input:focus, textarea:focus { outline: 3px solid var(--bronze); outline-offset: 1px; }
input[type="file"] { font: inherit; font-size: .92rem; max-width: 100%; }
textarea { resize: vertical; min-height: 84px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: var(--cream); cursor: pointer; font-size: .95rem; }
.pill small { color: var(--muted); }
.pill:has(input:checked) { border-color: var(--bronze); background: var(--sand); }
.pill input { accent-color: var(--bronze); margin: 0; }
.size-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.size { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.size span { font: 700 .82rem/1 var(--sans); letter-spacing: .06em; text-align: center; color: var(--muted); }
.size input { text-align: center; padding: 10px 4px; font-size: 1.1rem; }
.size input.has { border-color: var(--bronze); background: #FBF4E8; font-weight: 600; }
.qty-one { max-width: 180px; text-align: center; font-size: 1.1rem; }
.live { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0 0 18px; }
.live p { margin: 0; }
.live .big { font: 600 1.3rem/1.3 var(--serif); }
.live .warn { color: #8A2E1E; font-weight: 600; }
.live .up { font-size: .9rem; color: var(--muted); margin-top: 4px; }
.form-msg { color: #8A2E1E; font-weight: 600; }
.form-msg.ok { color: var(--ink); }
.shop-after p { margin: 0 0 .4em; }
/* cart */
.cart-wrap { display: grid; gap: 22px; align-items: start; }
.cart-lines { display: grid; gap: 12px; }
.cart-line { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; grid-template-columns: 72px 1fr; gap: 12px 14px; }
.cart-line img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: var(--sand); }
.cart-line img[src$=".svg"] { object-fit: contain; padding: 4px; }
.cart-line h3 { font-size: 1.1rem; margin: 0 0 2px; }
.cart-line .meta { font-size: .9rem; color: var(--muted); margin: 0; }
.cart-line .sizes { font-size: .95rem; margin: 6px 0 0; }
.cart-line .sum { font-size: .95rem; margin: 6px 0 0; }
.cart-line .acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .92rem; border-top: 1px solid var(--line); padding-top: 8px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkbtn:hover { color: var(--ink); }
.notice { background: #F8E9E2; border: 1px solid #E2BBAA; border-radius: 12px; padding: 10px 14px; margin: 0; font-size: .95rem; }
.notice.info { background: var(--sand); border-color: var(--line); }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.summary h2 { font-size: 1.4rem; }
.totals { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: .98rem; }
.totals th { text-align: left; font-weight: 400; color: var(--muted); padding: 6px 0; }
.totals td { text-align: right; padding: 6px 0; white-space: nowrap; }
.totals tr.total th, .totals tr.total td { color: var(--ink); font-weight: 700; border-top: 1px solid var(--line); padding-top: 10px; }
.totals tr.due th, .totals tr.due td { color: var(--ink); font: 600 1.25rem/1.3 var(--serif); }
.summary .btn { width: 100%; text-align: center; font-size: 1.05rem; }
.summary .btn[disabled] { opacity: .45; cursor: not-allowed; }
.summary .fine { font-size: .84rem; color: var(--muted); margin: 10px 0 0; }
.empty { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.thanks .order-no { font-size: 1.2rem; }
.thanks .order-no b { font-family: var(--serif); font-size: 1.4rem; letter-spacing: .02em; }
@media (min-width: 760px) {
  .shop-grid { grid-template-columns: 1fr 1.1fr; gap: 36px; }
  .order-form { padding: 26px 26px; }
  .size-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .cart-wrap { grid-template-columns: 1.4fr 1fr; }
  .cart-line { grid-template-columns: 96px 1fr; }
  .cart-line img { width: 96px; height: 96px; }
  .summary { position: sticky; top: 16px; }
}
@media (min-width: 760px) and (max-width: 1040px) {
  .size-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
button.btn { font: inherit; font-weight: 600; cursor: pointer; }
.size input { -moz-appearance: textfield; appearance: textfield; }
.size input::-webkit-inner-spin-button, .size input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cart-wrap > div > .notice { margin-top: 12px; }
