/* =============================================================================
   east & ember — site styles
   Palette and type come from the owner's brand board (2026-09-25):
   Ember Charcoal #343330 · Warm Ivory #F2EEE5 · Stone #B7ADA0 · Oak #8A725A · Soft Black #1E1E1E
   Voice: modern, warm, intentional, understated, tactile.
   ========================================================================== */

:root {
  --charcoal: #343330;
  --ivory: #F2EEE5;
  --stone: #B7ADA0;
  --oak: #8A725A;
  --black: #1E1E1E;

  --paper: #F7F4EE;            /* page ground, a breath lighter than the label ivory */
  --ink: #2A2927;              /* body text on light grounds */
  --muted: #6E6860;            /* secondary text; 5.3:1 on --paper */
  --line: rgba(52, 51, 48, 0.16);
  --line-strong: rgba(52, 51, 48, 0.32);
  --on-dark: #EDE8DE;
  --on-dark-muted: #B9B2A6;
  --line-dark: rgba(242, 238, 229, 0.18);
  --danger: #8C3B2E;
  --ok: #4F5E43;

  --sans: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: 'Libre Caslon Text', 'Adobe Caslon Pro', 'Big Caslon', Georgia, serif;
  --display: 'Libre Caslon Display', 'Libre Caslon Text', 'Adobe Caslon Pro', Georgia, serif;

  --gutter: 16px;
  --max: 1240px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 16px/1.65 var(--sans);
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--stone); color: var(--black); }
:focus-visible { outline: 1px solid var(--oak); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--black); color: var(--ivory); padding: 10px 14px; }
.skip:focus { top: 8px; }

/* ---- type ------------------------------------------------------------- */
.eyebrow {
  font: 400 11px/1.4 var(--sans);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 0;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: 0.01em; margin: 0; }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; }
h3 { font-size: 22px; line-height: 1.25; }
.lede { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.7; color: var(--muted); max-width: 36em; }
.serif-i { font-family: var(--serif); font-style: italic; }
.rule { width: 56px; height: 1px; background: currentColor; opacity: .5; border: 0; margin: 24px 0; }
.rule.center { margin-left: auto; margin-right: auto; }
.notes { font-family: var(--serif); font-size: 15px; color: var(--muted); letter-spacing: 0.01em; }
.caps { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; }
.prose { max-width: 40em; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: 26px; margin: 2em 0 .6em; }
.prose h3 { font-size: 19px; margin: 1.6em 0 .4em; }
.prose ul { padding-left: 1.1em; margin: 0 0 1.1em; }
.prose li { margin: 0 0 .4em; }

/* ---- buttons + fields ------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 30px;
  border: 1px solid var(--charcoal); border-radius: var(--radius);
  background: var(--charcoal); color: var(--ivory);
  font: 400 12px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--black); border-color: var(--black); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--charcoal); }
.btn.ghost:hover { background: var(--charcoal); color: var(--ivory); }
.btn.light { background: var(--ivory); color: var(--black); border-color: var(--ivory); }
.btn.light:hover { background: transparent; color: var(--ivory); }
.btn.block { width: 100%; }
.link { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; color: var(--muted); }
.textlink { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

.field { display: grid; gap: 6px; margin: 0 0 16px; }
.field label, .field .label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: #FBF9F5; border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-weight: 400; font-size: 16px;
  transition: border-color .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--charcoal); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23343330' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.field .hint { font-size: 13px; color: var(--muted); }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field .err { font-size: 13px; color: var(--danger); }
.row2 { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } .row3 { grid-template-columns: 2fr 1fr 1fr; } }

.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--radius); height: 50px; }
.qty button { width: 44px; background: none; border: 0; cursor: pointer; font-size: 18px; color: var(--charcoal); }
.qty button:hover { background: rgba(52,51,48,.06); }
.qty input { width: 44px; border: 0; background: none; text-align: center; font-weight: 400; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm { height: 36px; }
.qty.sm button { width: 32px; font-size: 15px; }
.qty.sm input { width: 32px; font-size: 14px; }

/* ---- preview banner --------------------------------------------------- */
.preview-bar {
  background: var(--oak); color: #FFF8EE; text-align: center;
  font-size: 12px; letter-spacing: 0.08em; padding: 8px var(--gutter);
}
.preview-bar b { font-weight: 500; }

/* ---- header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.brand { justify-self: center; text-decoration: none; display: flex; align-items: center; gap: 14px; }
.wordmark { font-family: var(--sans); font-weight: 300; font-size: 21px; letter-spacing: 0.12em; white-space: nowrap; }
.nav { display: none; gap: 30px; }
.nav a, .header-actions a, .header-actions button { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; text-decoration: none; }
.nav a[aria-current="page"] { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 22px; }
.account-link { display: none; }
@media (min-width: 900px) { .account-link { display: inline; } }
.cart-btn { background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; }
.cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--charcoal); color: var(--ivory); font-size: 11px; letter-spacing: 0; }
.cart-count[data-n="0"] { background: transparent; color: inherit; border: 1px solid var(--line-strong); }
.menu-btn { justify-self: start; background: none; border: 0; padding: 10px 10px 10px 0; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 1px; background: var(--charcoal); margin: 5px 0; transition: transform .3s var(--ease), opacity .2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px var(--gutter) 22px; }
.menu-open .mobile-nav { display: block; }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 22px; }
@media (min-width: 900px) {
  .menu-btn, .mobile-nav, .menu-open .mobile-nav { display: none; }
  .nav { display: flex; justify-self: start; }
}

/* ---- footer ----------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: var(--on-dark); margin-top: 120px; }
.site-footer .top { display: grid; gap: 40px; padding: 72px 0 48px; }
@media (min-width: 800px) { .site-footer .top { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .wordmark { font-size: 22px; }
.site-footer p { color: var(--on-dark-muted); margin: 14px 0 0; max-width: 26em; }
.site-footer h4 { font: 400 11px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .bottom { border-top: 1px solid var(--line-dark); padding: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 12px; letter-spacing: .08em; color: var(--on-dark-muted); }
.monogram { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 30px; line-height: 1; }
.monogram i { width: 1px; height: 30px; background: currentColor; opacity: .7; }

/* ---- hero ------------------------------------------------------------- */
.hero { background: var(--charcoal); color: var(--on-dark); overflow: hidden; }
.hero .grid { display: grid; align-items: center; gap: 24px; min-height: min(86vh, 760px); padding: 56px 0 0; }
@media (min-width: 900px) { .hero .grid { grid-template-columns: 1.05fr 1fr; padding: 0; } }
.hero .copy { padding: 24px 0; }
.hero .eyebrow { color: var(--on-dark-muted); }
.hero .display { color: var(--ivory); }
.hero .lede { color: var(--on-dark-muted); margin: 26px 0 36px; }
.hero .art { position: relative; align-self: end; }
.hero .art .candle-art { width: min(100%, 520px); margin: 0 auto; }
.hero .art::before { content: ""; position: absolute; inset: 12% 8% 0; background: radial-gradient(closest-side, rgba(242,210,160,.16), transparent 70%); pointer-events: none; }

.values { border-bottom: 1px solid var(--line); }
.values ul { list-style: none; margin: 0; padding: 26px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px; }
.values li { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); }

/* ---- sections --------------------------------------------------------- */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: 44px; }
.section-head .lede { margin: 12px 0 0; }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } }
.dark { background: var(--charcoal); color: var(--on-dark); }
.dark .lede, .dark .eyebrow, .dark .notes { color: var(--on-dark-muted); }
.stone-bg { background: #E9E3D8; }
.quote-band { text-align: center; padding: 120px 0; }
.quote-band blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.15; }
.quote-band .rule { margin: 30px auto 0; }

.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 600px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts > div { background: var(--paper); padding: 28px; }
.dark .facts { background: var(--line-dark); border-color: var(--line-dark); }
.dark .facts > div { background: var(--charcoal); }
.facts h3 { font-size: 20px; margin: 0 0 8px; }
.facts p { margin: 0; color: var(--muted); font-size: 15px; }
.dark .facts p { color: var(--on-dark-muted); }

/* ---- product cards ---------------------------------------------------- */
.grid-cards { display: grid; gap: 48px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 28px; } }
.card { display: block; text-decoration: none; }
.card .media { position: relative; aspect-ratio: 4 / 5; background: #E9E3D8; overflow: hidden; }
.card .media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card .media .candle-art { inset: 10% 12% 6%; width: auto; height: auto; }
.card:hover .media > * { transform: scale(1.025); }
.card .meta { padding: 18px 2px 0; display: grid; gap: 4px; }
.card .name { font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.card .notes { font-size: 14px; }
.card .price { font-size: 13px; letter-spacing: .08em; margin-top: 6px; }
.card .media > .tag { position: absolute; inset: auto; left: 14px; top: 14px; width: auto; height: auto; transform: none; z-index: 2; background: var(--paper); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; padding: 6px 9px; }
.card.soldout .media { opacity: .72; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 38px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 19px; background: none; cursor: pointer; font-size: 12px; letter-spacing: .12em; }
.chip[aria-pressed="true"] { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }

.empty-state { text-align: center; padding: 80px var(--gutter); border: 1px solid var(--line); }
.empty-state p { color: var(--muted); max-width: 30em; margin: 12px auto 0; }

.skeleton .media { background: linear-gradient(100deg, #E9E3D8 40%, #F1ECE3 50%, #E9E3D8 60%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton .meta span { display: block; height: 14px; background: #E9E3D8; margin: 6px 0; width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---- product detail --------------------------------------------------- */
.crumbs { font-size: 12px; letter-spacing: .12em; color: var(--muted); padding: 22px 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pdp { display: grid; gap: 36px; }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; } }
.gallery .main { aspect-ratio: 4 / 5; background: #E9E3D8; position: relative; overflow: hidden; }
.gallery .main > img { width: 100%; height: 100%; object-fit: cover; }
.gallery .main .candle-art { position: absolute; inset: 9% 13% 6%; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.gallery .thumbs button { flex: 0 0 72px; aspect-ratio: 4/5; padding: 0; border: 1px solid transparent; background: #E9E3D8; cursor: pointer; }
.gallery .thumbs button[aria-current="true"] { border-color: var(--charcoal); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) { .pdp .buy { position: sticky; top: 100px; } }
.buy .brandline { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.buy h1 { font-family: var(--display); font-size: clamp(48px, 6vw, 76px); line-height: 1; margin: 12px 0 14px; }
.buy .notes { font-size: 17px; }
.buy .price { font-size: 22px; font-family: var(--serif); margin: 26px 0 4px; }
.buy .unit { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.buy .desc { margin: 26px 0; }
.buy .options { display: grid; gap: 4px; margin: 28px 0 8px; }
.buy .actions { display: flex; gap: 12px; align-items: stretch; margin-top: 8px; }
.buy .actions .btn { flex: 1; }
.buy .stock { font-size: 13px; color: var(--muted); margin: 12px 0 0; min-height: 1.5em; }
.buy .stock.out { color: var(--danger); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); background: none; border-radius: var(--radius); cursor: pointer; font-size: 14px; }
.seg button[aria-checked="true"] { border-color: var(--charcoal); box-shadow: inset 0 0 0 1px var(--charcoal); }
.seg button:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.details { border-top: 1px solid var(--line); margin-top: 40px; }
.details details { border-bottom: 1px solid var(--line); }
.details summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; font-size: 18px; line-height: 1; letter-spacing: 0; }
.details details[open] summary::after { content: "–"; }
.details .body { padding: 0 0 22px; color: var(--muted); font-size: 15px; }
.details .body p { margin: 0 0 .8em; }
.details dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; margin: 0; }
.details dt { color: var(--ink); }
.details dd { margin: 0; }

/* ---- cart drawer ------------------------------------------------------ */
.drawer-scrim { position: fixed; inset: 0; background: rgba(30,30,30,.4); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 60; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); z-index: 61;
  transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; }
.drawer-open .drawer-scrim { opacity: 1; pointer-events: auto; }
.drawer-open .drawer { transform: none; }
.drawer-open { overflow: hidden; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 22px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer header h2 { font-size: 24px; }
.drawer .close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; padding: 4px; }
.drawer .lines { flex: 1; overflow-y: auto; padding: 8px var(--gutter); }
.drawer footer { border-top: 1px solid var(--line); padding: 20px var(--gutter) 24px; }
.drawer .sum { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 4px; }
.drawer .small { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line .thumb { aspect-ratio: 4/5; background: #E9E3D8; position: relative; overflow: hidden; }
.line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line .thumb .candle-art { position: absolute; inset: 8% 10% 4%; }
.line .t { font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.line .v { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.line .p { font-size: 14px; text-align: right; }
.line .rm { margin-top: 8px; font-size: 12px; }
.line.unavailable { opacity: .6; }
.drawer .empty { text-align: center; padding: 60px 0; color: var(--muted); }
.drawer .empty .btn { margin-top: 20px; }

/* ---- checkout --------------------------------------------------------- */
.checkout { display: grid; gap: 40px; padding-top: 30px; }
@media (max-width: 979px) { .checkout aside { order: -1; } [data-others] .card:nth-child(n+3) { display: none; } }
@media (min-width: 980px) { .checkout { grid-template-columns: 1.25fr 1fr; gap: 72px; align-items: start; } .checkout aside { position: sticky; top: 100px; } }
.checkout fieldset { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
.checkout legend { font-family: var(--serif); font-size: 24px; padding: 0; margin: 0 0 18px; }
.checkout aside { background: #EFEAE1; padding: 28px; }
.checkout aside h2 { font-size: 22px; margin-bottom: 8px; }
.totals { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
.totals td { padding: 6px 0; }
.totals td:last-child { text-align: right; }
.totals .grand td { border-top: 1px solid var(--line-strong); padding-top: 14px; font-family: var(--serif); font-size: 20px; }
.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; background: #FBF9F5; }
.pay-option:has(input:checked) { border-color: var(--charcoal); box-shadow: inset 0 0 0 1px var(--charcoal); }
.pay-option input { margin-top: 4px; accent-color: var(--charcoal); }
.pay-option small { display: block; color: var(--muted); font-size: 13px; }
.notice { padding: 14px 16px; border-left: 2px solid var(--oak); background: #F1EBE0; font-size: 14px; margin: 0 0 20px; }
.notice.error { border-color: var(--danger); background: #F6E9E4; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 0 0 12px; }
.check input { margin-top: 5px; accent-color: var(--charcoal); }

/* ---- order confirmation ---------------------------------------------- */
.confirm { max-width: 720px; margin: 0 auto; text-align: center; padding: 60px 0 0; }
.confirm .num { font-family: var(--serif); font-size: 18px; margin: 10px 0 0; }
.confirm .box { text-align: left; background: #EFEAE1; padding: 28px; margin: 36px 0; }
.confirm .box h2 { font-size: 22px; margin-bottom: 10px; }
.confirm .box pre { white-space: pre-wrap; font: inherit; margin: 0; }

/* ---- misc ------------------------------------------------------------- */
.page-head { padding: 72px 0 44px; }
.page-head .lede { margin-top: 16px; }
.faq-list { max-width: 820px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-family: var(--serif); font-size: 20px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font-family: var(--sans); font-size: 22px; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list .a { padding: 0 0 24px; color: var(--muted); max-width: 40em; }
.faq-list .a p { margin: 0 0 .8em; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--black); color: var(--ivory); padding: 14px 22px; font-size: 14px; z-index: 80; transition: opacity .3s, transform .3s var(--ease); pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.candle-art .flame { transform-origin: 50% 100%; animation: flicker 3.2s ease-in-out infinite; }
@keyframes flicker { 0%,100% { transform: scale(1, 1) } 40% { transform: scale(.96, 1.04) skewX(-1deg) } 70% { transform: scale(1.02, .97) skewX(1deg) } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- accounts --------------------------------------------------------- */
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); margin: 0 0 24px; }
.auth-tabs button { flex: 1; background: none; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; padding: 14px 0; cursor: pointer; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.auth-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--charcoal); }
.auth-lede { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.auth-alt { text-align: center; margin: 16px 0 0; }
.auth-card { max-width: 460px; margin: 0 auto; }
.auth-gate { background: #EFEAE1; padding: 28px; margin: 0 0 36px; }
.auth-gate h2 { font-size: 26px; margin: 0 0 6px; }
.auth-gate > p { color: var(--muted); margin: 0 0 22px; font-size: 15px; }
.auth-gate .field input { background: #FBF9F5; }
.signed-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin: 0 0 28px; padding: 14px 16px; border: 1px solid var(--line); }
.orders { display: grid; gap: 16px; }
.order-card { border: 1px solid var(--line); padding: 22px; }
.order-card .top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.order-card .top h3 { font-size: 20px; }
.order-card .meta { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.order-card ul { list-style: none; padding: 0; margin: 14px 0 0; font-size: 15px; }
.order-card li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.order-card .track { margin-top: 12px; font-size: 14px; }
.pill { display: inline-block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border: 1px solid var(--line-strong); margin-left: 6px; }
