/* ==========================================================================
   Kilonova Commodities Limited
   Clear, high-contrast commodity-trading style. One sans family, flat
   surfaces, gold used only as an accent.
   ========================================================================== */

:root {
    /* text stays near-black for legibility; the brand red carries the feel */
    --ink:        #1a1418;
    --ink-2:      #332a2f;
    --body-text:  #54494f;
    --muted:      #867981;

    --line:       #e9e1e4;
    --line-soft:  #f3edef;

    --bg:         #ffffff;
    --bg-soft:    #faf6f7;
    --bg-dark:    #4a1024;
    --bg-dark-2:  #5d1630;

    --wine:       #8c1d3c;
    --wine-deep:  #4a1024;
    --wine-dark:  #3a0c1c;
    --wine-mid:   #6b1530;
    --wine-light: #f6e7eb;
    --wine-pale:  #fdf5f7;

    --gold:       #b4871c;
    --gold-bright:#d6a62c;
    --gold-light: #ead7a6;
    --gold-pale:  #faf4e6;

    --ok:         #1f7a45;
    --bad:        #b3261e;

    --shadow-sm: 0 1px 2px rgba(74, 16, 36, .07);
    --shadow-md: 0 8px 24px rgba(74, 16, 36, .11);
    --shadow-lg: 0 20px 48px rgba(74, 16, 36, .16);

    --r-sm: 6px;
    --r:    10px;
    --r-lg: 16px;

    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --shell: 1160px;
    --ease: cubic-bezier(.22, .68, .32, 1);
    --head-h: 76px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    /* `clip` only, with no `hidden` fallback: `hidden` here or on body turns
       the page into a scroll container and stops the masthead sticking on
       browsers without `overflow: clip`. Nothing actually overflows, so a
       browser that ignores this line loses nothing. */
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--body-text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--ink);
    text-decoration: none;
    transition: color .2s var(--ease);
}

a:hover { color: var(--wine); }

h1, h2, h3, h4 {
    margin: 0 0 .55em;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.02em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.12rem, 1.7vw, 1.3rem); letter-spacing: -.01em; }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1rem; }

ul { margin: 0; padding: 0; list-style: none; }

strong { font-weight: 600; color: var(--ink-2); }

::selection { background: var(--wine-light); color: var(--ink); }

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

.shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding-inline: 24px;
}

.section { padding-block: clamp(56px, 7vw, 92px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--soft { background: var(--bg-soft); }

.section--dark {
    background: linear-gradient(160deg, var(--wine-deep), var(--wine-mid) 72%, var(--wine));
    color: rgba(255, 255, 255, .72);
}

.section--dark h2,
.section--dark h3 { color: #fff; }

.section--dark strong { color: #fff; }

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */

.eyebrow {
    display: block;
    margin: 0 0 14px;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--wine);
}

.eyebrow--light { color: var(--gold-bright); }

.section-head {
    max-width: 640px;
    margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head--center { margin-inline: auto; text-align: center; }

.section-head p { font-size: 1.04rem; margin-bottom: 0; }

.section--dark .section-head p { color: rgba(255, 255, 255, .72); }

.lead {
    font-size: clamp(1.04rem, 1.5vw, 1.16rem);
    line-height: 1.6;
    color: var(--ink-2);
}

.note-sm { font-size: .88rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    font-family: var(--font);
    font-size: .92rem;
    font-weight: 600;
    letter-spacing: .01em;
    cursor: pointer;
    transition: background .2s var(--ease), color .2s var(--ease),
                border-color .2s var(--ease), transform .15s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn--gold {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.btn--gold:hover { background: #9d7517; border-color: #9d7517; color: #fff; }

.btn--dark {
    background: var(--wine);
    border-color: var(--wine);
    color: #fff;
}

.btn--dark:hover { background: var(--wine-mid); border-color: var(--wine-mid); color: #fff; }

.btn--outline {
    border-color: var(--line);
    color: var(--ink);
    background: #fff;
}

.btn--outline:hover { border-color: var(--wine); color: var(--wine); }

.btn--ghost {
    border-color: rgba(255, 255, 255, .34);
    color: #fff;
    background: transparent;
}

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

.btn--lg { padding: 15px 28px; font-size: .98rem; }
.btn--block { width: 100%; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--wine);
}

.text-link::after {
    content: "\2192";
    transition: transform .2s var(--ease);
}

.text-link:hover { color: var(--wine-mid); }
.text-link:hover::after { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.topbar {
    background: var(--wine-dark);
    color: rgba(255, 255, 255, .62);
    font-size: .82rem;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 38px;
}

.topbar__item { margin: 0; }

.topbar__links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 16px;
}

.topbar__links a { color: rgba(255, 255, 255, .82); }
.topbar__links a:hover { color: var(--gold-bright); }

.topbar__divider { width: 1px; height: 11px; background: rgba(255, 255, 255, .22); }

.topbar__staff { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.topbar__staff svg { width: 12px; height: 12px; fill: currentColor; }

.masthead {
    position: sticky;
    top: 0;
    z-index: 900;
    /* No backdrop-filter here. It would make the masthead the containing block
       for its fixed-position descendants, which anchors the mobile menu panel
       to the header instead of the viewport. */
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s var(--ease);
}

.masthead.is-stuck { box-shadow: var(--shadow-sm); }

.masthead__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: var(--head-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-right: auto;
}

.brand__mark { height: 58px; flex: none; }
.brand__mark img { height: 100%; width: auto; }

.brand__text { display: flex; flex-direction: column; line-height: 1.1; }

.brand__text strong {
    font-size: 1.16rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--ink);
}

.brand__text em {
    font-style: normal;
    font-size: .63rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav__list { display: flex; align-items: center; gap: 2px; }

.nav__link {
    position: relative;
    display: inline-block;
    padding: 9px 13px;
    border-radius: var(--r-sm);
    font-size: .94rem;
    font-weight: 500;
    color: var(--ink-2);
}

.nav__link:hover { background: var(--bg-soft); color: var(--ink); }

.nav__link.is-active { color: var(--wine); font-weight: 600; }

.nav__cta-mobile { display: none; }

.burger {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: #fff;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3.5px auto;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .25s var(--ease), opacity .2s var(--ease);
}

.burger.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 850;
    background: rgba(20, 23, 28, .45);
    opacity: 0;
    transition: opacity .25s var(--ease);
}

.nav-backdrop.is-visible { opacity: 1; }

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    z-index: 999;
    background: var(--wine);
    transition: width .1s linear;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 560px;
    padding-block: clamp(56px, 7vw, 96px);
    background: var(--wine-deep);
    overflow: hidden;
}

.hero__slides { position: absolute; inset: 0; }

.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.4s var(--ease);
}

/* slow drift across the active frame, restarting on each slide change */
.hero__slide.is-active {
    opacity: 1;
    animation: kenburns 9s ease-out forwards;
}

.hero__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(58, 12, 28, .95) 12%, rgba(74, 16, 36, .82) 52%, rgba(107, 21, 48, .58));
}

/* drifting light behind the headline */
.hero__glow {
    position: absolute;
    top: -18%;
    left: 42%;
    width: 46vw;
    max-width: 680px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 166, 44, .28), rgba(214, 166, 44, 0) 68%);
    animation: glowDrift 16s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* gold-dust motes, drawn by main.js */
.hero__particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero__cue {
    position: absolute;
    left: 50%;
    bottom: 58px;
    z-index: 3;
    width: 22px;
    height: 36px;
    margin-left: -11px;
    border: 1.5px solid rgba(255, 255, 255, .4);
    border-radius: 12px;
    pointer-events: none;
}

.hero__cue::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 7px;
    width: 3px;
    height: 7px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: var(--gold-bright);
    animation: cueDrop 2s ease-in-out infinite;
}

@keyframes kenburns {
    from { transform: scale(1.06) translate3d(0, 0, 0); }
    to   { transform: scale(1.14) translate3d(-1.2%, -1%, 0); }
}

@keyframes glowDrift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .85; }
    50%      { transform: translate3d(-6%, 5%, 0) scale(1.12); opacity: 1; }
}

@keyframes cueDrop {
    0%      { transform: translateY(0); opacity: 0; }
    35%     { opacity: 1; }
    70%     { transform: translateY(12px); opacity: 0; }
    100%    { transform: translateY(12px); opacity: 0; }
}

/* Staggered entrance for the hero copy. Scoped to .js so the hero is never
   left invisible when scripting is unavailable. */
.js .hero__copy > *,
.js .hero__cards {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.hero.is-ready .hero__copy > *,
.hero.is-ready .hero__cards {
    opacity: 1;
    transform: none;
}

.hero.is-ready .hero__copy > *:nth-child(1) { transition-delay: .05s; }
.hero.is-ready .hero__copy > *:nth-child(2) { transition-delay: .16s; }
.hero.is-ready .hero__copy > *:nth-child(3) { transition-delay: .27s; }
.hero.is-ready .hero__copy > *:nth-child(4) { transition-delay: .38s; }
.hero.is-ready .hero__copy > *:nth-child(5) { transition-delay: .49s; }
.hero.is-ready .hero__cards { transition-delay: .32s; }

/* the cards breathe gently once they have arrived */
.hero.is-ready .hero__card--tall { animation: floatCard 7s ease-in-out 1.2s infinite; }
.hero.is-ready .hero__card--a    { animation: floatCard 6.2s ease-in-out 1.6s infinite; }
.hero.is-ready .hero__card--b    { animation: floatCard 6.8s ease-in-out 2s infinite; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-9px); }
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(30px, 5vw, 64px);
    align-items: center;
    width: 100%;
}

.hero__title {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: .3em;
}

.hero__title span { color: var(--gold-bright); }

.hero__text {
    max-width: 54ch;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 32px;
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.hero__meta strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.hero__meta span {
    font-size: .82rem;
    color: rgba(255, 255, 255, .58);
}

.hero__meta-link { display: block; }
.hero__meta-link strong { transition: color .2s var(--ease); }
.hero__meta-link:hover strong { color: var(--gold-bright); }
.hero__meta-link span { text-decoration: underline; text-underline-offset: 3px; }

.hero__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.hero__card {
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
}

.hero__card img { width: 100%; height: 100%; object-fit: cover; }

.hero__card--tall { grid-row: span 2; aspect-ratio: 3 / 5; }
.hero__card--a,
.hero__card--b { aspect-ratio: 4 / 3; }

.hero__dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}

.hero__dot {
    width: 26px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, .3);
    cursor: pointer;
    transition: background .25s var(--ease), width .25s var(--ease);
}

.hero__dot.is-active { width: 42px; background: var(--gold-bright); }

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */

.ticker {
    /* gold sampled from the Africa in the logo */
    background: linear-gradient(90deg, #b67d18, #d39923 30%, #e2b03a 50%, #d39923 70%, #b67d18);
    overflow: hidden;
}

.ticker__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    font-size: .86rem;
    font-weight: 600;
    color: #000;
    white-space: nowrap;
}

.ticker__item::after {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #000;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Page header
   -------------------------------------------------------------------------- */

.pagehead {
    position: relative;
    padding-block: clamp(56px, 7vw, 96px);
    background-image: var(--pagehead-image);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.pagehead__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(58, 12, 28, .95) 10%, rgba(74, 16, 36, .84) 55%, rgba(107, 21, 48, .62));
}

.pagehead__inner { position: relative; z-index: 2; max-width: 720px; }

.pagehead__title { color: #fff; margin-bottom: .3em; }

.pagehead__text {
    color: rgba(255, 255, 255, .78);
    font-size: 1.06rem;
    max-width: 58ch;
    margin-bottom: 0;
}

.crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 9px;
    margin-top: 18px;
    font-size: .84rem;
    color: rgba(255, 255, 255, .5);
}

.crumbs a { color: rgba(255, 255, 255, .78); }
.crumbs a:hover { color: var(--gold-bright); }

/* --------------------------------------------------------------------------
   Grids and cards
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card {
    position: relative;
    padding: 26px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.card:hover { border-color: #d3d9e0; box-shadow: var(--shadow-md); }

.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.card__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: var(--r-sm);
    background: var(--wine-pale);
    border: 1px solid var(--wine-light);
}

.card__icon svg { width: 20px; height: 20px; fill: var(--wine); }

.card__num {
    display: inline-block;
    margin-bottom: 14px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--wine);
}

.section--dark .card {
    background: var(--bg-dark-2);
    border-color: rgba(255, 255, 255, .12);
}

.section--dark .card:hover { border-color: rgba(255, 255, 255, .26); box-shadow: none; }
.section--dark .card p { color: rgba(255, 255, 255, .7); }

/* Media card */

.mcard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.mcard:hover { border-color: #d3d9e0; box-shadow: var(--shadow-md); }

.mcard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }

.mcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }

.mcard:hover .mcard__media img { transform: scale(1.04); }

.mcard__tag {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    padding: 5px 11px;
    border-radius: 4px;
    background: rgba(74, 16, 36, .9);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: #fff;
}

.mcard__body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.mcard__body h3 { margin-bottom: .35em; }
.mcard__body p { font-size: .96rem; }
.mcard__body .text-link { margin-top: auto; padding-top: 10px; }

.mcard__list { margin: 0 0 16px; font-size: .94rem; }

.mcard__list li { position: relative; padding-left: 18px; margin-bottom: 6px; }

.mcard__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wine);
}

/* --------------------------------------------------------------------------
   Split blocks
   -------------------------------------------------------------------------- */

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 4.5vw, 64px);
    align-items: center;
}

.split--reverse .split__media { order: 2; }

.split__frame {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-soft);
}

.split__frame img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }

.split__frame--tall img { aspect-ratio: 4 / 4.6; }

.split__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.split__pair img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }

.section--dark .split__frame,
.section--dark .split__pair img { border-color: rgba(255, 255, 255, .14); }

.checklist { margin: 2px 0 24px; }

.checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 11px;
    font-size: .98rem;
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .34em;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--wine-light);
    border: 1px solid #e6c6d0;
}

.checklist li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: .66em;
    width: 6px;
    height: 3.5px;
    border-left: 1.8px solid var(--wine);
    border-bottom: 1.8px solid var(--wine);
    transform: rotate(-45deg);
}

.section--dark .checklist li { color: rgba(255, 255, 255, .78); }
.section--dark .checklist li::before { background: rgba(214, 166, 44, .16); border-color: rgba(214, 166, 44, .4); }
.section--dark .checklist li::after { border-color: var(--gold-bright); }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.step {
    padding: 24px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 2px solid var(--wine);
    border-radius: var(--r);
}

.step__num {
    display: block;
    margin-bottom: 12px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--wine);
}

.step h3 { font-size: 1.1rem; margin-bottom: .35em; }
.step p { font-size: .94rem; margin: 0; }

.section--dark .step { background: var(--bg-dark-2); border-color: rgba(255, 255, 255, .12); border-top-color: var(--gold); }
.section--dark .step p { color: rgba(255, 255, 255, .7); }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.stat {
    padding: 26px 20px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--r);
    text-align: left;
}

.stat__value {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -.02em;
}

.stat__label { margin: 8px 0 0; font-size: .88rem; color: rgba(255, 255, 255, .6); }

/* --------------------------------------------------------------------------
   Image strip
   -------------------------------------------------------------------------- */

.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

.strip figure { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }

.strip img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .5s var(--ease);
}

.strip figure:hover img { transform: scale(1.05); }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.quotes { max-width: 760px; margin: 0 auto; }

.quote { display: none; }
.quote.is-active { display: block; animation: fadeUp .4s var(--ease) both; }

.quote__text {
    font-size: clamp(1.14rem, 2vw, 1.4rem);
    line-height: 1.55;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 22px;
}

.section--dark .quote__text { color: #fff; }

.quote__person { display: flex; align-items: center; gap: 12px; }

.quote__person img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.quote__person strong { display: block; font-size: .98rem; color: var(--ink); }
.section--dark .quote__person strong { color: #fff; }

.quote__person span { font-size: .86rem; color: var(--muted); }

.quotes__dots { display: flex; gap: 7px; margin-top: 26px; }

.quotes__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 1px solid var(--muted);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background .2s var(--ease), border-color .2s var(--ease);
}

.quotes__dot.is-active { background: var(--wine); border-color: var(--wine); }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Accordion
   -------------------------------------------------------------------------- */

.accordion { display: grid; gap: 10px; }

.acc {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
}

.acc.is-open { border-color: #e6c6d0; }

.acc__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border: 0;
    background: transparent;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}

.acc__btn:hover { color: var(--wine); }

.acc__sign {
    position: relative;
    width: 20px;
    height: 20px;
    flex: none;
}

.acc__sign::before,
.acc__sign::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: var(--wine);
    transform: translate(-50%, -50%);
    transition: opacity .2s var(--ease), transform .25s var(--ease);
}

.acc__sign::before { width: 12px; height: 2px; }
.acc__sign::after  { width: 2px; height: 12px; }

.acc.is-open .acc__sign::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }

.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }

.acc__inner { overflow: hidden; }

.acc__inner p { margin: 0; padding: 0 20px 20px; font-size: .97rem; }

.faq-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }

.faq-filter button {
    padding: 9px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-family: var(--font);
    font-size: .9rem;
    font-weight: 500;
    color: var(--ink-2);
    cursor: pointer;
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.faq-filter button:hover { border-color: var(--wine); color: var(--wine); }

.faq-filter button.is-active { background: var(--wine); border-color: var(--wine); color: #fff; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.formcard {
    padding: clamp(24px, 3.5vw, 36px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
}

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }

.field label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink-2);
}

.field label .req { color: var(--bad); }

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 11px 13px;
    font-family: var(--font);
    font-size: .96rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2379828f'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
    padding-right: 36px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--wine);
    box-shadow: 0 0 0 3px rgba(140, 29, 60, .13);
}

.field input::placeholder,
.field textarea::placeholder { color: #a8b0bb; }

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--bad); }

.field__error { font-size: .85rem; color: var(--bad); }
.field__hint { font-size: .85rem; color: var(--muted); }

.field-row { display: flex; gap: 10px; }
.field-row input { flex: 1; }
.field-row select { width: 96px; flex: none; }

.hp,
.subscribe__hp {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.form-actions .note { font-size: .88rem; color: var(--muted); margin: 0; }

.alert {
    display: flex;
    gap: 12px;
    padding: 16px 18px;
    margin-bottom: 22px;
    border-radius: var(--r);
    font-size: .95rem;
}

.alert svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }

.alert--ok { background: #f2f9f4; border: 1px solid #c8e4d1; color: #1d6b3c; }
.alert--ok svg { fill: var(--ok); }

.alert--bad { background: #fdf3f2; border: 1px solid #f2cfcc; color: #99231d; }
.alert--bad svg { fill: var(--bad); }

.alert strong { display: block; margin-bottom: 2px; color: inherit; }
.alert p { margin: 0; }

/* Contact tiles */

.infotile {
    display: flex;
    gap: 14px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
}

.infotile__icon {
    width: 40px;
    height: 40px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: var(--r-sm);
    background: var(--wine-pale);
    border: 1px solid var(--wine-light);
}

.infotile__icon svg { width: 18px; height: 18px; fill: var(--wine); }

.infotile h3 { font-size: 1rem; margin-bottom: .2em; }
.infotile p { margin: 0; font-size: .94rem; }

.map-frame {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--line);
}

.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Table */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }

table.data { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 560px; }

table.data th,
table.data td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }

table.data th {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--bg-soft);
}

table.data tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   Callout
   -------------------------------------------------------------------------- */

.callout {
    position: relative;
    padding-block: clamp(52px, 6.5vw, 86px);
    overflow: hidden;
}

.callout__image { position: absolute; inset: 0; background-size: cover; background-position: center; }

.callout__veil { position: absolute; inset: 0; background: linear-gradient(150deg, rgba(58, 12, 28, .9), rgba(107, 21, 48, .66)); }

.callout__inner { position: relative; z-index: 2; max-width: 680px; }

.callout__title { color: #fff; }

.callout__text { color: rgba(255, 255, 255, .76); font-size: 1.04rem; }

.callout__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
    padding-top: clamp(48px, 6vw, 72px);
    background: var(--wine-dark);
    color: rgba(255, 255, 255, .64);
    font-size: .94rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr;
    gap: clamp(26px, 3.5vw, 48px);
    padding-bottom: 44px;
}

.brand--footer { margin-bottom: 16px; }
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text em { color: rgba(255, 255, 255, .5); }

.footer__blurb { max-width: 36ch; }

.footer__heading {
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}

.footer__links li { margin-bottom: 9px; }
.footer__links a { color: rgba(255, 255, 255, .64); }
.footer__links a:hover { color: var(--gold-bright); }

.footer__contact li {
    display: flex;
    gap: 11px;
    margin-bottom: 13px;
    line-height: 1.55;
    min-width: 0;
    overflow-wrap: anywhere;
}

.footer__contact a { color: rgba(255, 255, 255, .64); }
.footer__contact a:hover { color: var(--gold-bright); }

.footer__icon { width: 18px; flex: none; padding-top: 3px; }
.footer__icon svg { width: 15px; height: 15px; fill: var(--gold-bright); }

.subscribe { margin-top: 22px; }

.subscribe__label { display: block; font-size: .88rem; color: #fff; margin-bottom: 9px; }

.subscribe__row {
    display: flex;
    gap: 8px;
}

.subscribe__input {
    flex: 1;
    min-width: 0;
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, .06);
    font-family: var(--font);
    font-size: .94rem;
    color: #fff;
}

.subscribe__input::placeholder { color: rgba(255, 255, 255, .4); }
.subscribe__input:focus { outline: none; border-color: var(--gold-bright); }

.subscribe__btn {
    padding: 10px 18px;
    border: 0;
    border-radius: var(--r-sm);
    background: var(--gold);
    font-family: var(--font);
    font-size: .9rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: background .2s var(--ease);
}

.subscribe__btn:hover { background: #9d7517; }

.subscribe__note { margin: 9px 0 0; font-size: .88rem; }
.subscribe__note--ok { color: var(--gold-bright); }
.subscribe__note--bad { color: #f0a8a2; }

.footer__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 20px 26px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .87rem;
    color: rgba(255, 255, 255, .46);
}

.footer__bar p { margin: 0; }
.footer__legal { max-width: 56ch; }
.footer__bar a { color: rgba(255, 255, 255, .46); }
.footer__bar a:hover { color: var(--gold-bright); }

/* --------------------------------------------------------------------------
   Back to top
   -------------------------------------------------------------------------- */

.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 800;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: var(--r-sm);
    background: var(--wine);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s var(--ease);
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.to-top svg { width: 17px; height: 17px; fill: #fff; }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.reveal--fade { transform: none; }
.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
    /* Pinned to the top of the screen on mobile. Fixed rather than sticky so
       it holds in every mobile browser; body padding reserves its space. */
    html { scroll-padding-top: var(--head-h); }
    body { padding-top: var(--head-h); }
    .masthead { position: fixed; left: 0; right: 0; }
    .masthead__cta { display: none; }
    .burger { display: block; }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 880;
        width: min(320px, 84vw);
        height: 100vh;
        height: 100dvh;
        padding: 88px 22px 32px;
        background: #fff;
        border-left: 1px solid var(--line);
        box-shadow: -10px 0 40px rgba(20, 23, 28, .14);
        transform: translateX(104%);
        transition: transform .3s var(--ease), visibility .3s var(--ease);
        overflow-y: auto;
        visibility: hidden;
    }

    .nav.is-open { transform: translateX(0); visibility: visible; }

    .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }

    .nav__link {
        display: block;
        padding: 13px 12px;
        font-size: 1rem;
        border-bottom: 1px solid var(--line-soft);
        border-radius: 0;
    }

    .nav__cta-mobile { display: block; margin-top: 20px; }
    .nav__cta-mobile .btn { width: 100%; }

    .hero__inner { grid-template-columns: minmax(0, 1fr); }
    .hero__cards { max-width: 480px; }

    .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .split--reverse .split__media { order: 0; }

    .grid--3,
    .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    :root { --head-h: 66px; }
    .brand__mark { height: 48px; }

    .topbar__item { display: none; }
    .topbar__inner { justify-content: center; }

    .grid--2,
    .grid--3,
    .grid--4,
    .grid--5 { grid-template-columns: minmax(0, 1fr); }

    .form-grid { grid-template-columns: minmax(0, 1fr); }

    .hero { min-height: auto; }

    /* one clean wide image reads better than a cramped collage on a phone */
    .hero__cards {
        grid-template-columns: minmax(0, 1fr);
        max-width: 100%;
    }

    .hero__card--tall { grid-row: span 1; aspect-ratio: 16 / 10; }
    .hero__card--a,
    .hero__card--b { display: none; }

    .steps { grid-template-columns: minmax(0, 1fr); }
    .stats { grid-template-columns: 1fr 1fr; }

    .footer__grid { grid-template-columns: minmax(0, 1fr); }
    .footer__bar { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .shell { padding-inline: 18px; }
    .hero__actions .btn,
    .callout__actions .btn { width: 100%; }
    .stats { grid-template-columns: minmax(0, 1fr); }
    .strip { grid-template-columns: 1fr 1fr; }
}

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

    .js .hero__copy > *,
    .js .hero__cards { opacity: 1; transform: none; }

    .hero__glow,
    .hero__cue::after { animation: none; }

    .hero__slide.is-active { animation: none; transform: scale(1); }
}
