/* ==========================================================================
   Prince Joy — site styles
   Palette taken from the logo: deep aloe green + the saffron sun.
   ========================================================================== */

:root {
    --aloe-950: #0B2619;
    --aloe-900: #0E2F20;
    --aloe: #123D2A;
    --aloe-700: #1D5236;
    --leaf: #2F7A3F;
    --leaf-light: #8DBF6A;
    --saffron: #E9A227;
    --saffron-light: #F6C35B;
    --saffron-deep: #B9761A;
    --gel: #F5F8F1;
    --pulp: #DDE8D2;
    --pulp-soft: #EAF1E3;
    --white: #FFFFFF;
    --ink: #16231B;
    --muted: #4E6356;
    --line: #D3DECB;
    --danger: #B3261E;
    --danger-bg: #FCECEA;
    --ok-bg: #E4F2DC;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 28px;
    --container: 1220px;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --section: clamp(4rem, 9vw, 7.5rem);
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2-variations"), url("../fonts/fraunces-latin-full-normal.woff2") format("woff2");
    font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Figtree";
    src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
    font-weight: 300 900; font-style: normal; font-display: swap;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--gel);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}
h1, h2, h3, p, li, dd, dt, a { overflow-wrap: break-word; }
a, button, input, select, textarea, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--saffron-light); color: var(--ink); }

:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--saffron); color: var(--ink); padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* ---------- Type ---------- */
.display-1, .display-2, .hero__title, .page-hero__title {
    font-family: var(--font-display);
    font-variation-settings: "SOFT" 100;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.06;
    text-wrap: balance;
}
.display-1 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
.display-2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: .55em; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 36em; }
.prose { max-width: 38rem; }
.prose p { color: var(--muted); }
.prose .lede { color: var(--ink); }

.link-arrow, .link-underline {
    font-weight: 600;
    color: var(--leaf);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
    transition: text-decoration-color .2s;
}
.link-arrow:hover, .link-underline:hover { text-decoration-color: currentColor; }
.link-arrow { display: inline-block; margin-top: .75rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 52px; padding: .8rem 1.6rem;
    border: 2px solid transparent; border-radius: 999px;
    font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none;
    cursor: pointer; white-space: nowrap;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: .55rem 1.15rem; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--saffron { background: var(--saffron); color: var(--ink); }
.btn--saffron:hover { background: var(--saffron-light); }
.btn--aloe { background: var(--aloe); color: var(--gel); }
.btn--aloe:hover { background: var(--aloe-700); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--outline { border-color: var(--aloe); color: var(--aloe); }
.btn--outline:hover { background: var(--aloe); color: var(--gel); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(245, 248, 241, .9);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(14, 47, 32, .5); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }
.brand img { height: 56px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.site-nav a:not(.btn) {
    display: block; padding: .5rem .8rem; border-radius: 999px;
    font-weight: 500; font-size: .98rem; text-decoration: none; color: var(--ink);
    transition: background-color .2s, color .2s;
}
.site-nav a:not(.btn):hover { background: var(--pulp-soft); }
.site-nav a[aria-current="page"] { color: var(--leaf); font-weight: 700; background: var(--pulp-soft); }

.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    position: absolute; left: 50%; width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
    transform: translateX(-50%); transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle__bars { top: 50%; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; left: 0; transform: none; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
    :root { --header-h: 68px; }
    .brand img { height: 46px; }
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 1rem;
        padding: 1rem var(--gutter) 1.5rem;
        background: var(--gel); border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px -24px rgba(14, 47, 32, .35);
        max-height: calc(100svh - var(--header-h));
        overflow-y: auto; overscroll-behavior: contain;
        display: none;
    }
    .site-nav.is-open { display: flex; }
    .site-nav ul { flex-direction: column; }
    .site-nav a:not(.btn) { padding: .8rem 1rem; font-size: 1.05rem; }
    .site-nav .btn { min-height: 52px; }
}

/* ==========================================================================
   Home hero — the one bold moment. The stage changes colour with the drink.
   ========================================================================== */
.hero {
    --hero-bg: var(--aloe);
    --hero-fg: var(--gel);
    --hero-muted: rgba(232, 240, 224, .78);
    --hero-sun: var(--saffron);
    --hero-tab: var(--saffron);
    --hero-tab-fg: var(--ink);
    position: relative; overflow: hidden;
    background: var(--hero-bg); color: var(--hero-fg);
    transition: background-color .7s var(--ease), color .5s;
}
.hero[data-flavour="fruit"] {
    --hero-bg: var(--saffron);
    --hero-fg: var(--ink);
    --hero-muted: rgba(22, 35, 27, .78);
    --hero-sun: var(--leaf);
    --hero-tab: var(--aloe);
    --hero-tab-fg: var(--gel);
}
.hero__grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 2rem;
    min-height: min(calc(100svh - var(--header-h)), 780px);
    padding-block: clamp(2.5rem, 6vw, 5rem);
}
.hero__copy { max-width: 36rem; }
.hero__eyebrow { margin: 0 0 1rem; font-size: .9rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hero-muted); }
.flavour-switch {
    display: inline-flex; padding: 5px; margin-bottom: 2rem;
    border-radius: 999px; border: 1px solid color-mix(in srgb, var(--hero-fg) 30%, transparent);
}
.flavour-switch button {
    border: 0; background: transparent; color: var(--hero-fg);
    padding: .6rem 1.3rem; border-radius: 999px; font-weight: 600; cursor: pointer;
    transition: background-color .35s var(--ease), color .35s;
}
.flavour-switch button[aria-selected="true"] { background: var(--hero-tab); color: var(--hero-tab-fg); }
.flavour-switch button:not([aria-selected="true"]):hover { background: color-mix(in srgb, var(--hero-fg) 10%, transparent); }

.hero__title { font-size: clamp(2.6rem, 5.8vw, 5rem); line-height: 1.02; margin-bottom: .4em; }
.hero__lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--hero-muted); max-width: 32em; }
.hero__facts { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .55rem; }
.hero__facts li { display: flex; align-items: center; gap: .7rem; font-weight: 500; }
.hero__facts li::before {
    content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
    background: var(--hero-sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
    transition: background-color .7s var(--ease);
}
.hero__panel[hidden] { display: none; }
.hero__panel.is-entering { animation: panel-in .55s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero[data-flavour="fruit"] .btn--saffron { background: var(--aloe); color: var(--gel); }
.hero[data-flavour="fruit"] .btn--saffron:hover { background: var(--aloe-700); }
.hero[data-flavour="fruit"] .btn--ghost { border-color: rgba(22,35,27,.4); color: var(--ink); }
.hero[data-flavour="fruit"] .btn--ghost:hover { border-color: var(--ink); background: rgba(22,35,27,.06); }

.hero__stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: end; }
.hero__stage::before { /* the sun from the logo */
    content: ""; position: absolute; inset: 9%;
    border-radius: 50%; background: var(--hero-sun);
    transition: background-color .7s var(--ease);
}
.hero__bottle { position: absolute; inset: 0; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.hero__bottle img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.28)); }
.hero[data-flavour="aloe"] [data-flavour-image="fruit"],
.hero[data-flavour="fruit"] [data-flavour-image="aloe"] { opacity: 0; transform: translateX(6%) scale(.94); pointer-events: none; }

/* soft leaf-curve echoing the logo swoosh, sits behind everything */
.hero__sun {
    position: absolute; right: -18%; bottom: -55%; width: 90%; aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--hero-fg) 12%, transparent);
    box-shadow: 0 0 0 60px color-mix(in srgb, var(--hero-fg) 4%, transparent);
    pointer-events: none;
}

@media (max-width: 860px) {
    .hero__grid { grid-template-columns: 1fr; text-align: left; gap: 0; padding-top: 2rem; min-height: 0; }
    .hero__stage { order: -1; max-width: 360px; justify-self: center; margin-bottom: 1rem; }
    .flavour-switch { margin-bottom: 1.5rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.intro__media img { width: 100%; }

.why { background: var(--pulp-soft); }
.why__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.25rem; margin: 2.5rem 0 0; }
.benefit { border-top: 2px solid var(--leaf); padding-top: 1rem; }
.benefit dt { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: 1.3rem; font-weight: 600; line-height: 1.25; margin-bottom: .35rem; }
.benefit dd { margin: 0; color: var(--muted); }
.why__mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / 1.05; }
.why__mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.why__mosaic img:first-child { grid-row: span 2; border-radius: var(--radius-lg) var(--radius) var(--radius) var(--radius-lg); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); counter-reset: step; }
.step { counter-increment: step; }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.25rem; }
.step h3 { display: flex; align-items: baseline; gap: .6rem; font-size: 1.25rem; margin-bottom: .4rem; }
.step h3::before {
    content: counter(step); font-family: var(--font-display); font-variation-settings: "SOFT" 100;
    font-size: 1.9rem; font-weight: 700; color: var(--saffron-deep); line-height: 1;
}
.step p { color: var(--muted); }
.process__more { margin-top: 2.5rem; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--aloe); color: var(--gel); }
.page-hero--saffron { background: var(--saffron); color: var(--ink); }
.page-hero--light { background: var(--gel); color: var(--ink); }
.page-hero--light .page-hero__inner { padding-bottom: clamp(2rem, 4vw, 3rem); }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .32; mix-blend-mode: luminosity; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--aloe) 25%, rgba(18,61,42,.55)); }
.page-hero__inner { position: relative; padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem); }
.page-hero__title { font-size: clamp(2.6rem, 6vw, 4.75rem); margin: .5rem 0 .3em; }
.page-hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34em; opacity: .85; margin: 0; }
.crumbs { display: flex; gap: .5rem; font-size: .92rem; opacity: .8; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.story--reverse .story__copy { order: 2; }
.story__figure { margin: 0; }
.story__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.story__figure figcaption { margin-top: .75rem; font-size: .92rem; color: var(--muted); }
.story .btn { margin-top: 1rem; }
.values { background: var(--aloe); color: var(--gel); }
.values__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin-top: 1rem; }
.value { border-top: 2px solid var(--saffron); padding-top: 1.1rem; }
.value h3 { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: 1.45rem; margin-bottom: .5rem; }
.value p { color: rgba(232, 240, 224, .8); }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-pair a { display: block; border-radius: var(--radius); overflow: hidden; }
.photo-pair a:nth-child(2) { margin-top: 3rem; }
.photo-pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s var(--ease); }
.photo-pair a:hover img { transform: scale(1.04); }

/* ---------- Products ---------- */
.product { padding-block: var(--section); overflow: hidden; }
.product--aloe { background: var(--aloe); color: var(--gel); }
.product--aloe .lede, .product--aloe p { color: rgba(232, 240, 224, .82); }
.product--fruit { background: var(--saffron); color: var(--ink); }
.product--fruit .lede, .product--fruit p { color: rgba(22, 35, 27, .8); }
.product__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.product__grid--reverse .product__media { order: 2; }
.product__media { position: relative; }
.product__media::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: var(--saffron); }
.product--fruit .product__media::before { background: var(--leaf); }
.product__media img { position: relative; width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.25)); }
.product__copy .display-1 { margin-bottom: .4em; }
.product__copy .btn { margin-top: 2rem; }
.specs { display: grid; margin: 1.75rem 0 0; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.specs > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.specs dt { font-weight: 600; }
.specs dd { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.chips li { padding: .35rem .85rem; border-radius: 999px; background: rgba(255,255,255,.55); font-weight: 600; font-size: .92rem; }
.wholesale__inner { max-width: 44rem; text-align: center; margin-inline: auto; }
.wholesale__inner p { color: var(--muted); margin-bottom: 1.75rem; }

/* ---------- Factory gallery ---------- */
.masonry { columns: 3 320px; column-gap: 18px; }
.masonry__item { display: block; break-inside: avoid; margin-bottom: 18px; text-decoration: none; }
.masonry__item img { width: 100%; border-radius: var(--radius); transition: transform .6s var(--ease), filter .3s; }
.masonry__item:hover img { filter: brightness(1.05); }
.masonry__caption { display: block; padding: .55rem .15rem 0; font-size: .92rem; color: var(--muted); }

/* ---------- Forms ---------- */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); margin: 0 0 1.5rem; min-width: 0; }
.panel__title { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: 1.55rem; font-weight: 600; padding: 0; margin-bottom: .35rem; float: left; width: 100%; }
.panel__title + * { clear: both; }
.panel__hint { color: var(--muted); margin-bottom: 1.25rem; }
form.panel .panel__title { margin-bottom: 1.25rem; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; margin-top: .75rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 50px; padding: .7rem .95rem;
    background: var(--gel); border: 1.5px solid var(--line); border-radius: 12px;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2316231B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; padding-right: 2.5rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b8c8ad; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); background: var(--white); box-shadow: 0 0 0 4px rgba(47, 122, 63, .15); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); background: var(--danger-bg); }
.field__error { color: var(--danger); font-size: .92rem; font-weight: 600; margin: .35rem 0 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.g-recaptcha { margin: 1rem 0; }

.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-weight: 600; }
.alert--error { background: var(--danger-bg); color: var(--danger); border: 1px solid #F2C4BF; }
.alert--success { background: var(--ok-bg); color: var(--aloe); border: 1px solid #C2DDB2; }

/* order */
.order__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1.75rem; align-items: start; }
.pack-list { display: grid; gap: .75rem; }
.pack { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; align-items: center; padding: .75rem 1rem .75rem .75rem; border-radius: var(--radius); background: var(--gel); border: 1.5px solid transparent; transition: border-color .2s, background-color .2s; }
.pack img { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; background: var(--pulp); }
.pack--fruit img { background: #FBE3B3; }
.pack.has-qty { border-color: var(--leaf); background: var(--pulp-soft); }
.pack__name { display: block; font-weight: 700; }
.pack__size { color: var(--muted); font-size: .95rem; }
.stepper { display: inline-flex; align-items: center; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); }
.stepper__btn { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; font-size: 1.3rem; font-weight: 600; cursor: pointer; color: var(--aloe); }
.stepper__btn:hover { background: var(--pulp-soft); }
.stepper__btn:disabled { color: #b5c2ad; cursor: default; background: transparent; }
.stepper input { width: 2.6rem; border: 0; text-align: center; font-weight: 700; font-size: 1.05rem; background: transparent; -moz-appearance: textfield; padding: 0; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.choice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: .75rem; }
.choice { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--gel); cursor: pointer; transition: border-color .2s, background-color .2s; }
.choice:hover { border-color: #b8c8ad; }
.choice input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--leaf); flex: none; }
.choice:has(input:checked) { border-color: var(--leaf); background: var(--pulp-soft); }
.choice__label { display: block; font-weight: 700; }
.choice__hint { display: block; color: var(--muted); font-size: .93rem; }

.order__summary { position: sticky; top: calc(var(--header-h) + 1.25rem); }
.summary { background: var(--aloe); color: var(--gel); border-radius: var(--radius-lg); padding: 1.75rem; }
.summary__title { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: 1.55rem; margin-bottom: 1rem; }
.summary__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.summary__lines li { display: flex; justify-content: space-between; gap: 1rem; font-size: .97rem; }
.summary__lines li span:last-child { font-weight: 700; white-space: nowrap; }
.summary__empty { color: rgba(232, 240, 224, .65); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin: 1.1rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(232,240,224,.2); font-size: 1.1rem; }
.summary__total strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--saffron-light); }
.summary__note { font-size: .9rem; color: rgba(232, 240, 224, .72); margin: 1rem 0 1.25rem; }
.summary .field__error { color: #FFB4AB; }

.confirm { max-width: 44rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem); }
.confirm__summary { margin: 1.75rem 0 2rem; border-top: 1px solid var(--line); }
.confirm__summary > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.confirm__summary dt { color: var(--muted); }
.confirm__summary dd { margin: 0; font-weight: 700; text-align: right; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact__details { display: grid; gap: 2rem; padding-top: .5rem; }
.contact-block h2 { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: 1.4rem; margin-bottom: .5rem; }
.contact-block a:not(.link-underline), .contact-block address { display: block; font-size: 1.1rem; text-decoration: none; margin-bottom: .2rem; }
.contact-block a:not(.link-underline):hover { color: var(--leaf); text-decoration: underline; }
.contact-block .link-underline { display: inline-block; margin-top: .4rem; }
.contact__form .btn { margin-top: .5rem; }
.map iframe { width: 100%; height: 440px; border: 0; filter: saturate(.85); }

.notfound__inner { max-width: 44rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--aloe-950); color: rgba(232, 240, 224, .82); padding-top: clamp(3rem, 7vw, 5rem); }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-bottom: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid rgba(232, 240, 224, .14); }
.footer-cta__line { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 600; line-height: 1.1; color: var(--gel); margin: 0; max-width: 18ch; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.footer-brand img { width: 160px; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 26em; font-size: .97rem; }
.footer-heading { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--gel); margin-bottom: .9rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-links a, .footer-text { text-decoration: none; font-size: .97rem; }
.footer-links a:hover { color: var(--saffron-light); text-decoration: underline; }
.footer-text { display: block; margin-bottom: .5rem; }
.site-footer .link-underline { color: var(--saffron-light); }
.social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(232, 240, 224, .25); transition: background-color .2s, border-color .2s; }
.social a:hover { background: var(--saffron); border-color: var(--saffron); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.social a:hover svg { fill: var(--ink); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.5rem; border-top: 1px solid rgba(232, 240, 224, .14); font-size: .9rem; color: rgba(232, 240, 224, .6); }
.footer-base p { margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; width: 100dvw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(11, 38, 25, .96); color: var(--gel); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; max-width: min(92vw, 1400px); }
.lightbox img { max-height: 82vh; max-height: 78dvh; width: auto; margin-inline: auto; border-radius: var(--radius); }
.lightbox figcaption { text-align: center; margin-top: .9rem; color: rgba(232, 240, 224, .85); }
.lightbox__close, .lightbox__nav { position: fixed; border: 0; background: rgba(232, 240, 224, .1); color: var(--gel); width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(232, 240, 224, .22); }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__nav--prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* ---------- Responsive ---------- */
/* dealer registration */
.dealer { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.dealer__aside { display: grid; gap: 2rem; position: sticky; top: calc(var(--header-h) + 1.25rem); }
.dealer-areas { background: var(--aloe); color: var(--gel); border-radius: var(--radius-lg); padding: 1.75rem; }
.dealer-areas__title { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: 1.45rem; margin-bottom: 1rem; }
.dealer-areas__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1rem; }
.dealer-areas__list li { display: flex; align-items: center; gap: .45rem; font-weight: 600; }
.dealer-areas__list svg { width: 18px; height: 18px; fill: var(--saffron-light); flex: none; }
.dealer-areas__note { font-size: .9rem; color: rgba(232, 240, 224, .75); margin: 1.1rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(232,240,224,.2); }
.dealer-note h2 { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: 1.4rem; margin-bottom: .5rem; }
.dealer-note p { color: var(--muted); margin-bottom: .9rem; }
.dealer-note__perks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.dealer-note__perks li { background: var(--pulp-soft); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .85rem; font-size: .9rem; font-weight: 600; color: var(--aloe); }
.dealer__form .panel .choice-list + .form-grid, .dealer__form .panel .form-grid + .choice-list, .dealer__form .panel .field__error + .form-grid { margin-top: 1.25rem; }
@media (max-width: 860px) {
    .dealer { grid-template-columns: 1fr; }
    .dealer__aside { position: static; }
}
@media (max-width: 600px) {
    .dealer__form > .btn { width: 100%; }
    .dealer-areas { border-radius: var(--radius); padding: 1.35rem; }
}

@media (max-width: 1080px) {
    .order__grid { grid-template-columns: 1fr; }
    .order__summary { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .intro__grid, .why__grid, .story, .product__grid, .contact { grid-template-columns: 1fr; }
    .story--reverse .story__copy, .product__grid--reverse .product__media { order: 0; }
    .product__media { max-width: 460px; margin-inline: auto; }
    .steps, .values__grid { grid-template-columns: 1fr; }
    .step img { aspect-ratio: 16 / 9; }
    .story__figure img { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
    body { font-size: 1rem; }
    .benefits, .form-grid, .choice-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .pack { grid-template-columns: 56px 1fr; }
    .pack img { width: 56px; height: 56px; }
    .stepper { grid-column: 1 / -1; justify-self: start; }
    .specs > div { grid-template-columns: 7rem 1fr; }
    .map iframe { height: 340px; }
    .hero__actions .btn { flex: 1 1 100%; }
    .lightbox__nav { top: auto; bottom: calc(1.25rem + env(safe-area-inset-bottom)); transform: none; }

    /* Home hero: smaller bottle so the headline and buttons show without scrolling */
    .hero__grid { padding-top: 1.25rem; padding-bottom: 2.5rem; }
    .hero__stage { max-width: min(270px, 72vw); margin-bottom: .5rem; }
    .hero__title { font-size: clamp(2.05rem, 9vw, 2.6rem); }
    .hero__eyebrow { font-size: .78rem; margin-bottom: .75rem; }
    .flavour-switch { display: flex; width: 100%; margin-bottom: 1.25rem; }
    .flavour-switch button { flex: 1; min-height: 44px; padding-inline: .75rem; }
    .hero__actions { margin-top: 1.75rem; }

    /* Inner pages */
    .page-hero__inner { padding-block: 2.25rem 2.5rem; }
    .page-hero__title { font-size: clamp(2.1rem, 10vw, 2.6rem); }
    .page-hero__media::after { background: linear-gradient(180deg, rgba(18,61,42,.75), var(--aloe)); }
    .crumbs { font-size: .88rem; }
    .display-1 { font-size: clamp(2rem, 8.5vw, 2.4rem); }
    .display-2 { font-size: clamp(1.7rem, 7.5vw, 2rem); }
    .lede { font-size: 1.075rem; }

    .why__mosaic { gap: 10px; }
    .photo-pair { gap: 10px; }
    .photo-pair a:nth-child(2) { margin-top: 1.5rem; }
    .masonry { columns: 2; column-gap: 10px; }
    .masonry__item { margin-bottom: 12px; }
    .masonry__item img { border-radius: var(--radius-sm); }
    .masonry__caption { font-size: .82rem; line-height: 1.35; padding-top: .4rem; }
    .product__media { max-width: 320px; }
    .product__copy .btn, .story .btn, .wholesale .btn, .contact__form .btn { width: 100%; }
    .chips li { font-size: .88rem; }

    /* Forms: comfortable panels and tap targets */
    .panel { border-radius: var(--radius); padding: 1.1rem; }
    .panel__title { font-size: 1.35rem; }
    .pack { padding: .75rem; }
    .stepper__btn { width: 48px; height: 48px; }
    .summary { border-radius: var(--radius); padding: 1.35rem; }
    .contact-block a:not(.link-underline) { padding-block: .3rem; }

    /* Footer: full-width CTA, bigger link targets */
    .footer-cta { flex-direction: column; align-items: stretch; }
    .footer-cta .btn { width: 100%; }
    .footer-links { gap: 0; }
    .footer-links a { display: inline-block; padding-block: .45rem; }
    .footer-base { padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
    :root { --gutter: 1rem; }
    .btn { white-space: normal; text-align: center; padding-inline: 1.1rem; }
    .brand img { height: 40px; }
    .masonry { columns: 1; }
}
/* Landscape phones: don't let the hero fill more than the screen */
@media (max-height: 500px) and (orientation: landscape) {
    .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); min-height: 0; }
    .hero__stage { order: 0; max-width: 260px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
