/* Two counters of one sweet shop: Crystal (sugar-glass blue, rounded) and Pascall (cocoa, slab-cut)
   alternate in full-width bands; pack shots sit on white shelf tiles in both themes. */
:root {
  --paper: #f5f6fb;          /* cool sugar white */
  --paper-2: #e9ecf7;
  --ink: #161a33;
  --ink-soft: #4a5072;
  --line: #d6daea;
  --crystal: #2633a0;        /* Crystal wordmark blue */
  --crystal-band: #1f2a8c;
  --crystal-glow: #3d4fd1;
  --pascall: #3a2219;        /* cocoa */
  --pascall-band: #2b1812;
  --caramel: #e0952f;
  --candy: #e0312b;          /* wrapper red */
  --on-band: #ffffff;
  --on-band-soft: rgba(255,255,255,.78);
  --tile: #ffffff;           /* product photos are shot on white */
  --tile-ink: #161a33;
  --link: var(--crystal);
  --display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --step--1: .875rem; --step-0: 1rem; --step-1: 1.25rem; --step-2: 1.6rem; --step-3: 2.2rem; --step-4: clamp(2.4rem, 6vw, 4.4rem);
  --radius-sweet: 999px; --radius-tile: 18px;
  --wrap: 72rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1120; --paper-2: #171a2e; --ink: #eceefa; --ink-soft: #a8aecb; --line: #2a2f4b;
    --crystal: #9aa6ff; --crystal-band: #18206b; --crystal-glow: #3646c4;
    --pascall: #e9c3a6; --pascall-band: #22130e; --caramel: #f0a94a; --candy: #ff5a4f;
    --link: #b3bcff; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1120; --paper-2: #171a2e; --ink: #eceefa; --ink-soft: #a8aecb; --line: #2a2f4b;
  --crystal: #9aa6ff; --crystal-band: #18206b; --crystal-glow: #3646c4;
  --pascall: #e9c3a6; --pascall-band: #22130e; --caramel: #f0a94a; --candy: #ff5a4f;
  --link: #b3bcff; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--caramel); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 700px) { .wrap { padding-inline: 32px; } }
.eyebrow { font: 700 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 38em; }
.measure { max-width: 40em; }
.stack { display: grid; gap: 1rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 16px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand .chip { background: #fff; border-radius: 10px; padding: 4px 8px; display: grid; place-items: center; }
.brand img { height: 30px; width: auto; }
.brand b { font: 800 1.05rem/1 var(--display); letter-spacing: .01em; }
.nav { display: flex; gap: .25rem; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: .5rem .8rem; border-radius: var(--radius-sweet); }
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav a.to-crystal:hover { color: var(--crystal); }
.nav a.to-pascall:hover { color: var(--pascall); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius-sweet); padding: .45rem .9rem; font: 600 .95rem var(--body); cursor: pointer; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 16px 1rem; }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 1rem; }
}

/* ---------- hero: the two counters ---------- */
.counters { display: grid; grid-template-columns: 1fr 1fr; min-height: min(78vh, 640px); }
.counter { position: relative; overflow: hidden; color: var(--on-band); padding: clamp(2rem, 5vw, 4rem) clamp(16px, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; text-decoration: none; isolation: isolate; }
.counter.crystal { background: radial-gradient(120% 90% at 0% 0%, var(--crystal-glow), var(--crystal-band) 60%); border-radius: 0 0 0 0; }
.counter.pascall { background: linear-gradient(160deg, #4a2b1f, var(--pascall-band) 70%); }
.counter .logo-chip { background: #fff; border-radius: 14px; padding: 10px 14px; width: fit-content; }
.counter.crystal .logo-chip img { height: 44px; width: auto; }
.counter.pascall .logo-chip { background: transparent; padding: 0; }
.counter.pascall .logo-chip img { height: 86px; width: auto; filter: drop-shadow(0 0 0 #fff) drop-shadow(0 1px 0 rgba(255,255,255,.35)); }
.counter h1, .counter h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); color: var(--on-band); max-width: 11ch; }
.counter p { color: var(--on-band-soft); max-width: 30ch; font-size: var(--step-1); line-height: 1.45; }
.counter .go { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--on-band); border: 2px solid rgba(255,255,255,.6); border-radius: var(--radius-sweet); padding: .6rem 1.1rem; width: fit-content; transition: background .2s, color .2s; }
.counter:hover .go { background: #fff; color: var(--ink); }
.counter.pascall .go { border-radius: 6px; }
.counter .packs { position: absolute; z-index: -1; pointer-events: none; }
.counter.crystal .packs { right: -6%; bottom: -4%; width: 62%; }
.counter.crystal .packs img { position: absolute; width: 46%; border-radius: 10px; box-shadow: 0 18px 40px rgba(0,0,40,.35); }
.counter.crystal .packs img:nth-child(1) { right: 40%; bottom: 8%; transform: rotate(-9deg); }
.counter.crystal .packs img:nth-child(2) { right: 18%; bottom: 0; transform: rotate(4deg); }
.counter.crystal .packs img:nth-child(3) { right: -4%; bottom: 12%; transform: rotate(13deg); }
.counter.crystal .packs { aspect-ratio: 1 / 1.05; }
.counter.pascall .packs { right: -10%; bottom: 6%; width: 70%; display: grid; gap: 10px; transform: rotate(-8deg); }
.counter.pascall .packs img { border-radius: 6px; box-shadow: 0 14px 30px rgba(0,0,0,.45); }
.counter.pascall .packs img:nth-child(2) { margin-left: 12%; }
.counter.pascall .packs img:nth-child(3) { margin-left: 4%; }
.counter.pascall .packs img:nth-child(4) { margin-left: 16%; }
.counter-copy { display: grid; gap: 1rem; max-width: 26rem; }
@media (max-width: 760px) {
  .counters { grid-template-columns: 1fr; min-height: 0; }
  .counter { min-height: 440px; }
  .counter.crystal .packs { width: 70%; right: -8%; }
}
.seal { background: var(--ink); color: var(--paper); }
.seal .wrap { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; padding-block: .9rem; font-weight: 600; font-size: var(--step--1); letter-spacing: .02em; }
.seal span::before { content: "\2022"; color: var(--caramel); margin-right: .55rem; }

/* ---------- sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-head { display: grid; gap: .9rem; margin-bottom: 2.2rem; max-width: 46rem; }
.band { color: var(--on-band); }
.band.crystal { background: var(--crystal-band); }
.band.pascall { background: var(--pascall-band); }
.band .eyebrow { color: var(--caramel); }
.band p { color: var(--on-band-soft); }
.band a { color: var(--on-band); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* product shelf */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11.5rem), 1fr)); gap: 1rem; }
.pack { background: var(--tile); color: var(--tile-ink); border-radius: var(--radius-tile); padding: 1rem 1rem 1.1rem; display: grid; grid-template-rows: 9.5rem auto; gap: .8rem; transition: transform .2s ease, box-shadow .2s ease; }
.pack:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 16px 34px rgba(10,14,50,.22); }
.pack figure { margin: 0; display: grid; place-items: center; min-height: 0; }
.pack img { max-height: 9.5rem; width: auto; object-fit: contain; }
.pack h3 { font-size: 1.05rem; }
.pack p { font-size: var(--step--1); color: #565c7a; line-height: 1.4; margin-top: .2rem; }
.pack .size { display: inline-block; margin-top: .45rem; font: 700 .72rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--crystal-band); padding: .35rem .55rem; border-radius: var(--radius-sweet); }
.pascall-shelf .pack { border-radius: 6px; }
.pascall-shelf .pack .size { background: #3a2219; border-radius: 3px; }
.cat { display: grid; gap: 1.2rem; }
.cat + .cat { margin-top: 3rem; }
.cat-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; border-bottom: 1px solid currentColor; padding-bottom: .7rem; }
.band .cat-head { border-color: rgba(255,255,255,.25); }
.cat-head h2, .cat-head h3 { font-size: var(--step-2); }
.cat-head p { font-size: var(--step--1); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.chips a { text-decoration: none; font-weight: 600; font-size: var(--step--1); padding: .45rem .9rem; border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius-sweet); }
.chips a:hover { background: rgba(255,255,255,.12); }
.band.pascall .chips a { border-radius: 4px; }

.cta { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; border-radius: var(--radius-sweet); padding: .75rem 1.3rem; background: var(--ink); color: var(--paper); width: fit-content; }
.cta:hover { background: var(--crystal); color: #fff; }
.band .cta { background: #fff; color: var(--ink); }
.band .cta:hover { background: var(--caramel); color: var(--ink); }
.band.pascall .cta { border-radius: 6px; }

/* photo collage */
.collage { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 9rem; gap: .8rem; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-tile); }
.collage .a { grid-column: span 3; grid-row: span 3; }
.collage .b { grid-column: span 3; grid-row: span 2; }
.collage .c { grid-column: span 3; grid-row: span 1; object-position: center 35%; }
@media (max-width: 640px) { .collage { grid-template-columns: 1fr 1fr; grid-auto-rows: 8rem; } .collage .a { grid-column: span 2; grid-row: span 2; } .collage .b, .collage .c { grid-column: span 1; grid-row: span 1; } }
.photo { border-radius: var(--radius-tile); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* recipes */
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1.4rem; }
.recipe-card { text-decoration: none; color: var(--ink); display: grid; gap: .8rem; align-content: start; }
.recipe-card .img { aspect-ratio: 4 / 3; border-radius: var(--radius-tile); overflow: hidden; background: var(--paper-2); }
.recipe-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.recipe-card:hover img { transform: scale(1.04); }
.recipe-card h3 { font-size: 1.2rem; }
.recipe-card p { color: var(--ink-soft); font-size: var(--step--1); }
.recipe-card .meta { font: 700 .72rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--caramel); }

.recipe-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.recipe-hero > * { min-width: 0; }
.recipe-hero .photo { aspect-ratio: 4 / 3.4; }
@media (max-width: 760px) { .recipe-hero { grid-template-columns: 1fr; } }
.recipe-body { display: grid; grid-template-columns: 18rem 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.recipe-body > * { min-width: 0; }
@media (max-width: 760px) { .recipe-body { grid-template-columns: 1fr; } }
.ingredients { background: var(--paper-2); border-radius: var(--radius-tile); padding: 1.4rem 1.5rem; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); }
@media (max-width: 760px) { .ingredients { position: static; } }
.ingredients h2, .method h2 { font-size: var(--step-1); margin-bottom: .8rem; }
.ingredients h3 { font: 700 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: 1.1rem 0 .5rem; }
.ingredients ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; }
.ingredients strong { color: var(--crystal); }
.method ol { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 1.1rem; max-width: 40em; }
.method li { counter-increment: step; display: grid; grid-template-columns: 2.4rem 1fr; gap: .8rem; }
.method li::before { content: counter(step); font: 800 1.1rem/2.2rem var(--display); text-align: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--caramel); color: #2b1812; }
.method .note { margin-top: 1.6rem; color: var(--ink-soft); font-size: var(--step--1); max-width: 40em; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem; }
.facts span { font-weight: 600; font-size: var(--step--1); padding: .4rem .8rem; border-radius: var(--radius-sweet); background: var(--paper-2); }

/* about / values */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.values li { border-top: 3px solid var(--caramel); padding-top: .9rem; }
.timeline-stat { font: 800 clamp(3.5rem, 10vw, 7rem)/.9 var(--display); color: var(--crystal); letter-spacing: -.03em; }

/* contact */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 2rem; }
.contact h3 { font-size: var(--step--1); font-family: var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); margin-bottom: .6rem; }
.contact p, .contact li { font-size: var(--step-0); }
.contact ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; font-variant-numeric: tabular-nums; }
.hours dt { font-weight: 600; } .hours dd { margin: 0; }

/* documents */
.doc-list { display: grid; gap: 1rem; max-width: 46rem; }
.doc { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius-tile); background: var(--paper); }
.doc > * { min-width: 0; }
.doc .badge { font: 800 .8rem/1 var(--display); background: var(--crystal-band); color: #fff; border-radius: 10px; padding: .7rem .6rem; }
.doc a.cta { padding: .55rem 1rem; }
@media (max-width: 520px) { .doc { grid-template-columns: 1fr; } }

/* legal text */
.legal { max-width: 46rem; display: grid; gap: 1.2rem; }
.legal h2 { font-size: var(--step-1); margin-top: 1rem; }
.legal p { color: var(--ink); }

.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; display: grid; gap: 1rem; }
.page-head.band { padding-block: clamp(3rem, 7vw, 5rem); }

/* footer */
.site-foot { background: var(--ink); color: var(--paper); padding-block: 3rem 2rem; margin-top: 0; }
.site-foot a { color: var(--paper); }
.site-foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
@media (max-width: 700px) { .site-foot .cols { grid-template-columns: 1fr; } }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.site-foot h3 { font: 700 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--caramel); margin-bottom: .9rem; }
.site-foot .fine { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid color-mix(in srgb, var(--paper) 20%, transparent); font-size: var(--step--1); opacity: .75; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }
.foot-logos { display: flex; gap: .8rem; align-items: center; margin-top: 1rem; }
.foot-logos .chip { background: #fff; border-radius: 10px; padding: 6px 10px; }
.foot-logos img { height: 34px; width: auto; }
.foot-logos .pl { height: 58px; }

/* hero fixes: copy always above the pack shots; packs kept to the lower corner */
.counter-copy, .counter .go { position: relative; z-index: 1; }
.counter.crystal .packs { width: 50%; right: -4%; bottom: -10%; }
.counter.pascall .packs { width: 52%; right: -12%; bottom: -6%; top: auto; }
.counter.pascall .logo-chip { background: #fff; padding: 6px 12px; border-radius: 14px; }
.counter.pascall .logo-chip img { height: 56px; filter: none; }
.counter h1, .counter h2 { text-shadow: 0 2px 18px rgba(0,0,0,.25); }
@media (max-width: 760px) {
  .counter.crystal .packs, .counter.pascall .packs { width: 58%; right: -10%; bottom: -14%; opacity: .95; }
}
.shelf { grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.6rem), 1fr)); }
.counter.pascall .packs { width: 44%; right: -10%; bottom: -12%; }
@media (max-width: 760px) { .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pack { grid-template-rows: 7.5rem auto; } .pack img { max-height: 7.5rem; } }

/* advert photos carry their own wording, so they are never cropped: shown whole at their own shape */
.collage { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); grid-auto-rows: auto; gap: 1rem; align-items: start; }
.collage img, .collage .a, .collage .b, .collage .c { grid-column: auto; grid-row: auto; width: 100%; height: auto; object-fit: initial; border-radius: var(--radius-tile); }
.photo.whole img { height: auto; object-fit: initial; }

/* certificates shown on the page; the picture opens the full PDF in a new tab */
.certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 2.5rem; align-items: start; }
.cert { margin: 0; display: grid; gap: 1.1rem; min-width: 0; }
.cert > a { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(10,14,50,.10); transition: transform .2s ease, box-shadow .2s ease; }
.cert > a:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(10,14,50,.18); }
.cert img { width: 100%; height: auto; }
.cert figcaption { display: grid; gap: .5rem; }
.cert h2 { font-size: var(--step-1); }
.cert p { color: var(--ink-soft); }
.cert .cta { margin-top: .3rem; }

/* phone readability: no running label below 13px, comfortable tap targets */
.eyebrow, .site-foot h3, .ingredients h3, .contact h3 { font-size: .8125rem; }
.pack .size, .recipe-card .meta { font-size: .8125rem; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.site-foot ul a { display: inline-block; padding-block: .3rem; }
