/* #region RESET */

/* ============================================================
   JRX MEDIA — BASE RESET
   v1.0
   ============================================================ */

/* ------------------------------------------------------------
   1. BOX MODEL
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ------------------------------------------------------------
   2. ROOT & CUSTOM PROPERTIES
   Change these per project — everything inherits from here.
   ------------------------------------------------------------ */
:root {
  /* Typography */
  --font-sans:    system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif:   Georgia, 'Times New Roman', serif;
  --font-mono:    'Cascadia Code', 'Fira Code', 'Courier New', monospace;

  /* Scale */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-md:   1.125rem;   /* 18px */
  --text-lg:   1.25rem;    /* 20px */
  --text-xl:   1.5rem;     /* 24px */
  --text-2xl:  2rem;       /* 32px */
  --text-3xl:  2.5rem;     /* 40px */
  --text-4xl:  3.5rem;     /* 56px */

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;

  /* Layout */
  --max-width: 1400px;
  --gutter:    clamp(1rem, 5vw, 3rem);

  /* Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   14px;
  --radius-full: 9999px;

  /* Transitions */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --duration:  200ms;

  /* Colors — override per project */
  --color-bg:       #ffffff;
  --color-text:     #111111;
  --color-muted:    #6b7280;
  --color-border:   #e5e7eb;
  --color-accent:   #2563eb;
  --color-accent-h: #1d4ed8;  /* hover state */
}

/* ------------------------------------------------------------
   3. HTML & BODY
   ------------------------------------------------------------ */
html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  tab-size: 4;
  scrollbar-gutter: stable; /* reserve scrollbar space always — prevents layout shift when modals set overflow:hidden on body */
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
}

/* ------------------------------------------------------------
   4. LAYOUT CONTAINERS
   .container    — max 1400px, centered, guttered
   .container-sm — tighter variant for editorial/text pages
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-sm {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ------------------------------------------------------------
   5. TYPOGRAPHY
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 600;
  text-wrap: balance;
}

p, li, blockquote {
  max-width: 72ch;
  text-wrap: pretty;
}

a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-skip-ink: auto;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--color-accent-h);
}

strong, b { font-weight: 600; }
em, i     { font-style: italic; }

small { font-size: var(--text-sm); }

code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

pre {
  overflow-x: auto;
  white-space: pre;
}

blockquote {
  border-left: 3px solid var(--color-border);
  padding-left: var(--space-lg);
  color: var(--color-muted);
}

/* ------------------------------------------------------------
   6. LISTS
   ------------------------------------------------------------ */
ul, ol {
  padding-left: var(--space-xl);
}

/* Site standard: bulleted lists use square markers (gold to match custom lists).
   Lists with custom ::before bullets set list-style:none and are unaffected. */
ul {
  list-style: square;
}

ul li::marker {
  color: var(--gold);
}

li + li {
  margin-top: var(--space-xs);
}

/* Utility: strip list style when used for navigation etc. */
.list-reset {
  list-style: none;
  padding-left: 0;
}

/* ------------------------------------------------------------
   7. MEDIA
   ------------------------------------------------------------ */
img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  max-width: 100%;
}

img, video {
  height: auto;
}

img {
  font-style: italic; /* alt text styling fallback */
}

svg {
  overflow: hidden;
}

/* ------------------------------------------------------------
   8. FORMS
   ------------------------------------------------------------ */
input, button, textarea, select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

textarea {
  resize: vertical;
}

fieldset {
  border: none;
}

/* Remove default appearance on selects / inputs in WebKit */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

/* ------------------------------------------------------------
   9. TABLES
   ------------------------------------------------------------ */
table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
}

/* ------------------------------------------------------------
   10. INTERACTIVE & FOCUS
   ------------------------------------------------------------ */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Suppress focus ring for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* Pointer on interactive elements */
[role="button"],
label[for] {
  cursor: pointer;
}

/* ------------------------------------------------------------
   11. ACCESSIBILITY & MOTION
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------
   12. UTILITY CLASSES
   Keep this section thin — add per-project utilities in a
   separate utilities.css rather than bloating the reset.
   ------------------------------------------------------------ */

/* Display */
.flex   { display: flex; }
.grid   { display: grid; }
.block  { display: block; }
.hidden { display: none; }

/* Text alignment */
.text-center { text-align: center; }
.text-right  { text-align: right; }

/* Spacing helpers */
.mt-auto { margin-top: auto; }
.ml-auto { margin-left: auto; }

/* Full-width section wrapper (for edge-to-edge backgrounds) */
.section {
  padding-block: var(--space-3xl);
}

/* ============================================================
   END RESET
   ============================================================ */

/* #endregion */

/* #region PRELOADER */

#preloader {
    position: fixed;
    inset: 0;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.preloader-spinner {
    width: 3rem;
    height: 3rem;
    border: 0.25rem solid rgba(199, 181, 68, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: preloader-spin 0.8s linear infinite;
}

@keyframes preloader-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .preloader-spinner { animation: none; opacity: 0.5; }
}

/* #endregion */

/* #region PAGE WIPE */

/* Navy panel that slides across on AJAX nav, then fades out.
   All motion is driven by JS inline styles — no class switching
   mid-animation avoids the animation-fill-mode snap bug. */
#page-wipe {
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 9998;
    pointer-events: none;
    transform: translateX(-100%);
    will-change: transform, opacity;
}

/* Gold leading-edge sliver visible as the panel sweeps across */
#page-wipe::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0.25rem;
    height: 100%;
    background: var(--gold);
}

/* #endregion */

/* #region VARIABLES */

/* ─── Utility classes ──────────────────────────────────────────────────────
   These replicate the layout API that baseDX.css previously provided so
   all existing content files continue to work unchanged.
   ─────────────────────────────────────────────────────────────────────── */

/* Flex layout */
.between   { justify-content: space-between; }
.center    { align-items: center; }
.col       { flex-direction: column; }
.around    { justify-content: space-around; }
.end       { justify-content: flex-end; }
.wrap      { flex-wrap: wrap; }
.grow      { flex-grow: 1; }
.noshrink  { flex-shrink: 0; }
.sider     { gap: 1.25rem; }

/* Position */
.rel { position: relative; }
.abs { position: absolute; }

/* Sizing */
.half { width: 50%; }
.full { width: 100%; }

/* Overflow / scroll */
.noscroll  { overflow: hidden; }
.fillheight,
.fullpage  { min-height: 100vh; }

/* Transition */
.trans { transition: all 0.3s ease; }

/* Spacing — matching baseDX.css values */
.spacer      { margin-bottom: 5.625rem; }
.spacerbig   { margin-bottom: 7.5rem; }
.spacersmall { margin-bottom: 2.8125rem; }
.padtop      { padding-top: 5.625rem; }
.padvert     { padding-top: 5.625rem; padding-bottom: 5.625rem; }
.padhalf     { padding: 2.8125rem; }
.padnl       { padding-left: 0; padding-right: 0; }

/* Page container */
.boxbox {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 5rem;
    padding-right: 5rem;
}

@media (max-width: 1000px) {
    .boxbox {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

@media (max-width: 600px) {
    .boxbox {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .half {
        width: 100%;
    }

    .spacer      { margin-bottom: 3rem; }
    .spacersmall { margin-bottom: 1.5rem; }
    .padtop      { padding-top: 3rem; }
    .padvert     { padding-top: 3rem; padding-bottom: 3rem; }
}

/* ─────────────────────────────────────────────────────────────────────── */

:root {
    --font-brand:  'Red Hat Text', system-ui, sans-serif;

    /* Brand */
    --navy:        #0f1a2e;
    --navy-mid:    #1a2840;
    --navy-light:  #243456;
    --gold:        #c7b544;
    --gold-light:  #d4c455;
    --gold-dim:    rgba(199, 181, 68, 0.12);

    /* Surface */
    --surface:     #ffffff;
    --bg:          #f4f5f7;
    --surface-alt: #eef0f3;

    /* Text */
    --text:        #111827;
    --text-muted:  #6b7280;
    --text-light:  #ffffff;

    /* Borders */
    --border:      #e2e5ea;
    --border-dark: rgba(255, 255, 255, 0.1);

    /* Header dimensions */
    --ticker-h:    2.5rem;
    --header-h:    4rem;
    --shell-h:     6.5rem;

    /* Section spacing */
    --section-pad: 6rem;
}

/* Eyebrow label — appears above section headings */
.section-eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    align-self: flex-start;
    cursor: pointer;
    font-family: inherit;
    background-image: linear-gradient(to right, var(--navy) 50%, var(--gold) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.875rem 1.75rem;
    border: 2px solid var(--gold);
    border-radius: 6.25rem;
    text-decoration: none;
    transition: background-position 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-position: 0 0;
    color: var(--text-light);
    transform: translateY(-0.125rem);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.875rem 1.75rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--navy);
}

.btn-outline-light {
    display: inline-block;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.4);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.875rem 1.75rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

/* #endregion */

/* #region Globals */
* {
    font-family: 'Red Hat Text';
}

p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-muted);
}

li {
    font-size: 1rem;
    line-height: 1.6;
}

ol li {
    margin-left: 3.75rem;
}

body {
    background-color: var(--bg);
    overflow-y: scroll;
    overflow-x: clip; /* allow full-bleed sections (100vw) without a horizontal scrollbar */
    color: var(--text);
}

h1 {
    font-size: 5.5rem;
    line-height: 1;
    color: #fff;
    font-weight: 700;
    text-shadow: 1px 1px 20px rgba(0, 0, 0, 0.55);
    letter-spacing: -0.01em;
}

h1 span {
    display: block;
    font-size: 1.75rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Global h2 — clean, no dark box. Specific overrides per section. */
h2 {
    color: var(--navy);
    font-size: 2.25rem;
    line-height: 1.15;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.03em;
    display: block;
    padding: 0;
    background: none;
    margin-bottom: 1.25rem;
}

h3 {
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.25;
    color: var(--navy);
    letter-spacing: 0.01em;
}

h4 {
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Shared link button used in ext/ content pages */
.mainlink {
    display: inline-block;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding: 0.75rem 1.5rem;
    position: relative;
    text-transform: uppercase;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: color 0.25s;
}

.mainlink::before {
    content: "";
    position: absolute;
    background: var(--gold);
    inset: 0;
    width: 0%;
    z-index: -1;
    transition: width 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.mainlink:hover {
    color: var(--navy);
}

.mainlink:hover::before {
    width: 100%;
}

.pad {
    padding: 5.625rem;
}

.padside {
    padding-left: 5.625rem;
    padding-right: 5.625rem;
}

.padlite {
    padding: 1.875rem 5.625rem;
}

.negup {
    margin-top: -3rem;
    padding-bottom: 3rem;
}

@media only screen and (max-width:1600px) {
    .pad {
        padding: 60px;
    }

    .padside {
        padding-left: 60px;
        padding-right: 60px;
    }

    .padlite {
        padding: 30px 60px;
    }

    .pdflink {
        font-size: 1.4rem;
    }
}

@media only screen and (max-width:1000px) {
    h2 {
        font-size: 2.5rem;
        line-height: 1.15;
    }

    h3 {
        font-size: 2rem;
        line-height: 1.2;
    }
}

@media only screen and (max-width:800px) {
    .pad {
        padding: 1.875rem;
    }

    .padside {
        padding-left: 1.875rem;
        padding-right: 1.875rem;
    }

    .padlite {
        padding: 1.25rem 1.875rem;
    }

    h1 {
        font-size: 4.5rem;
        line-height: 4.5rem;
    }

    h1 span {
        font-size: 2rem;
        line-height: 2rem;
    }

    p,
    ul li {
        font-size: 1.2rem;
        line-height: 2rem;
    }
}

@media only screen and (max-width:600px) {
    h1 {
        font-size: 3.5rem;
        line-height: 3.5rem;
    }

    h1 span {
        font-size: 1.6rem;
        line-height: 1.6rem;
    }
}

/* #endregion */

/* #region Icons */

.site-icon {
    display: inline-block;
    vertical-align: middle;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    pointer-events: none;
}

.site-icon--xl {
    width: 5rem;
    height: 5rem;
    display: block;
    margin: 0 auto 1rem;
}

/* #endregion */

/* #region HEADER */

body {
    padding-top: var(--shell-h);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: none;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0.125rem 1.25rem rgba(0, 0, 0, 0.12);
}

/* Inner (non-home) pages have no hero video behind the header — use a solid
   white background at all times, including at the top of the page. */
body.page-inner .site-header,
body.page-inner .site-header.scrolled {
    background: #fff;
}

/* Ticker bar */
.header-ticker {
    height: var(--ticker-h);
    max-height: var(--ticker-h);
    overflow: hidden;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: max-height 0.35s ease, opacity 0.35s ease;
    opacity: 1;
}

.site-header.scrolled .header-ticker {
    max-height: 0;
    opacity: 0;
}

.header-ticker-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.ticker-symbols,
.ticker-metals {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
}

.ticker-metals {
    color: rgba(255, 255, 255, 0.85);
}

.ticker-metals .metal-val {
    color: var(--gold);
}

/* #region TICKER — CSE LIVE QUOTE */
.ticker-quote {
    color: var(--gold);
    font-weight: 600;
    white-space: nowrap;
}

.ticker-sep {
    width: 0.0625rem;
    height: 0.875rem;
    background: rgba(255, 255, 255, 0.25);
}
/* #endregion */

/* Main header bar — must sit above the full-screen drawer within site-header's stacking context */
.header-main {
    height: var(--header-h);
    position: relative;
    z-index: 2;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-logo {
    flex-shrink: 0;
    display: block;
    line-height: 0;
}

.site-logo img {
    height: 2.75rem;
    width: auto;
    display: block;
}

/* #region HEADER ACTIONS / CTA BUTTONS */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
}

.header-sub-btn {
    flex-shrink: 0;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.header-sub-btn:hover {
    background: var(--gold-light);
    color: var(--navy);
}

.header-sub-btn .site-icon {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
}

/* Secondary "ghost" variant so the two CTAs read as a pair, not a double block */
.header-sub-btn--ghost {
    background: transparent;
    color: var(--navy);
    box-shadow: inset 0 0 0 1px var(--gold);
}

.header-sub-btn--ghost:hover {
    background: var(--gold);
    color: var(--navy);
}
/* #endregion */

/* Hamburger */
.header-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
}

.header-hamburger span {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--navy);
    transform-origin: center;
    transition:
        transform  0.28s cubic-bezier(0.4, 0, 0.2, 1),
        opacity    0.2s ease,
        background 0.2s ease;
}

/* Hamburger → ✕ when drawer is open */
.header-hamburger.is-open span {
    background: var(--gold);
}

.header-hamburger.is-open span:nth-child(1) {
    transform: translateY(calc(0.3rem + 2px)) rotate(45deg);
}

.header-hamburger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.header-hamburger.is-open span:nth-child(3) {
    transform: translateY(calc(-0.3rem - 2px)) rotate(-45deg);
}

/* ── Full-screen nav drawer ──────────────────────────────────────────────
   Sits inside .site-header (z-index 1000). z-index:1 here keeps it below
   .header-main (z-index:2), so the hamburger button stays clickable.
   ─────────────────────────────────────────────────────────────────────── */
.nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: var(--navy);
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: calc(var(--shell-h) + 2rem) 3rem 3rem;
    overflow-y: auto;

    /* Hidden state — opacity/visibility lets CSS transitions fire */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-drawer.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ── Stagger: all direct children start hidden ───────────────────────── */
.nav-drawer > * {
    opacity: 0;
    transform: translateY(1.5rem);
    transition:
        opacity   0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Staggered delays when open */
.nav-drawer.open > *:nth-child(1)  { opacity: 1; transform: none; transition-delay: 0.07s; }
.nav-drawer.open > *:nth-child(2)  { opacity: 1; transform: none; transition-delay: 0.14s; }
.nav-drawer.open > *:nth-child(3)  { opacity: 1; transform: none; transition-delay: 0.21s; }
.nav-drawer.open > *:nth-child(4)  { opacity: 1; transform: none; transition-delay: 0.28s; }
.nav-drawer.open > *:nth-child(5)  { opacity: 1; transform: none; transition-delay: 0.35s; }
.nav-drawer.open > *:nth-child(6)  { opacity: 1; transform: none; transition-delay: 0.42s; }
.nav-drawer.open > *:nth-child(7)  { opacity: 1; transform: none; transition-delay: 0.49s; }
.nav-drawer.open > *:nth-child(8)  { opacity: 1; transform: none; transition-delay: 0.56s; }
.nav-drawer.open > *:nth-child(9)  { opacity: 1; transform: none; transition-delay: 0.63s; }
.nav-drawer.open > *:nth-child(10) { opacity: 1; transform: none; transition-delay: 0.70s; }

/* ── Primary nav links ───────────────────────────────────────────────── */
.nav-drawer > .nav-link {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(1.375rem, 4vw, 1.875rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border-dark);
    text-decoration: none;
    white-space: normal;
    line-height: 1.2;
    transition:
        opacity   0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        color     0.2s ease;
}

.nav-drawer > .nav-link:hover,
.nav-drawer > .nav-link.active {
    color: var(--gold);
}

/* ── Dropdown groups ─────────────────────────────────────────────────── */
.nav-drawer > .nav-dropdown {
    border-bottom: 1px solid var(--border-dark);
}

.nav-drawer .nav-link--btn {
    display: block;
    width: 100%;
    text-align: left;
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(1.375rem, 4vw, 1.875rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.875rem 0;
    background: none;
    border: none;
    cursor: default;
    line-height: 1.2;
}

.nav-drawer .nav-link--btn.active {
    color: var(--gold);
}

.nav-drawer .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    padding: 0 0 0.875rem 0;
    min-width: unset;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-drawer .nav-dropdown-link {
    display: block;
    padding: 0.35rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.15s ease;
}

.nav-drawer .nav-dropdown-link:hover {
    color: var(--gold);
    background: transparent;
}

/* ── Mailing List / Presentation buttons inside drawer ───────────────── */
.nav-drawer .header-sub-btn {
    display: inline-flex;
    margin-top: 1.75rem;
    align-self: flex-start;
}

.nav-drawer .header-sub-btn + .header-sub-btn {
    margin-top: 0.75rem;
}

/* #endregion */

/* #region NAV */

.site-nav {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: auto;
}

.nav-link {
    display: inline-block;
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 0.875rem;
    white-space: nowrap;
    transition: color 0.2s;
    text-decoration: none;
    line-height: 1;
}

button.nav-link--btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-dropdown {
    position: relative;
}

/* Gap bridge — keeps hover alive across the gap between trigger and menu */
.nav-dropdown::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 13rem;
    background: var(--navy-mid);
    border: 1px solid var(--border-dark);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.25rem);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    z-index: 200;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown--closing .nav-dropdown-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.nav-dropdown-link {
    display: block;
    padding: 0.5rem 1.25rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
    text-decoration: none;
}

.nav-dropdown-link:hover {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.04);
}

header .subheader {
    border-top: 5px solid #c7b544;
    background-color: #f7f6f2;
    width: 100%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    position: fixed;
    z-index: 10;
}

header .subheader .logo img {
    height: 75px;
    padding: 10px 20px 10px 0;
}

header .subheader .main {
    max-width: 1000px;
}

header .subheader .main .menutop {
    background-color: #c7b544;
    color: #fff;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 10px 20px;
    font-weight: 600;
}

header .hero {
    background-color: #f7f6f2;
    position: relative;
}

header .hero .under,
header .hero .overunder {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

header .hero .under {
    bottom: 5%;
    overflow: hidden;
}

header .hero .overunder {
    background-image: url('images/hero_overlay.png');
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
}

header .hero .under video {
    min-height: 100%;
    min-width: 100%;
}

header .hero .over {
    position: relative;
    z-index: 4;
    padding: 0 90px;
    padding-bottom: 12vh;
}

header .hero .over .learnmore {
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

header .hero .over .learnmore span {
    display: block;
}

header .hero .over .latest {
    margin-bottom: 5vh;
}

header .hero .over .latest span {
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    display: table;
    margin-bottom: 5px;
}

header .hero .over .latest a {
    color: #fff;
    pointer-events: all;
    padding: 30px;
    padding-left: 90px;
    margin-left: -90px;
    background-color: #222;
}

header .hero .over .latest a:hover {
    background-color: #c7b544;
    padding-left: 120px;
}

header .hero .over .latest a b {
    font-weight: 600;
    font-size: 1.5rem;
    color: #c7b544;
    display: block;
    text-transform: uppercase;
}

header .hero .over .latest a:hover b {
    color: #222;
}

header .hero .herobox {
    padding-top: 100px;
}

header .hero iframe {
    width: 50%;
    height: 600px;
    border-radius:2rem;
}

@media only screen and (max-width:1500px) {
    header .hero iframe {
        height: 400px;
    }
}

@media only screen and (max-width:1300px) {
    header .hero .herobox {
        display: block;
    }

    header .hero .herobox {
        width: 100%;
        text-align: center;
    }

    header .hero iframe {
        width: 100%;
        margin-top: 30px;
        height: 45vw;
    }
}

@media only screen and (max-width:1100px) {
    header .subheader .main .menutop {
        justify-content: center;
    }

    header .subheader .main .menutop .metals {
        display: none;
    }
}

@media only screen and (max-width:1000px) {
    header .subheader .logo img {
        height: 60px;
    }

    header .hero .over {
        padding: 0 60px;
    }

    header .hero .under {
        bottom: 0;
    }

    header .hero .over .learnmore {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width:700px) {
    header .hero .overunder {
        display: none;
    }

    header .subheader {
        flex-direction: column-reverse;
    }

    header .subheader .main {
        width: 100%;
        padding-right: 10%;
        position: relative;
    }

    header .subheader .main .menutop {
        display: table;
        font-size: 1rem;
        padding: 5px 10px;
    }

    header .subheader .logo {
        align-self: flex-start;
    }

    header .hero .over {
        padding: 0 30px;
    }

    header .hero iframe {
        height: 65vw;
    }
}

/* Hide desktop nav / show hamburger — must appear AFTER .site-nav { display:flex }
   so the later-in-file rule correctly overrides the base declaration. */
@media (max-width: 1000px) {
    .site-nav,
    .header-actions,
    .header-sub-btn {
        display: none;
    }

    .header-hamburger {
        display: flex;
    }
}

/* #endregion */

/* #region Pagetop */

.pagetop {
    background-image: url('images/pagetop.jpg');
    background-size: cover;
    background-position: center;
    margin-top: calc(-1 * var(--shell-h));
    padding: calc(5rem + var(--shell-h)) 0 4rem;
    position: relative;
    overflow: hidden;
}

.pagetop::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(15, 26, 46, 0.92) 0%,
        rgba(15, 26, 46, 0.65) 50%,
        rgba(15, 26, 46, 0.25) 100%
    );
}

.pagetop .boxbox {
    position: relative;
    z-index: 1;
    text-align: center;
}

.pagetop h2 {
    background: none;
    color: var(--text-light);
    font-size: 2.5rem;
    border-left: none;
    padding: 0 0 0.75rem;
    display: inline-block;
    margin: 0;
    position: relative;
}

.pagetop h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 0.25rem;
    background: var(--gold);
    border-radius: 0.125rem;
}

@media (max-width: 1600px) {
    .pagetop { padding: calc(4.5rem + var(--shell-h)) 0 3.5rem; }
}

@media (max-width: 800px) {
    .pagetop { padding: calc(3.5rem + var(--shell-h)) 0 2.5rem; }
    .pagetop h2 { font-size: 1.75rem; }
}

/* #endregion */

/* #region Subscribe Strip */
.footsub {
    background: var(--gold);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.footsub::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/history_bg.jpg');
    background-size: cover;
    background-position: center;
    filter: grayscale(1);
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

.footsub-inner {
    max-width: 52rem;
    padding: 0 2rem;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    position: relative;
    z-index: 1;
}

.footsub-eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--navy);
    opacity: 0.55;
    margin-bottom: 1rem;
}

.footsub h2 {
    background: none;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    padding: 0;
    margin: 0 0 1rem;
    display: block;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.footsub p {
    color: rgba(15, 26, 46, 0.65);
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 44ch;
    margin: 0 0 2.25rem;
}

.footsub-form {
    width: 100%;
    max-width: 38rem;
}

/* Optional name/phone fields shown above the email pill */
.footsub-fields {
    display: flex;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
}

.footsub-field {
    flex: 1;
    min-width: 0;
    width: 100%;
    background: #fff;
    border: none;
    border-radius: 6.25rem;
    color: var(--navy);
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 0.5rem 1.5rem rgba(15, 26, 46, 0.15);
}

.footsub-field::placeholder {
    color: rgba(15, 26, 46, 0.35);
}

.footsub-input-wrap {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 6.25rem;
    padding: 0.375rem 0.375rem 0.375rem 1.5rem;
    box-shadow:
        0 0.75rem 2.5rem rgba(15, 26, 46, 0.22),
        0 0.25rem 0.75rem rgba(15, 26, 46, 0.1);
    transition: box-shadow 0.25s ease;
}

.footsub-input-wrap:focus-within {
    box-shadow:
        0 0.75rem 2.5rem rgba(15, 26, 46, 0.28),
        0 0.25rem 0.75rem rgba(15, 26, 46, 0.12),
        0 0 0 0.25rem rgba(15, 26, 46, 0.35);
}

.footsub input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--navy);
    padding: 0.75rem 0.75rem 0.75rem 0;
    font-size: 1rem;
    outline: none;
    min-width: 0;
}

.footsub input[type="email"]::placeholder {
    color: rgba(15, 26, 46, 0.35);
}

.footsub button {
    flex-shrink: 0;
    background: var(--navy);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.875rem 1.5rem;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    border-radius: 6.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s, transform 0.15s;
}

.footsub button:hover {
    background: var(--navy-mid);
    transform: scale(1.03);
}

.footsub button .site-icon {
    width: 0.9rem;
    height: 0.9rem;
}

@media (max-width: 600px) {
    .footsub {
        padding: 3.5rem 1.5rem;
    }

    .footsub-fields {
        flex-direction: column;
    }

    .footsub-input-wrap {
        flex-direction: column;
        border-radius: 1rem;
        padding: 1rem;
        gap: 0.75rem;
    }

    .footsub input[type="email"] {
        width: 100%;
        padding: 0.5rem 0;
        text-align: center;
    }

    .footsub button {
        width: 100%;
        justify-content: center;
    }
}

/* #endregion */

/* #region FOOTER */

.site-footer {
    background: var(--navy);
    border-top: 3px solid var(--gold);
}

.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.footer-sitemap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
}

.footer-logo {
    margin-bottom: 1.25rem;
    line-height: 0;
}

.footer-logo img {
    height: 3rem;
    width: auto;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-symbols {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-symbol-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-dark);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.5rem;
    text-transform: uppercase;
}

.footer-nav-heading {
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-dark);
    display: block;
}

.footer-nav-link {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0;
    transition: color 0.15s;
    text-decoration: none;
}

.footer-nav-link:hover {
    color: var(--gold);
}

.subfooter {
    border-top: 1px solid var(--border-dark);
    padding: 1rem 2rem;
}

.subfooter-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.subfooter span,
.subfooter a {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.72rem;
    text-decoration: none;
    transition: color 0.15s;
}

.subfooter a:hover {
    color: var(--gold);
}

.subfooter-links {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-sitemap {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .footer-sitemap {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* #endregion */

/* #region SUBPOP */

.subpop-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 26, 46, 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.subpop-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.subpop-box {
    background: var(--navy);
    border: 1px solid var(--border-dark);
    border-radius: 1rem;
    max-width: 32rem;
    width: 100%;
    padding: 2.5rem;
    position: relative;
    opacity: 0;
    transform: translateY(1.5rem) scale(0.97);
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.subpop-overlay.active .subpop-box {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.subpop-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    transition: color 0.15s;
}

.subpop-close:hover {
    color: #fff;
}

.subpop-logo {
    height: 2.5rem;
    width: auto;
    margin-bottom: 1.5rem;
    display: block;
}

.subpop-box h3 {
    color: var(--gold);
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
    font-family: var(--font-brand);
    line-height: 1.2;
}

.subpop-box p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: none;
}

.subpop-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Optional name/phone fields stacked above the email + submit row */
.subpop-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border-dark);
    border-radius: 0.5rem;
    color: #fff;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    outline: none;
    font-family: var(--font-brand);
    transition: border-color 0.2s;
}

.subpop-field:focus {
    border-color: var(--gold);
}

.subpop-field::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.subpop-row {
    display: flex;
    gap: 0;
}

.subpop-form input[type="email"] {
    flex: 1;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border-dark);
    border-right: none;
    border-radius: 0.5rem 0 0 0.5rem;
    color: #fff;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    outline: none;
    font-family: var(--font-brand);
    transition: border-color 0.2s;
}

.subpop-form input[type="email"]:focus {
    border-color: var(--gold);
}

.subpop-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.subpop-form button {
    background: var(--gold);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 0 0.5rem 0.5rem 0;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    font-family: var(--font-brand);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.subpop-form button .site-icon {
    width: 0.875rem;
    height: 0.875rem;
}

.subpop-form button:hover {
    background: var(--gold-light);
}

.subpop-privacy {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.72rem;
    text-align: center;
    max-width: none;
}

.firstnameform {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* #endregion */

/* #region SUBRESPONSE */

.subresponse-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 26, 46, 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.subresponse-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.subresponse-box {
    background: var(--navy);
    border: 1px solid var(--border-dark);
    border-radius: 1rem;
    max-width: 28rem;
    width: 100%;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(1.5rem) scale(0.97);
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.subresponse-overlay.active .subresponse-box {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.subpop-overlay.closing .subpop-box,
.subresponse-overlay.closing .subresponse-box {
    opacity: 0;
    transform: translateY(1rem) scale(0.97);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.subresponse-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    transition: color 0.15s;
}

.subresponse-close:hover {
    color: #fff;
}

.subresponse-icon {
    display: block;
    margin-bottom: 1rem;
    color: #4aba10;
}

.subresponse-icon .site-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: block;
    margin: 0 auto;
}

.subresponse-title {
    color: var(--gold);
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
    font-family: var(--font-brand);
    display: block;
}

.subresponse-body {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: none;
}

.subresponse-body a {
    color: var(--gold);
    font-weight: 700;
    text-decoration: underline;
}

.subresponse-body a:hover {
    color: var(--gold-light);
}

/* #endregion */

/* #region SYSMSG (Contact form result modal) */

.sysmsg {
    position: fixed;
    inset: 0;
    background: rgba(15, 26, 46, 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 2200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sysmsg.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sysmsg-box {
    background: var(--navy);
    border: 1px solid var(--border-dark);
    border-radius: 1rem;
    max-width: 26rem;
    width: 100%;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(1.5rem) scale(0.97);
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.sysmsg.active .sysmsg-box {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.sysmsg-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    transition: color 0.15s;
}

.sysmsg-close:hover {
    color: #fff;
}

.sysmsg-icon {
    display: block;
    margin-bottom: 1rem;
}

.sysmsg-icon .site-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: block;
    margin: 0 auto;
}

.sysmsg-text {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: none;
    margin: 0;
}

/* #endregion */

/* #region HOME HERO */

.home-hero {
    position: relative;
    min-height: 100svh;
    margin-top: calc(-1 * var(--shell-h));
    background: var(--navy);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.home-hero::before,
.home-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 14rem;
    z-index: 3;
    pointer-events: none;
}

.home-hero::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.12), transparent);
}

.home-hero::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.12), transparent);
}

.home-hero-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.home-hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background-image: url('images/hero_overlay.png');
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.home-hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--shell-h) + 1.5rem);
    padding-bottom: 1.5rem;
}

.home-hero-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-hero-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0;
    justify-content: center;
}

/* ── Cinema component ─────────────────────────────────── */

@keyframes hero-bg-zoom {
    from { transform: scale(1.25); }
    to   { transform: scale(1); }
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.home-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    display: block;
    transform-origin: center center;
    animation: hero-bg-zoom 2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-bg img {
        animation: none;
    }
}

.home-hero-cinema {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.6);
}

.cinema-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    transition: opacity 0.45s ease;
}

.cinema-cover--hidden {
    opacity: 0;
    pointer-events: none;
}

.cinema-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cinema-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse at center,
            rgba(8, 18, 40, 0.72) 0%,
            rgba(8, 18, 40, 0.55) 50%,
            rgba(8, 18, 40, 0.25) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(8, 18, 40, 0.15) 0%,
            rgba(8, 18, 40, 0.35) 100%
        );
    pointer-events: none;
}

.cinema-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2.5rem 3rem;
    gap: 0.75rem;
}

.cinema-title {
    font-size: 3.75rem;
    line-height: 1;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 0.125rem 1.25rem rgba(0, 0, 0, 0.5);
    margin: 0;
    max-width: none;
}

.cinema-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin: 0;
}

.cinema-writeup {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    max-width: 32rem;
    line-height: 1.6;
}

.cinema-play-link {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: 0.5rem;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cinema-play-link:hover {
    background: #e8c84a;
    color: #fff;
    transform: translateY(-0.125rem);
}

.cinema-play-icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

/* Stagger exit animation */

@keyframes cinema-exit {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-1.75rem);
    }
}

.cinema-exit {
    animation: cinema-exit 0.4s ease forwards;
    pointer-events: none;
}

/* ── Hero entrance animations ─────────────────────────── */

@keyframes hero-cinema-enter {
    from { opacity: 0; transform: scale(0.97) translateY(1.25rem); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes hero-text-enter {
    from { opacity: 0; transform: translateY(1.25rem); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-scroll-enter {
    from { opacity: 0; transform: translateY(0.75rem); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-arrow-bob {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(0.35rem); }
}

.home-hero-cinema {
    animation: hero-cinema-enter 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.05s both;
}

.cinema-title {
    animation: hero-text-enter 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.35s both;
}

.cinema-subtitle {
    animation: hero-text-enter 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.52s both;
}

.cinema-writeup {
    animation: hero-text-enter 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.67s both;
}

.cinema-play-link {
    animation: hero-text-enter 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.82s both;
}

.home-hero-scroll {
    animation: hero-scroll-enter 0.65s ease 1.15s both;
}

.home-hero-scroll-icon {
    animation: hero-arrow-bob 2s ease-in-out 1.9s infinite;
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-cinema,
    .cinema-title,
    .cinema-subtitle,
    .cinema-writeup,
    .cinema-play-link,
    .home-hero-scroll {
        animation: none;
    }
    .home-hero-scroll-icon {
        animation: none;
    }
}

/* Player (holds injected iframe) */

.cinema-player {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #000;
}

.cinema-player iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ── Scroll hint ──────────────────────────────────────── */

.home-hero-scroll {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding-bottom: 2rem;
}

.home-hero-scroll-icon {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--gold);
}

.home-hero-scroll-icon .site-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    margin: 0 auto;
}

/* ── Hero text layout ─────────────────────────────────── */

.home-hero-eyebrow {
    margin-bottom: 1rem;
    animation: hero-text-enter 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.25s both;
}

.home-hero-h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--text-light);
    margin: 0 0 1.5rem;
    animation: hero-text-enter 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.home-hero-lead {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 46ch;
    margin: 0 0 2.25rem;
    animation: hero-text-enter 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.55s both;
}

@keyframes cta-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(199, 181, 68, 0.55);
    }
    65% {
        box-shadow: 0 0 0 1.25rem rgba(199, 181, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(199, 181, 68, 0);
    }
}

.home-hero-cta {
    align-self: center;
    animation:
        hero-text-enter 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.7s both,
        cta-pulse 2.25s ease-out 1.5s infinite;
}

/* Once the entrance animation has finished (class added via JS), drop hero-text-enter
   so hover/unhover no longer restarts it. */
.home-hero-cta.home-hero-cta--entered {
    animation: cta-pulse 2.25s ease-out infinite;
}

.home-hero-cta:hover,
.home-hero-cta.home-hero-cta--entered:hover {
    animation: cta-pulse 1.5s ease-out infinite;
}

.hero-h1-nowrap {
    white-space: nowrap;
    display: inline;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-transform: inherit;
}

@media (max-width: 768px) {
    .home-hero-h1 {
        font-size: 2.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-eyebrow,
    .home-hero-h1,
    .home-hero-lead {
        animation: none;
    }

    .home-hero-cta {
        animation: none;
        box-shadow: 0 0 0 0.125rem rgba(199, 181, 68, 0.4);
    }
}

/* #endregion */

/* #region Home - Overview */

.home-overview {
    background: var(--bg);
    padding: var(--section-pad) 0;
}

.home-overview .home-section-h2 {
    color: var(--navy);
}

.home-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.home-overview-content {
    display: flex;
    flex-direction: column;
}

.home-overview-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0;
}

.home-overview-video-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 0.25rem;
    overflow: hidden;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.5);
}

.home-overview-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 900px) {
    .home-overview-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .home-overview {
        padding: 4rem 0;
    }
}

/* #endregion */

/* #region Home - Goals */

.home-goals {
    background: var(--navy);
    padding: var(--section-pad) 0;
}

.home-goals .home-section-h2 {
    color: var(--text-light);
}

.home-goals-statement {
    color: rgba(255, 255, 255, 0.7);
}

.home-section-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.home-section-h2 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    background: none;
    display: block;
    padding: 0;
}

.home-goals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.home-goals-statement {
    font-size: 1.35rem;
    line-height: 1.65;
    font-weight: 400;
    margin-top: 0;
    max-width: 40ch;
}

/* Small highlight cards replacing the bullet list */
.home-goals-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.home-goals-card {
    background: var(--navy-mid);
    border: 1px solid var(--border-dark);
    border-left: 0.1875rem solid var(--gold);
    border-radius: 0.25rem;
    padding: 0.875rem 1rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

@media (max-width: 1400px) {
    .home-section-inner { padding: 0 3rem; }
}

@media (max-width: 1000px) {
    .home-goals-grid    { grid-template-columns: 1fr; gap: 3rem; }
    .home-section-inner { padding: 0 2.5rem; }
    .home-goals-cards   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .home-goals         { padding: 4rem 0; }
    .home-section-inner { padding: 0 1.5rem; }
    .home-section-h2    { font-size: 2rem; }
    .home-goals-cards   { grid-template-columns: 1fr; }
}

/* #endregion */

/* #region Home - History */

.home-history {
    position: relative;
    background: var(--bg);
    padding: var(--section-pad) 0;
    overflow: hidden;
}

.home-history-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: -40%;
    height: 180%;
    background-image: url('images/history_bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
    transform: translateY(var(--history-parallax-y, 0px));
}

.home-history::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 4rem 5rem rgba(0, 0, 0, 0.2), inset 0 -4rem 5rem rgba(0, 0, 0, 0.2);
    z-index: 1;
    pointer-events: none;
}

.home-history .home-section-inner {
    position: relative;
    z-index: 2;
}

.home-history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.home-history-image {
    overflow: hidden;
    border-radius: 0.25rem;
    cursor: zoom-in;
}

.home-history-image img {
    width: 100%;
    min-height: 22rem;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.home-history-image:hover img {
    transform: scale(1.03);
}

.home-history-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-history-content .home-section-h2 {
    color: var(--navy);
}

.home-history-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    max-width: none;
}

.home-history-quote {
    border-left: 3px solid var(--gold);
    padding-left: 1.25rem;
    margin: 1.75rem 0 0;
    color: var(--navy);
    font-style: italic;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.85;
}

@media (max-width: 1000px) {
    .home-history-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .home-history {
        padding: 4rem 0;
    }
}

/* #endregion */

/* #region Home - Targets */

.home-targets {
    background: var(--bg);
    padding: var(--section-pad) 0;
}

.home-targets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.home-targets-image {
    overflow: hidden;
    border-radius: 0.25rem;
    order: 2; /* image on the RIGHT — alternates from history (image left) */
    cursor: zoom-in;
}

.home-targets-image img {
    width: 100%;
    min-height: 20rem;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.home-targets-image:hover img {
    transform: scale(1.03);
}

.home-targets-content {
    order: 1; /* content on the LEFT */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-targets-content .home-section-h2 {
    color: var(--navy);
}

.home-targets-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: none;
}

@media (max-width: 1000px) {
    .home-targets-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    /* Restore natural reading order on mobile — image first, content below */
    .home-targets-image   { order: 1; }
    .home-targets-content { order: 2; }
}

@media (max-width: 600px) {
    .home-targets {
        padding: 4rem 0;
    }
}

/* #endregion */

/* #region Custom: Content */
.contbox {
    position: relative;
}

.contbox::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/content_bg.png');
    background-position: left var(--parallax-y, 0px);
    background-repeat: no-repeat;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.contbox > * {
    position: relative;
    z-index: 1;
}

#content {
    display: flex;
    align-items: flex-start;
}

#content .contmain {
    flex: 1;
    min-width: 0; /* prevent flex blowout on large content */
}

@media only screen and (max-width:1200px) {
    #content {
        flex-direction: column-reverse;
    }

    #content .contmain {
        margin-top: -90px;
    }
}

@media only screen and (max-width:800px) {
    #content .contmain {
        margin-top: -60px;
    }
}

@media only screen and (max-width:600px) {
    #content .contmain {
        padding-left: 0;
        padding-right: 0;
    }
}

/* #endregion */

/* #region Custom: Menu */
#main .menu .toplink,
#main .menu .mainmenu,
#main .menu .sublink {
    color: #333;
    border-color: #333;
}

#main .menu .menubox {
    padding: 10px 0;
}

#main .menu .minilink {
    color: #7ca5b8;
    margin-left: auto;
}

#main .menu .mainmenu .lower a:hover {
    color: #7ca5b8;
}

#main .menu .toplink:hover {
    background-color: #7ca5b8;
    color: #fff;
    border-color: #7ca5b8;
}

#main .menu .sublink {
    border-color: #7ca5b8;
    color: #7ca5b8;
}

#main .menu .sublink:hover {
    background-color: #7ca5b8;
    color: #fff;
}

@media only screen and (max-width:1200px) {

    #main .menu .toplink,
    #main .menu .mainmenu,
    #main .menu .sublink {
        color: #fff;
        border-color: #fff;
    }

    #main .menu .sublink {
        display: table;
        width: unset;
        margin-right: auto;
        border-left: 0;
    }
}

@media only screen and (max-width:700px) {
    #main .menu .minilink {
        position: absolute;
        top: 25px;
        right: -15px;
    }

    .scrolled #main .menu .minilink {
        top: 0;
    }
}

@media only screen and (max-width:600px) {
    #main .menu .minilink {
        top: 20px;
    }
}

/* #endregion */

/* #region Custom: Management & Advisors */
#management .item,
#advisors .item {
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    padding: 30px;
    border-bottom: 0;
}

#management .item h3,
#advisors .item h3 {
    font-weight: 600;
    font-size: 3rem;
}

#management .item h4 {
    color: #c7b544;
    font-size: 2rem;
}

#advisors .item h3 span {
    font-size: 1.6rem;
}

.mantop {
    font-size:1.5rem;
    background-color:#fff;
    padding:2rem;
    margin-bottom:3rem;
}

.mantop p b {
    color:#c7b544;
}

/* #endregion */

/* #region Custom: Corporate */
#corporate .item {
    border: 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

#corporate .item .info {
    border: 0;
}

/* #endregion */

/* #region Custom: Sidebar */
#sidex {
    width: 500px;
    background-color: #f7f6f2;
}

#sidex .sidetitle {
    margin-left: 90px;
}

#sidex .sidebar .sidelink {
    padding-left: 90px;
}

#sidex .sideproj a {
    display: block;
    color: #999;
    font-weight: 600;
    padding: 15px;
    font-size: 1.2rem;
    padding-left: 90px;
    text-transform: uppercase;
    border-bottom: 1px solid #ccc;
}

#sidex .sideproj a:last-of-type {
    border-bottom: 0;
}

#sidex .sideproj a:hover {
    color: #7ca5b8;
}

#sidex .sidebar .sidelink:hover {
    color: #7ca5b8;
}

#sidex .sidebar .active {
    color: #c7b544 !important;
}

@media only screen and (max-width:1600px) {
    #sidex .sidetitle {
        margin-left: 60px;
    }

    #sidex .sidebar .sidelink {
        padding-left: 60px;
    }

    #sidex {
        width: 420px;
    }

    #sidex .sideproj a {
        padding-left: 60px;
    }
}

@media only screen and (max-width:1200px) {
    #sidex {
        width: 100%;
        padding-right: 60px;
    }
}

@media only screen and (max-width:800px) {
    #sidex {
        width: 100%;
        padding-right: 30px;
    }

    #sidex .sideproj a {
        padding-left: 30px;
    }

    #sidex .sidetitle {
        margin-left: 30px;
    }

    #sidex .sidebar .sidelink {
        padding-left: 30px;
    }
}

/* #endregion */

/* #region Custom: Project */
.project .pdflink {
    border: 3px solid #7ca5b8;
    color: #7ca5b8;
    font-weight: bold;
    padding: 15px 20px;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
    overflow: hidden;
}

.project .pdflink:before {
    content: "";
    position: absolute;
    background-color: #7ca5b8;
    top: -1%;
    left: -1%;
    bottom: 0;
    width: 0%;
    height: 102%;
    z-index: -1;
    transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1);
    background-image: url('images/pdf-white.png');
    background-position: center right -60px;
    background-repeat: no-repeat;
    background-size: auto 32px;
}

.project .pdflink:hover {
    color: #fff;
    padding-right: 60px;
}

.project .pdflink:hover:before {
    width: 102%;
    background-position: center right 20px;
}

.project h3 {
    text-transform: uppercase;
}

.project .highlights {
    background-image: url('images/highlights_bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    padding: 30px;
    color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.project .lochigh {
    display: flex;
    flex-wrap: wrap;
}

.project .highlights h3 {
    display: table;
    background-color: #222;
    padding: 10px 15px;
}

.project .section {
    background-color: #fff;
}

.project .section img {
    border-radius:0.5rem;
    border:1px solid #222;
    box-shadow:0 5px 10px rgba(0,0,0,0.15);
}

.project .four3101 {
    background-color:#222;
}

.project .gallery {
    margin-top:3rem;
    margin-bottom:3rem;
}

.project .targets {
    background-color:#c7b544;
    padding:1rem;
    border-radius:0.5rem;
}

.project .targets h4 {
    color:#fff;
    margin-bottom:1rem;
}

.project .targets ul li {
    color:#fff;
}

@media only screen and (max-width:800px) {
    .project .lochigh {
        display: block;
    }

    .project .lochigh .half {
        width: 100%;
    }
}

/* #endregion */

/* #region Custom: Contact */
#contact .continner {
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

#contact .contactform {
    background-color: #c7b544;
    color: #fff;
}

#contact form .text {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

#contact form .formrow {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

#contact .info a {
    color: #7ca5b8
}

#contact form .text::placeholder,
#contact form .formrow::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

@media only screen and (max-width:600px) {
    #contact .continner {
        padding: 0;
    }

    #contact .office {
        padding: 30px;
    }
}

/* #endregion */

/* #region Custom: SEDAR */
    .sedar .itembox .item {
        background-color:#fff;
    }
/* #endregion */


.archive .newschive .newsbox:nth-child(odd) {
    background-color:#fff;
}


/* =========================================================
   #region Page Modules
   (inlined from ext/pages/* and ext/pages2024/*)
   ========================================================= */

/* #region 404 */

.notfound .site-icon--xl {
    color: var(--navy);
}

.notfound {
    background-color: #fff;
    padding: 1.875rem;
    text-align: center;
}

/* #endregion */

/* #region Contact */

.contact-panel {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 0.1875rem solid var(--gold);
    border-radius: 0.25rem;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.contact-info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0.5rem 0 1rem;
}

.contact-info-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text);
    margin: 0 0 0.5rem;
}

.contact-info-card a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gold);
    text-decoration: none;
    margin-bottom: 0.375rem;
    transition: color 0.2s ease;
}

.contact-info-card a:hover {
    color: var(--navy);
}

.contact-info-card a .site-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}


.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 0.1875rem solid var(--gold);
    border-radius: 0.25rem;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0.5rem 0 1.5rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.25rem;
    font-size: 0.95rem;
    font-family: var(--font-brand);
    color: var(--text);
    background: var(--bg);
    transition: border-color 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--surface);
}

.contact-form-textarea {
    min-height: 10rem;
    resize: vertical;
    display: block;
    margin-bottom: 0.75rem;
}

.contact-form-input.missinfo,
.contact-form-textarea.missinfo {
    border-color: #e53e3e;
    background: #fff5f5;
}

.contact-form-err {
    color: #e53e3e;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    min-height: 1.25rem;
}

.contact-submit {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--font-brand);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.875rem 2.5rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-submit:hover {
    background: var(--gold-light);
    transform: translateY(-0.0625rem);
}

/* Thanks overlay */
.thanks {
    position: fixed;
    inset: 0;
    background-color: rgba(106, 194, 89, 0.95);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.thanks-on {
    opacity: 1;
    pointer-events: all;
}

.thanks span {
    display: block;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 0.9375rem;
    text-shadow: 0 0.1875rem 0.3125rem rgba(0, 0, 0, 0.25);
}

.thanks .close {
    font-size: 1.125rem;
    background-color: #eee;
    color: #6ac259;
    padding: 0.9375rem 6.25rem;
    font-weight: 500;
    display: inline-block;
    border-radius: 0.3125rem;
    transition: all 0.3s;
    cursor: pointer;
    opacity: 0;
}

.thanks .close:hover {
    background-color: #fff;
    color: #222;
    box-shadow: 0 0.1875rem 0.3125rem rgba(0, 0, 0, 0.25);
}

.hidedown { margin-top: 1.25rem; opacity: 0; }
.closedown { margin-top: 1.25rem; opacity: 1 !important; }

@media (max-width: 800px) {
    .contact-panel      { grid-template-columns: 1fr; }
    .contact-form-row   { grid-template-columns: 1fr; }
}

/* #endregion */

/* #region Management */

.mgmt-section {
    /* wrapper spacing handled by .spacerbig + .boxbox */
}

.mgmt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    /* align-items omitted — default stretch = equal height per row */
    padding-bottom: 2rem; /* room for even-card stagger overflow */
}


.mgmt-card {
    /* CSS var drives stagger offset for both resting position and hover lift */
    --stagger-y: 0rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 0.1875rem solid var(--gold);
    border-radius: 0.25rem;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    /* Scroll-in animation: start below + staggered column offset */
    opacity: 0;
    transform: translateY(calc(var(--stagger-y) + 2.5rem));
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.25s ease;
}

/* Right-column cards rest 1.75rem lower than left-column cards */
.mgmt-card:nth-child(even) {
    --stagger-y: 1.75rem;
}

/* State added by IntersectionObserver */
.mgmt-card.mgmt-visible {
    opacity: 1;
    transform: translateY(var(--stagger-y));
}

.mgmt-card:hover {
    box-shadow: 0 0.375rem 1.25rem rgba(0, 0, 0, 0.12);
    /* Compose hover lift on top of resting stagger position */
    transform: translateY(calc(var(--stagger-y) - 0.125rem));
}

.mgmt-card-header {
    margin-bottom: 0;
}

.mgmt-eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.mgmt-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.15;
    margin: 0 0 0.25rem;
}

.mgmt-credentials {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.mgmt-divider {
    height: 1px;
    background: var(--border);
    margin: 1rem 0;
}

.mgmt-bio {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text);
    margin: 0;
    flex: 1;
}

.mgmt-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .mgmt-grid {
        grid-template-columns: 1fr;
        padding-bottom: 0;
    }

    /* Reset stagger on single-column layout */
    .mgmt-card:nth-child(even) {
        --stagger-y: 0rem;
    }
}

/* #endregion */

/* #region Corporate Directory Cards */

/* Single-column grid variant — no column stagger */
.mgmt-grid--single {
    grid-template-columns: 1fr;
    padding-bottom: 0;
}

.mgmt-grid--single .mgmt-card:nth-child(even) {
    --stagger-y: 0rem;
}

/* Info + map layout inside each corporate card */
.corp-card-body {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.corp-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.corp-card-address {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text);
    margin: 0;
}

.corp-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

.corp-card-link:hover {
    color: var(--navy);
}

.corp-card-map {
    flex: 0 0 55%;
    border-radius: 0.25rem;
    overflow: hidden;
}

.corp-card-map iframe {
    width: 100%;
    height: 13rem;
    display: block;
    border: 0;
}

@media (max-width: 768px) {
    .corp-card-body {
        flex-direction: column;
    }

    .corp-card-map {
        flex: none;
        width: 100%;
    }
}

/* #endregion */

/* #region Advisors */

.advisors .item {
    border: 2px solid #eee;
    padding-left: 0;
    padding-top: 0;
}

.advisors .item .text {
    width: 30%;
    border-right: 1px dotted #ccc;
    padding-right: 1.875rem;
}

.advisors .item .text h3 span {
    font-size: 1.25rem;
}

.advisors .item .text h4 {
    text-transform: uppercase;
}

.advisors.style2 .item {
    border: 0;
    padding-bottom: 0;
}

.advisors.style2 .item:not(:last-of-type) {
    padding-bottom: 3.75rem;
    border-bottom: 1px dotted #ddd;
}

@media (max-width: 900px) {
    .advisors .item {
        display: block;
    }

    .advisors .item .text {
        width: 100%;
        border-right: 0;
        padding-right: 0;
        padding-bottom: 1.875rem;
    }
}

/* #endregion */

/* #region Corporate */

.corporate .item {
    background-color: #fff;
}

.corporate .item .info {
    border: 2px solid #eee;
}

.corporate .item .map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 800px) {
    .corporate .item {
        flex-direction: column-reverse;
    }

    .corporate .itemtwo {
        flex-direction: column;
    }

    .corporate .item .info {
        width: 100%;
    }

    .corporate .item .map {
        height: 18.75rem;
    }
}

/* #endregion */

/* #region Archive */

.archive-years {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.archive-yearlink {
    padding: 0.375rem 1rem;
    border: 2px solid var(--border);
    border-radius: 0.25rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.archive-yearlink:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.archive-yearlink.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
    pointer-events: none;
}

.archive-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.archive-row {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--surface);
    transition: background 0.15s ease;
}

.archive-row:hover {
    background: var(--bg);
}

.archive-newslink {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
    padding: 1rem 1.25rem;
    text-decoration: none;
}

.archive-newslink-date {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}

.archive-newslink-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
    transition: color 0.15s ease;
}

.archive-row:hover .archive-newslink-title {
    color: var(--gold);
}

.archive-pdflink {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    text-decoration: none;
    border-left: 1px solid var(--border);
    background: var(--gold);
    transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
    min-width: 4rem;
}

.archive-pdflink .site-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
}

.archive-pdflink:hover {
    color: var(--surface);
    background: var(--navy);
    border-left-color: var(--navy);
}

.archive-pdflink.nopdf {
    pointer-events: none;
    background: transparent;
    color: var(--text-muted);
    opacity: 0.3;
}

.archive-missing {
    padding: 2.5rem;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    border: 2px dashed var(--border);
    border-radius: 0.25rem;
}

/* #endregion */

/* #region Stock */

.stock-heading {
    margin-bottom: 1.25rem;
}

.stock-heading h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0.375rem 0 0;
}

.stock-updated {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0.25rem 0 1.25rem;
}

.stock-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stock-stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 0.1875rem solid var(--gold);
    border-radius: 0.25rem;
    padding: 1.5rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stock-stat-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stock-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
    display: block;
}

.stock-chart-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    height: 25rem;
    margin-bottom: 3rem;
    position: relative;
}

/* Subtle loading shimmer shown while the TradingView widget initialises */
.stock-chart-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--bg) 0%,
        var(--surface-alt) 50%,
        var(--bg) 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* Symbol selector row */
.stock-symbols-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.stock-symbol-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 0.1875rem solid transparent;
    border-radius: 0.25rem;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.stock-symbol-btn:hover {
    border-top-color: var(--gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.stock-symbol-btn.active {
    border-top-color: var(--gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.stock-symbol-btn-exchange {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.stock-symbol-btn-ticker {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.stock-divider {
    height: 1px;
    background: var(--border);
    margin: 0 0 2rem;
}

@media (max-width: 800px) {
    .stock-stat-grid { grid-template-columns: 1fr; }
    .stock-stat-value { font-size: 2.5rem; }
}

/* #endregion */

/* #region SEDAR */

.sedar .heading {
    border-bottom: 2px solid #333;
    padding-bottom: 0.9375rem;
    padding-top: 1.875rem;
}

.sedar .year {
    padding: 0.3125rem 0.625rem;
    border: 2px solid #222;
    color: #222;
    opacity: 0.5;
    font-weight: bold;
    margin-bottom: 0.625rem;
    width: 5rem;
    text-align: center;
}

.sedar .year:hover {
    opacity: 1;
}

.sedar .yearbox .active {
    background-color: var(--navy);
    color: #fff;
    border-color: var(--navy);
    pointer-events: none;
    opacity: 1;
}

.sedar .year:not(:last-of-type) {
    margin-right: 0.625rem;
}

.sedar .notes {
    background-color: #fafafa;
    padding: 0.9375rem;
    margin-top: 1.875rem;
    font-style: italic;
}

.sedar .itembox .item {
    padding: 0.9375rem;
    color: #222;
    font-weight: bold;
    display: block;
}

.sedar .itembox .item span {
    color: var(--navy);
    display: block;
}

.sedar .itembox .item:hover {
    background-color: var(--navy);
    border-bottom-color: var(--navy);
    color: #fff;
    padding-left: 1.5625rem;
}

.sedar .itembox .item:hover span {
    color: #eee;
}

.sedar .itembox .item:not(:last-of-type) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

/* #endregion */

/* #region Subscribe Page */

.sub-status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 3.75rem;
    flex-shrink: 0;
}

.sub-status-icon .site-icon {
    width: 5rem;
    height: 5rem;
}

@media (max-width: 700px) {
    .subpage .flex {
        display: block;
    }

    .sub-status-icon {
        margin-right: unset;
        display: block;
        text-align: center;
        margin-bottom: 1.875rem;
    }

    .subpage .spacersmall {
        text-align: center;
    }
}

/* #endregion */

/* #region Presentation */

.pres-empty {
    color: var(--text-muted, #888);
    font-size: 1rem;
    text-align: center;
    padding: 3rem 0;
}

.pres-hidden-slide {
    display: none;
}

/* Grid */
.pres-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Card */
.pres-card {
    background: #fff;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Thumbnail — full-width banner showing the entire slide (no crop, no bars) */
.pres-card-thumb {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f1efe9;
}

.pres-card-thumb > a {
    display: block;
    width: 100%;
}

.pres-card-thumb img {
    width: 100%;
    height: auto;       /* let the slide's natural ratio define height — whole slide always visible */
    display: block;
    transition: transform 0.4s ease;
}

.pres-card-thumb:hover img {
    transform: scale(1.04);
}

.pres-thumb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(15, 26, 46, 0.55);
    color: #fff;
    opacity: 0;
    transition: opacity 0.25s ease;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pres-card-thumb:hover .pres-thumb-overlay {
    opacity: 1;
}

.pres-thumb-overlay .site-icon {
    width: 2.5rem;
    height: 2.5rem;
    stroke: #fff;
    fill: none;
    stroke-width: 1.5;
}

.pres-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
}

.pres-thumb-placeholder .site-icon {
    width: 3rem;
    height: 3rem;
    stroke: rgba(255, 255, 255, 0.25);
    fill: none;
    stroke-width: 1.5;
}

/* Card body */
.pres-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pres-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 1rem;
    line-height: 1.25;
}

.pres-card-date {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 0.5rem;
}

.pres-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.pres-card-actions .btn-outline,
.pres-card-actions .btn-muted {
    border-radius: 6.25rem;
}

.btn-muted {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 900px) {
    .pres-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pres-card-actions {
        flex-direction: column;
    }

    .pres-card-actions .btn-primary,
    .pres-card-actions .btn-outline,
    .pres-card-actions .btn-muted {
        text-align: center;
    }
}

/* #endregion */

/* #region Presentation Gate Modal */

.presgate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 26, 46, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.presgate-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.presgate-box {
    background: var(--navy);
    border: 1px solid var(--border-dark);
    border-radius: 1rem;
    max-width: 32rem;
    width: 100%;
    padding: 2.5rem;
    position: relative;
    opacity: 0;
    transform: translateY(1.5rem) scale(0.97);
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.presgate-overlay.active .presgate-box {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.presgate-overlay.closing .presgate-box {
    opacity: 0;
    transform: translateY(1rem) scale(0.97);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.presgate-skip {
    display: block;
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    transition: color 0.15s;
}

.presgate-skip:hover {
    color: rgba(255, 255, 255, 0.65);
}

.presgate-box .subpop-logo {
    margin-bottom: 1rem;
}

.presgate-box h3 {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
    font-family: var(--font-brand);
    line-height: 1.2;
}

.presgate-box > p:first-of-type {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: none;
}

/* #endregion */

/* #region News Article */

.news-article {
    max-width: 52rem;
    margin: 0 auto;
}

.news-article h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin: 0.5rem 0 1.5rem;
    background: none;
    display: block;
    padding: 0;
    border: none;
}

.news-article p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1rem;
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-back-link:hover { color: var(--navy); }

/* PDF download button at the top of a release */
.release-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.release-pdf-btn svg {
    width: 1rem;
    height: 1rem;
}

/* #endregion */

/* #region Legal */

.legal-article {
    max-width: 52rem;
    margin: 0 auto;
}

.legal-article h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.legal-article h3:first-child {
    padding-top: 0;
    border-top: none;
}

.legal-article h4 {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 1.25rem 0 0.5rem;
}

.legal-article p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.legal-article ul,
.legal-article ol {
    margin: 0 0 1.25rem 1.5rem;
    padding: 0;
}

.legal-article li {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.legal-article a {
    color: var(--navy);
    text-decoration: underline;
}

.legal-article a:hover {
    color: var(--gold);
}

/* #endregion */

/* #region HOME — LIVE CLONE */

/* Cloned from live FNAU.css. Hero re-scoped from `header .hero` to `.hero`
   (the hero now lives inside #page-content, and AJAX nav doesn't preserve
   #page-content's data-page attribute). Typography scoped under .hero/.home
   so it doesn't override the rest of the prepro design system. */

/* Hero — split layout (navy title panel + video media) */
.hero {
    position: relative;
    min-height: 100vh;
    margin-top: calc(-1 * var(--shell-h)); /* cancel body padding-top so the hero runs full-bleed under the fixed glass header */
    background-color: var(--navy);
}

/* Centered overlay layout: full-bleed video behind a centered glass card */
.hero-split {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--shell-h) + 2.5rem) clamp(1.5rem, 4vw, 3rem) 4rem;
}

/* Frosted glass card holding the hero copy — guarantees text contrast over the footage */
.hero-panel {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 54rem;
    padding: clamp(2rem, 4vw, 3.5rem);
    text-align: center;
    background: rgba(15, 26, 46, 0.38);
    backdrop-filter: blur(1rem) saturate(120%);
    -webkit-backdrop-filter: blur(1rem) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35);
}

.hero-panel-inner {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2rem, 3.4vw, 3.5rem);
    line-height: 1.08;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* #region HERO COPY + ACTIONS */
.hero-eyebrow {
    display: block;
    margin-bottom: 1.25rem;
    font-size: clamp(0.75rem, 1vw, 0.875rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
}

.hero-body {
    margin-top: 1.5rem;
    max-width: 40rem;
    font-size: clamp(1.1rem, 1.4vw, 1.3rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

.hero-body strong {
    font-weight: 700;
    color: #fff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.25rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    align-self: auto;
    cursor: pointer;
    border-radius: 6.25rem;
    line-height: 1;
}

.hero-btn .site-icon {
    width: 1.05rem;
    height: 1.05rem;
}
/* #endregion */

/* Scroll cue: centered across the full hero width, pinned to the bottom */
.hero .learnmore {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.75rem;
    z-index: 5;
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-shadow: 0 0.0625rem 0.5rem rgba(0, 0, 0, 0.55);
}

.hero .learnmore .scroll-arrow {
    display: block;
    width: 1.125rem;
    height: 1.125rem;
    margin: 0 auto 0.75rem;
    border-right: 0.1875rem solid var(--gold);
    border-bottom: 0.1875rem solid var(--gold);
    animation: scrollArrowBounce 1.6s ease-in-out infinite;
}

@keyframes scrollArrowBounce {
    0%   { transform: rotate(45deg) translate(-0.2rem, -0.2rem); opacity: 0.35; }
    50%  { transform: rotate(45deg) translate(0.2rem, 0.2rem);   opacity: 1; }
    100% { transform: rotate(45deg) translate(-0.2rem, -0.2rem); opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
    .hero .learnmore .scroll-arrow {
        animation: none;
        transform: rotate(45deg);
        opacity: 0.8;
    }
}

/* Full-bleed background footage behind the centered glass card */
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-media-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-media-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* flat scrim to keep the footage readable behind the glass card */
    background: rgba(15, 26, 46, 0.4);
}

/* Tablet / mobile: tighten the centered card padding */
@media only screen and (max-width:1000px) {
    .hero-split {
        padding: calc(var(--shell-h) + 2rem) clamp(1.25rem, 5vw, 2rem) 3rem;
    }
    .hero-panel {
        padding: clamp(1.75rem, 6vw, 2.5rem);
    }
}

@media only screen and (max-width:600px) {
    .hero h1 span { letter-spacing: 0.18em; }
}

/* Home shared typography (scoped) */
.home {
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.home h2 {
    background-color: #222;
    color: #fff;
    font-size: 3rem;
    line-height: 3rem;
    text-transform: uppercase;
    font-weight: 600;
    display: table;
    padding: 0.9375rem 1.25rem;
}

.home p {
    font-size: 1.2rem;
}

.home .mainlink {
    border-color: #7ca5b8;
    color: #7ca5b8;
}

.home .mainlink::before {
    background: #7ca5b8;
}

.home .mainlink:hover {
    color: #fff;
}

/* Home — Goals */
.home .goals {
    position: relative;
}

.home .goals .goaltext {
    background-image: url('images/goals_bg.jpg');
    background-size: cover;
}

.home .goals h2 {
    position: absolute;
    left: 5.625rem;
    top: 1.875rem;
}

.home .goals .goaltext .goalinner {
    padding: 3.75rem 0;
}

.home .goals .goaltext span {
    font-size: 3rem;
    color: #222;
    font-weight: 600;
}

.home .goals .goalist {
    background-color: #fff;
}

.home .goals ul {
    padding: 5.625rem;
    padding-top: 7.5rem;
    padding-left: 0;
    margin-left: 2.8125rem;
}

.home .goals ul li {
    list-style: none;
    border-bottom: 1px solid #ddd;
    padding: 1.25rem 0;
    font-size: 1.6rem;
    line-height: 1.8rem;
    margin-bottom: 0;
}

.home .goals ul li span {
    width: 1.875rem;
    height: 1.875rem;
    background-color: #c7b544;
    flex-shrink: 0;
    margin-left: -3.75rem;
    margin-right: 2.5rem;
}

.home .goals ul li:last-of-type {
    border-bottom: 0;
}

@media only screen and (max-width:1600px) {
    .home .goals h2 { left: 3.75rem; }
    .home .goals ul {
        padding-right: 3.75rem;
        padding-bottom: 3.75rem;
    }
}

@media only screen and (max-width:1100px) {
    .home .goals .mainflex { display: block; }
    .home .goals .half { width: 100%; }
    .home .goals .goaltext { padding-top: 5.625rem; }
    .home .goals ul li span { margin-left: 0; }
}

@media only screen and (max-width:1000px) {
    .home { margin-top: 0; }
    .home .goals .goaltext .goalinner { padding: 1.875rem 0; }
}

@media only screen and (max-width:800px) {
    .home .goals h2 {
        position: static;
        display: block;
    }
    .home .goals .goaltext .goalinner { padding: 1.875rem; }
    .home .goals .goaltext { padding: 0; }
    .home .goals ul {
        padding: 1.875rem;
        padding-left: 0;
        margin-left: 0.9375rem;
    }
}

/* #region HOME — OPPORTUNITY (modern cards) */
.home .hh-opportunity {
    padding: 5rem 0;
}

.home .hh-opportunity-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
    margin-bottom: 3rem;
}

.home .hh-opportunity-media {
    display: flex;
    justify-content: center;
}

.home .hh-opportunity-video {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 1rem 2.5rem rgba(15, 26, 46, 0.18);
}

.home .hh-opportunity-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.home .hh-opportunity-video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 26, 46, 0.25);
    transition: background 0.3s ease;
}

.home .hh-opportunity-video:hover img {
    transform: scale(1.04);
}

.home .hh-opportunity-video:hover::after {
    background: rgba(15, 26, 46, 0.1);
}

.home .hh-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, background 0.25s ease;
}

.home .hh-opportunity-video:hover .hh-video-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: #fff;
}

.home .hh-video-play .site-icon {
    width: 1.6rem;
    height: 1.6rem;
    margin-left: 0.25rem;
    color: var(--navy);
    fill: var(--navy);
    stroke: var(--navy);
}

.home .hh-opportunity-head {
    margin-bottom: 0;
}

.home .hh-opportunity-head .section-eyebrow {
    margin-bottom: 0.875rem;
}

/* Override the live black-box .home h2 for this section only */
.home .hh-opportunity-head h2 {
    background: none;
    background-color: transparent;
    color: var(--navy);
    display: block;
    padding: 0;
    margin: 0;
    font-size: 2.5rem;
    line-height: 1.15;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.01em;
}

.home .hh-opportunity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.home .hh-opp-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: #fff;
    border: 0.0625rem solid rgba(15, 26, 46, 0.08);
    border-top: 0.25rem solid var(--gold);
    border-radius: 0.25rem 0.25rem 0.75rem 0.75rem;
    padding: 2rem 1.75rem;
    box-shadow: 0 0.5rem 1.5rem rgba(15, 26, 46, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home .hh-opp-card:hover {
    transform: translateY(-0.375rem);
    box-shadow: 0 1rem 2.5rem rgba(15, 26, 46, 0.13);
}

.home .hh-opp-card p {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #444;
}

.home .hh-opp-card p strong {
    color: var(--navy);
    font-weight: 700;
}

.home .hh-opp-stat {
    margin-top: auto;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1.4;
    padding: 0.875rem 1.125rem;
    border-left: 0.1875rem solid var(--gold);
    border-radius: 0 0.5rem 0.5rem 0;
}

@media (max-width: 1100px) {
    .home .hh-opportunity-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .home .hh-opportunity-top { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .home .hh-opportunity { padding: 3.5rem 0; }
    .home .hh-opportunity-top { margin-bottom: 2.5rem; }
    .home .hh-opportunity-head h2 { font-size: 2rem; }
}

@media (max-width: 560px) {
    .home .hh-opportunity-grid { grid-template-columns: 1fr; }
}
/* #endregion */

/* Home — History (full-bleed background, content within max width) */
.home .history {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    overflow: clip; /* contain the over-sized parallax bg without a scroll container */
}

/* Parallax background layer — extra height (top:-15%/height:130%) gives headroom for the translate.
   Constrained to the right half on desktop: the white gradient overlay is opaque to 55% and only
   fades out by 90%, so the image is never visible in the left half. */
.home .history .history-bg-img {
    position: absolute;
    top: -15%;
    left: 50%;
    width: 50%;
    height: 130%;
    background-size: cover;
    background-position: center right;
    z-index: 0;
    will-change: transform;
}

/* Full-width white gradient overlay */
.home .history::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 55%, rgba(255, 255, 255, 0) 90%);
    pointer-events: none;
}

/* Content constrained to the regular site max width */
.home .history-inner {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5rem;
}

.home .history .maintext {
    width: 55%;
    padding: 5rem 0;
    background: none;
}

/* New title style (matches Opportunity section) */
.home .history h2 {
    background: none;
    background-color: transparent;
    color: var(--navy);
    display: block;
    padding: 0;
    margin: 0 0 1.5rem;
    font-size: 2.5rem;
    line-height: 1.15;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.01em;
}

.home .history .maintext p {
    margin: 0 0 1.5rem;
}

.home .history .maintext p:last-child {
    margin-bottom: 0;
}

.home .highlight {
    color: #c7b544;
    font-weight: bold;
}

@media only screen and (max-width:1600px) {
    .home .history .maintext { width: 62%; }
}

@media only screen and (max-width:1200px) {
    /* Vertical gradient layout — image is revealed full-width along the bottom */
    .home .history .history-bg-img {
        left: 0;
        width: 100%;
        background-position: center bottom;
    }
    .home .history::before {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 45%, rgba(255, 255, 255, 0) 100%);
    }
    .home .history-inner { padding: 0 2.5rem; }
    .home .history .maintext {
        width: 100%;
        padding: 3.75rem 0;
        padding-bottom: 55vw;
    }
}

@media only screen and (max-width:800px) {
    .home .history-inner { padding: 0 1.25rem; }
    .home .history .maintext {
        padding: 1.875rem 0;
        padding-bottom: 100vw;
    }
    .home .history h2 { font-size: 2rem; }
}

/* Home — Targets (modern split layout) */
.home .targets {
    padding: 5rem 0;
}

.home .targets .flex {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.home .targets .half {
    width: 50%;
}

.home .targets-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem;
    box-shadow: 0 1rem 2.5rem rgba(15, 26, 46, 0.15);
}

.home .targets-body .section-eyebrow {
    margin-bottom: 0.875rem;
}

/* New title style (matches Opportunity / History sections) */
.home .targets-body h2 {
    background: none;
    background-color: transparent;
    color: var(--navy);
    display: block;
    padding: 0;
    margin: 0 0 1.25rem;
    font-size: 2.5rem;
    line-height: 1.15;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.01em;
}

.home .targets-body p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.75rem;
}

.home .targets-body p strong {
    color: var(--navy);
    font-weight: 700;
}

.home .targets-body .hh-opp-list {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.home .targets-body .hh-opp-list li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #444;
}

.home .targets-body .hh-opp-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 0.375rem;
    height: 0.375rem;
    background: var(--gold);
}

.home .targets-body .hh-opp-list li strong {
    color: var(--navy);
    font-weight: 700;
}

/* Footnote reference marker on the claim */
.home .targets-body .hh-note-ref {
    color: var(--gold);
    font-weight: 700;
}

/* Italicized disclaimer below the section */
.home .targets-body .hh-disclaimer {
    margin: 1.5rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    font-style: italic;
    color: #777;
}

.home .targets-body .hh-disclaimer .hh-disclaimer-mark {
    color: var(--gold);
    font-style: normal;
    font-weight: 700;
    margin-right: 0.125rem;
}

@media only screen and (max-width:1000px) {
    .home .targets { padding: 3.5rem 0; }
    .home .targets .flex {
        display: block;
    }
    .home .targets .half { width: 100%; }
    .home .targets-media { margin-bottom: 2rem; }
}

@media only screen and (max-width:600px) {
    .home .targets-body h2 { font-size: 2rem; }
}

/* #endregion */

/* #region Scroll Reveal */

/*  Requires .scroll-reveal-active on <html> (set by JS on init).
    Without JS the flag is never added and all content stays fully visible. */

.scroll-reveal-active [data-reveal] {
    opacity: 0;
    will-change: opacity, transform;
    transition:
        opacity  0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-active [data-reveal="fade-up"]    { transform: translateY(1.75rem); }
.scroll-reveal-active [data-reveal="fade-down"]  { transform: translateY(-1.75rem); }
.scroll-reveal-active [data-reveal="fade-left"]  { transform: translateX(-2rem); }
.scroll-reveal-active [data-reveal="fade-right"] { transform: translateX(2rem); }
.scroll-reveal-active [data-reveal="zoom-in"]    { transform: scale(0.9); }
.scroll-reveal-active [data-reveal="rise-rotate"]{ transform: translateY(2rem) rotate(-1.5deg); }
.scroll-reveal-active [data-reveal="fade-in"]    { transform: none; }

.scroll-reveal-active [data-reveal].is-revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal-active [data-reveal],
    .scroll-reveal-active [data-reveal].is-revealed {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* #endregion */

/* #region Load Reveal (intro: header / subheader / hero) */

/*  [data-load] elements start hidden the instant <html class="js"> is set
    (inline head script, before paint → no flash), then ease in once the
    preloader leaves and JS adds body.is-loaded. Per-element --load-delay
    drives the staggered cascade. */

.js [data-load] {
    opacity: 0;
    will-change: opacity, transform;
    transition:
        opacity   0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--load-delay, 0ms);
}

.js [data-load="fade-down"]  { transform: translateY(-1.25rem); }
.js [data-load="fade-up"]    { transform: translateY(1.5rem); }
.js [data-load="fade-left"]  { transform: translateX(-1.75rem); }
.js [data-load="fade-right"] { transform: translateX(1.75rem); }
.js [data-load="zoom-in"]    { transform: scale(0.92); }
.js [data-load="fade-in"]    { transform: none; }

.js body.is-loaded [data-load] {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .js [data-load],
    .js body.is-loaded [data-load] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* #endregion */

/* #region PROJECT PAGE — HAYDEN HILL */
.hhproject {
    color: #444;
    overflow-x: clip; /* contain full-bleed sections without creating a scroll container (hidden would force overflow-y:auto and show a transient scrollbar during reveal) */
}

.hhproject .section {
    padding: 4rem 0;
}

.hhproject .section:first-child {
    padding-top: 4rem;
}

/* Alternating full-container tint bands (semi-transparent) to break up the page.
   margin -5rem cancels with padding 5rem so content stays aligned with other sections,
   while the band fills the full boxbox width (overflow-x: clip contains the overhang). */
.hhproject .section--tint,
.hhproject .section--tint-gold {
    margin-left: -5rem;
    margin-right: -5rem;
    padding: 4rem 5rem;
    border-radius: 1rem;
}

.hhproject .section--tint {
    background: rgba(15, 26, 46, 0.04);
}

.hhproject .section--tint-gold {
    background: rgba(199, 181, 68, 0.07);
}

.hhproject .section-header {
    margin-bottom: 2rem;
}

.hhproject .section-header h2 {
    font-size: 2.5rem;
    color: #0f1a2e;
    margin-bottom: 0;
    font-weight: 700;
    display: inline-block;
}

.hhproject .section-header h2::after {
    content: '';
    display: block;
    width: 3rem;
    height: 0.1875rem;
    background-color: #c7b544;
    margin-top: 0.75rem;
}

.hhproject .section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.hhproject .section-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.hhproject .section-content p strong {
    color: #0f1a2e;
}

.hhproject .section-content h3 {
    font-size: 1.25rem;
    color: #c7b544;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hhproject .section-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.hhproject .section-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.hhproject .section-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 0.375rem;
    height: 0.375rem;
    background-color: #c7b544;
}

.hhproject .section-content ul li strong {
    color: #0f1a2e;
}

.hhproject .section-image {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.hhproject .section-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hhproject .section-image a {
    display: block;
    cursor: zoom-in;
}

.hhproject .section-image figcaption {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
    padding: 0.75rem 1rem;
    font-style: italic;
}

.hhproject .section-grid.reverse {
    direction: rtl;
}

.hhproject .section-grid.reverse > * {
    direction: ltr;
}
/* #endregion */

/* #region CALLOUT BOX */
.hhproject .callout-box {
    background: linear-gradient(135deg, rgba(199, 181, 68, 0.12) 0%, rgba(199, 181, 68, 0.04) 100%);
    border-left: 0.25rem solid #c7b544;
    padding: 1.5rem 2rem;
    border-radius: 0 0.75rem 0.75rem 0;
    margin-top: 2rem;
}

.hhproject .callout-box p {
    font-size: 1.25rem;
    line-height: 1.7;
    margin: 0;
    color: #0f1a2e;
    font-weight: 600;
}
/* #endregion */

/* #region HISTORY SECTION */
.hhproject .section--history {
    background: linear-gradient(135deg, #0f1a2e 0%, #1a2840 100%);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    color: #fff;
}

.hhproject .section--history .section-header h2 {
    color: #fff;
}

.hhproject .section--history .section-header h2::after {
    background-color: #c7b544;
}

.hhproject .section--history .section-content p {
    color: rgba(255, 255, 255, 0.85);
}

.hhproject .section--history .section-content ul li {
    color: rgba(255, 255, 255, 0.85);
}

.hhproject .section--history .section-content ul li::before {
    background-color: #c7b544;
}

.hhproject .section--history .section-content ul li strong {
    color: #fff;
}

.hhproject .section--history .section-content h3 {
    color: #c7b544;
}

.hhproject .history-image-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hhproject .section--history .section-image {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.4);
}
/* #endregion */

/* #region COMPARABLE PROJECTS SECTION */
.hhproject .section--comparable {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hhproject .section--comparable .comp-grid {
    width: 100%;
    text-align: left;
}

.hhproject .comp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.hhproject .comp-card {
    background: #fff;
    border: 1px solid rgba(199, 181, 68, 0.2);
    border-top: 0.25rem solid #c7b544;
    border-radius: 0 0 0.75rem 0.75rem;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hhproject .comp-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.1);
}

.hhproject .comp-card .comp-company {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #c7b544;
    margin-bottom: 0.25rem;
}

.hhproject .comp-card .comp-location {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f1a2e;
    margin-bottom: 0.75rem;
}

.hhproject .comp-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}
/* #endregion */

/* #region COMPARABLE PROJECTS FOOTNOTE */
.hhproject .comp-footnote {
    margin-top: 1.5rem;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #888;
    font-style: italic;
}
/* #endregion */

/* #region EXPLORATION TARGETS SECTION */
.hhproject .section--targets {
    background: linear-gradient(135deg, #0f1a2e 0%, #1a2840 100%);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    color: #fff;
}

.hhproject .section--targets .section-header h2 {
    color: #fff;
}

.hhproject .section--targets .section-header h2::after {
    background-color: #c7b544;
}

.hhproject .section--targets .section-content ul li {
    color: rgba(255, 255, 255, 0.85);
}

.hhproject .section--targets .section-content ul li::before {
    background-color: #c7b544;
}

.hhproject .section--targets .section-content ul li strong {
    color: #fff;
}

.hhproject .zones-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hhproject .zone-tag {
    background: rgba(199, 181, 68, 0.15);
    border: 1px solid rgba(199, 181, 68, 0.4);
    color: #c7b544;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.hhproject .section--targets .section-image {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.4);
}
/* #endregion */

/* #region LOOKING FORWARD SECTION */
.hhproject .section--forward {
    background: linear-gradient(135deg, #c7b544 0%, #a89a30 100%);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    color: #0f1a2e;
}

.hhproject .section--forward .section-header h2 {
    color: #0f1a2e;
}

.hhproject .section--forward .section-header h2::after {
    background-color: #0f1a2e;
}

.hhproject .section--forward .forward-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.hhproject .section--forward .forward-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hhproject .section--forward .forward-item {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
}

.hhproject .section--forward .forward-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f1a2e;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hhproject .section--forward .forward-item p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(15, 26, 46, 0.85);
    margin: 0;
}

.hhproject .section--forward .forward-stat {
    background: #0f1a2e;
    border-radius: 0.75rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hhproject .section--forward .forward-stat .stat-item {
    border-bottom: 1px solid rgba(199, 181, 68, 0.2);
    padding-bottom: 1.5rem;
}

.hhproject .section--forward .forward-stat .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hhproject .section--forward .forward-stat .stat-label {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #c7b544;
    margin-bottom: 0.35rem;
}

.hhproject .section--forward .forward-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.hhproject .section--forward .forward-stat .stat-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}
/* #endregion */

/* #region NI 43-101 REPORT */
.hhproject .hh-report {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(15, 26, 46, 0.04), rgba(199, 181, 68, 0.1));
    border: 0.0625rem solid rgba(15, 26, 46, 0.08);
    border-radius: 1rem;
    padding: 2.5rem;
}

.hhproject .hh-report-icon {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--gold);
    border-radius: 0.75rem;
}

.hhproject .hh-report-icon .site-icon {
    width: 1.75rem;
    height: 1.75rem;
}

.hhproject .hh-report-body {
    flex: 1 1 auto;
    min-width: 0;
}

.hhproject .hh-report-body .section-eyebrow {
    margin-bottom: 0.5rem;
}

.hhproject .hh-report-body h2 {
    margin: 0 0 0.75rem;
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--navy);
}

.hhproject .hh-report-body p {
    margin: 0 0 1.5rem;
    max-width: 48rem;
}

@media (max-width: 700px) {
    .hhproject .hh-report {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.75rem;
    }
}
/* #endregion */

/* #region TARGETS SUB-BLOCK */
.hhproject .hh-targets {
    background: #0f1a2e;
    border-left: 0.25rem solid #c7b544;
    border-radius: 0 0.75rem 0.75rem 0;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
}

.hhproject .hh-targets h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #c7b544;
    margin-bottom: 0.75rem;
}

.hhproject .hh-targets ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hhproject .hh-targets ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.hhproject .hh-targets ul li:last-child {
    margin-bottom: 0;
}

.hhproject .hh-targets ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.375rem;
    height: 0.375rem;
    background-color: #c7b544;
}
/* #endregion */

/* #region PROJECT IMAGE GALLERY */
.hhproject .hh-gallery-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hhproject .hh-gallery-cat {
    background: rgba(199, 181, 68, 0.15);
    border: 1px solid rgba(199, 181, 68, 0.4);
    color: #0f1a2e;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

.hhproject .hh-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.hhproject .hh-gallery-grid a {
    display: block;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
}

.hhproject .hh-gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hhproject .hh-gallery-grid a:hover img {
    transform: scale(1.05);
}
/* #endregion */

/* #region HAYDEN HILL — RESPONSIVE */
@media (max-width: 1100px) {
    .hhproject .comp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1000px) {
    .hhproject .section-grid,
    .hhproject .section--forward .forward-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hhproject .section-grid.reverse {
        direction: ltr;
    }

    .hhproject .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 700px) {
    .hhproject .comp-grid {
        grid-template-columns: 1fr;
    }

    .hhproject .section {
        padding: 2.5rem 0;
    }

    .hhproject .section--tint,
    .hhproject .section--tint-gold {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .hhproject .section-header h2 {
        font-size: 1.75rem;
    }

    .hhproject .section-content p,
    .hhproject .section-content ul li {
        font-size: 1rem;
    }

    .hhproject .section--history,
    .hhproject .section--targets,
    .hhproject .section--forward {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hhproject .hh-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}
/* #endregion */

/* #endregion Page Modules */
