/* ==========================================================================
   Skilpack Ltd: site stylesheet
   Tokens → base → layout → components → pages
   ========================================================================== */

:root {
    /* Corporate palette */
    --forest: #183a2a;
    --forest-2: #21483a;
    --forest-3: #2c5a46;
    --leaf: #4a7322;
    --leaf-bright: #a2c853;
    --fibre: #f1ebdd;
    --paper: #faf7f0;
    --white: #ffffff;
    --bark: #6c3023;
    --gold: #c59b45;
    --gold-soft: #e2c88c;
    --ink: #17231b;
    --muted: #55604f;
    --line: #ddd5c3;
    --line-dark: rgba(241, 235, 221, 0.18);

    /* Banafine palette, taken from the retail packaging */
    --graphite: #2e312c;
    --graphite-2: #3a3e37;
    --plum: #8b2c66;
    --plum-soft: #c97aa8;
    --lime: #a9c93c;

    /* Type */
    --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
    --font-banafine: "Instrument Serif", Georgia, serif;
    --step--1: 0.875rem;
    --step-0: 1.0625rem;
    --step-1: 1.25rem;
    --step-2: 1.5rem;
    --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
    --step-4: clamp(2.1rem, 1.5rem + 2.6vw, 3.25rem);
    --step-5: clamp(2.6rem, 1.6rem + 4.4vw, 5rem);

    /* Space */
    --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
    --section: clamp(4rem, 3rem + 5vw, 8rem);
    --maxw: 1280px;
    --radius: 4px;

    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: var(--step-0);
    line-height: 1.6;
    font-feature-settings: "ss01";
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--leaf); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--forest); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold-soft); color: var(--ink); }

.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: -4rem; z-index: 100;
    background: var(--forest); color: var(--fibre); padding: .75rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: var(--fibre); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding-block: var(--section); }
.section--fibre { background: var(--fibre); }
.section--white { background: var(--white); }
.section--forest { background: var(--forest); color: var(--fibre); }
.section--tight { padding-block: calc(var(--section) * .6); }

.section-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--split {
    max-width: none; grid-template-columns: minmax(0, 1fr); align-items: end;
}
@media (min-width: 900px) {
    .section-head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; }
}
.section-title { font-size: var(--step-4); }
.section-lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 40rem; }
.section--forest .section-lede { color: rgba(241, 235, 221, .78); }

.prose { max-width: 40rem; }
.prose p { margin-bottom: 1.1em; }
.prose h2 { font-size: var(--step-3); margin: 2.2rem 0 1rem; }
.prose h3 { font-size: var(--step-1); margin: 1.8rem 0 .6rem; }
.prose ul { padding-left: 1.2rem; margin-bottom: 1.1em; }
.prose li { margin-bottom: .35em; }

.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1fr; }
    .split--wide-left { grid-template-columns: 1.25fr 1fr; }
    .split--wide-right { grid-template-columns: 1fr 1.25fr; }
    .split--top { align-items: start; }
}

/* ---------- Buttons and links ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 3rem; padding: .8rem 1.4rem;
    border: 1.5px solid transparent; border-radius: var(--radius);
    font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--small { min-height: 2.5rem; padding: .55rem 1rem; font-size: .9375rem; }
.btn--primary { background: var(--forest); color: var(--fibre); }
.btn--primary:hover { background: var(--forest-3); color: var(--white); }
.btn--outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn--outline:hover { background: var(--forest); color: var(--fibre); }
.btn--light { background: var(--fibre); color: var(--forest); }
.btn--light:hover { background: var(--white); color: var(--forest); }
.btn--outline-light { border-color: rgba(241, 235, 221, .55); color: var(--fibre); }
.btn--outline-light:hover { border-color: var(--fibre); background: rgba(241, 235, 221, .08); color: var(--white); }
.btn--plum { background: var(--plum); color: var(--white); }
.btn--plum:hover { background: #a2387a; color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.text-link {
    display: inline-flex; align-items: center; gap: .35rem;
    font-weight: 600; color: var(--forest); text-decoration: none;
    border-bottom: 1.5px solid var(--gold); padding-bottom: .1rem;
}
.text-link:hover { color: var(--leaf); border-color: var(--leaf); }
.section--forest .text-link, .banafine .text-link { color: var(--fibre); }

/* ---------- Header and navigation ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 247, 240, .96);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would make it the
   containing block for the fixed mobile menu and squash the menu into the header. */
@supports (backdrop-filter: blur(8px)) {
    .site-header { background: transparent; }
    .site-header::before {
        content: ""; position: absolute; inset: 0; z-index: -1;
        background: rgba(250, 247, 240, .86); backdrop-filter: saturate(1.4) blur(10px);
    }
    .nav-open .site-header::before { background: var(--paper); }
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { flex: none; display: block; }
.brand img { width: 104px; height: auto; }

.nav-toggle {
    margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--paper); cursor: pointer; color: var(--forest);
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

.site-nav { display: none; }
.nav { list-style: none; }
.nav__link {
    display: block; padding: .5rem .1rem; color: var(--ink); text-decoration: none; font-weight: 500;
    font-size: .9688rem; white-space: nowrap;
}
.nav__link:hover { color: var(--leaf); }
.nav__link[aria-current="page"] { color: var(--forest); box-shadow: inset 0 -2px 0 var(--gold); }
.nav__tag {
    display: inline-block; margin-left: .3rem; padding: .1rem .45rem; border-radius: 999px;
    background: var(--leaf-bright); color: var(--forest); font-size: .75rem; font-weight: 650; line-height: 1.35; vertical-align: .1em;
}
.nav__sub { list-style: none; }
.nav__sub a { display: block; padding: .5rem .9rem; color: var(--ink); text-decoration: none; border-radius: 3px; }
.nav__sub a:hover { background: var(--fibre); color: var(--forest); }
.nav__sub-all a { font-weight: 600; color: var(--leaf); }
.nav__subtoggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--muted);
}
.nav__subtoggle .icon { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .2s; }
.nav__subtoggle[aria-expanded="true"] .icon { transform: rotate(-90deg); }

/* Mobile menu */
@media (max-width: 1079px) {
    .nav-open .site-nav {
        display: flex; flex-direction: column; gap: 1.5rem;
        position: fixed; top: var(--header-h, 76px); left: 0; right: 0; bottom: 0; z-index: 49;
        padding: 1.5rem var(--gutter) 2.5rem; overflow-y: auto;
        background: var(--paper);
    }
    .nav__item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
    .nav__link { flex: 1; padding: .9rem 0; font-size: 1.25rem; }
    .nav__link[aria-current="page"] { box-shadow: none; color: var(--leaf); }
    .nav__subtoggle { width: 44px; height: 44px; }
    .nav__sub { display: none; flex-basis: 100%; padding: 0 0 .75rem; }
    .nav__sub.is-open { display: block; }
    .nav__sub a { padding: .55rem 0; font-size: 1.0625rem; }
    .site-nav__cta { align-self: flex-start; }
    .nav-open { overflow: hidden; }
}

/* Desktop menu */
@media (min-width: 1080px) {
    .nav-toggle { display: none; }
    .site-nav { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
    .site-nav__cta { white-space: nowrap; }
    .nav { display: flex; align-items: center; gap: 1.35rem; }
    .nav__item { position: relative; display: flex; align-items: center; }
    .nav__item--sub .nav__link { padding-right: 0; }
    .nav__subtoggle { width: 20px; margin-left: 0; }
    .nav__sub {
        position: absolute; top: 100%; left: -1rem; min-width: 270px; padding: .5rem;
        background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
        box-shadow: 0 18px 40px -18px rgba(23, 35, 27, .35);
        opacity: 0; visibility: hidden; transform: translateY(6px);
        transition: opacity .18s, transform .18s, visibility .18s;
    }
    .nav__item--sub:hover .nav__sub,
    .nav__item--sub:focus-within .nav__sub,
    .nav__sub.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav__sub-all { border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .35rem; }
}

/* ---------- Home: hiring notice (shown only while a vacancy is open) ---------- */
.hiring { background: var(--fibre); border-bottom: 1px solid var(--line); }
.hiring__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-block: .9rem; }
.hiring__text { margin: 0; }
.hiring .nav__tag { margin: 0 .35rem 0 0; }

/* ---------- Home: hero ---------- */
.hero { background: var(--forest); color: var(--fibre); position: relative; overflow: hidden; }
.hero__grid { display: grid; }
.hero__text { padding: clamp(3rem, 2rem + 5vw, 7rem) var(--gutter) clamp(3rem, 2rem + 4vw, 6rem); }
.hero__title {
    font-size: var(--step-5); font-weight: 750; line-height: 1; letter-spacing: -0.035em;
    max-width: 11ch; margin-bottom: 1.75rem; color: var(--white);
    text-wrap: balance;
}
.hero__lede { font-size: var(--step-1); line-height: 1.5; max-width: 34rem; color: rgba(241, 235, 221, .86); margin-bottom: .75rem; }
.hero__sub { color: var(--leaf-bright); font-weight: 500; margin-bottom: 2.25rem; max-width: 34rem; }
.hero__media { position: relative; min-height: 340px; margin: 0; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__caption {
    position: absolute; left: var(--gutter); bottom: 1rem; z-index: 1; margin: 0;
    font-size: var(--step--1); color: var(--fibre); background: rgba(24, 58, 42, .82);
    padding: .4rem .7rem; border-radius: 3px;
}
@media (min-width: 960px) {
    .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: min(86vh, 760px); }
    .hero__text {
        padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
        padding-right: clamp(2rem, 4vw, 4rem); align-self: center;
    }
    .hero__media { min-height: 0; }
    .hero__caption { left: 1.25rem; bottom: 1.25rem; }
}

/* Three pillars directly under the hero */
.pillars { background: var(--fibre); border-bottom: 1px solid var(--line); }
.pillars__list { list-style: none; display: grid; }
.pillar { padding: 1.75rem 0; border-top: 1px solid var(--line); }
.pillar:first-child { border-top: 0; }
.pillar__title { font-size: var(--step-1); margin-bottom: .4rem; color: var(--forest); }
.pillar__text { color: var(--muted); font-size: 1rem; margin: 0; max-width: 30rem; }
@media (min-width: 1080px) {
    .pillars__list { grid-template-columns: repeat(3, 1fr); }
    .pillar { padding: 2.25rem 2rem; border-top: 0; border-left: 1px solid var(--line); }
    .pillar:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Product portfolio ---------- */
.portfolio { display: grid; gap: 2.5rem 1.5rem; grid-template-columns: minmax(0, 1fr); }
.tile { display: flex; flex-direction: column; gap: 1rem; text-decoration: none; color: inherit; }
.tile__media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--fibre); aspect-ratio: 4 / 3; margin: 0; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .tile__media img { transform: scale(1.03); }
.tile__group { font-size: var(--step--1); color: var(--leaf); font-weight: 600; margin: 0 0 .25rem; }
.tile__name { font-size: var(--step-1); line-height: 1.25; color: var(--ink); }
.tile:hover .tile__name { color: var(--leaf); }
.tile__text { color: var(--muted); font-size: 1rem; margin: .45rem 0 0; max-width: 34rem; }

/* Drawn tile for products without a photograph */
.tile__media--drawn {
    display: grid; place-items: center; background: var(--forest-2); color: var(--leaf-bright);
}
.tile__media--drawn svg { width: 46%; height: auto; opacity: .9; }

@media (min-width: 700px) {
    .portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tile--feature { grid-column: span 2; }
}
@media (min-width: 1000px) {
    .portfolio { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem 1.75rem; }
    .tile--feature { grid-column: span 2; grid-row: span 2; }
    .tile--feature .tile__media { aspect-ratio: auto; flex: 1; min-height: 420px; }
    .tile--feature .tile__name { font-size: var(--step-2); }
    .tile--wide { grid-column: span 4; }
    .tile--wide { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: end; }
    .tile--wide .tile__media { aspect-ratio: 21 / 8; }
}

/* ---------- Banafine band ---------- */
.banafine { background: var(--graphite); color: var(--fibre); overflow: hidden; }
.banafine__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
.banafine__mark {
    font-family: var(--font-banafine); font-style: italic; font-weight: 400;
    font-size: clamp(4rem, 2.4rem + 7vw, 8.5rem); line-height: .9; letter-spacing: -0.01em;
    color: var(--white); margin: 0 0 .5rem;
}
.banafine__mark sup { font-family: var(--font); font-style: normal; font-size: .16em; vertical-align: top; position: relative; top: .9em; margin-left: .1em; color: var(--plum-soft); }
.banafine__tagline { font-family: var(--font-banafine); font-size: var(--step-3); color: var(--plum-soft); margin-bottom: 1.5rem; line-height: 1.1; }
.banafine__text { color: rgba(241, 235, 221, .84); max-width: 34rem; font-size: var(--step-0); }
.banafine__facts { display: grid; gap: 0; margin: 2rem 0 2.25rem; max-width: 34rem; }
.banafine__fact { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid rgba(241, 235, 221, .14); }
.banafine__fact:last-child { border-bottom: 1px solid rgba(241, 235, 221, .14); }
.banafine__fact dt { color: var(--lime); font-weight: 600; font-size: .9375rem; }
.banafine__fact dd { margin: 0; color: var(--fibre); }
.banafine__collage { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.banafine__collage figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.banafine__collage img { width: 100%; height: 100%; object-fit: cover; }
.banafine__collage figure:first-child { grid-column: span 2; aspect-ratio: 4 / 4.6; }
.banafine__collage figure:nth-child(2), .banafine__collage figure:nth-child(3) { aspect-ratio: 1 / 1; }
@media (min-width: 960px) {
    .banafine__grid { grid-template-columns: 1fr 1.05fr; }
    .banafine__collage { grid-template-columns: 1.15fr 1fr; }
    .banafine__collage figure:first-child { grid-column: auto; grid-row: span 2; aspect-ratio: 3 / 4.4; }
}

/* ---------- Fibre journey (the signature element) ---------- */
.journey { position: relative; }
.journey__steps { list-style: none; position: relative; display: grid; gap: 2.5rem; counter-reset: step; }
.journey__thread { position: absolute; pointer-events: none; color: var(--gold); }
.journey__thread path {
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}
.step { position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 0 1.25rem; align-content: start; }
.step__num {
    grid-row: span 3; position: relative; z-index: 1;
    width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center;
    background: var(--paper); border: 2px solid var(--gold); color: var(--forest);
    font-weight: 700; font-variant-numeric: tabular-nums;
}
.section--fibre .step__num { background: var(--fibre); }
.step__media { margin: 0 0 1rem; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.step__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.step__title { font-size: var(--step-1); margin-bottom: .35rem; }
.step__text { color: var(--muted); font-size: .9688rem; margin: 0; }

/* Mobile: vertical thread */
.journey__thread--v { left: 0; top: 1.5rem; width: 3rem; height: calc(100% - 3rem); overflow: visible; }
.journey__thread--h { display: none; }

@media (min-width: 1000px) {
    .journey__steps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem; padding-top: 4.5rem; }
    .step { grid-template-columns: 1fr; }
    .step__num { position: absolute; top: -4.5rem; left: 0; grid-row: auto; }
    .journey__thread--v { display: none; }
    .journey__thread--h { display: block; left: 1.5rem; right: 0; top: 0; height: 3rem; width: calc(100% - 1.5rem); overflow: visible; }
}

/* Draw-on animation: one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
    .js .journey__thread path { stroke-dasharray: 1; stroke-dashoffset: 1; }
    .js .journey.is-drawn .journey__thread path { transition: stroke-dashoffset 2.4s var(--ease); stroke-dashoffset: 0; }
    .js .journey .step__num { transition: background-color .4s, color .4s; }
    .js .journey.is-drawn .step__num { background: var(--forest); color: var(--fibre); border-color: var(--forest); }
    .js .journey.is-drawn .step:nth-child(1) .step__num { transition-delay: .15s; }
    .js .journey.is-drawn .step:nth-child(2) .step__num { transition-delay: .55s; }
    .js .journey.is-drawn .step:nth-child(3) .step__num { transition-delay: .95s; }
    .js .journey.is-drawn .step:nth-child(4) .step__num { transition-delay: 1.35s; }
    .js .journey.is-drawn .step:nth-child(5) .step__num { transition-delay: 1.75s; }
    .js .journey.is-drawn .step:nth-child(6) .step__num { transition-delay: 2.15s; }
}
@media (prefers-reduced-motion: reduce) {
    .journey .step__num { background: var(--forest) !important; color: var(--fibre); border-color: var(--forest); }
}

/* ---------- Research highlight ---------- */
.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--radius); }
.figure figcaption { font-size: var(--step--1); color: var(--muted); margin-top: .65rem; }
.figure--tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.figure--wide img { aspect-ratio: 3 / 2; object-fit: cover; }

.pub-list { list-style: none; border-top: 1px solid var(--line); }
.pub { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.pub__year { font-weight: 700; color: var(--leaf); font-variant-numeric: tabular-nums; }
.pub__title { font-weight: 600; line-height: 1.35; margin-bottom: .25rem; }
.pub__authors { font-size: .9375rem; color: var(--muted); margin: 0; }
.pub__venue { font-size: .9375rem; color: var(--muted); margin: .2rem 0 0; font-style: italic; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.milestone { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); align-content: start; }
.milestone__year { font-size: var(--step-2); font-weight: 750; color: var(--forest); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.milestone__title { font-size: var(--step-1); line-height: 1.3; margin-bottom: .35rem; }
.milestone__text { color: var(--muted); margin: 0; max-width: 40rem; }
.milestone__media { margin-top: 1rem; max-width: 22rem; }
.milestone__media img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
    .timeline--row { grid-template-columns: repeat(4, 1fr); border-top: 0; gap: 2rem; }
    .timeline--row .milestone { grid-template-columns: 1fr; gap: .75rem; border-bottom: 0; border-top: 2px solid var(--forest); padding-top: 1.25rem; }
    .milestone--detail { grid-template-columns: 8rem 1fr 18rem; gap: 2.5rem; padding: 2.25rem 0; }
    .milestone--detail .milestone__media { margin-top: 0; }
    .milestone__year { font-size: var(--step-3); }
}

/* ---------- Impact ---------- */
.impact { list-style: none; display: grid; gap: 1.75rem; margin-top: 2rem; }
.impact__item { border-left: 2px solid var(--gold); padding-left: 1.25rem; }
.impact__title { font-size: var(--step-1); margin-bottom: .35rem; }
.impact__text { margin: 0; color: var(--muted); }
.section--forest .impact__text { color: rgba(241, 235, 221, .78); }
.section--forest .impact__title { color: var(--white); }

/* ---------- News ---------- */
.news-grid { display: grid; gap: 2.5rem 1.75rem; }
@media (min-width: 760px) { .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news-card { display: flex; flex-direction: column; gap: .9rem; text-decoration: none; color: inherit; }
.news-card__media { margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 2; background: var(--fibre); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.03); }
.news-card__date { font-size: var(--step--1); color: var(--muted); margin: 0; }
.news-card__title { font-size: var(--step-1); line-height: 1.3; color: var(--ink); }
.news-card:hover .news-card__title { color: var(--leaf); }
.news-card__text { color: var(--muted); font-size: 1rem; margin: 0; }

.news-feature { display: grid; gap: 2rem; text-decoration: none; color: inherit; padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid var(--line); }
.news-feature .news-card__media { aspect-ratio: 16 / 10; }
.news-feature .news-card__title { font-size: var(--step-3); }
@media (min-width: 900px) { .news-feature { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 3rem; } }

/* ---------- Partners ---------- */
.partners { display: grid; gap: 2rem; }
@media (min-width: 760px) { .partners { grid-template-columns: repeat(3, 1fr); } }
.partner { margin: 0; }
.partner img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.partner figcaption { margin-top: .9rem; }
.partner__name { font-weight: 700; display: block; }
.partner__role { color: var(--muted); font-size: .9688rem; }
.partner--logo img { object-fit: contain; background: var(--white); padding: 2.5rem; border: 1px solid var(--line); }

/* ---------- Enquiry routes ---------- */
.routes { list-style: none; border-top: 1px solid var(--line-dark); }
.route {
    display: grid; grid-template-columns: 1fr auto; gap: .25rem 1.5rem; align-items: center;
    padding: 1.35rem 0; border-bottom: 1px solid var(--line-dark);
    color: var(--fibre); text-decoration: none;
}
.route__title { font-size: var(--step-2); font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; color: var(--white); }
.route__text { grid-column: 1; color: rgba(241, 235, 221, .7); font-size: 1rem; }
.route .icon { grid-row: 1 / span 2; grid-column: 2; width: 1.6rem; height: 1.6rem; color: var(--gold); transition: transform .25s var(--ease); }
.route:hover .route__title { color: var(--leaf-bright); }
.route:hover .icon { transform: translateX(4px); }
.contact-aside { display: grid; gap: 1.25rem; align-content: start; }
.contact-list { list-style: none; display: grid; gap: .85rem; }
.contact-list li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .75rem; align-items: start; }
.contact-list .icon { width: 1.25rem; height: 1.25rem; margin-top: .2rem; color: var(--gold); }
.contact-list a { color: inherit; }
.section--forest .contact-list a:hover { color: var(--leaf-bright); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--forest); color: var(--fibre); padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.cta-band__inner { display: grid; gap: 2rem; align-items: center; }
.cta-band__title { font-size: var(--step-3); color: var(--white); margin-bottom: .6rem; }
.cta-band__text { color: rgba(241, 235, 221, .8); max-width: 38rem; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.4fr auto; } }

/* ---------- Interior page hero ---------- */
.page-hero { background: var(--fibre); border-bottom: 1px solid var(--line); }
.page-hero__inner { display: grid; gap: 2rem; padding-block: clamp(3rem, 2rem + 4vw, 6rem); align-items: center; }
.page-hero__title { font-size: var(--step-5); letter-spacing: -0.035em; line-height: 1; max-width: 14ch; margin-bottom: 1.25rem; color: var(--forest); text-wrap: balance; }
.page-hero__lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 36rem; margin: 0; }
.page-hero__media { margin: 0; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) {
    .page-hero--image .page-hero__inner { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; font-size: var(--step--1); color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.breadcrumb a { color: var(--muted); }

/* ---------- Product page ---------- */
.spec { display: grid; border-top: 1px solid var(--line); margin: 0; }
.spec__row { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.spec__row dt { font-weight: 600; color: var(--forest); }
.spec__row dd { margin: 0; color: var(--ink); }
.availability {
    display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9375rem; color: var(--leaf);
    margin-bottom: 1.25rem;
}
.availability .icon { width: 1.1rem; height: 1.1rem; }
.process-list { list-style: none; counter-reset: p; display: grid; gap: 0; border-top: 1px solid var(--line); }
.process-list li { counter-increment: p; display: grid; grid-template-columns: 2.5rem 1fr; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.process-list li::before { content: counter(p); font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.check-list { list-style: none; display: grid; gap: .6rem; }
.check-list li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .6rem; }
.check-list .icon { width: 1.2rem; height: 1.2rem; margin-top: .25rem; color: var(--leaf); }
.sidebar-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.sidebar-card h2 { font-size: var(--step-1); margin-bottom: .75rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery__item { margin: 0; }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--fibre); cursor: zoom-in; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1 / 1; }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__btn:hover img { transform: scale(1.04); }
.gallery__cap { font-size: var(--step--1); color: var(--muted); margin-top: .5rem; }

.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter__btn {
    padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white);
    cursor: pointer; font-size: .9375rem; font-weight: 500; color: var(--ink);
}
.filter__btn[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--fibre); }

/* ---------- Video ---------- */
.video { margin: 0; }
.video video, .yt-facade { width: 100%; border-radius: var(--radius); background: var(--graphite); }
.video--portrait video { aspect-ratio: 9 / 16; object-fit: cover; }
.video--landscape video, .video--landscape .yt-facade { aspect-ratio: 16 / 9; }
.video figcaption { font-size: var(--step--1); color: var(--muted); margin-top: .6rem; }
.banafine .video figcaption, .bf-section .video figcaption, .section--forest .video figcaption { color: rgba(241, 235, 221, .78); }
.yt-facade { position: relative; display: block; padding: 0; border: 0; cursor: pointer; overflow: hidden; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; }
.yt-facade__play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--fibre); color: var(--forest);
    display: grid; place-items: center; transition: transform .2s var(--ease);
}
.yt-facade:hover .yt-facade__play { transform: translate(-50%, -50%) scale(1.06); }
.yt-facade__play .icon { width: 1.8rem; height: 1.8rem; margin-left: 4px; }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-row { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .video-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .video-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.video-row--wide { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .video-row--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .video-row--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.video--landscape video { object-fit: cover; }
.bf-film-note { max-width: 34ch; font-size: var(--step-1); line-height: 1.45; color: rgba(241, 235, 221, .86); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field__label { font-weight: 600; font-size: .9688rem; }
.field__hint { font-size: var(--step--1); color: var(--muted); font-weight: 400; }
.field__input {
    width: 100%; min-height: 3rem; padding: .75rem .9rem;
    border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white);
    font: inherit; font-size: 1rem; color: var(--ink);
    transition: border-color .15s;
}
.field__input:hover { border-color: #c8bea8; }
.field__input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(197, 155, 69, .35); }
textarea.field__input { min-height: 9rem; resize: vertical; }
select.field__input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2317231b' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.1rem; padding-right: 2.5rem; }
.field__input[aria-invalid="true"] { border-color: #a5362b; }
.field__error { color: #a5362b; font-size: var(--step--1); font-weight: 500; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: var(--step--1); color: var(--muted); }
.notice { padding: 1rem 1.25rem; border-radius: var(--radius); border-left: 4px solid; margin-bottom: 1.5rem; }
.notice--success { background: #eaf2df; border-color: var(--leaf); color: #26401a; }
.notice--error { background: #f8e9e6; border-color: #a5362b; color: #6d2119; }

/* Enquiry sent confirmation: the panel rises in, the ring and tick draw, then the gold thread runs underneath. */
.sent { position: relative; display: flex; gap: 1.1rem; align-items: center; padding: 1.25rem 1.4rem 1.4rem; margin-bottom: 2rem; background: #eaf2df; color: #26401a; border-radius: var(--radius); outline: none; overflow: hidden; }
.sent::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold); transform-origin: left; }
.sent__mark { flex: none; width: 3.25rem; height: 3.25rem; }
.sent__ring { fill: none; stroke: var(--leaf); stroke-width: 2.5; }
.sent__tick { fill: none; stroke: var(--leaf); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.sent__title { display: block; font-size: var(--step-1); line-height: 1.25; }
.sent__text { margin: .25rem 0 0; }
@media (prefers-reduced-motion: no-preference) {
    .sent { animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; }
    .sent__ring { stroke-dasharray: 151; stroke-dashoffset: 151; transform: rotate(-90deg); transform-origin: center; animation: draw-stroke .6s .25s ease-out forwards; }
    .sent__tick { stroke-dasharray: 34; stroke-dashoffset: 34; animation: draw-stroke .35s .8s ease-out forwards; }
    .sent::after { transform: scaleX(0); animation: thread-run .9s 1s cubic-bezier(.6, 0, .2, 1) forwards; }
}
@keyframes draw-stroke { to { stroke-dashoffset: 0; } }
@keyframes thread-run { to { transform: scaleX(1); } }

.route-picker { display: grid; gap: .6rem; margin-bottom: 2rem; }
@media (min-width: 700px) { .route-picker { grid-template-columns: repeat(2, 1fr); } }

.route-option { position: relative; }
.route-option input { position: absolute; opacity: 0; inset: 0; }
.route-option label {
    display: block; height: 100%; padding: 1rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--radius);
    background: var(--white); cursor: pointer; transition: border-color .15s, background-color .15s;
}
.route-option__title { display: block; font-weight: 650; margin-bottom: .15rem; }
.route-option__text { display: block; font-size: .9375rem; color: var(--muted); line-height: 1.4; }
.route-option input:checked + label { border-color: var(--forest); background: #eef2ea; box-shadow: inset 0 0 0 1px var(--forest); }
.route-option input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.route-fields[hidden] { display: none; }

/* ---------- Careers ---------- */
.jobs { display: grid; gap: 2.5rem; }
.job-group h2 { font-size: var(--step-2); margin-bottom: 1rem; }
.job-list { list-style: none; border-top: 1px solid var(--line); }
.job { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.job:hover .job__title { color: var(--leaf); }
.job__title { font-weight: 600; }
.job__type { font-size: .9375rem; color: var(--muted); display: inline-flex; gap: .5rem; align-items: center; }
.job-group--open { padding: 1.25rem 1.4rem .5rem; background: #eaf2df; border-radius: var(--radius); }
.job-group--open .job-list { border-top-color: rgba(74, 115, 34, .3); }
.job-group--open .job { border-bottom-color: rgba(74, 115, 34, .3); }
.job-group--past .job-list + .job-list { border-top: 0; }
.job-group--past .job__title { font-weight: 500; color: var(--muted); }

/* ---------- Values list ---------- */
.values { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 1080px) { .values { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.value { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.value__name { font-size: var(--step-1); color: var(--forest); margin-bottom: .3rem; }
.value__text { margin: 0; color: var(--muted); }

.statement { font-size: var(--step-3); line-height: 1.3; letter-spacing: -0.015em; font-weight: 500; max-width: 44rem; color: var(--forest); }
.statement-pair { display: grid; gap: 2.5rem; }
@media (min-width: 1080px) { .statement-pair { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.statement-pair h2 { font-size: var(--step-1); color: var(--leaf); margin-bottom: .75rem; }

.quote { margin: 0; padding-left: 1.5rem; border-left: 3px solid var(--gold); }
.quote p { font-size: var(--step-2); line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; color: var(--forest); }
.quote footer { margin-top: 1rem; color: var(--muted); font-size: .9688rem; }

.invest-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: inv; }
.invest-list li { display: grid; grid-template-columns: 1fr auto; gap: .35rem 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.invest-list strong { font-size: var(--step-1); }
.invest-list span { color: var(--muted); grid-column: 1; }
.invest-list em { font-style: normal; font-weight: 700; color: var(--forest); grid-row: 1; grid-column: 2; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Article ---------- */
.article-hero { margin: 0 0 2.5rem; }
.article-hero img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.article-meta { color: var(--muted); font-size: .9688rem; margin-bottom: 1rem; }
.article-title { font-size: var(--step-4); letter-spacing: -0.03em; margin-bottom: 1.5rem; color: var(--forest); text-wrap: balance; }

/* ---------- Footer ---------- */
.site-footer { background: #10291d; color: rgba(241, 235, 221, .8); padding-top: clamp(3.5rem, 3rem + 3vw, 6rem); font-size: .9688rem; }
.site-footer a { color: rgba(241, 235, 221, .86); text-decoration: none; }
.site-footer a:hover { color: var(--leaf-bright); }
.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 3rem; } }
.site-footer__name { font-size: var(--step-2); font-weight: 750; color: var(--white); letter-spacing: -0.02em; margin-bottom: .4rem; }
.site-footer__tagline { max-width: 20rem; margin-bottom: 1.5rem; }
.site-footer__heading { font-size: 1rem; color: var(--gold-soft); margin-bottom: 1rem; letter-spacing: 0; }
.site-footer__col ul { list-style: none; display: grid; gap: .55rem; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.social a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line-dark); border-radius: 50%; }
.social a:hover { border-color: var(--leaf-bright); }
.social .icon { width: 1.1rem; height: 1.1rem; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem 2rem; border-top: 1px solid var(--line-dark); font-size: .875rem; }
.site-footer__base p { margin: 0; }
.site-footer__base ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; }

.wa-float {
    position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
    width: 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center;
    background: #1f8f4e; color: var(--white); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5);
}
.wa-float:hover { background: #18773f; color: var(--white); }
.wa-float .icon { width: 1.6rem; height: 1.6rem; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; max-width: min(92vw, 1400px); max-height: 92vh; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(16, 24, 18, .9); }
.lightbox img { max-width: 100%; max-height: 84vh; width: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox__caption { color: var(--fibre); text-align: center; margin-top: .75rem; font-size: .9688rem; }
.lightbox__close {
    position: fixed; top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; border-radius: 50%;
    border: 0; background: var(--fibre); color: var(--forest); display: grid; place-items: center; cursor: pointer;
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.stack > * + * { margin-top: 1.25rem; }
.muted { color: var(--muted); }

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

@media print {
    .site-header, .site-footer, .wa-float, .cta-band { display: none; }
}

/* ---------- Technologies: stages ---------- */
.stages { list-style: none; border-top: 1px solid var(--line); }
.stage { display: grid; gap: 1.25rem; padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.stage__head { display: flex; align-items: center; gap: 1rem; }
.stage__num {
    width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; flex: none;
    background: var(--forest); color: var(--fibre); font-weight: 700; font-variant-numeric: tabular-nums;
    box-shadow: 0 0 0 4px var(--paper), 0 0 0 5.5px var(--gold);
}
.stage__short { margin: 0; font-weight: 600; color: var(--leaf); }
.stage__title { font-size: var(--step-2); margin-bottom: .6rem; }
.stage__text { color: var(--muted); margin: 0; max-width: 38rem; }
.stage__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.stage__media--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stage__media .gallery__btn { aspect-ratio: 4 / 3; }
@media (min-width: 1000px) {
    .stage { grid-template-columns: 10rem minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: start; }
    .stage__head { flex-direction: column; align-items: flex-start; }
}
.video--standard video { aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Banafine brand page ---------- */
[hidden] { display: none !important; }
.btn--block { width: 100%; }
.bf-hero { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); }
.bf-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.bf-hero__kind { font-weight: 600; color: var(--lime); margin-bottom: 1.25rem; }
.bf-hero__media { margin: 0; }
.bf-hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 960px) {
    .bf-hero__grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
    .bf-hero__media img { aspect-ratio: 4 / 4.6; }
}
.breadcrumb--dark, .breadcrumb--dark a { color: rgba(241, 235, 221, .65); }
.breadcrumb--dark li + li::before { color: rgba(241, 235, 221, .3); }

.bf-section { background: var(--graphite); color: var(--fibre); }
.bf-section--tint { background: var(--graphite-2); }
.bf-section .section-lede, .bf-section .prose { color: rgba(241, 235, 221, .82); }
.bf-section .figure figcaption { color: rgba(241, 235, 221, .6); }
.bf-section .gallery__btn { background: var(--graphite-2); }
.bf-heading {
    font-family: var(--font-banafine); font-weight: 400; letter-spacing: -0.01em; line-height: 1;
    font-size: clamp(2.6rem, 1.8rem + 3vw, 4.25rem); color: var(--white);
}
.bf-points { list-style: none; display: grid; gap: 0; margin-top: 2rem; border-top: 1px solid rgba(241, 235, 221, .14); }
.bf-points li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(241, 235, 221, .14); }
.bf-points strong { color: var(--lime); font-weight: 600; }
.bf-points span { color: rgba(241, 235, 221, .86); }
@media (max-width: 520px) { .bf-points li, .banafine__fact { grid-template-columns: 1fr; gap: .2rem; } }

.bf-packs { display: grid; gap: .85rem; grid-template-columns: 1fr 1fr; }
.bf-packs figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.bf-packs img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.bf-packs__main { grid-column: span 2; }
.bf-packs__main img { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
    .bf-packs { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
    .bf-packs__main { grid-column: 1; grid-row: span 2; }
    .bf-packs__main img { aspect-ratio: auto; }
}

.bf-audiences { display: grid; gap: 1.5rem; }
@media (min-width: 1080px) { .bf-audiences { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.bf-audience { border-top: 2px solid var(--plum-soft); padding-top: 1.25rem; }
.bf-audience h3 { font-family: var(--font-banafine); font-weight: 400; font-size: var(--step-3); color: var(--white); margin-bottom: .5rem; }
.bf-audience p { color: rgba(241, 235, 221, .8); }
.bf-section .text-link { color: var(--fibre); border-color: var(--plum-soft); }
.bf-section .text-link:hover { color: var(--plum-soft); }
.cta-band--banafine { background: var(--plum); }
.cta-band--banafine .btn--plum { background: var(--graphite); }
.cta-band--banafine .btn--plum:hover { background: #1f211d; }

/* ---------- Catalogue ---------- */
.catalogue { display: grid; gap: 3rem 1.75rem; }
@media (min-width: 700px) { .catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .catalogue { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Contact ---------- */
.route-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.route-fieldset legend { padding: 0; font-size: var(--step-1); }
.contact-aside.sidebar-card h2 { font-size: var(--step-1); }
.impact--grid { margin-top: 0; }
@media (min-width: 1080px) { .impact--grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 4rem; } }
.article-video { max-width: 360px; }
.mb-0 { margin-bottom: 0; }
@media (min-width: 1080px) { .values--single { grid-template-columns: 1fr; } }
.page-hero__title--product { font-size: var(--step-4); max-width: 20ch; }

/* ==========================================================================
   Motion: all of it follows the gold "fibre thread" motif
   ========================================================================== */

/* 1. Hero entrance: headline lines rise in, then the photo is drawn across like fibre */
.hero__line { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
    .js .hero__line,
    .js .hero__lede,
    .js .hero__sub,
    .js .hero .btn-row { animation: rise .8s var(--ease) both; }
    .js .hero__line:nth-child(2) { animation-delay: .12s; }
    .js .hero__line:nth-child(3) { animation-delay: .24s; }
    .js .hero__lede { animation-delay: .42s; }
    .js .hero__sub { animation-delay: .52s; }
    .js .hero .btn-row { animation-delay: .62s; }
    .js .hero__media img { animation: draw-across 1.3s .15s cubic-bezier(.65, 0, .25, 1) both; }
    .js .hero__caption { animation: rise .6s 1.3s var(--ease) both; }
}
@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}
@keyframes draw-across {
    from { clip-path: inset(0 100% 0 0); transform: scale(1.04); }
    to { clip-path: inset(0 0 0 0); transform: scale(1); }
}

/* 2. Product and news photos: a gold thread runs along the bottom edge on hover or focus */
.tile__media::after,
.news-card__media::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: var(--gold); transform: scaleX(0); transform-origin: left;
    transition: transform .5s var(--ease);
}
.news-card__media { position: relative; }
.tile:hover .tile__media::after, .tile:focus-visible .tile__media::after,
.news-card:hover .news-card__media::after, .news-card:focus-visible .news-card__media::after { transform: scaleX(1); }
.tile__media--drawn::after { background: var(--leaf-bright); }

/* 4. Achievements: the thread runs down the timeline as you scroll */
.timeline--thread { position: relative; padding-left: 2.25rem; border-top: 0; --progress: 1; }
.timeline--thread::before,
.timeline--thread::after {
    content: ""; position: absolute; left: .55rem; top: 0; bottom: 0; width: 2px; border-radius: 2px;
}
.timeline--thread::before { background: var(--line); }
.timeline--thread::after { background: var(--gold); transform: scaleY(var(--progress)); transform-origin: top; }
.timeline--thread .milestone { position: relative; }
.timeline--thread .milestone::before {
    content: ""; position: absolute; top: 1.85rem; left: calc(-1.7rem + 1px - 7px);
    width: 14px; height: 14px; border-radius: 50%; z-index: 1;
    background: var(--gold); border: 2px solid var(--gold); box-shadow: 0 0 0 4px var(--paper);
    transition: background-color .3s, transform .3s var(--ease);
}
@media (min-width: 900px) { .timeline--thread .milestone::before { top: 2.75rem; } }
@media (prefers-reduced-motion: no-preference) {
    .js .timeline--thread { --progress: 0; }
    .js .timeline--thread .milestone::before { background: var(--paper); transform: scale(.85); }
    .js .timeline--thread .milestone.is-reached::before { background: var(--gold); transform: scale(1); }
}
