/* Velore site styles. Layout: white "shelf" pages where the packs carry the colour; heavy expanded caps echo the VELORE wordmark. */
:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --ink: #2f2d2e;
  --muted: #66646a;
  --line: #e1e0dd;
  --accent: #2f2d2e;
  --on-accent: #ffffff;
  --focus: #1a9467;
  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: .8125rem; --step-0: 1rem; --step-1: 1.25rem; --step-2: 1.6rem; --step-3: clamp(2rem, 4.6vw, 3.4rem);
  --radius: 14px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #151517; --surface: #1e1e21; --ink: #efeeec; --muted: #a5a3aa; --line: #333238;
  --accent: #efeeec; --on-accent: #151517; --focus: #5fd0a6; color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #151517; --surface: #1e1e21; --ink: #efeeec; --muted: #a5a3aa; --line: #333238;
  --accent: #efeeec; --on-accent: #151517; --focus: #5fd0a6; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-0)/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); font-stretch: 125%; font-weight: 850; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font-size: var(--step--1); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.prose { max-width: 65ch; display: grid; gap: .9rem; }
.muted { color: var(--muted); }

/* logo as a mask so it takes the text colour in both themes */
.logo { display: block; aspect-ratio: 1325 / 247; background: currentColor;
  -webkit-mask: url("velore-logo.png") center / contain no-repeat; mask: url("velore-logo.png") center / contain no-repeat; }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.site-header .logo { width: 112px; color: var(--ink); }
.site-header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem 1.4rem; font-size: .9rem; font-weight: 500; }
.site-header nav a { text-decoration: none; color: var(--muted); }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.3rem; border-radius: 999px; font: 600 .95rem/1 var(--body); text-decoration: none; cursor: pointer; border: 1.5px solid var(--accent); transition: transform .15s ease, background .15s ease; }
.btn-solid { background: var(--accent); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 38px; padding: .5rem .95rem; font-size: .85rem; }

/* hero */
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem); }
.hero-copy { display: grid; gap: 1.25rem; min-width: 0; }
.hero h1 { font-size: var(--step-3); }
.hero .lede { font-size: var(--step-1); color: var(--muted); max-width: 34ch; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; padding-top: .25rem; }
.hero-photo { position: relative; margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3.4; max-width: 100%; isolation: isolate; }
.hero-photo .scene { width: 100%; height: 100%; object-fit: cover; object-position: 35% center; display: block; }
.pack-card { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: .6rem; padding: .45rem .9rem .45rem .45rem; border-radius: 14px; background: rgba(255, 255, 255, .92); color: #2f2d2e; text-decoration: none; box-shadow: 0 6px 24px rgba(0, 0, 0, .14); backdrop-filter: blur(6px); }
.pack-card img { width: 58px; height: 58px; object-fit: cover; border-radius: 10px; background: #f3e7e1; mix-blend-mode: multiply; }
.pack-card span { display: grid; line-height: 1.2; }
.pack-card small { font-size: .72rem; color: #66646a; }
.pack-card b { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: .85rem; }

/* facts strip */
.facts { border-block: 1px solid var(--line); background: var(--surface); }
.facts ul { list-style: none; margin: 0; padding-inline: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding-block: 1.4rem; }
.facts li { display: grid; gap: .15rem; }
.facts b { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: var(--step-2); line-height: 1; font-variant-numeric: tabular-nums; }
.facts span { color: var(--muted); font-size: .9rem; }

/* sections */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section + .section { padding-top: 0; }
.section-head { display: grid; gap: .75rem; margin-bottom: 1.6rem; max-width: 60ch; }
.section-head h2 { font-size: var(--step-2); }
.section-head p { color: var(--muted); }

/* lifestyle band */
.moment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.moment { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; color: #ffffff; max-width: 100%; }
.moment img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.moment:hover img { transform: scale(1.04); }
.moment::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(20, 20, 22, .72), rgba(20, 20, 22, 0)); }
.moment-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: .3rem; padding: 1.2rem 1.3rem; }
.moment-text b { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: 1.2rem; line-height: 1.05; }
.moment-text span { font-size: .85rem; opacity: .92; }

/* quiz */
.quiz { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.25rem; }
.quiz-needs { display: flex; flex-wrap: wrap; gap: .5rem; }
.need { font: 500 .92rem/1 var(--body); padding: .7rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.need[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.quiz-results { display: grid; gap: .75rem; }
.quiz-empty { color: var(--muted); }
.result { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .7rem; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; background: var(--bg); }
.result img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: color-mix(in srgb, var(--pack) 14%, #ffffff); mix-blend-mode: multiply; }
.result b { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: 1rem; display: block; }
.result small { color: var(--muted); font-size: .82rem; display: block; }
.result .go { font-size: .85rem; font-weight: 600; white-space: nowrap; }
.quiz-note { font-size: .8rem; color: var(--muted); }

/* range */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { font: 500 .9rem/1 var(--body); padding: .65rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; transition: border-color .2s ease; }
.card:hover { border-color: var(--muted); }
.pack { background: color-mix(in srgb, var(--pack) 14%, #ffffff); aspect-ratio: 1 / .78; display: grid; place-items: center; overflow: hidden; }
.pack img { width: 92%; height: auto; mix-blend-mode: multiply; transition: transform .35s ease; }
.card:hover .pack img { transform: scale(1.03) rotate(-1deg); }
.card-body { display: grid; gap: .6rem; padding: 1.2rem 1.3rem 1.3rem; min-width: 0; align-content: start; }
.tagline { font-size: var(--step--1); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: .5rem; }
.tagline::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--pack); flex: none; }
.card h3 { font-size: 1.4rem; }
.with { font-size: .9rem; color: var(--muted); }
.claims { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .9rem; font-size: .85rem; font-weight: 500; }
.claims li { display: flex; gap: .45rem; align-items: baseline; }
.claims li::before { content: ""; width: .45rem; height: .45rem; flex: none; border-radius: 2px; background: var(--pack); transform: translateY(-.05rem); }
.card .more { font-size: .88rem; font-weight: 600; padding-top: .2rem; }

/* badges printed on the packs */
.badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.badges li { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .85rem; font-weight: 500; }
.badges li::before { content: "✓"; display: grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .72rem; font-weight: 700; }

/* teaser links */
.teasers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.teaser { display: grid; gap: .6rem; padding: clamp(1.25rem, 3vw, 1.8rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.teaser h3 { font-size: 1.3rem; }
.teaser p { color: var(--muted); }
.teaser .more { font-weight: 600; font-size: .9rem; }

/* product page */
.crumbs { font-size: .85rem; color: var(--muted); padding-block: 1.25rem 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.product-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; padding-block: 1.5rem clamp(2.5rem, 6vw, 4rem); }
.gallery { display: grid; gap: .75rem; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 5rem); }
.gallery .pack { border-radius: 20px; aspect-ratio: 1 / .95; }
.gallery .pack img { width: 88%; }
.views { display: flex; gap: .5rem; }
.view { font: 500 .85rem/1 var(--body); padding: .55rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.view[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.product-info { display: grid; gap: 1.1rem; min-width: 0; }
.product-info h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.product-info .with { font-size: 1rem; }
.product-info .why { font-size: 1.05rem; line-height: 1.65; }
.product-info .claims { font-size: .92rem; gap: .5rem 1rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-row span { font-size: .8rem; font-weight: 600; padding: .35rem .7rem; border-radius: 999px; background: color-mix(in srgb, var(--pack) 18%, var(--surface)); }
.panel { border-top: 1px solid var(--line); padding-top: 1.1rem; display: grid; gap: .7rem; }
.panel h2 { font-size: 1.05rem; }
.panel p { color: var(--muted); font-size: .95rem; }
.panel p b { color: var(--ink); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; color: var(--ink); }
caption { text-align: left; font-size: var(--step--1); color: var(--muted); padding-bottom: .4rem; }
th, td { padding: .5rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 500; text-align: left; padding-right: .8rem; }
td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.notice { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; font-size: .88rem; color: var(--muted); display: grid; gap: .5rem; }
.related .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ingredient guide */
.az { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1.5rem; }
.az a { min-width: 2.1rem; text-align: center; padding: .35rem .5rem; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .85rem; background: var(--surface); }
.ing-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.ing-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ing { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: grid; gap: .5rem; align-content: start; min-width: 0; }
.ing h3 { font-size: 1.05rem; }
.ing .kind { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ing .detail { font-size: .88rem; color: var(--muted); font-style: italic; }
.ing ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.ing li { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; border-top: 1px solid var(--line); padding-top: .35rem; }
.ing li a { text-decoration: none; display: inline-flex; gap: .45rem; align-items: center; }
.ing li a::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--pack); flex: none; }
.ing li span { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.page-hero .wrap { display: grid; gap: 1rem; padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem; }
.page-hero h1 { font-size: var(--step-3); }
.page-hero p { color: var(--muted); max-width: 60ch; font-size: 1.05rem; }
.page-hero-img { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 6; max-width: 100%; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding-top: .75rem; color: var(--muted); display: grid; gap: .6rem; }
.faq .answer ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .3rem; }

/* contact */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(3rem, 7vw, 5rem); }
.contact-copy { display: grid; gap: 1rem; align-content: start; min-width: 0; }
.contact-copy h2 { font-size: var(--step-2); }
.contact-copy p { color: var(--muted); max-width: 42ch; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; min-width: 0; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label { font-size: .85rem; font-weight: 600; }
input, select, textarea { font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: .75rem .85rem; width: 100%; min-width: 0; }
textarea { min-height: 8rem; resize: vertical; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-status { font-size: .9rem; color: var(--muted); }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding-top: .25rem; }
.email { font-weight: 600; font-size: var(--step-1); text-decoration: none; border-bottom: 2px solid var(--line); overflow-wrap: anywhere; user-select: all; }
.email:hover { border-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cta-band { background: var(--surface); border-top: 1px solid var(--line); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 2rem; }
.cta-band p { font-weight: 600; }

/* footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; gap: 1.2rem; padding-block: 2.5rem 3rem; font-size: .82rem; color: var(--muted); }
.site-footer .logo { width: 96px; color: var(--ink); }
.site-footer p { max-width: 85ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.foot-links a { text-decoration: none; color: var(--ink); font-weight: 500; }

@media (max-width: 980px) {
  .grid, .related .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero .wrap, .contact .wrap, .product-hero .wrap { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .moment-grid, .teasers, .ing-list { grid-template-columns: 1fr; }
  .moment { aspect-ratio: 4 / 3; }
  .moment img { object-position: center 35%; }
  .site-header nav { gap: .3rem .9rem; font-size: .85rem; }
  .page-hero-img { aspect-ratio: 16 / 9; }
}
@media (max-width: 620px) {
  .grid, .related .grid { grid-template-columns: 1fr; }
  form { grid-template-columns: 1fr; }
  .claims, .product-info .claims { grid-template-columns: 1fr; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .site-header nav { justify-content: flex-start; }
  .result { grid-template-columns: 52px minmax(0, 1fr); }
  .result img { width: 52px; height: 52px; }
  .result .go { grid-column: 2; }
}
