/* Self-hosted Google Fonts (OFL): Gloock, Hanken Grotesk. Latin + Latin Extended subsets. */
@font-face {
  font-family: 'Gloock';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/gloock-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Gloock';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/gloock-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Perla Pharma: design tokens
   Perla means "pearl". The site is a cool, quiet pearl stage so the vivid
   product packs carry the colour. Orange is reserved for actions.
   ========================================================================== */

:root {
    --pearl: #EEF1F3;
    --pearl-deep: #E2E7EB;
    --paper: #FFFFFF;
    --ink: #151B26;
    --slate: #535D6C;
    --line: #D5DBE1;          /* dividers */
    --line-strong: #7D8796;   /* form control borders, 3.6:1 on white */
    --orange: #E65400;        /* brand mark colour, decorative and large text */
    --action: #C24600;        /* AA contrast with white text */
    --action-hover: #A33B00;
    --success: #1F6B4A;
    --error: #B42318;

    --font-display: "Gloock", "Iowan Old Style", Georgia, serif;
    --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Type scale, ratio ~1.25 */
    --step--1: 0.875rem;
    --step-0: 1.0625rem;
    --step-1: 1.25rem;
    --step-2: 1.5625rem;
    --step-3: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
    --step-4: clamp(2.25rem, 1.6rem + 3vw, 3.5rem);
    --step-5: clamp(2.75rem, 1.8rem + 4.6vw, 5rem);

    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2.5rem;
    --space-5: 4rem;
    --space-6: clamp(4rem, 3rem + 5vw, 7.5rem);

    --radius-s: 10px;
    --radius-m: 18px;
    --radius-l: 28px;
    --wrap: 1200px;
    --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
    --header-h: 76px;
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
    margin: 0;
    background: var(--pearl);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.6;
    font-variant-numeric: lining-nums;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.12; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--orange); }

ul, ol { margin: 0; padding: 0; }

:focus-visible {
    outline: 3px solid var(--action);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection { background: #FAD9C4; color: var(--ink); }

.wrap {
    width: 100%;
    max-width: calc(var(--wrap) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 1rem; top: -4rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius-s);
}
.skip-link:focus { top: 1rem; }

.icon { flex: none; }

/* ==========================================================================
   Buttons and links
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 52px;
    padding: 0.8rem 1.5rem;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font: 600 1rem/1.2 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s;
}

.btn--primary { background: var(--action); color: var(--paper); }
.btn--primary:hover { background: var(--action-hover); }

.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--ghost-light { border-color: rgba(255,255,255,.6); color: var(--paper); }
.btn--ghost-light:hover { background: var(--paper); color: var(--ink); }

.btn--small { min-height: 42px; padding: 0.55rem 1.1rem; font-size: 0.9375rem; }

.text-link {
    display: inline-block;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--orange);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.3em;
}
.text-link:hover { color: var(--action-hover); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--pearl) 86%, transparent);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    min-height: var(--header-h);
}

.brand img { width: 128px; height: auto; }

.site-nav { display: flex; align-items: center; gap: var(--space-3); }
.site-nav ul { display: flex; gap: 0.25rem; list-style: none; }
.site-nav ul a {
    display: block;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    font-weight: 500;
    text-decoration: none;
    color: var(--slate);
}
.site-nav ul a:hover { color: var(--ink); background: var(--pearl-deep); }
.site-nav ul a.is-active { color: var(--ink); background: var(--paper); }

.nav-toggle {
    display: none;
    width: 46px; height: 46px;
    border: 1.5px solid var(--ink);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    place-items: center;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 18px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .25s, opacity .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
    .nav-toggle { display: grid; }
    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        max-height: calc(100dvh - var(--header-h));
        overflow-y: auto;
        overscroll-behavior: contain;
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-3);
        padding: var(--space-3) var(--gutter) var(--space-4);
        background: var(--pearl);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px -24px rgba(21,27,38,.25);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s, transform .2s, visibility 0s .2s;
    }
    .site-nav.is-open {
        opacity: 1;
        transform: none;
        visibility: visible;
        transition: opacity .2s, transform .2s;
    }
    .site-nav ul { flex-direction: column; gap: 0; }
    .site-nav ul a {
        padding: 0.9rem 0;
        border-radius: 0;
        border-bottom: 1px solid var(--line);
        font-size: var(--step-1);
        color: var(--ink);
    }
    .site-nav ul a:hover, .site-nav ul a.is-active { background: transparent; color: var(--action-hover); }
    .site-nav .btn { align-self: flex-start; }

    /* Dim the page behind the open menu; tapping it closes the menu */
    .nav-backdrop {
        position: fixed;
        inset: var(--header-h) 0 0 0;
        z-index: 40;
        background: rgba(21,27,38,.35);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s, visibility 0s .2s;
    }
    .nav-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .2s; }
    html.nav-open { overflow: hidden; }
}
@media (min-width: 961px) { .nav-backdrop { display: none; } }

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding-block: var(--space-6); }
.section--tight { padding-block: var(--space-4); }
.section--flush-top { padding-top: 0; }

/* Same-background neighbours share one gap instead of two */
.section--tight + .range,
.range + .about-band,
.about-band + .where,
.benefits + .related { padding-top: 0; }

.section__title {
    font-family: var(--font-display);
    font-size: var(--step-4);
    letter-spacing: -0.01em;
    max-width: 18ch;
}
.section__title--small { font-size: var(--step-3); max-width: none; }

.section__lead {
    margin-top: var(--space-2);
    max-width: 52ch;
    color: var(--slate);
    font-size: var(--step-1);
    line-height: 1.5;
}

.page-head { padding: var(--space-5) 0 var(--space-4); }
.page-head__title {
    font-family: var(--font-display);
    font-size: var(--step-5);
    letter-spacing: -0.015em;
    max-width: 16ch;
}
.page-head__title--filter { font-size: var(--step-4); max-width: none; min-height: 1.12em; }
.page-head__lead {
    margin-top: var(--space-3);
    max-width: 58ch;
    font-size: var(--step-1);
    color: var(--slate);
}
.page-head--center { text-align: center; padding-block: var(--space-6); }
.page-head--center .page-head__title,
.page-head--center .page-head__lead { margin-inline: auto; }
.page-head--center .hero__actions { justify-content: center; }

/* ==========================================================================
   Hero, with the pearl
   ========================================================================== */

.hero { padding: var(--space-4) 0 var(--space-5); overflow: clip; }

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--space-4);
}

.hero__title {
    font-family: var(--font-display);
    font-size: var(--step-5);
    line-height: 1.02;
    letter-spacing: -0.02em;
    max-width: 11ch;
}

.hero__lead {
    margin-top: var(--space-3);
    max-width: 44ch;
    font-size: var(--step-1);
    line-height: 1.5;
    color: var(--slate);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: var(--space-4);
}

.hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    margin-top: var(--space-4);
    list-style: none;
    font-size: var(--step--1);
    color: var(--slate);
}
.hero__proof li { display: flex; align-items: center; gap: 0.45rem; }
.hero__proof li::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--orange);
}

.hero__stage {
    position: relative;
    aspect-ratio: 1;
    width: 100%;
    max-width: 560px;
    justify-self: center;
}

/* The pearl: nacre sheen on a sphere. */
.pearl {
    position: absolute;
    inset: 4%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 27%, rgba(255,255,255,.95) 0 6%, rgba(255,255,255,0) 26%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0) 52%, rgba(120,132,160,.18) 74%, rgba(70,80,110,.32) 100%),
        conic-gradient(from 200deg at 50% 52%, #F4C9DA, #D9D3F7, #C2E2F2, #C6EBD9, #F1E4C2, #EFCBE4, #F4C9DA);
    box-shadow:
        inset -18px -26px 60px rgba(60,70,100,.18),
        inset 14px 18px 40px rgba(255,255,255,.7),
        0 40px 80px -30px rgba(70,80,110,.45);
}
.pearl::after {
    /* soft reflection of the floor */
    content: "";
    position: absolute;
    left: 18%; right: 18%; bottom: -9%;
    height: 9%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(21,27,38,.22), transparent);
    filter: blur(6px);
}

.hero__pack { position: absolute; filter: drop-shadow(0 26px 30px rgba(21,27,38,.28)); }
.hero__pack--strip { width: 58%; left: 4%; bottom: 14%; transform: rotate(-8deg); }
.hero__pack--gummy { width: 34%; right: 9%; bottom: 10%; }

@media (prefers-reduced-motion: no-preference) {
    .pearl { animation: pearl-in 1.1s cubic-bezier(.2,.7,.2,1) both; }
    .hero__pack--strip { animation: pack-in-strip .7s .1s cubic-bezier(.2,.8,.2,1) both; }
    .hero__pack--gummy { animation: pack-in-gummy .7s .2s cubic-bezier(.2,.8,.2,1) both; }
}
@keyframes pearl-in { from { opacity: 0; transform: scale(.92); } }
@keyframes pack-in-strip { from { opacity: 0; transform: translateY(40px) rotate(-14deg); } }
@keyframes pack-in-gummy { from { opacity: 0; transform: translateY(50px); } }

@media (max-width: 820px) {
    .hero__grid { grid-template-columns: minmax(0, 1fr); }
    .hero__stage { max-width: min(340px, 85vw); order: -1; }
}

/* ==========================================================================
   Shop by need
   ========================================================================== */

.need-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: var(--space-3);
    list-style: none;
}
.need {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    height: 100%;
    padding: 1.1rem 1.25rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    text-decoration: none;
    transition: border-color .2s, transform .2s;
}
.need:hover { border-color: var(--ink); }
.need__label { font-family: var(--font-display); font-size: var(--step-1); }
.need__count { font-size: var(--step--1); color: var(--slate); }
@media (max-width: 960px) { .need-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .need-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   Product ranges and cards
   ========================================================================== */

.range__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-3) 1.25rem;
}

@media (max-width: 960px) {
    .rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    /* swipeable on phones */
    .rail {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
        scroll-padding-inline: var(--gutter);
        padding-bottom: 0.5rem;
        scrollbar-width: none;
    }
    .rail::-webkit-scrollbar { display: none; }
    .rail > * { flex: 0 0 68%; scroll-snap-align: start; }
}

.product-card { --accent: var(--orange); }
.product-card__link { display: block; height: 100%; text-decoration: none; }

.product-card__media {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 5;
    padding: 12% 16%;
    border-radius: var(--radius-l);
    background:
        radial-gradient(circle at 50% 62%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 62%),
        color-mix(in srgb, var(--accent) 7%, var(--paper));
    overflow: hidden;
}
.product-card__media--strip { padding: 14% 10%; }
.product-card__media img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 20px rgba(21,27,38,.22));
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
@media (hover: hover) {
    .product-card__link:hover .product-card__media img { transform: translateY(-6px) scale(1.03); }
}

.product-card__body { padding: 1rem 0.25rem 0; }
.product-card__format { margin: 0 0 0.2rem; font-size: var(--step--1); color: var(--slate); }
.product-card__name {
    font-family: var(--font-display);
    font-size: var(--step-2);
    line-height: 1.15;
}
.product-card__link:hover .product-card__name { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.product-card__tagline { margin-top: 0.3rem; color: var(--slate); font-size: 0.975rem; line-height: 1.45; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: var(--space-4) 1.25rem;
}
.product-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--space-4); }
@media (max-width: 760px) { .product-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) 0.75rem; }
    .product-card__name { font-size: var(--step-1); }
    .product-card__tagline { font-size: 0.875rem; }
    .product-card__media { border-radius: var(--radius-m); }
}

/* Placeholder pack for products without a photo */
.pack-placeholder {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.3rem;
    width: 100%;
    aspect-ratio: 1;
    padding: 12%;
    border-radius: var(--radius-m);
    background:
        radial-gradient(circle at 80% 15%, rgba(255,255,255,.22), transparent 45%),
        linear-gradient(150deg, color-mix(in srgb, var(--accent) 80%, #fff), color-mix(in srgb, var(--accent) 70%, #000));
    color: var(--paper);
    box-shadow: 0 18px 30px -12px rgba(21,27,38,.4);
}
.pack-placeholder img { width: 38%; margin-bottom: auto; }
.pack-placeholder__name { font-family: var(--font-display); font-size: clamp(1.1rem, 4vw, 1.9rem); line-height: 1.05; }
.pack-placeholder__meta { font-size: 0.8rem; opacity: .85; }

/* ==========================================================================
   Strip explainer: a real 3-step sequence
   ========================================================================== */

.strips-explainer { background: var(--paper); }
.strips-explainer__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: var(--space-5);
    align-items: start;
}
.steps { list-style: none; display: grid; gap: 0; counter-reset: none; }
.step {
    display: grid;
    grid-template-columns: 3.25rem 1fr;
    column-gap: 1.25rem;
    padding: var(--space-3) 0;
    border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 3.25rem; height: 3.25rem;
    border-radius: 50%;
    border: 1.5px solid var(--orange);
    color: var(--action);
    font-family: var(--font-display);
    font-size: var(--step-1);
}
.step__title { font-family: var(--font-display); font-size: var(--step-2); margin-bottom: 0.25rem; }
.step p { color: var(--slate); }

@media (max-width: 820px) {
    .strips-explainer__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
}

/* ==========================================================================
   About band, story, principles
   ========================================================================== */

.about-band__grid, .story {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--space-5);
    align-items: center;
}
.about-band__grid p, .story__text p { max-width: 60ch; }
.about-band__grid .section__title { margin-bottom: var(--space-3); }

.about-band__portrait, .story__portrait { margin: 0; }
.about-band__portrait img, .story__portrait img {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    background: var(--pearl-deep);
}
.story__portrait figcaption { margin-top: 1rem; color: var(--slate); font-size: var(--step--1); }

.quote {
    margin: var(--space-4) 0 var(--space-3);
    padding-left: 1.25rem;
    border-left: 3px solid var(--orange);
}
.quote p { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.3; }
.quote footer { margin-top: 0.6rem; color: var(--slate); font-size: var(--step--1); }

.prose h2 { font-family: var(--font-display); font-size: var(--step-3); margin-bottom: var(--space-3); }
.prose p { font-size: 1.125rem; line-height: 1.7; }

.principles { background: var(--paper); }
.principles__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-3);
    margin: var(--space-4) 0 0;
}
.principles__list > div { padding-top: var(--space-2); border-top: 2px solid var(--ink); }
.principles__list dt { font-family: var(--font-display); font-size: var(--step-2); margin-bottom: 0.4rem; }
.principles__list dd { margin: 0; color: var(--slate); }
.certs { margin: var(--space-5) 0 0; }
.certs img { width: 100%; max-width: 560px; }

@media (max-width: 900px) {
    .principles__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .about-band__grid, .story { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
    .about-band__portrait img, .story__portrait img { max-width: 260px; }
}
@media (max-width: 520px) {
    .principles__list { grid-template-columns: minmax(0, 1fr); }
}

/* Vision and mission */
.vm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}
.vm__item {
    padding: var(--space-4);
    background: var(--paper);
    border-radius: var(--radius-l);
}
.vm__title { font-family: var(--font-display); font-size: var(--step-3); margin-bottom: var(--space-2); }
.vm__item p { font-size: var(--step-1); line-height: 1.5; color: var(--slate); max-width: 40ch; }
@media (max-width: 760px) {
    .vm { grid-template-columns: minmax(0, 1fr); }
    .vm__item { padding: var(--space-3); }
}

/* Catalogue download */
.download {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: var(--space-3);
    padding: 0.9rem 1.25rem 0.9rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--paper);
    text-decoration: none;
    transition: border-color .2s;
}
.download:hover { border-color: var(--ink); }
.download__icon { flex: none; color: var(--action); }
.download__title { display: block; font-weight: 600; }
.download__meta { display: block; font-size: var(--step--1); color: var(--slate); }
.cta__download .download { background: transparent; border-color: #3A4354; color: var(--paper); }
.cta__download .download:hover { border-color: var(--paper); }
.cta__download .download__icon { color: #FF8A4C; }
.cta__download .download__meta { color: #A9B2BF; }

/* ==========================================================================
   Where to order
   ========================================================================== */

.where__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: var(--space-4);
}
.office {
    padding: var(--space-3);
    background: var(--paper);
    border-radius: var(--radius-m);
}
.office__region { font-family: var(--font-display); font-size: var(--step-2); }
.office__name { margin: 0.25rem 0 1rem; color: var(--slate); }
.office__lines { list-style: none; display: grid; gap: 0.35rem; overflow-wrap: anywhere; }
@media (max-width: 820px) { .where__grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta { background: var(--ink); color: var(--paper); padding-block: var(--space-6); }
.cta__inner > * { max-width: 820px; }
.cta__title { font-family: var(--font-display); font-size: var(--step-4); max-width: 18ch; margin-bottom: var(--space-2); }
.cta p { color: #C4CBD5; font-size: var(--step-1); max-width: 52ch; }

/* ==========================================================================
   Product listing filters
   ========================================================================== */

.filters {
    display: grid;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--paper);
    border-radius: var(--radius-m);
}
.filters__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.filters__legend { padding: 0; margin-bottom: 0.6rem; font-weight: 600; font-size: var(--step--1); color: var(--slate); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
    display: inline-block;
    padding: 0.55rem 1rem;
    border: 1.5px solid var(--line-strong);
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.9375rem;
    line-height: 1.2;
    transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--action); outline-offset: 2px; }

.results-count { margin: var(--space-3) 0 var(--space-3); color: var(--slate); font-size: var(--step--1); }

.empty {
    padding: var(--space-5) var(--space-3);
    text-align: center;
    background: var(--paper);
    border-radius: var(--radius-m);
}
.empty__title { font-family: var(--font-display); font-size: var(--step-2); }

[hidden] { display: none !important; }

/* ==========================================================================
   Product detail
   ========================================================================== */

.breadcrumb { padding-top: var(--space-3); font-size: var(--step--1); color: var(--slate); }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; gap: 0.4rem; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; color: var(--line); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

.product__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-5);
    align-items: center;
    padding-block: var(--space-3) var(--space-5);
}

.product__media {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    padding: 12% 22%;
    border-radius: var(--radius-l);
    background:
        radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 60%),
        color-mix(in srgb, var(--accent) 8%, var(--paper));
}
.product__media--strip { padding: 12%; }
.product__media img { max-height: 100%; width: auto; filter: drop-shadow(0 28px 30px rgba(21,27,38,.28)); }
.product__media .pack-placeholder { width: 80%; }

.product__format { margin-bottom: 0.4rem; color: var(--slate); font-weight: 500; }
.product__name { font-family: var(--font-display); font-size: var(--step-5); letter-spacing: -0.015em; line-height: 1; }
.product__tagline { margin-top: 0.75rem; font-size: var(--step-1); font-weight: 500; }
.product__summary { margin-top: var(--space-2); max-width: 52ch; color: var(--slate); font-size: 1.125rem; }

.keyfacts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: var(--space-4) 0 0;
    border-top: 1px solid var(--line);
}
.keyfacts > div { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.keyfacts > div:nth-child(odd) { padding-right: 1rem; }
.keyfacts dt { font-size: var(--step--1); color: var(--slate); }
.keyfacts dd { margin: 0.1rem 0 0; font-weight: 600; }

/* Key benefits from the product catalogue */
.highlights {
    display: grid;
    gap: 0.5rem;
    margin-top: var(--space-3);
    list-style: none;
}
.highlights li {
    position: relative;
    padding-left: 1.9rem;
    font-weight: 500;
}
.highlights li::before {
    /* check mark drawn in the product accent */
    content: "";
    position: absolute;
    left: 0; top: 0.2em;
    width: 1.25rem; height: 1.25rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent) 16%, var(--paper));
}
.highlights li::after {
    content: "";
    position: absolute;
    left: 0.43rem; top: 0.42em;
    width: 0.35rem; height: 0.62rem;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg);
}

/* Inside the tin (oral strips) */
.tin { padding-top: 0; }
.tin__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--space-4);
    align-items: center;
    padding: var(--space-4);
    border-radius: var(--radius-l);
    background:
        radial-gradient(circle at 70% 55%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
        color-mix(in srgb, var(--accent) 6%, var(--paper));
}
.tin__image { justify-self: center; max-height: 420px; width: auto; filter: drop-shadow(0 20px 24px rgba(21,27,38,.22)); }
@media (max-width: 760px) {
    .tin__grid { grid-template-columns: minmax(0, 1fr); padding: var(--space-3); }
    .tin__image { max-height: 300px; }
}

.product__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--space-4); }
.product__twin { margin-top: var(--space-3); color: var(--slate); }
.product__twin a { color: var(--ink); font-weight: 600; text-decoration-color: var(--orange); }

@media (max-width: 860px) {
    .product__hero { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
    .product__media { max-width: 520px; width: 100%; justify-self: center; }
}

.product__details { background: var(--paper); }
.product__details-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: var(--space-5);
    align-items: start;
}
@media (max-width: 860px) { .product__details-grid { grid-template-columns: minmax(0, 1fr); } }

/* Supplement facts styled like a real label */
.label {
    padding: 1.25rem 1.5rem 1.5rem;
    border: 2px solid var(--ink);
    border-radius: var(--radius-s);
    font-variant-numeric: tabular-nums;
}
.label__title {
    font-family: var(--font-display);
    font-size: var(--step-3);
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--ink);
}
.label__serving { margin: 0.6rem 0 0; font-size: 0.9375rem; }
.label__table { width: 100%; margin-top: 0.75rem; border-collapse: collapse; font-size: 0.975rem; }
.label__table thead th {
    padding: 0.4rem 0;
    border-top: 8px solid var(--ink);
    border-bottom: 3px solid var(--ink);
    font-size: var(--step--1);
    font-weight: 700;
    text-align: left;
}
.label__table tbody th { font-weight: 500; text-align: left; padding: 0.6rem 1rem 0.6rem 0; overflow-wrap: anywhere; hyphens: auto; }
.label__table td { padding: 0.6rem 0; white-space: nowrap; }
.label__table tbody tr { border-bottom: 1px solid var(--line); }
.label__table tbody tr:last-child { border-bottom: 8px solid var(--ink); }
.label__table .num { text-align: right; padding-left: 1rem; }
.label__note { margin-top: 0.6rem; font-size: 0.8125rem; color: var(--slate); }
.label__other { margin-top: 1rem; font-size: 0.9375rem; line-height: 1.55; }

.usage__title { font-family: var(--font-display); font-size: var(--step-2); margin: var(--space-4) 0 0.5rem; }
.usage__title:first-child { margin-top: 0; }
.usage p { color: var(--slate); }
.usage__list { list-style: none; display: grid; gap: 0.5rem; color: var(--slate); }
.usage__list li { position: relative; padding-left: 1.1rem; }
.usage__list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--slate); }

/* Benefits accordion */
.benefits__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--space-5);
    align-items: start;
}
@media (max-width: 860px) { .benefits__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); } }

.accordion { border-top: 1px solid var(--ink); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__summary {
    position: relative;
    display: block;
    padding: 1.15rem 2.5rem 1.15rem 0;
    font-family: var(--font-display);
    font-size: var(--step-1);
    cursor: pointer;
    list-style: none;
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary::after {
    content: "";
    position: absolute;
    right: 0.4rem; top: 50%;
    width: 10px; height: 10px;
    border-right: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s;
}
.accordion__item[open] > .accordion__summary::after { transform: translateY(-30%) rotate(-135deg); }
.accordion__summary:hover { color: var(--action-hover); }
.accordion__body { list-style: none; display: grid; gap: 0.55rem; padding: 0 0 1.4rem; max-width: 62ch; }
.accordion__body li { position: relative; padding-left: 1.2rem; color: var(--slate); }
.accordion__body li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent, var(--orange)); }
.accordion__item--sources .accordion__summary { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
.sources { list-style: decimal; padding-left: 1.25rem; font-size: 0.9rem; }
.sources li { padding-left: 0.25rem; overflow-wrap: anywhere; }
.sources li::before { display: none; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
    gap: var(--space-5);
    align-items: start;
}
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }

.contact__form { padding: var(--space-4); background: var(--paper); border-radius: var(--radius-l); }
@media (max-width: 520px) { .contact__form { padding: var(--space-3) 1.1rem; } }

.form { display: grid; gap: 1.25rem; }
.form__row--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 600px) { .form__row--two { grid-template-columns: minmax(0, 1fr); } }
.form .btn { justify-self: start; }

.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field__optional { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 50px;
    padding: 0.75rem 0.9rem;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-s);
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    transition: border-color .15s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field select {
    appearance: none;
    padding-right: 2.5rem;
    background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--action) 30%, transparent); }
.field--error input, .field--error textarea { border-color: var(--error); }
.field__error { margin: 0; color: var(--error); font-size: 0.9rem; font-weight: 500; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* reCAPTCHA: the v2 widget is a fixed 304px wide, so scale it on very narrow phones */
.g-recaptcha { min-height: 78px; }
@media (max-width: 360px) { .g-recaptcha { transform: scale(0.88); transform-origin: 0 0; } }
.recaptcha-note { margin: 0; font-size: 0.875rem; color: var(--slate); }
/* v3 shows a floating badge; the note above replaces it, as Google allows */
.grecaptcha-badge { visibility: hidden; }

.notice { margin-bottom: var(--space-3); padding: 1rem 1.25rem; border-radius: var(--radius-s); border-left: 4px solid; }
.notice--success { background: #E6F2EC; border-color: var(--success); }
.notice--error { background: #FBEAE8; border-color: var(--error); }
.notice__title { font-weight: 700; margin-bottom: 0.2rem; }

.contact__side { display: grid; gap: 0; }
.contact__block { padding: 1.25rem 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.contact__block:first-child { padding-top: 0; }
.contact__block .btn { margin-top: 0.75rem; }
.contact__title { font-family: var(--font-display); font-size: var(--step-1); margin-bottom: 0.4rem; }
.contact__block p { color: var(--slate); }
.contact__block a { color: var(--ink); }

/* ==========================================================================
   Sitemap page
   ========================================================================== */

.sitemap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-4) var(--space-3);
}
.sitemap__title {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--ink);
    font-family: var(--font-display);
    font-size: var(--step-2);
}
.sitemap__title a { text-decoration: none; }
.sitemap__title a:hover { color: var(--action-hover); }
.sitemap ul { list-style: none; display: grid; }
.sitemap li a { display: inline-block; padding-block: 0.6rem; text-decoration-color: var(--line); }
.sitemap li a:hover { color: var(--action-hover); text-decoration-color: var(--orange); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--ink); color: #C4CBD5; padding: var(--space-5) 0 var(--space-3); font-size: 0.9375rem; }
main:has(> .cta:last-child) + .site-footer { border-top: 1px solid #2A3242; }
.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
}
.site-footer__brand img { width: 130px; margin-bottom: 1rem; }
.site-footer__brand p { max-width: 38ch; }
.site-footer__title { font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem; color: var(--paper); margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.site-footer__contact { overflow-wrap: anywhere; }
.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem 2rem;
    width: calc(100% - var(--gutter) * 2);
    max-width: var(--wrap);
    margin-top: var(--space-5);
    padding: var(--space-3) 0 0;
    border-top: 1px solid #2A3242;
    font-size: 0.8125rem;
    color: #8E97A6;
}
.site-footer__legal p:first-child { max-width: 70ch; }
.site-footer__legal p { margin: 0; }
.site-footer__legal a { display: inline-block; margin-left: 0.75rem; padding-block: 0.6rem; text-decoration: underline; text-underline-offset: 0.2em; }
@media (max-width: 860px) {
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    /* Products and Company side by side, contact details full width */
    .site-footer__grid { gap: var(--space-3) 1rem; }
    .site-footer__grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 340px) {
    .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Phones and touch screens
   ========================================================================== */

/* Fingers need ~44px targets; links that sit in lists get vertical padding */
@media (pointer: coarse), (max-width: 760px) {
    .btn--small { min-height: 44px; }
    .chip span { display: flex; align-items: center; min-height: 44px; padding-block: 0.4rem; }
    .text-link { padding-block: 0.6rem; }
    .breadcrumb a { display: inline-block; padding-block: 0.75rem; }
    .breadcrumb { padding-top: var(--space-1); }
    .site-footer ul { gap: 0; }
    .site-footer ul a { display: inline-block; padding-block: 0.625rem; }
    .office__lines { gap: 0; }
    .office__lines a,
    .contact__block p > a:not(.btn) { display: inline-block; padding-block: 0.55rem; }
    .accordion__summary { padding-block: 1rem; }
}

@media (max-width: 560px) {
    :root { --header-h: 64px; }
    .brand img { width: 112px; }
    .nav-toggle { width: 44px; height: 44px; }

    /* Let the headline show above the fold */
    .hero { padding-top: var(--space-2); }
    .hero__stage { max-width: min(300px, 80vw); }
    .hero__actions .btn,
    .product__actions .btn { flex: 1 1 100%; }

    .section { padding-block: clamp(3rem, 2rem + 6vw, 4rem); }
    .page-head { padding: var(--space-4) 0 var(--space-3); }
    .filters { padding: 1.1rem; }

    .label { padding: 1rem 1.1rem 1.25rem; }
    .label__table { font-size: 0.9375rem; }
    .label__table tbody th { padding-right: 0.6rem; }
    .label__table .num { padding-left: 0.6rem; }
    .label__note,
    .site-footer__legal { font-size: 0.875rem; }

    .download { display: flex; }
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */

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