/* Bauxite Refinery Ltd — colour roles (loaded last on public pages).
   Brand palette (approved 19 Nov 2026). Colours are used by role, not equally:
     Bauxite Red          #8E3028  primary brand colour; raw bauxite ore. Labels, markers, ore/route accents, hero tint
     Deep Industrial Navy #142B45  header and navigation, main headings, corporate identity bands
     Metallic Silver      #AEB7C2  industrial technology; rules, borders, technical sections (as a light tint)
     Refinery Gold        #C49A45  buttons and highlights, investment emphasis
     Industrial White     #F4F5F6  main website background and clean content areas
     Graphite Grey        #303943  body text, footer and technical information
   To change a colour site-wide, edit the tokens below. */

:root{
  --brand-red:#8e3028;--brand-red-deep:#6f2620;--brand-red-light:#d4776a;
  --brand-navy:#142b45;--brand-green:#142b45;--navy:#142b45;--green:#142b45;--deep:#142b45;
  --brand-silver:#aeb7c2;--silver:#aeb7c2;--silver-tint:#e6e9ed;
  --brand-gold:#c49a45;--gold:#c49a45;--gold-light:#d9b872;--gold-deep:#a9823a;--gold-ink:#142b45;
  --brand-white:#f4f5f6;--brand-offwhite:#f4f5f6;
  --brand-graphite:#303943;--graphite-deep:#262e36;
  --brand-orange:#8e3028;--orange:#8e3028;
  --orange-light:#d9b872;            /* accent on navy/dark surfaces: gold */
  --bg:#f4f5f6;--surface:#ffffff;--surface-2:#e6e9ed;
  --border:#d3d8de;--line:#d3d8de;
  --text:#303943;--text-2:#4a545f;
  --heading:#142b45;--accent-text:#8e3028;
  --band:#142b45;--band-deep:#0e2036;--on-band-2:#c3cbd5;
  --footer:#303943;
  --label:#59636e;
}
html[data-theme="dark"]{
  --bg:#0b1520;--surface:#122233;--surface-2:#0f1c2b;--border:#263a52;--line:#263a52;
  --text:#e6e9ed;--text-2:#c3cbd5;
  --heading:#ffffff;--accent-text:#d9b872;--band:#142b45;--band-deep:#08121e;--label:#c3cbd5;
  --footer:#1e252c;
}

/* ---------- Header and navigation: deep industrial navy ---------- */
.site-header{background:var(--band);border-bottom-color:#ffffff1f}
.site-header .brand,.site-header .brand-sub{color:#fff}
.site-header :is(.theme-toggle,.menu-toggle){color:#fff!important;border-color:#ffffff55!important}
.site-header .theme-toggle:hover{background:#ffffff1a}
@media(min-width:1101px){
  .site-header .nav-group>summary,.site-header .nav-single{color:#fff}
  .site-header .nav-group>summary:hover,.site-header .nav-group[open]>summary,.site-header .nav-group.has-current>summary,
  .site-header .nav-single:hover,.site-header .nav-single[aria-current]{color:var(--gold-light)!important}
}
@media(max-width:1100px){
  .site-header .nav-single[aria-current]{color:var(--heading)!important;box-shadow:inset 3px 0 0 var(--brand-gold)!important}
  .site-header .nav-group.has-current>summary,.site-header .nav-group[open]>summary,.site-header .nav-group>summary:hover{color:var(--heading)}
  .site-header nav{border-bottom-color:var(--brand-gold)}
}
.site-header .nav-dropdown{border-top-color:var(--brand-gold)}
.site-header nav .nav-dropdown a[aria-current]{box-shadow:inset 3px 0 0 var(--brand-gold)}
body:has(main>:is(.hero,.page-hero):first-child):not(:has(>.flash,>.preview-bar)) .site-header:not(.is-scrolled):not(:has(nav.open)) .nav-group>summary:hover{color:var(--gold-light)!important}

/* ---------- Buttons ---------- */
/* Buttons and highlights: refinery gold with navy text (navy on gold passes WCAG AA). */
.button{background:var(--brand-gold);border-color:var(--brand-gold);color:var(--gold-ink)}
.button:hover{background:var(--gold-light);border-color:var(--gold-light);color:var(--gold-ink)}
/* Highlight buttons on navy or photographic surfaces: the same gold. */
.button-gold,.header-cta,.footer-cta{background:var(--brand-gold);border-color:var(--brand-gold);color:var(--gold-ink)}
.button-gold:hover,.header-cta:hover,.footer-cta:hover{background:var(--gold-light);border-color:var(--gold-light);color:var(--gold-ink)}
.button-outline{background:transparent;color:var(--heading);border-color:currentColor}
html[data-theme="dark"] .button:not(.button-gold):not(.button-outline):not(.header-cta):not(.footer-cta){border-color:var(--brand-gold)}
.to-top{background:var(--brand-green);color:#fff;border:1px solid #ffffff33}
.to-top:hover{background:var(--brand-gold);color:var(--gold-ink)}

/* ---------- Gold highlights ---------- */
::selection{background:var(--brand-gold);color:var(--gold-ink)}
.skip,.corner-mark,.preview-bar,.leader[open] .leader-toggle,.leadership-board .leader-toggle{color:var(--gold-ink)}
.scroll-progress{background:var(--brand-gold)}
.eyebrow:before,.page-hero .eyebrow:after{background:var(--brand-gold)}
.rc-num{color:var(--heading)}
.rc-num:after{background:var(--brand-gold)}
.rc-fact{border-top-color:var(--brand-gold)}
.timeline li{border-top-color:var(--brand-gold)!important}
.faq-help-card{border-left-color:var(--brand-gold)}
.rc-chips-track a:hover{border-color:var(--heading);color:var(--heading)}
.rc-chips-track a.is-active{background:var(--brand-green);border-color:var(--brand-green);color:#fff}
.text-link{border-color:var(--brand-gold)}
.card-icon{background:color-mix(in srgb,var(--brand-green) 9%,transparent);color:var(--brand-green)}
html[data-theme="dark"] .card-icon{background:#ffffff14;color:var(--gold-light)}
.popup-body .rc-card-link a,.popup-body p a{color:var(--heading);text-decoration-color:var(--brand-gold)}
html[data-theme="dark"] main .text-link:not(.light),html[data-theme="dark"] main .prose a{color:var(--gold-light)}
html[data-theme="dark"] .badge{color:var(--gold-light);border-color:#5c4720}

/* ---------- Bauxite red: ore, mining and route accents ---------- */
.process-number{color:var(--brand-orange)}
.process-line:before{background:var(--brand-orange)}
.logistics-stop.is-refinery,.route-stop.is-refinery{border-color:var(--brand-orange)}
.location-section{background:linear-gradient(160deg,#142b45 0%,#0e2036 55%,#1f3d5e 100%)}

/* ---------- Sections: industrial white content, light metallic silver for technical sections ---------- */
body{background:var(--bg)}
.rc-section:nth-child(even),.roadmap,.roadmap-home,.process-section{background:var(--surface-2)}
/* Closing call-to-action band: silver tint with a gold rule and a gold enquiry button. */
.newsletter-section{background:var(--surface-2);color:var(--text);border-top:3px solid var(--brand-gold)}
.newsletter-section:before{display:none}
.newsletter-section h2{color:var(--heading)}
.newsletter-section p{color:var(--text-2);opacity:1}
.newsletter-section .eyebrow{color:var(--accent-text)}
.newsletter-section .button,.newsletter-section .button-gold{background:var(--brand-gold);border-color:var(--brand-gold);color:var(--gold-ink)}
.newsletter-section .button:hover,.newsletter-section .button-gold:hover{background:var(--gold-light);border-color:var(--gold-light);color:var(--gold-ink)}

/* ---------- Footer: graphite grey ---------- */
.site-footer{background:var(--footer);border-top:3px solid var(--brand-red)}
.site-footer .footer-top a:not(.brand):not(.button),.site-footer .footer-bottom a{color:#e9ecef}
.site-footer .eyebrow.footer-sub{display:block;margin-top:26px}

/* ---------- Layout additions for the approved page format ---------- */
.contact-heading{font-size:clamp(26px,2.6vw,36px);line-height:1.15;color:var(--heading);margin:0 0 26px}
#enquiry-form,.timeline li{scroll-margin-top:calc(var(--header-h,80px) + 80px)}
.timeline li p+p{margin-top:10px}
.timeline li p strong{color:var(--heading)}
.partners-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px 28px;margin-top:40px}

/* ---------- Cards and calls to action ---------- */
.card-link,.card-more{color:var(--heading)}
.card-more span{background:color-mix(in srgb,var(--brand-gold) 30%,transparent)}
html[data-theme="dark"] .card-link,html[data-theme="dark"] .card-more{color:var(--gold-light)}
.partner-cta{background:var(--brand-green);border-color:var(--brand-green);border-top-color:var(--brand-gold)!important}
.partner-cta .button{background:var(--brand-gold)!important;border-color:var(--brand-gold)!important;color:var(--gold-ink)!important}
.rc-figure{margin:0 0 clamp(24px,3vw,36px);border-radius:10px;overflow:hidden;border-bottom:4px solid var(--brand-gold);box-shadow:0 18px 40px -22px #0e203666}
.rc-figure img{display:block;width:100%;height:auto}
.rc-contact{padding-bottom:clamp(40px,5vw,64px)}
.form-panel,.cookie-banner,.page-aside,.leader-profile{border-top-color:var(--brand-gold)!important}
.doc-cards .doc-card{cursor:default}
.doc-card h3{font-size:17px;line-height:1.35}
.doc-card p{font-size:14.5px;line-height:1.55;color:var(--text-2);margin:0}
.doc-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin-top:auto!important;padding-top:14px;border-top:1px solid var(--border)}
.doc-actions .rc-link{font-weight:700}
.doc-meta{margin-left:auto;font-size:12.5px;letter-spacing:.04em;color:var(--label)}
#documents{scroll-margin-top:calc(var(--header-h,80px) + 60px)}

/* ---------- Home: leadership ---------- */
.home-leaders{background:var(--bg)}
.home-leaders-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:clamp(16px,2vw,28px)}
.home-leader{display:grid;gap:6px;align-content:start;text-decoration:none;color:var(--text);text-align:center}
.home-leader-photo{display:block;aspect-ratio:4/5;border-radius:12px;overflow:hidden;background:var(--surface-2);border-bottom:4px solid var(--brand-gold);margin-bottom:10px}
.home-leader-photo img{width:100%;height:100%;object-fit:cover;object-position:top;display:block;transition:transform .5s ease}
.home-leader:hover .home-leader-photo img{transform:scale(1.04)}
.home-leader strong{font-size:16.5px;line-height:1.3;color:var(--heading)}
.home-leader small{font-size:13.5px;line-height:1.45;color:var(--text-2)}
@media(max-width:560px){.home-leaders-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- Home hero: show the photograph in its true colours ----------
   A neutral dark fade sits only behind the text (left) and the menu (top); the rest of the photo is left clear. */
.hero-slide img{filter:none}
.hero-shade{background:
  linear-gradient(90deg,rgba(10,16,26,.80) 0%,rgba(10,16,26,.62) 30%,rgba(10,16,26,.22) 52%,rgba(10,16,26,0) 68%),
  linear-gradient(180deg,rgba(10,16,26,.62) 0%,rgba(10,16,26,0) 20%),
  linear-gradient(0deg,rgba(10,16,26,.40) 0%,rgba(10,16,26,0) 26%)}
.hero h1,.hero .hero-intro,.hero .hero-kicker{text-shadow:0 2px 18px rgba(0,0,0,.45)}
@media(max-width:900px){.hero-shade{background:linear-gradient(180deg,rgba(10,16,26,.66) 0%,rgba(10,16,26,.50) 55%,rgba(10,16,26,.62) 100%)}}

/* ---------- Inner page hero: industrial photography under a bauxite-red to navy tint ---------- */
.page-hero:before{background:linear-gradient(0deg,rgba(78,26,22,.92) 0%,rgba(52,30,40,.80) 38%,rgba(20,43,69,.72) 72%,rgba(14,32,54,.70) 100%)}
.page-hero{border-bottom:4px solid var(--brand-red)}

/* ---------- Logo: larger mark in the header (19 Nov 2026) ---------- */
:root{--header-h:96px}
.site-header .brand{gap:14px;font-size:25px}
.site-header .brand img{width:74px!important;height:74px!important;max-width:none;max-height:none;box-shadow:0 0 0 2px #ffffff40,0 6px 16px -6px #0008}
.site-header .brand-sub{font-size:13.5px}
@media(max-width:1100px){
  :root{--header-h:80px}
  .site-header .brand{gap:11px;font-size:21px}
  .site-header .brand img{width:58px!important;height:58px!important}
  .site-header .brand-sub{font-size:11px}
}
@media(max-width:420px){
  :root{--header-h:74px}
  .site-header .brand img{width:52px!important;height:52px!important}
  .site-header .brand{font-size:19px}
}
