/* Wicknest — small-batch soy candles. Light theme first, dark follows the system. */
:root {
  --cream: #F5EFE6;
  --paper: #FBF7F0;
  --sand: #EDE3D4;
  --espresso: #2B2420;
  --ink: #4A3F36;
  --muted: #7D6C5A;
  --ember: #D97A34;
  --terracotta: #C0663C;
  --terracotta-text: #A9542D; /* terracotta darkened for AA text contrast on cream */
  --gold: #C89B54;
  --sage: #7C8A6B;
  --sage-text: #5E6B50;
  --line: rgba(43, 36, 32, .14);
  --line-soft: rgba(43, 36, 32, .08);

  --bg: var(--cream);
  --surface: var(--paper);
  --text: var(--espresso);
  --sub: var(--ink);
  --accent-text: var(--terracotta-text);
  --focus: #9A5A1F;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw: 1140px;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #1B1612;
    --surface: #251E18;
    --sand: #2E251E;
    --text: #F2E9DC;
    --sub: #DCCDB9;
    --muted: #B8A48D;
    --accent-text: #E8945E;
    --sage-text: #A9B894;
    --focus: #E8B56B;
    --line: rgba(242, 233, 220, .16);
    --line-soft: rgba(242, 233, 220, .09);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 600px) { .wrap { padding-inline: 28px; } }
.nb { white-space: nowrap; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 99; background: var(--espresso); color: var(--cream); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow {
  font: 700 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 14px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none;
  padding: 16px 28px; min-height: 48px; border-radius: 999px; cursor: pointer;
  background: var(--espresso); color: var(--cream); border: 1.5px solid var(--espresso);
  transition: background .2s ease, transform .15s ease;
}
.btn:hover { background: #3E342D; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 18px; min-height: 40px; font-size: 14px; }
.btn-full { width: 100%; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #2B2420; }
.btn-gold:hover { background: #D6AB66; }
@media (prefers-color-scheme: dark) {
  .btn { background: var(--cream); color: #2B2420; border-color: var(--cream); }
  .btn:hover { background: #fff; }
}

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 500 25px/1 var(--serif); letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; margin-top: -4px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--sub); }
.nav a:not(.btn):hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 620px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: 36px 0 48px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(44px, 11vw, 84px); font-weight: 400; }
.hero .lede { font-size: 18px; color: var(--sub); max-width: 40ch; margin-top: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 30px; }
.price-note { font-size: 14px; color: var(--muted); line-height: 1.5; }
.price-note b { color: var(--text); font-size: 16px; }
s { color: var(--muted); }
.hero-fig { margin: 0; position: relative; }
.hero-fig picture img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px 20px 120px 20px; }
.hero-fig figcaption {
  display: flex; align-items: center; gap: 12px; margin-top: 14px;
  font: 400 15px/1.3 var(--serif); color: var(--sub);
}
.hero-fig figcaption img { width: 48px; height: 48px; }
@media (min-width: 860px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .hero-fig figcaption { position: absolute; left: -36px; bottom: 36px; margin: 0; background: var(--surface); padding: 10px 18px 10px 10px; border-radius: 999px; border: 1px solid var(--line-soft); box-shadow: 0 12px 30px -18px rgba(43, 36, 32, .45); }
}

/* Launch strip */
.strip { background: var(--espresso); color: #F5EFE6; }
.strip-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; padding-block: 14px; font-size: 14px; text-align: center; }
.strip-in span { padding-inline: 14px; }
.strip-in span + span { border-left: 1px solid rgba(200, 155, 84, .6); }
@media (max-width: 620px) {
  .strip-in { flex-direction: column; }
  .strip-in span + span { border-left: 0; }
}
@media (prefers-color-scheme: dark) { .strip { background: #120E0B; border-block: 1px solid var(--line-soft); } }

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 860px) { .section { padding: 96px 0; } }
.sec-head { max-width: 620px; margin-bottom: 36px; }
.sec-head h2, .section h2 { font-size: clamp(32px, 6vw, 48px); }
.sec-head p:last-child { color: var(--sub); margin-top: 14px; font-size: 17px; }

/* Collection */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.card-ph { position: relative; }
.card-ph img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tag {
  position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px;
  background: var(--paper); color: var(--sage-text); border: 1px solid var(--line-soft);
  font: 700 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase;
}
@media (prefers-color-scheme: dark) { .tag { background: #251E18; } }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 22px; flex: 1; }
.card h3 { font-size: 27px; font-style: italic; font-weight: 400; }
.notes { color: var(--sub); font-size: 15px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.card-body .card-foot { margin-top: auto; }
.card-body > .notes { margin-bottom: 12px; }
.price { font: 400 20px/1 var(--serif); }
.price b { font-weight: 500; }
.price s { font-size: 15px; margin-left: 4px; }
.pick { font-weight: 700; font-size: 15px; color: var(--accent-text); text-decoration: none; padding: 10px 0; }
.pick:hover { text-decoration: underline; text-underline-offset: 4px; }
.shop-link { font-size: 13px; color: var(--muted); margin-top: 4px; }
.card-set { background: var(--sand); justify-content: flex-end; min-height: 260px; }
.card-set .card-body { justify-content: flex-end; flex: 0; padding: 28px 24px; }
.card-set h3 { font-style: normal; font-size: 32px; }
.card-set .eyebrow { margin-bottom: 4px; }

/* Story */
.story { background: var(--surface); border-block: 1px solid var(--line-soft); }
.story-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .story-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.story-copy p:not(.eyebrow) { color: var(--sub); margin-top: 16px; font-size: 17px; max-width: 52ch; }
.story-copy h2 { margin-bottom: 4px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line); }
.specs div { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); }
.specs div:nth-child(odd) { border-right: 1px solid var(--line); }
.specs div:nth-child(even) { padding-left: 20px; }
.specs dt { font: 400 34px/1.1 var(--serif); color: var(--ember); }
.specs dd { margin: 6px 0 0; font-size: 14px; color: var(--muted); }

/* Reserve */
.reserve { background: var(--espresso); color: #F5EFE6; }
@media (prefers-color-scheme: dark) { .reserve { background: #120E0B; } }
.reserve .eyebrow { color: var(--gold); }
.reserve-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .reserve-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; } }
.reserve-copy p:not(.eyebrow) { color: rgba(245, 239, 230, .82); margin-top: 16px; font-size: 17px; max-width: 46ch; }
.reserve-copy a { color: var(--gold); font-weight: 700; }
.alt-buy { font-size: 15px !important; }
.form-card { background: #F5EFE6; color: #2B2420; border-radius: 18px; padding: 24px 20px; }
@media (min-width: 600px) { .form-card { padding: 32px; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 14px; }
.field input, .field select {
  font: 400 16px/1.3 var(--sans); color: #2B2420; background: #FFFDF9;
  border: 1.5px solid rgba(43, 36, 32, .28); border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field select { appearance: none; 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='%232B2420' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input:focus, .field select:focus { outline: 3px solid #9A5A1F; outline-offset: 1px; border-color: #9A5A1F; }
.field input[aria-invalid="true"] { border-color: #B2361B; }
.err { color: #A62F16; font-size: 13.5px; font-weight: 700; min-height: 0; }
.err:empty { display: none; }
.form-error { background: #FBE3D8; color: #7F2610; border-radius: 10px; padding: 10px 14px; font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.row2 { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 440px) { .row2 { grid-template-columns: 1.4fr 1fr; } }
.total { margin: 2px 0 16px; font-size: 15px; color: #4A3F36; }
.total b { font: 500 20px var(--serif); color: #2B2420; }
.form-card .btn { background: #2B2420; color: #F5EFE6; border-color: #2B2420; }
.form-card .btn:hover { background: #3E342D; }
.form-card .btn-gold { background: var(--gold); border-color: var(--gold); color: #2B2420; }
.form-card .btn[disabled] { opacity: .6; cursor: progress; }
.fine { font-size: 13px; color: #6E5E4E; margin-top: 14px; text-align: center; }
.fine a { color: #A9542D; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { text-align: center; padding: 12px 0; }
.thanks:focus { outline: none; }
.thanks img { margin: 0 auto 12px; }
.thanks h3 { font-size: 32px; font-weight: 400; margin-bottom: 10px; }
.thanks p { color: #4A3F36; max-width: 40ch; margin-inline: auto; }
.pay-now { margin-top: 22px !important; font-size: 13px; }
.pay-now .btn { margin-bottom: 8px; }

/* FAQ */
.faq-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative;
  font: 400 20px/1.35 var(--serif);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font: 300 26px var(--sans); color: var(--accent-text); }
.faq-list details[open] summary::after { content: '–'; }
.faq-list details p { padding: 0 0 20px; color: var(--sub); max-width: 58ch; }

/* Footer */
.site-foot { border-top: 1px solid var(--line-soft); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; font-size: 14px; color: var(--muted); }
.foot .brand { margin-right: auto; font-size: 22px; color: var(--text); }
.foot .brand img { width: 26px; height: 26px; }
.foot a:not(.brand) { color: var(--accent-text); text-decoration: none; font-weight: 600; }
.foot a:not(.brand):hover { text-decoration: underline; }

/* Simple content pages (privacy) */
.page { max-width: 720px; padding-block: 56px 80px; }
.page h1 { font-size: clamp(36px, 7vw, 52px); margin-bottom: 24px; }
.page h2 { font-size: 24px; margin: 32px 0 10px; }
.page p, .page li { color: var(--sub); }
.page p + p { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Secondary button + uploaded motion media (hero video, animated banner) */
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: transparent; border-color: var(--text); }
@media (prefers-color-scheme: dark) { .btn-ghost { background: transparent; color: var(--text); } }
.hero-media { border-radius: 20px 20px 120px 20px; overflow: hidden; aspect-ratio: 1; background: var(--sand); }
.hero-media .motion { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner { padding: 0 0 64px; }
.banner a, .banner .motion { display: block; }
.banner .motion { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: var(--radius); background: var(--sand); }
.card-foot .btn-sm { padding: 10px 18px; }
.form-card .btn-gold { background: var(--gold); color: #2B2420; }

/* ---- Multi-page additions ---- */
.nav a[aria-current="page"]:not(.btn) { color: var(--text); text-decoration: underline; text-decoration-color: var(--ember); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav .btn[aria-current="page"] { background: var(--ember); border-color: var(--ember); color: #2B2420; }
.brand[aria-current="page"] { cursor: default; }
.nav-mobile { display: none; }
@media (max-width: 620px) {
  .nav-mobile { display: flex; justify-content: center; gap: 28px; border-top: 1px solid var(--line-soft); padding: 8px 16px 10px; }
  .nav-mobile a { font-weight: 700; font-size: 14px; color: var(--sub); text-decoration: none; padding: 4px 2px; }
  .nav-mobile a[aria-current="page"] { color: var(--text); border-bottom: 2px solid var(--ember); }
}
html { scroll-padding-top: 110px; }

.page-hero { padding: 48px 0 8px; }
.page-hero h1 { font-size: clamp(40px, 8vw, 68px); font-weight: 400; max-width: 16ch; }
.page-lede { font-size: 18px; color: var(--sub); max-width: 56ch; margin-top: 18px; }
@media (min-width: 860px) { .page-hero { padding: 72px 0 12px; } }
.section-tight { padding-top: 36px; }

.card-title { font-size: 27px; font-style: italic; font-weight: 400; }
.card-set .card-title { font-style: normal; font-size: 32px; }
.card:target { outline: 3px solid var(--ember); outline-offset: 4px; }

.sec-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.sec-row .sec-head { margin-bottom: 0; }
.more { font-weight: 700; color: var(--accent-text); text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.story-copy .more { display: inline-block; margin-top: 22px; }

.mini-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .mini-grid { grid-template-columns: repeat(5, 1fr); gap: 20px; } }
.mini { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.mini img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; margin-bottom: 8px; transition: transform .3s ease; }
.mini:hover img { transform: translateY(-3px); }
.mini-name { font: italic 400 21px/1.2 var(--serif); }
.mini-notes { font-size: 14px; color: var(--muted); }
.mini-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 760px) { .mini-grid li:last-child:nth-child(odd) { grid-column: auto; } }

.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.split-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px 120px 20px 20px; }
.story-copy h2.mt { margin-top: 36px; font-size: clamp(26px, 4vw, 34px); }
.story-copy > h2:first-child { font-size: clamp(28px, 5vw, 40px); }

.specs-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) {
  .specs-4 { grid-template-columns: repeat(4, 1fr); }
  .specs-4 div { border-right: 1px solid var(--line); padding-left: 20px; }
  .specs-4 div:first-child { padding-left: 0; }
  .specs-4 div:last-child { border-right: 0; }
}

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 20px 40px; } }
.steps li { counter-increment: s; position: relative; padding: 4px 0 18px 56px; border-bottom: 1px solid var(--line); color: var(--sub); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; font: 400 28px/1 var(--serif); color: var(--ember); }
.steps b { color: var(--text); display: block; font-weight: 700; margin-bottom: 2px; }

.cta-band { background: var(--espresso); color: #F5EFE6; }
@media (prefers-color-scheme: dark) { .cta-band { background: #120E0B; } }
.cta-band .eyebrow { color: var(--gold); }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-in p:not(.eyebrow) { color: rgba(245, 239, 230, .82); margin-top: 10px; font-size: 17px; }
.cta-in s { color: rgba(245, 239, 230, .6); }
.cta-band .btn-gold { background: var(--gold); border-color: var(--gold); color: #2B2420; }

.reserve h1 { font-size: clamp(36px, 6vw, 52px); font-weight: 400; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: rgba(245, 239, 230, .88); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.thanks h2 { font-size: 32px; font-weight: 400; margin-bottom: 10px; color: #2B2420; }

.foot { justify-content: flex-start; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-meta { width: 100%; font-size: 13px; }
@media (min-width: 860px) { .foot-meta { width: auto; margin-left: auto; } }
.muted-note { color: var(--muted); font-size: 14px; margin-top: 32px !important; }
.page { padding-top: 8px; }
.page h2:first-child { margin-top: 12px; }
.soon { font: italic 400 16px var(--serif); color: var(--muted); }
.deposit-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 24px !important; }
.deposit-cta span { font-size: 13px; color: rgba(245, 239, 230, .7); }
.form-intro { font-weight: 700; margin-bottom: 14px; color: #2B2420; }
