/* Oroelle pre-order site. Tokens: K:\Graphics Designer\brands\oroelle\tokens.css (brand kit 27 Nov 2026).
   Cream paper, oxblood as the owned colour, gold only as one small seal, Fraunces (SOFT) + Work Sans.
   Type scale 14 / 16 / 18 / 22 / 28 / 40 / 56-72. One radius (6px). No shadows. */
:root {
  --brand: #551F1F; --ink: #1F1512; --paper: #F1E6D4; --gold: #B88F55; --cocoa: #7A4B33;
  --caramel: #A8672F; --butter: #D9B77A;
  --field: #FBF6EE; --line: rgba(31, 21, 18, 0.18); --line-soft: rgba(31, 21, 18, 0.1);
  --error: #8E1B1B; --ok: #2F5D3A;
  --r: 6px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --text: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 72rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--text); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 0.18em; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; font-variation-settings: "SOFT" 50, "opsz" 72; letter-spacing: -0.01em; margin: 0; }
p { margin: 0 0 0.75rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nowrap { white-space: nowrap; }
.muted, .hint, .optional { color: var(--cocoa); }
.skip { position: absolute; left: -10000px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--paper); padding: 0.5rem 1rem; }

/* header + footer */
.top { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: calc(0.6rem + env(safe-area-inset-top, 0px)) var(--gutter) 0.6rem; background: var(--paper); border-bottom: 1px solid var(--line-soft); }
.logo img { width: 140px; height: auto; }
.bag-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; text-decoration: none; font-weight: 500; }
.bag-count { min-width: 1.6rem; padding: 0 0.45rem; border-radius: 999px; background: var(--brand); color: var(--paper); font-size: 0.875rem; text-align: center; line-height: 1.6rem; }
.foot { padding: 3rem var(--gutter) calc(2.5rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-soft); color: var(--cocoa); }
.foot-mark { width: 64px; margin-bottom: 1rem; }
.foot p { margin: 0 0 0.35rem; }
.foot-small { font-size: 0.875rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.4rem; border-radius: var(--r);
  border: 1.5px solid var(--brand); font: 500 1rem/1 var(--text); text-decoration: none; cursor: pointer; }
.btn-main { background: var(--brand); color: var(--paper); }
.btn-main:hover { background: #461818; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-wide { width: 100%; min-height: 56px; font-size: 1.125rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.text-link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 500; }

/* hero */
.hero { max-width: var(--max); margin: 0 auto; padding: 2.5rem var(--gutter) 2rem; display: grid; gap: 2rem; align-items: center; }
.hero-pre { color: var(--cocoa); font-weight: 500; margin-bottom: 0.75rem; }
.hero h1 { font-size: clamp(3.5rem, 13vw, 6rem); line-height: 0.95; color: var(--brand); font-variation-settings: "SOFT" 100, "opsz" 144; }
.hero-sub { font-size: 1.125rem; max-width: 30rem; margin: 1.25rem 0 1.5rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; }
.hero-art { justify-self: center; width: min(100%, 30rem); padding: 0.5rem 0; }

/* facts */
.facts { list-style: none; margin: 0; padding: 0.9rem var(--gutter); display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0.4rem 1.5rem; border-block: 1px solid var(--line-soft); color: var(--cocoa); font-weight: 500; }
.facts li { display: inline-flex; align-items: center; gap: 0.5rem; }
.facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }

/* sections */
.section-title { font-size: clamp(2.5rem, 8vw, 3.5rem); line-height: 1; color: var(--brand); margin-bottom: 1.75rem; }
.products, .order, .faq { max-width: var(--max); margin: 0 auto; padding: 3.5rem var(--gutter); }

/* product cards */
.product { display: grid; gap: 1.25rem; margin-bottom: 3rem; }
.product-art { background: #E4D2B4; border-radius: var(--r); aspect-ratio: 4 / 3; max-height: 26rem; width: 100%; display: grid; place-items: center; padding: 1rem; }
.product-art img { width: 62%; height: auto; }
.product[data-type="stick"] .product-art img { width: 78%; }
.product[data-type="regular"] .product-art img { width: 94%; }
.product-name { font-size: clamp(2.5rem, 9vw, 3.5rem); line-height: 1; }
.product-line { font-size: 1.125rem; color: var(--cocoa); margin: 0.5rem 0 1.25rem; }
.chips { border: 0; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-face { display: grid; grid-template-columns: auto 1fr; column-gap: 0.5rem; align-items: center; min-height: 64px; padding: 0.6rem 0.8rem;
  border: 1.5px solid var(--line); border-radius: var(--r); background: transparent; }
.chip-label { font-weight: 500; grid-column: 2; }
.chip-price { grid-column: 2; color: var(--cocoa); font-size: 0.875rem; }
.chip-price small { font-size: 0.875rem; }
.swatch { grid-row: span 2; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(31, 21, 18, 0.25); }
.chip-face:not(:has(.swatch)) .chip-label, .chip-face:not(:has(.swatch)) .chip-price { grid-column: 1 / -1; }
.chip input:checked + .chip-face { border-color: var(--brand); background: var(--field); box-shadow: inset 0 0 0 1px var(--brand); }
.chip input:focus-visible + .chip-face { outline: 3px solid var(--gold); outline-offset: 2px; }
.add-row { display: flex; gap: 0.75rem; align-items: center; }
.add-row .btn { flex: 1; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r); }
.stepper button { width: 44px; height: 46px; border: 0; background: transparent; font: inherit; font-size: 1.25rem; color: var(--ink); cursor: pointer; }
.stepper input { width: 2.5rem; height: 46px; border: 0; background: transparent; text-align: center; font: inherit; font-weight: 600; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.added { min-height: 1.6rem; margin: 0.5rem 0 0; font-weight: 500; }

/* how it works: the oxblood band */
.how { background: var(--brand); color: var(--paper); }
.how .section-title { color: var(--paper); }
.how { padding: 3.5rem var(--gutter); }
.how > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.steps { list-style: none; counter-reset: step; margin: 0 auto; padding: 0; display: grid; gap: 1.75rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; }
.steps li::before { content: counter(step); grid-row: span 2; font-family: var(--display); font-size: 2.5rem; line-height: 1; color: var(--butter); font-variation-settings: "SOFT" 100, "opsz" 72; }
.steps h3 { font-size: 1.375rem; margin-bottom: 0.25rem; }
.steps p { margin: 0; color: rgba(241, 230, 212, 0.88); }
.steps strong { color: var(--paper); }

/* order form */
.order .checkout, .order [data-bag-empty] { max-width: 36rem; }
.wrap-narrow { max-width: 36rem; margin: 0 auto; padding: 2rem var(--gutter) 3rem; }
.page-title { font-size: 2.5rem; color: var(--brand); margin-bottom: 1.5rem; }
.bag-empty { font-size: 1.125rem; color: var(--cocoa); }
.co-block { padding: 1.5rem 0; border-top: 1px solid var(--line-soft); }
.co-block:first-child { border-top: 0; padding-top: 0; }
.co-title { font-size: 1.375rem; margin-bottom: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 500; margin-bottom: 0.3rem; }
.optional { font-weight: 400; font-size: 0.875rem; margin-left: 0.35rem; }
input:not([type="radio"]):not([type="checkbox"]), select, textarea {
  width: 100%; min-height: 50px; padding: 0.65rem 0.8rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--field); border: 1.5px solid var(--line); border-radius: var(--r); }
textarea { min-height: 72px; resize: vertical; }
.stepper input { min-height: 0; width: 2.5rem; padding: 0; background: transparent; border: 0; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.hint { font-size: 0.875rem; margin: 0.35rem 0 0; }
.field-error { color: var(--error); font-size: 0.875rem; font-weight: 500; margin: 0.35rem 0 0; }
.field-error:empty { display: none; }
.nudge { color: var(--cocoa); font-weight: 500; margin: 0.75rem 0 0; }
.nudge:empty { display: none; }
.bag-lines { list-style: none; padding: 0; margin: 0; }
.bag-lines li { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 0.75rem; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--line-soft); }
.bl-name { font-weight: 500; }
.bl-qty { display: inline-flex; align-items: center; gap: 0.25rem; }
.bl-qty button { width: 40px; height: 40px; border: 1.5px solid var(--line); border-radius: var(--r); background: transparent; font: inherit; font-size: 1.125rem; cursor: pointer; }
.bl-qty output { min-width: 1.75rem; text-align: center; font-weight: 600; }
.bl-price { text-align: right; font-weight: 600; }
.bl-remove { justify-self: end; min-height: 44px; border: 0; background: none; color: var(--cocoa); font: inherit; font-size: 0.875rem; text-decoration: underline; cursor: pointer; }
.bag-lines.readonly li { display: flex; justify-content: space-between; }
.switch, .check { display: flex; align-items: flex-start; gap: 0.75rem; min-height: 44px; padding: 0.4rem 0; cursor: pointer; }
.switch input, .check input { width: 1.3rem; height: 1.3rem; margin: 0.1rem 0 0; accent-color: var(--brand); flex: none; }
.switch span { font-weight: 500; }
.gift-box { margin: 0.75rem 0 0; padding: 1rem; border-radius: var(--r); background: var(--field); }
.gift-box input:not([type="checkbox"]), .gift-box textarea { background: #fff; }
.reserve-note { padding: 1rem; border-radius: var(--r); background: var(--field); }
.bkash-box { padding: 1rem; border-radius: var(--r); background: var(--field); }
.bkash-steps { margin: 0 0 1rem; padding-left: 1.25rem; }
.bkash-steps li { margin-bottom: 0.4rem; }
.bkash-box input { background: #fff !important; }
.copy { min-height: 32px; margin: 0.15rem 0.25rem; padding: 0 0.6rem; border: 1.5px solid var(--line); border-radius: var(--r); background: transparent; font: inherit; font-size: 0.875rem; cursor: pointer; }
.choice { display: flex; align-items: center; gap: 0.75rem; min-height: 52px; padding: 0 0.8rem; border: 1.5px solid var(--line); border-radius: var(--r); margin-bottom: 0.5rem; cursor: pointer; }
.choice.is-off { opacity: 0.5; cursor: not-allowed; }
.pay-options { border: 0; padding: 0; margin: 0 0 0.75rem; }
.summary dl { margin: 0 0 1rem; }
.summary dl div { display: flex; justify-content: space-between; padding: 0.3rem 0; }
.summary dd { margin: 0; font-weight: 500; }
.summary .total { font-family: var(--display); font-size: 1.5rem; padding-top: 0.6rem; border-top: 1px solid var(--line-soft); }
.form-message { min-height: 1.5rem; margin-top: 0.75rem; color: var(--error); font-weight: 500; }
.form-message a { margin-left: 0.25rem; }

/* faq */
.faq details { border-top: 1px solid var(--line-soft); }
.faq details:last-of-type { border-bottom: 1px solid var(--line-soft); }
.faq summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; font-size: 1.125rem; font-weight: 500; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.75rem; color: var(--brand); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { max-width: 40rem; color: #3a2a24; }
.faq-wa { margin-top: 1.5rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* thank-you page */
.done { max-width: 36rem; margin: 0 auto; padding: 2.5rem var(--gutter) 3rem; }
.done h1 { font-size: clamp(2rem, 8vw, 2.75rem); color: var(--brand); margin: 0.25rem 0 1rem; }
.done .bag-lines { margin: 1.25rem 0; }
.done .total { font-weight: 700; }

/* plain inner pages (product, terms, privacy, admin) */
body:not(.home) main > h1, body:not(.home) main > p, body:not(.home) main > form, body:not(.home) main > ul, body:not(.home) main > div:not(.done):not(.wrap-narrow), body:not(.home) main > nav, body:not(.home) main > details { max-width: 44rem; margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
body:not(.home) main > h1 { font-size: 2.5rem; color: var(--brand); margin-top: 2rem; margin-bottom: 1rem; }

/* admin */
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.admin-head h1 { font-size: 2rem; color: var(--brand); }
.mode-box { border: 1.5px solid var(--gold); border-radius: var(--r); padding: 0.75rem 1rem; margin: 1rem auto; }
.mode-box.is-paid { border-color: var(--ok); }
.admin-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; align-items: end; margin-bottom: 1rem; }
.admin-orders { list-style: none; padding: 0; }
.admin-order { border: 1.5px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--r); padding: 0.75rem; margin-bottom: 0.75rem; }
.admin-order.status-new { border-left-color: var(--brand); }
.admin-order.status-delivered, .admin-order.status-review_ask { border-left-color: var(--ok); }
.admin-order.status-cancelled, .admin-order.status-refunded { opacity: 0.6; }
.ao-top { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; align-items: baseline; }
.badge { font-size: 0.875rem; padding: 0 0.5rem; border-radius: 999px; border: 1px solid var(--line); }
.ao-next, .ao-status { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.ao-next .btn { width: 100%; }
.ao-status select { flex: 1; }
.flash { color: var(--ok); font-weight: 500; }
.pager { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pager a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.login { max-width: 24rem; }

/* wider screens */
@media (min-width: 52rem) {
  .hero { grid-template-columns: 1.1fr 1fr; padding-top: 4rem; padding-bottom: 3rem; }
  .facts { justify-content: center; }
  .product { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem; }
  .product:nth-child(odd of .product) .product-art { order: 2; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .steps li { grid-template-columns: 1fr; }
  .steps li::before { grid-row: auto; margin-bottom: 0.75rem; }
  .order { display: grid; grid-template-columns: 1fr 36rem; gap: 3rem; align-items: start; }
  .order .section-title { position: sticky; top: 6rem; }
  .faq { display: grid; grid-template-columns: 1fr 2fr; gap: 0 3rem; align-items: start; }
  .faq .section-title { grid-row: span 20; }
}
.done-note { margin-top: 1rem; }

/* motion (K:\Motion Designer\projects\oroelle\motion.md section 4 tokens): M1 bite in the hero + quiet UI only */
:root { --dur-press: 140ms; --dur-ui: 200ms; --ease-out: cubic-bezier(0.23, 1, 0.32, 1); }
.bite-mark { width: 100%; height: auto; overflow: visible; }
.bite-mark .chunk, .bite-mark .piece { transform-box: view-box; }
.bite-mark .chunk, .bite-mark .crumb { opacity: 0; }
.btn, .chip-face, .copy, .stepper button, .bl-qty button { transition: background-color var(--dur-ui) ease, border-color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out); }
.btn:active, .copy:active, .stepper button:active { transform: scale(0.97); }
.chip-face:hover { border-color: var(--cocoa); }
.btn-ghost:hover { background: var(--field); }
@media (prefers-reduced-motion: reduce) {
  .btn, .chip-face, .copy, .stepper button, .bl-qty button { transition: none; }
  .btn:active, .copy:active, .stepper button:active { transform: none; }
}
.copy-on-dark { color: var(--paper); border-color: rgba(241, 230, 212, 0.5); }

/* CD 30 Nov: no logo-as-product pictures until real photos; products read as one priced menu */
.product { grid-template-columns: 1fr !important; max-width: 44rem; padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line-soft); }
.product:last-child { border-bottom: 0; }
.product-note { font-size: 0.875rem; color: var(--cocoa); margin: -0.5rem 0 1.25rem; max-width: 36rem; }
