:root {
    --bg: #12100b;
    --card: #e9e4da;       /* light panel behind text-heavy boxes; text on it is black or muted */
    --red: #e03a3a;
    --muted: #a3a3a0;
    --soft: #d6d6d3;
    --line: rgba(255, 255, 255, .13);
    --white: #fff;
    --pad: clamp(20px, 5vw, 72px);
    --ease: cubic-bezier(0, .02, 0, 1);
    --i-dl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 3v10m0 0-4-4m4 4 4-4M4 17h12'/%3E%3C/svg%3E");

    /* Type scale: use ONLY these for font-size (rem, so it follows the user's browser setting).
       Deliberate exceptions, because they scale with their artwork: the hero text, the map labels/tags
       (--f, cqw), the leadership text (cqw), and .7em/.52em modifiers (superscripts, units). */
    --fs-xs: .8125rem;                       /* 13  caps labels, counts, hints, footnotes, tooltips */
    --fs-sm: .875rem;                        /* 14  secondary text, descriptions, notes */
    --fs-md: .9375rem;                       /* 15  body notes, buttons, card titles */
    --fs-lg: 1.125rem;                       /* 18  small headings, nav arrows */
    --fs-h3: clamp(1.25rem, 1.8vw, 1.75rem);
    --fs-lead: clamp(1rem, 1.4vw, 1.25rem);  /* intro paragraphs */
    --fs-h2: clamp(1.75rem, 4vw, 3.5rem);    /* section headings */
    --fs-fig: clamp(1.5rem, 2.4vw, 2.125rem); /* every results figure */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 4rem; }

body {
    margin: 0;
    background: var(--bg);
    color: #fff;
    font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; }

h2 {
    font-size: var(--fs-h2);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.02em;
}

.lead {
    max-width: 34em;
    color: var(--soft);
    font-size: var(--fs-lead);
    font-weight: 300;
    line-height: 1.6;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* fade into the next section */
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 30vh;
    background: linear-gradient(transparent, rgba(18, 16, 11, .35) 40%, rgba(18, 16, 11, .8) 80%, var(--bg));
    pointer-events: none;
}

.hero canvas { touch-action: pan-y; } /* vertical swipes scroll the page instead of being captured by the effect */

.hero canvas, .layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* artboard: the 1505x1078 cover crop, scaled to cover the window; children are laid out in cqw/cqh */
.stage {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100vw, 100vh * 1505 / 1078);
    aspect-ratio: 1505 / 1078;
    transform: translate(-50%, -50%);
    container-type: size;
}

.art {
    display: block;
    width: calc(100% * 1920 / 1505); /* artwork is wider than the crop */
    height: 100%;
    opacity: 0;
}

/* text uses a fit-to-window artboard pinned right, so it is never cropped */
.overlay { z-index: 1; pointer-events: none; }

.overlay .stage {
    width: min(100vw, 100vh * 1505 / 1078);
    left: auto;
    right: 0;
    transform: translateY(-50%);
}

.overlay .stage > * {
    position: absolute;
    left: 74.1cqw;
    margin: 0;
    white-space: nowrap;
    opacity: 1;
}

.year { top: 59.4cqh; font-size: 6cqw; line-height: 1; font-weight: 700; letter-spacing: -.02em; color: var(--red); }
.report { top: 68.2cqh; font-size: 3cqw; line-height: 1.05; font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; }
.title, .tagline { font-size: 1.12cqw; line-height: 1.2; color: var(--muted); }
.title { top: 83.4cqh; font-weight: 500; text-transform: uppercase; }
.tagline { top: 85.1cqh; font-style: italic; font-weight: 300; }
.overlay .stage > .logo { top: 87.2cqh; left: 71.9cqw; width: 12.8cqw; height: auto; }

/* portrait screens (phones, tablets): the artwork is anchored left so the worker stays in view, and the text sits below it, larger */
@media (max-aspect-ratio: 1/1) {
    .hero { height: 100svh; }

    .stage {
        top: 0; /* flush with the top of the screen (the nav bar sits over it) */
        left: 0;
        width: min(155vw, 70svh); /* shows the left ~1000px of the artwork (worker + gold wave) */
        transform: none;
    }

    .overlay .stage {
        inset: auto 0 0;
        top: auto;
        width: auto;
        aspect-ratio: auto;
        transform: none;
        container-type: normal;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 var(--pad) max(6svh, 28px);
    }

    .overlay .stage > * { position: static; }
    .overlay .stage > .year { font-size: clamp(3rem, min(18vw, 9svh), 7rem); }
    .overlay .stage > .report { margin-top: .1em; font-size: clamp(1.4rem, min(8vw, 4.2svh), 3.5rem); }
    .overlay .stage > .title { margin-top: 1.2em; font-size: clamp(.8rem, min(3.6vw, 2.2svh), 1.25rem); }
    .overlay .stage > .tagline { margin-top: .3em; font-size: clamp(.8rem, min(3.6vw, 2.2svh), 1.25rem); }
    .overlay .stage > .logo { width: clamp(130px, min(42vw, 22svh), 320px); margin-top: 1.6em; }
}

/* ---------- Reports carousel ---------- */
.reports {
    position: relative;
    height: 100vh;
    min-height: 560px;
    overflow: hidden;
}

.reports h2 {
    position: absolute;
    z-index: 10;
    top: 17vh;
    left: 0;
    right: 0;
    margin: 0;
    text-align: center;
    pointer-events: none;
}

.carousel {
    --items: 7;
    position: absolute;
    inset: 0;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    outline: 0;
}

.carousel.dragging { cursor: grabbing; }

/* covers fade out at the top and bottom instead of being cut off */
.carousel::before, .carousel::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 9;
    height: 28vh;
    background: linear-gradient(var(--bg) 10%, transparent);
    pointer-events: none;
}

.carousel::after {
    inset: auto 0 0;
    height: 38vh;
    background: linear-gradient(to top, var(--bg) 25%, transparent);
}

.carousel-item {
    --h: clamp(200px, 38vh, 400px);
    --w: calc(var(--h) * 1.414);
    --opacity: calc(var(--zIndex) / var(--items) * 3 - 2);
    position: absolute;
    z-index: var(--zIndex);
    top: 44%;
    left: 50%;
    width: var(--w);
    height: var(--h);
    margin: calc(var(--h) * -.5) 0 0 calc(var(--w) * -.5);
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg);
    box-shadow: 0 10px 50px 10px rgba(0, 0, 0, .6);
    /* straight row: (--active * --items) is the offset from the centred cover, --step the spacing between covers */
    transform: translateX(calc(var(--active) * var(--items) * var(--h) * var(--step, 1.6)));
    transition: transform .8s var(--ease) var(--dl, 0s), opacity .6s var(--dl, 0s), scale 1s var(--ease) var(--dl, 0s), rotate 1s var(--ease) var(--dl, 0s), translate 1s var(--ease) var(--dl, 0s);
}

.carousel-item.port { --w: calc(var(--h) * .71); }

.carousel-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    opacity: var(--opacity);
    transition: opacity .8s var(--ease);
}

.report-info {
    position: absolute;
    inset: auto 0 5vh;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 3vw, 40px);
    padding: 0 var(--pad);
    pointer-events: none;
}

.report-caption {
    flex: 0 1 560px;
    text-align: center;
    pointer-events: auto;
}

/* entrance: covers start stacked and tilted in the centre, then fly out into the row one after another */
.reports:not(.in) .carousel-item { transform: none; opacity: 0; scale: .7; rotate: -8deg; translate: 0 12vh; }
.reports.in:not(.settled) .carousel-item { --dl: calc(.25s + var(--n) * 110ms); }

.reports h2, .report-info { transition: opacity .8s ease, translate .9s var(--ease), letter-spacing 1.4s var(--ease); }
.reports:not(.in) h2 { opacity: 0; translate: 0 -16px; letter-spacing: .6em; }
.reports:not(.in) .report-info { opacity: 0; translate: 0 24px; }
.reports.in:not(.settled) .report-info { transition-delay: 1s; }

.report-caption.fade { animation: fade-up .5s ease both; }

@keyframes fade-up {
    from { opacity: 0; transform: translateY(8px); }
}

.report-count { color: var(--red); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .15em; }

.report-title {
    margin: .35em 0 1em;
    min-height: 2.4em;
    font-size: var(--fs-h3);
    line-height: 1.2;
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .6em;
    padding: .85em 1.6em;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: var(--fs-md);
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .2s;
}

.btn::after {
    content: "";
    width: 16px;
    height: 16px;
    background: currentColor;
    mask: var(--i-dl) center / contain no-repeat;
}

.btn:hover, .btn:focus-visible { background: #f04a4a; transform: translateY(-2px); }

.nav {
    flex: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: none;
    color: #fff;
    font-size: var(--fs-lg);
    cursor: pointer;
    pointer-events: auto;
    transition: background .2s, border-color .2s;
}

.nav:hover, .nav:focus-visible { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* light boxes: black text, muted secondary text */
.dc, .note-box { --soft: #3a362f; --muted: #6a665d; --line: rgba(18, 16, 11, .16); color: var(--bg); }

/* ---------- Section headings ---------- */
/* every section title is the small red h2.eyebrow above its intro text */
.results-head .lead, .ops-head .lead, .dif-head .lead { max-width: 48em; }

/* Harmony at a glance: text on the left, video on the right */
.glance {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(24px, 6vw, 96px);
}

/* ---------- Harmony at a glance ---------- */
.glance {
    align-items: center;
    min-height: 100vh;
    padding: 10vh var(--pad);
}


.glance-video {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 50px 10px rgba(0, 0, 0, .5);
}

.glance-video iframe { width: 100%; height: 100%; border: 0; }

/* entrance: heading words rise one by one, the intro fades up, then the video is wiped open */
.glance h2 .gw { display: inline-block; transition: opacity 1.1s calc(var(--i) * 220ms), translate 1.6s var(--ease) calc(var(--i) * 220ms); }
.glance .lead { transition: opacity 1.2s .9s, translate 1.6s var(--ease) .9s; }
.glance-video { transition: clip-path 2.2s var(--ease) .7s; }
.glance-video iframe { transition: scale 3s var(--ease) .7s; }

.glance:not(.in) h2 .gw { opacity: 0; translate: 0 .9em; }
.glance:not(.in) .lead { opacity: 0; translate: 0 24px; }
.glance:not(.in) .glance-video { clip-path: inset(0 100% 0 0 round 8px); }
.glance:not(.in) .glance-video iframe { scale: 1.15; }
/* open wider than the box so the clip doesn't cut off its shadow */
.glance.in .glance-video { clip-path: inset(-80px round 8px); }

/* ---------- FY26 results ---------- */
.results {
    --steel: #a3bfcb;
    --copper: #c49a6c;
    --gold: #37525d;
    padding: 12vh var(--pad) 10vh;
}

.results-head { align-items: start; margin-bottom: clamp(32px, 6vh, 64px); }

/* the three strategic pillars: a plain strip (no interaction); the colours are also used for the bar down the left of each results card */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-bottom: clamp(20px, 3vh, 32px); }

.pillar, .stat { --c: var(--steel); }
[data-pillar="portfolio"] { --c: var(--copper); }
[data-pillar="enduring"] { --c: var(--gold); }

.pillar {
    padding: 1.1em 1.3em;
    background: var(--c);
    color: var(--white);
}

.pillar b { font-size: var(--fs-lg); }

/* measures: a hairline-ruled sheet. Each card is laid out like the print report: a bold title over a rule,
   plain text underneath, with the key figures bold and larger. Cards share two rows (title, body) so the rules line up across a row. */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.stat {
    position: relative;
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    gap: 0;
    padding: 0 1.5em 0 1.9em;
    background: #f9f5f0;
    color: #26231d;
    transition: opacity .5s, translate 1.1s var(--ease), background .25s;
}

.stat::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 7px;
    background: var(--c);
    transition: width .25s;
}

.stat:hover { background: #f0e9df; }
.stat:hover::before { width: 11px; }

.stat h3 {
    align-self: end;
    margin: 0;
    padding: 1.3em 0 .5em;
    border-bottom: 1px solid rgba(18, 16, 11, .65);
    color: var(--bg);
    font-family: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif; /* the condensed face, as in the print report */
    font-size: calc(var(--fs-lg) * 1.2);
    font-weight: 700;
    line-height: 1.12;
}

.stat .body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .85em;
    padding: 1.1em 0 1.4em;
    font-size: var(--fs-md);
    font-weight: 400;
    line-height: 1.4;
}

.tl { margin: 0; } /* one line of a results card */
.stat .dim { color: inherit; }

/* the print report's bold: figures, bold text and labels are bolder and larger than the surrounding text */
.fig, .lab { color: var(--bg); font-size: 1.4em; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.fig.r { color: inherit; font-size: 1em; font-weight: inherit; line-height: inherit; }
.fig small { margin: 0; font-size: inherit; font-weight: inherit; }


/* entrance: blocks start lower down and invisible, and rise in as their row scrolls into view */
.stats .stat:not(.in) { opacity: 0; translate: 0 48px; }

/* footnotes */
.fnref {
    position: relative;
    margin-left: .15em;
    color: inherit;
    font-size: .7em;
    font-weight: 500;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
    vertical-align: super;
}

.fnref::after {
    content: attr(data-note);
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 140%;
    width: max-content;
    max-width: 240px;
    padding: .6em .8em;
    background: #fff;
    color: var(--bg);
    font-size: var(--fs-xs);
    font-weight: 400;
    line-height: 1.4;
    transform: translate(-50%, 4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
}

.fnref:hover::after, .fnref:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }

.footnotes {
    margin-top: 1.8em;
    color: var(--muted);
    font-size: var(--fs-xs);
    font-style: italic;
    font-weight: 300;
    line-height: 1.6;
	font-style: italic;
}
sup {  vertical-align: super; position: relative; top: -3px; font-size: 10px;}
.footnotes li { display: flex; gap: .7em; scroll-margin-top: 65vh; font-style: italic;} /* a footnote link scrolls it into the lower part of the screen, clear of the nav bar, with the cards above it */
.footnotes li:target { color: #fff; }
.footnotes b { width: 1em; color: var(--soft); font-style: italic; font-weight: 500; text-align: right; }

/* ---------- Leadership messages ---------- */
.leaders-track::after { content: ""; display: block; height: 120vh; } /* extra scroll distance while the section is pinned */

.leaders {
    container-type: inline-size;
    position: sticky;
    top: min(0px, calc(100svh - max(56.25vw, 720px))); /* pins to the top, or to the bottom edge if taller than the screen */
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 720px; /* room for the text on narrower screens */
    background: #223942; /* the artwork's own background colour, so its edges are invisible */
}

/* background artwork (inc/leaders-art.php): photo, tan bands and cream lines as one inline SVG */
.leaders-art { position: absolute; inset: 0; width: 100%; height: 100%; isolation: isolate; }
.la-f1, .la-f2 { fill: #c3996b; }
.la-f3 { fill: #ddc5aa; }
.la-f1, .la-f3 { mix-blend-mode: multiply; }
.la-f2 { opacity: .75; }
.la-l1, .la-l2, .la-l3 { fill: none; stroke-miterlimit: 10; }
.la-l1 { stroke: #ddc5aa; }
.la-l2 { stroke: #ebeaea; }
.la-l3 { stroke: #e8d9c7; }

/* entrance: the lines draw themselves, the photo and bands then fade in behind them */
.la-lines path { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease) calc(var(--i) * .12s); }
.la-photo { transform-box: fill-box; transform-origin: 0 50%; transition: opacity 2s ease 1.2s, scale 3s var(--ease) 1.2s; }
.la-f1, .la-f2, .la-f3 { transition: opacity 1.8s ease 1.8s; }

.leaders:not(.in) .la-lines path { stroke-dashoffset: 1; }
.leaders:not(.in) .la-photo { opacity: 0; scale: 1.05; }
.leaders:not(.in) .la-f1, .leaders:not(.in) .la-f2, .leaders:not(.in) .la-f3 { opacity: 0; }

/* soften the joins with the neighbouring sections */
.leaders::before, .leaders::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 3;
    height: 8cqw;
    background: linear-gradient(var(--bg), transparent);
    pointer-events: none;
}

.leaders::after {
    inset: auto 0 0;
    height: 6cqw;
    background: linear-gradient(to top, var(--bg), transparent);
}

/* portraits: both sit in the large slot and are shrunk/moved with transforms */
.face {
    --big: translate(14cqw, 0);
    --small: translate(86cqw, -7cqw) scale(.35);
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 34cqw;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    transform-origin: 0 100%;
    transform: var(--small);
    opacity: .7;
    transition: transform 1.6s var(--ease), translate 1.6s var(--ease), opacity 1.4s ease;
}

.face img { display: block; width: 100%; height: auto; }
.face:hover { opacity: 1; transition: transform 1.6s var(--ease), translate 1.6s var(--ease), opacity .3s; } /* hover stays snappy */
/* entrance: both portraits fade in and rise a little when the first message is shown */
.leaders:not([data-view]) .face { opacity: 0; translate: 0 40px; }
.chair, [data-view="ceo"] .ceo { transform: var(--big); opacity: 1; cursor: default; }
[data-view="ceo"] .chair { transform: var(--small); opacity: .7; cursor: pointer; }

.msgs {
    position: absolute;
    inset: 0 auto 0 52cqw;
    z-index: 4;
    display: grid;
    align-content: center;
    width: 31cqw;
}

.msg {
    grid-area: 1 / 1;
    visibility: hidden;
    transition: visibility 0s .4s;
}

.msg.on { visibility: visible; transition: none; }

.msg h2 { margin: .4em 0 .7em; font-size: clamp(1.5rem, 2.8cqw, 2.625rem); line-height: 1.12; }
.msg .txt { color: var(--soft); }
.msg p.txt { font-size: clamp(.875rem, 1.2cqw, 1.125rem); font-weight: 300; line-height: 1.6; }
.msg p.txt + p.txt { margin-top: .9em; }
.msg h2.txt { color: #fff; }
.eyebrow { color: var(--red); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
h2.eyebrow { margin-bottom: 1.1em; line-height: 1.3; } /* section titles: sits above the intro text */
.by { margin: 1.4em 0; color: var(--muted); font-size: var(--fs-sm); }
.by b { display: block; color: #fff; font-size: var(--fs-md); font-weight: 500; }

.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2em 2em; }

.swap {
    display: inline-flex;
    align-items: center;
    gap: .8em;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    font-size: var(--fs-md);
    font-weight: 500;
    cursor: pointer;
}

.swap .nav { display: grid; place-items: center; transition: background .2s, border-color .2s, transform .3s; }
.swap:hover .nav, .swap:focus-visible .nav { background: rgba(255, 255, 255, .12); border-color: #fff; transform: translateX(4px); }

/* text reveal: words rise in one after another, then the byline and buttons */
.w, .fx { opacity: 0; translate: 0 .7em; transition: opacity .25s, translate 0s .3s; }
.w { display: inline-block; }

.msg.on .w, .msg.on .fx {
    --d: calc(.3s + var(--i) * 14ms);
    opacity: 1;
    translate: none;
    transition: opacity .6s var(--d), translate .9s var(--ease) var(--d), background .2s, transform .2s;
}

@media (max-width: 1000px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
    .results-head { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
    .glance { grid-template-columns: 1fr; min-height: 0; }
}

@media (max-width: 800px) {
    /* artwork across the top, the portraits standing on it, the message underneath. --u is 1vw, capped so tablets don't get huge. */
    .leaders-track::after { display: none; }
    .leaders {
        --u: min(1vw, 5.5px);
        --h: 84; /* height of the artwork strip, in --u (the artwork itself is 106 tall; the extra is cropped, mostly from the top) */
        position: relative;
        top: auto;
        display: block;
        aspect-ratio: auto;
        min-height: 0;
        padding: calc((var(--h) + 6) * var(--u)) var(--pad) 12vw;
    }
    .leaders-art {
        inset: auto auto auto 0;
        top: calc((var(--h) - 106) * var(--u) * .6);
        z-index: 0;
        width: calc(150 * var(--u));
        height: calc(106 * var(--u));
        clip-path: inset(0 0 calc((106 - var(--h)) * var(--u) * .4) 0);
    }

    /* same big/small swap as desktop: both sit on the bottom-left of the artwork and are moved/scaled with transforms */
    .face {
        --big: translate(calc(4 * var(--u)), -100%);
        --small: translate(calc(100vw - 6 * var(--u) - 21.7 * var(--u)), calc(-100% - 2 * var(--u))) scale(.35);
        top: calc(var(--h) * var(--u));
        bottom: auto;
        width: calc(62 * var(--u));
    }
    .msgs { position: relative; inset: auto; z-index: 4; grid-template-columns: minmax(0, 1fr); width: auto; } /* minmax(0,…) lets long lines wrap instead of widening the column */
    .msg:not(.on) { display: none; }
}

@media (max-width: 640px) {
    .stats, .pillars { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
    .leaders-track::after { display: none; }
    .leaders { position: relative; top: auto; }
}


/* ---------- Operations and growth projects ---------- */
[data-cat="a"] {--c: #616D79;}
[data-cat="b"] {--c: #839AA1;}
[data-cat="c"] {--c: #A3BFCB;}
[data-cat="d"] {--c: #B97332;}
[data-cat="e"] {--c: #C49A6C;}

.ops { padding: 12vh var(--pad) 10vh; }
.ops-head { align-items: start; margin-bottom: clamp(32px, 6vh, 64px); }

.ops-body {
    display: grid;
    grid-template-columns: 886fr 330fr;
    gap: clamp(24px, 2.5vw, 36px);
    align-items: start;
}

.maps { display: grid; grid-template-columns: 492fr 386fr; gap: 8px; }

.map {
    --f: 2.3cqw; /* 1em = 11.3 units of the 492-wide artboard; every position below is in %, so it all scales together */
    position: relative;
    container-type: inline-size;
    overflow: hidden;
    background: #191610;
    border: 1px solid var(--line);
}

.map.au { --f: 2.93cqw; }

.tag {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    padding: .55em 1em;
    background: var(--red);
    font-size: var(--fs-md); /* the same size on both maps (a size in cqw followed each map's own width) */
    font-weight: 700;
}

.geo { position: absolute; opacity: 0; translate: 0 6%; scale: .97; }

.lbl {
    position: absolute;
    z-index: 1;
    transform: translate(-50%, -50%);
    color: #26373f;
    font-size: var(--f);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
}

.lbl.big { font-size: calc(var(--f) * 1.3); }
.lbl.sm { font-weight: 500; font-size: calc(var(--f) * .9); }

.ln { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ln path { fill: none; stroke: #ffff; stroke-width: .8; stroke-dasharray: 1; stroke-dashoffset: 1; }

/* location dots: small, in artboard units (2.8 across, as on the reference); drawn inside the svg so they sit exactly on the map */
.ln .pin {
    fill: #12100b;
    transform-box: fill-box;
    transform-origin: center;
    scale: 0;
}
.ln .pin.st { fill: #fff; } /* the dot where a single-box line leaves its box */

.grp { position: absolute; z-index: 2; width: 26.83%; font-size: var(--f); opacity: 0; translate: 0 1.5em; }
.au .grp { width: 34.2%; }
.grp ul { margin: 0; padding: 0; list-style: none; }
.grp ul + ul { margin-top: .5em; }

.grp li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6em;
    height: 1.9em;
    padding: 0 .7em;
    background: #f3eee7;
    border-bottom: 1px solid #d8d0c6;
    color: #26373f;
    font-weight: 500;
    line-height: 1.15;
    transition: opacity .3s;
}

.grp li.t { height: 3.1em; }
.grp li i { flex: none; width: .85em; height: .85em; border-radius: 50%; background: var(--c); }
/* the dots in the map key only (not the asset buttons on the right): the two pale shades are lightened so they read apart from the darker copper and blue */
.grp li[data-cat="e"] i { background: #D2B08B; }
.grp li[data-cat="c"] i { background: #BAD1DB; }

/* entrance: maps rise, operations are pulled up one by one, lines draw out to their sites, pins land */
.in .geo { opacity: 1; translate: none; scale: 1; transition: opacity .8s, translate 1.1s var(--ease), scale 1.1s var(--ease); }

.in .grp {
    opacity: 1;
    translate: none;
    transition: opacity .6s calc(.5s + var(--i) * .18s), translate .9s var(--ease) calc(.5s + var(--i) * .18s);
}

.in .ln path { stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease) calc(.9s + var(--i) * .18s), opacity .3s; }
.in .pin { scale: 1; transition: scale .6s cubic-bezier(.3, 1.6, .5, 1) calc(1.6s + var(--i) * .18s), opacity .3s; }
.in .ln path.br { transition: stroke-dashoffset .6s var(--ease) calc(.6s + var(--i) * .18s), opacity .3s; } /* the bracket draws first, then the line out of it */
.ln path.dim, .pin.dim, .grp li.dim { opacity: .2; }

/* entrance, before the maps: title then text */
.ops-head h2, .ops-head .lead { transition: opacity 1.1s, translate 1.4s var(--ease); }
.ops-head .lead { transition-delay: .4s; }
.ops:not(.head-in) .ops-head h2, .ops:not(.head-in) .ops-head .lead { opacity: 0; translate: 0 28px; }

/* entrance, after the maps: the asset text appears section by section, then the reporting note */
.portfolio h3, .portfolio .intro, .portfolio .cat, .note-box { transition: opacity 1s, translate 1.3s var(--ease); }
.portfolio h3 { transition-delay: 1.6s; }
.portfolio .intro { transition-delay: 2s; }
.portfolio .cat { transition-delay: calc(2.5s + var(--n) * .6s); }
.note-box { transition-delay: 1.8s; }
.ops:not(.in) .portfolio h3, .ops:not(.in) .portfolio .intro, .ops:not(.in) .portfolio .cat, .ops:not(.in) .note-box { opacity: 0; translate: 0 24px; }

.portfolio h3 { margin-bottom: .5em; font-size: var(--fs-h3); font-weight: 700; }
.portfolio .intro { margin-bottom: 1.3em; color: var(--soft); font-size: var(--fs-sm); font-weight: 300; line-height: 1.55; }
.cat { margin-bottom: 1em; }

.cat button {
    display: flex;
    align-items: center;
    gap: .9em;
    width: 100%;
    padding: .8em 1em;
    border: 0;
    background: var(--c);
    color: #fff;
    font-size: var(--fs-md);
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
    transition: transform .3s var(--ease);
}

.cat button:hover, .cat button:focus-visible { transform: translateX(4px); }
.cat button[aria-pressed="true"] { outline: 2px solid #fff; outline-offset: 2px; }
.cat img { flex: none; width: 30px; height: auto; }
.cat p { margin-top: .5em; color: var(--soft); font-size: var(--fs-sm); font-weight: 300; line-height: 1.45; }

.note-box {
    margin-top: clamp(24px, 4vh, 40px);
    padding: 1.2em 1.5em;
    background: var(--card);
    font-size: var(--fs-sm);
    line-height: 1.5;
}

.note-box b { display: block; margin-bottom: .3em; color: var(--red); font-size: var(--fs-lg); font-weight: 500; }

@media (max-width: 1000px) {
    .ops-head, .ops-body { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .maps { grid-template-columns: 1fr; }
}


/* ---------- Competitive differentiators ---------- */
.dif { padding: 12vh var(--pad) 10vh; }
.dif-head { align-items: start; margin-bottom: clamp(32px, 6vh, 64px); }

.dif-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

/* each card spans two shared rows (title, statement) so every row lines up across the sheet */
.dc { display: grid; grid-row: span 2; grid-template-rows: subgrid; gap: 0; background: var(--t, var(--card)); opacity: 0; translate: 0 48px; transition: opacity 1.3s, translate 1.7s var(--ease); }

.dc header {
    display: flex;
    align-items: center;
    gap: .8em;
    padding: .9em 1.1em;
    background: var(--h, var(--c));
    color: #fff;
}

.dc img { flex: none; width: 2.1rem; height: auto; }
.dc h3 {font-size: var(--fs-md);font-weight: 700;line-height: 1.25;color: #FFF;}
.stmt { padding: 1.2em 1.2em 1.5em; font-size: var(--fs-md); font-weight: 700; line-height: 1.4; }

/* each card's header colour (--h) and the tint behind its statement (--t), as given in the XD design */
.dc[data-k="embedded"]    { --h: #4E585F; --t: #EBEAEB; }
.dc[data-k="gold"]        { --h: #AE763F; --t: #EBE1D5; }
.dc[data-k="deep"]        { --h: #A7BEC9; --t: #E8EEF3; }
.dc[data-k="tailings"]    { --h: #8698A0; --t: #E8EEF3; }
.dc[data-k="capital"]     { --h: #BC9C72; --t: #F1EAE3; } /* same as Proactive: the print's paler tan was hard to read behind white text */
.dc[data-k="operational"] { --h: #636D78; --t: #EBEBEB; }
.dc[data-k="mineral"]     { --h: #A8BDCA; --t: #E8EFF3; }
.dc[data-k="proactive"]   { --h: #BC9C72; --t: #F1EAE3; }

.dc.in { opacity: 1; translate: none; } /* added per card as its row scrolls into view (js/ui.js) */

/* the value chain: each step is a chevron pointing to the next */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3.5rem; margin-top: 1.5rem; }

.flow li {
    position: relative;
    padding: .9em .6em;
    background: rgba(255, 255, 255, .06);
    font-size: var(--fs-sm);
    font-weight: 300;
    line-height: 1.3;
    text-align: center;
}

.flow li b { display: block; font-size: var(--fs-md); font-weight: 700; }

.flow li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + .75rem);
    width: 2rem;
    height: 2.4rem;
    margin-top: -1.2rem;
    background: var(--red);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* entrance: the steps appear one at a time, each followed by the arrow that leads to the next */
.flow li { transition: opacity .9s calc(var(--n) * .9s + .2s), translate 1.1s var(--ease) calc(var(--n) * .9s + .2s); }
.flow li::after { transition: clip-path .7s var(--ease) calc(var(--n) * .9s + .9s); }
.flow:not(.in) li { opacity: 0; translate: -28px 0; }
.flow:not(.in) li:not(:last-child)::after { clip-path: polygon(0 0, 0 50%, 0 100%); }

@media (max-width: 1100px) { .dif-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
    .dif-head { grid-template-columns: 1fr; }
    .flow { grid-template-columns: 1fr; gap: 3rem; }
    .flow li:not(:last-child)::after { top: calc(100% + .5rem); left: 50%; margin: 0 0 0 -1rem; transform: rotate(90deg); }
}
@media (max-width: 640px) { .dif-grid { grid-template-columns: 1fr; } }


/* ---------- Downloads ---------- */
.downloads { padding: 12vh var(--pad) 10vh; border-top: 1px solid var(--line); }

.dl-intro { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 6vw, 96px); align-items: start; margin-bottom: clamp(40px, 8vh, 80px); }
.dl-intro img { display: block; width: clamp(140px, 14vw, 200px); height: auto; margin-bottom: 1.5em; }
.downloads h2 { font-size: var(--fs-h3); font-weight: 400; font-style: italic; letter-spacing: 0; line-height: 1.3; }
.dl-box { padding: 0 0 0 clamp(20px, 3vw, 40px); border-left: 2px solid var(--red); }
.dl-box p + p { margin-top: 1em; }
.dl-box strong { color: #fff; font-weight: 500; }

.dl-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.dl-cols h3 { margin-bottom: 1em; padding-bottom: .8em; border-bottom: 1px solid var(--red); color: var(--red); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }

.dl a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    padding: .8em 0;
    border-bottom: 1px solid var(--line);
    color: var(--soft);
    font-size: var(--fs-sm);
    line-height: 1.35;
    text-decoration: none;
    transition: color .2s, padding .3s var(--ease);
}

.dl a::after {
    content: "";
    flex: none;
    width: 1rem;
    height: 1rem;
    background: var(--muted);
    mask: var(--i-dl) center / contain no-repeat;
    transition: background .2s;
}

.dl a:hover, .dl a:focus-visible { padding-left: .5em; color: #fff; outline: 0; }
.dl a:hover::after, .dl a:focus-visible::after { background: var(--red); }

@media (max-width: 1000px) { .dl-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) { .dl-intro { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .dl-cols { grid-template-columns: 1fr; } }


/* ---------- Sticky nav ---------- */
.nav-bar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 4rem;
    padding: 0 var(--pad);
    background: rgba(18, 16, 11, .55);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: .9rem; flex: none; color: #fff; text-decoration: none; }
.brand img { display: block; width: auto; height: 1.75rem; }
.brand span { padding-left: .9rem; border-left: 1px solid rgba(255, 255, 255, .3); font-size: var(--fs-md); font-weight: 500; white-space: nowrap; }

.nav-bar ul { display: flex; align-items: center; gap: clamp(.9rem, 1.6vw, 1.75rem); }

.nav-bar li a {
    position: relative;
    display: block;
    padding: .4rem 0;
    color: var(--soft);
    font-size: var(--fs-xs);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s;
}

.nav-bar li a::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .4s var(--ease);
}

.nav-bar li a:hover, .nav-bar li a[aria-current] { color: #fff; }
.nav-bar li a:hover::after, .nav-bar li a[aria-current]::after { transform: none; }
.nav-bar a:focus-visible, .menu:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.menu { display: none; position: relative; width: 2.5rem; height: 2.5rem; padding: 0; border: 0; background: none; cursor: pointer; }
.menu i, .menu i::before { content: ""; position: absolute; left: .5rem; right: .5rem; height: 2px; background: #fff; transition: transform .3s var(--ease); }
.menu i { top: 1.4rem; }
.menu i::before { top: -.5rem; left: 0; right: 0; }
.menu[aria-expanded="true"] i { transform: rotate(45deg); }
.menu[aria-expanded="true"] i::before { top: 0; transform: rotate(90deg); }

@media (max-width: 1280px) {
    .menu { display: block; }

    .nav-bar ul {
        position: absolute;
        inset: 100% 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .5rem var(--pad) 1rem;
        background: rgba(18, 16, 11, .97);
        visibility: hidden;
        opacity: 0;
        translate: 0 -.5rem;
        transition: opacity .3s, translate .4s var(--ease), visibility 0s .4s;
    }

    .nav-bar .open { visibility: visible; opacity: 1; translate: none; transition-delay: 0s; }
    .nav-bar li a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-md); }
    .nav-bar li a::after { display: none; }
}

@media (max-width: 520px) { .brand span { display: none; } }
