/*
 * Container & Packaging brand, per the C&P Brand Guidelines v1.1 (Jan 2026).
 * Colours, tints and the colour ratio come straight from pages 26-27.
 *
 * Headline font: the guide specifies Fellix, a licensed typeface, and says to
 * use Helvetica wherever Fellix is not available. To switch to Fellix, put the
 * licensed WOFF2 files in /public/fonts and add:
 *   @font-face { font-family: 'Fellix'; src: url('/fonts/Fellix-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
 *   @font-face { font-family: 'Fellix'; src: url('/fonts/Fellix-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
 * Nothing else needs to change: --head already lists Fellix first.
 */
:root {
  --orange: #ff7f00;
  --orange-dk: #cc5200;
  --yellow: #ffc91f;
  --yellow-dk: #f2a700;
  --blue: #3171ff;
  --blue-dk: #162db2;
  --cream: #f4f1ea;
  --cream-dk: #e5dfd1;
  --black: #000;
  --white: #fff;
  --ink-2: #3a3a3a;
  --ink-3: #6e6a62;
  --line: #e5dfd1;

  --head: 'Fellix', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --body: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --r-lg: 32px;
  --r-md: 20px;
  --r-sm: 12px;
  --wrap: 1180px;
  --bar: 72px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 16px); }
body { margin: 0; font-family: var(--body); color: var(--black); background: var(--white); line-height: 1.55; font-size: 17px; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Outlined display type: the guide's "Ready when empty" treatment. */
.outline { color: transparent; -webkit-text-stroke: 2px currentColor; }
.outline { -webkit-text-stroke-color: var(--black); }
@supports not (-webkit-text-stroke: 1px black) { .outline { color: var(--black); } }

/* Label + sub-category chips (guide p.21). */
.label {
  display: inline-block; font-family: var(--body); font-weight: 700; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; padding: 6px 10px; background: var(--yellow); color: var(--black); line-height: 1;
}
.label.blue { background: var(--blue); color: var(--black); }
.label.orange { background: var(--orange); }
.label.cream { background: var(--cream); }

/* ---------- header ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--bar); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand img { height: 38px; width: auto; }
.brand .with { font: 600 12px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border-left: 1px solid var(--line); padding-left: 14px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a.link { text-decoration: none; font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 12px; border-radius: 999px; color: var(--ink-2); }
.nav a.link:hover { color: var(--black); }
.nav a.link[aria-current="page"] { color: var(--black); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px;
  border-radius: 999px; border: 2px solid transparent; font: 700 16px/1.1 var(--body); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--orange); color: var(--black); }
.btn-primary:hover { background: var(--orange-dk); color: var(--white); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--black); border-color: var(--black); }
.btn-ghost:hover { background: var(--black); color: var(--white); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn .ico-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--black); color: var(--orange); display: grid; place-items: center; margin-left: -8px; }
.btn .ico-dot svg { width: 14px; height: 14px; }

/* ---------- graphic devices (guide p.31-34) ---------- */
.device { --c: var(--orange); --d: var(--orange-dk); position: absolute; pointer-events: none; z-index: 0; }
.device .base { fill: var(--c); }
.device .dk { fill: var(--d); }
.device.yellow { --c: var(--yellow); --d: var(--yellow-dk); }
.device.blue { --c: var(--blue); --d: var(--blue-dk); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.hero .label { margin-bottom: 26px; }
.hero h1 { font-size: clamp(46px, 6.4vw, 88px); text-transform: uppercase; letter-spacing: -.025em; }
.hero h1 .outline { display: block; -webkit-text-stroke-width: 2px; }
.hero .lede { font-size: 20px; color: var(--ink-2); margin: 26px 0 34px; max-width: 30em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; z-index: 1; }
.video-card { position: relative; z-index: 2; border-radius: var(--r-lg); overflow: hidden; background: #111; aspect-ratio: 16 / 9; }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-cap { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; margin: 16px 6px 0; font-size: 14px; color: var(--ink-3); }
.video-cap::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.hero .dv-jar { width: 170px; left: -64px; top: -78px; }
.hero .dv-bottle { width: 150px; right: -52px; bottom: -150px; z-index: 1; }
.hero .dv-lid { width: 260px; left: -150px; bottom: -150px; }

/* ---------- sections ---------- */
section { position: relative; padding: 96px 0; }
.band { background: var(--cream); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head .label { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 58px); }
.section-head p { color: var(--ink-2); margin-top: 16px; font-size: 18px; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head.row > div { max-width: 640px; }

/* steps, with big Archivo figures (guide p.21) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; overflow: hidden; background: var(--white); border-radius: var(--r-md); padding: 28px 24px 26px; display: flex; flex-direction: column; min-height: 320px; }
.step .num { position: absolute; right: 14px; top: -14px; font: 200 128px/1 var(--body); color: var(--cream-dk); letter-spacing: -.04em; }
.step h3 { position: relative; font-size: 24px; margin-top: 78px; }
.step p { position: relative; color: var(--ink-2); font-size: 16px; margin: 10px 0 22px; flex: 1; }
.step .btn { align-self: flex-start; }
.step .meta { font-size: 13px; color: var(--ink-3); margin-top: 10px; }

/* yellow "beyond" panel (brochure, guide p.50) */
.beyond { background: var(--white); padding-bottom: 0; }
.beyond-panel { position: relative; overflow: hidden; background: var(--yellow); border-radius: 160px 0 0 0; padding: 88px 0 96px; }
.beyond-panel .section-head h2 .outline { -webkit-text-stroke-width: 1.5px; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; z-index: 1; }
.benefit { background: #ffe79a; border-radius: var(--r-md); padding: 26px 24px 28px; }
.benefit .icn { width: 52px; height: 52px; border-radius: 50%; background: var(--yellow-dk); display: grid; place-items: center; margin-bottom: 18px; }
.benefit .icn svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 21px; }
.benefit p { color: var(--ink-2); margin-top: 8px; font-size: 16px; }
.beyond .dv-pump { width: 200px; right: -30px; top: -60px; opacity: 1; }

/* contact (guide p.52) */
.contact { padding: 0; background: var(--white); }
.contact-panel { background: var(--orange); border-radius: 0 0 0 160px; padding: 88px 0 96px; }
.contact-panel .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact h2 { font-size: clamp(36px, 4.8vw, 60px); }
.contact h2 .outline { -webkit-text-stroke-width: 1.5px; }
.contact p { margin-top: 16px; font-size: 18px; max-width: 30em; }
.contact .label { margin-bottom: 18px; background: var(--black); color: var(--white); }
.person { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.person img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--cream); border: 3px solid var(--white); }
.person strong { display: block; font-family: var(--head); font-size: 22px; }
.person span { font-size: 15px; }
.contact-lines { display: grid; gap: 12px; }
.contact-line { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--r-md); background: var(--white); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.contact-line:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.contact-line .ico { width: 46px; height: 46px; border-radius: 50%; background: var(--black); color: var(--orange); display: grid; place-items: center; flex: none; }
.contact-line .ico svg { width: 20px; height: 20px; }
.contact-line small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.contact-line strong { font-size: 19px; overflow-wrap: break-word; }

/* footer (cream band, guide p.52) */
footer { background: var(--cream); padding: 48px 0 52px; }
footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: start; }
footer img { height: 52px; width: auto; }
footer .foot-h { margin: 0 0 8px; font: 700 14px/1.3 var(--body); letter-spacing: 0; }
footer p, footer li { font-size: 14px; color: var(--ink-2); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer .fine { font-size: 12px; color: var(--ink-3); margin-top: 14px; }

/* ---------- item cards ---------- */
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.item { background: var(--white); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.item[hidden] { display: none; }
.item-img { position: relative; aspect-ratio: 1; background: var(--cream); display: grid; place-items: center; }
.item-img img { width: 100%; height: 100%; object-fit: contain; }
.item-img .label { position: absolute; left: 12px; top: 12px; font-size: 10px; padding: 5px 8px; }
.item-img .placeholder { width: 46%; }
.item-head { padding: 16px 18px 0; }
.item-head h3 { font-size: 20px; letter-spacing: -.01em; }
.item-head p { margin-top: 3px; color: var(--ink-3); font-size: 15px; }
.item-head .new { display: inline-block; margin-top: 8px; }
.specs { margin: 12px 0 0; padding: 0 18px 18px; display: grid; gap: 12px; }
.spec { border-top: 1px solid var(--line); padding-top: 12px; }
.spec dt { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px; }
.spec dd { margin: 0; }
.parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.part { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; }
.part .part-note { font-size: 13px; color: var(--ink-3); }
.part .price { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); margin-top: 3px; font-variant-numeric: tabular-nums; }
.part .price b { color: var(--black); }
.part .price.ask { color: var(--orange-dk); font-weight: 600; }
.sku {
  font: 600 14px/1.2 var(--mono); letter-spacing: .02em; background: var(--white); color: var(--black);
  border: 1.5px solid var(--black); border-radius: 8px; padding: 5px 8px; cursor: copy; position: relative; justify-self: start;
  transition: background .15s, color .15s;
}
.sku:hover { background: var(--yellow); }
.sku.copied { background: var(--black); color: var(--white); }
.sku.copied::after {
  content: 'Copied'; position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%);
  background: var(--black); color: var(--white); font: 600 12px/1 var(--body); padding: 6px 8px; border-radius: 6px; white-space: nowrap;
}
.spec-note { margin-top: 9px; font-size: 13px; color: var(--ink-2); background: var(--cream); border-radius: 8px; padding: 7px 10px; }
.preview-foot { display: flex; justify-content: center; margin-top: 36px; }
.price-status { font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.price-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #2fb35a; flex: none; }
.price-status.stale::before, .price-status.off::before { background: var(--yellow-dk); }

/* ---------- items page ---------- */
.page-head { position: relative; overflow: hidden; padding: 64px 0 40px; }
.page-head h1 { font-size: clamp(42px, 7vw, 92px); text-transform: uppercase; letter-spacing: -.025em; position: relative; z-index: 1; }
.page-head h1 .outline { -webkit-text-stroke-width: 2px; }
.page-head .label { margin-bottom: 22px; position: relative; z-index: 1; }
.page-head p { color: var(--ink-2); margin-top: 18px; max-width: 36em; font-size: 19px; position: relative; z-index: 1; }
.page-head .dv-bottle { width: 130px; right: 4%; top: 30px; }
.page-head .dv-jar { width: 150px; right: 18%; bottom: -70px; }
.toolbar { position: sticky; top: var(--bar); z-index: 10; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 14px 0; border-bottom: 1px solid var(--line); }
.toolbar .wrap { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search { position: relative; flex: 1 1 320px; }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; pointer-events: none; }
.search input { width: 100%; min-height: 52px; padding: 12px 18px 12px 48px; border-radius: 999px; border: 2px solid var(--black); background: var(--white); font: 16px var(--body); color: var(--black); }
.search input:focus { outline: none; box-shadow: 0 0 0 4px var(--yellow); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font: 700 13px/1 var(--body); letter-spacing: .04em; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; color: var(--ink-2); }
.chip:hover { border-color: var(--black); color: var(--black); }
.chip[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.toolbar .count { font-size: 14px; color: var(--ink-3); margin-left: auto; }
.tip-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 24px 0 18px; font-size: 14px; color: var(--ink-3); }
.empty { text-align: center; padding: 56px 0; color: var(--ink-2); }
.empty[hidden] { display: none; }
.items-section { padding: 0 0 88px; }

/* full price list */
.pricelist-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.pricelist-tools .search { flex: 0 1 420px; }
.table-wrap { background: var(--white); border-radius: var(--r-md); overflow: hidden; }
table.prices { width: 100%; border-collapse: collapse; font-size: 15px; }
table.prices th { text-align: left; font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 16px; background: var(--white); border-bottom: 2px solid var(--black); }
table.prices td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.prices tr:last-child td { border-bottom: 0; }
table.prices td.num, table.prices th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.prices .desc small { display: block; color: var(--orange-dk); font-size: 13px; margin-top: 2px; }
table.prices tr[hidden] { display: none; }
.pricelist-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; color: var(--ink-3); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap, .contact-panel .wrap { grid-template-columns: 1fr; gap: 44px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .brand .with { display: none; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --bar: 64px; }
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand img { height: 30px; }
  .nav a.link { display: none; }
  .hero { padding: 40px 0 72px; }
  .hero .lede { font-size: 18px; }
  .hero .ctas .btn { flex: 1 1 100%; }
  .hero .dv-jar { width: 110px; left: auto; right: -30px; top: -40px; }
  .hero .dv-bottle, .hero .dv-lid { display: none; }
  section { padding: 64px 0; }
  .steps, .benefits { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step h3 { margin-top: 56px; }
  .step .num { font-size: 96px; }
  .beyond-panel { border-radius: 80px 0 0 0; padding: 64px 0 72px; }
  .contact-panel { border-radius: 0 0 0 80px; padding: 64px 0 72px; }
  .beyond .dv-pump { width: 120px; right: -36px; top: -40px; }
  .items { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .item-head { padding: 12px 12px 0; }
  .item-head h3 { font-size: 16px; }
  .specs { padding: 0 12px 14px; }
  .sku { font-size: 13px; padding: 4px 6px; }
  #preview .item:nth-child(n + 5) { display: none; }
  .contact-line { padding: 16px; gap: 14px; }
  .contact-line strong { font-size: 17px; }
  .page-head { padding: 40px 0 28px; }
  .page-head .dv-jar { display: none; }
  .page-head .dv-bottle { width: 80px; right: -20px; top: 10px; }
  .toolbar .count { margin-left: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; width: calc(100% + 32px); }
  .chip { flex: none; }
  footer .wrap { grid-template-columns: 1fr; }
  table.prices thead { display: none; }
  table.prices, table.prices tbody, table.prices tr, table.prices td { display: block; width: 100%; }
  table.prices tr { padding: 12px 14px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
  table.prices td { padding: 0; border: 0; }
  table.prices td.desc { grid-column: 1 / -1; order: -1; font-size: 14px; }
  table.prices td.case-qty { display: none; }
  table.prices td.num { text-align: left; font-size: 14px; }
  table.prices td.num[data-label]:not(:empty)::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
  .toolbar { position: static; }
}
@media (max-width: 340px) { .items { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
