/* ==========================================================================
   Mining News Ltd — Corporate theme
   Design tokens are derived from the official logo:
   block navy-black #12121C, signal red #D92F30, white type.
   ========================================================================== */

:root {
  /* Brand */
  --ink: #0A0A10;          /* deepest surface */
  --navy: #12121C;         /* logo block */
  --navy-2: #1B1B2A;       /* raised dark surface */
  --navy-3: #26263A;       /* dark borders */
  --red: #D92F30;          /* logo band */
  --red-deep: #B4292E;
  --white: #FFFFFF;
  --paper: #F3F2EE;        /* warm light section */
  --stone: #8B8C98;        /* muted text on dark */
  --slate: #5B5D6B;        /* muted text on light */
  --line: #E1DFD9;         /* light borders */

  /* Subsidiary accent (overridden per company page) */
  --co-accent: var(--red);

  /* Type */
  --font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 11vw, 160px);
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --slow: 900ms;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--red); color: var(--white); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

.display,
.h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: .95;
  text-transform: uppercase;
}
.display { font-size: clamp(2.5rem, 6.6vw, 6.25rem); line-height: .9; }
.h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); }
.h2 { font-size: clamp(2rem, 4.4vw, 4rem); }
.h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); letter-spacing: -0.015em; line-height: 1.05; }

.statement {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.625rem, 3.1vw, 2.875rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.statement em { font-style: normal; color: var(--red); }

.lead { font-size: clamp(1.125rem, 1.4vw, 1.3125rem); line-height: 1.6; }
.muted { color: var(--slate); }
.on-dark .muted { color: var(--stone); }

/* Eyebrow with the logo's diagonal band as marker */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-body);
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 26px; height: 10px; background: var(--red);
  clip-path: polygon(38% 0, 100% 0, 62% 100%, 0 100%);
  flex: none;
}

/* Placeholder content (to be supplied by client) */
.ph { border-bottom: 1px dashed currentColor; opacity: .75; }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--red); --btn-fg: var(--white);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  min-height: 54px; padding: 0 26px 0 28px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .9375rem; letter-spacing: .01em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: background-color .3s var(--ease), color .3s var(--ease);
  overflow: hidden; isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy);
  transform: translateX(-101%) skewX(-20deg); transform-origin: left;
  transition: transform .5s var(--ease);
  width: 130%; left: -15%;
}
.btn:hover::before { transform: translateX(0) skewX(-20deg); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--light { --btn-bg: var(--white); --btn-fg: var(--navy); }
.btn--light::before { background: var(--red); }
.btn--light:hover { color: var(--white); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); clip-path: none; }
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover { color: var(--navy); }
.on-light .btn::before, .btn--onlight::before { background: var(--navy); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: .9375rem;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.link-arrow:hover { background-size: 0 1px; background-position: right bottom; }
.link-arrow .arrow { color: var(--red); transition: transform .35s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

.arrow { width: 18px; height: 18px; flex: none; }

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

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .4s var(--ease), height .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-solid {
  background: rgba(10,10,16,.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
  --header-h: 72px;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.brand { display: block; flex: none; }
.brand img { height: 52px; width: auto; transition: height .4s var(--ease); }
.site-header.is-solid .brand img { height: 44px; }

.primary-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.primary-nav ul { display: flex; gap: clamp(20px, 2.4vw, 36px); }
.primary-nav a.nav-link {
  position: relative; font-size: .9375rem; font-weight: 500; padding: 8px 0;
  color: rgba(255,255,255,.82); transition: color .25s;
}
.primary-nav a.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.primary-nav a.nav-link:hover, .primary-nav a.nav-link[aria-current="page"] { color: var(--white); }
.primary-nav a.nav-link:hover::after, .primary-nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.primary-nav .btn { min-height: 46px; padding: 0 20px 0 22px; font-size: .875rem; }

.nav-toggle {
  display: none; width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white);
  transition: transform .4s var(--ease), opacity .3s;
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 24px; right: 20px; }
.nav-toggle span:nth-child(3) { top: 30px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; z-index: 2; }
  .primary-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 40px;
    padding: 100px var(--gutter) 48px;
    background: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
    overflow: hidden;
  }
  .primary-nav::after {
    content: ""; position: absolute; right: -10%; bottom: -5%; width: 70%; height: 45%;
    background: var(--red); clip-path: polygon(78% 0, 100% 0, 22% 100%, 0 100%); opacity: .9;
    pointer-events: none;
  }
  .nav-open .primary-nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .primary-nav ul { flex-direction: column; gap: 6px; position: relative; z-index: 1; }
  .primary-nav a.nav-link {
    font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
    font-size: clamp(2rem, 8vw, 3rem); letter-spacing: -.02em; line-height: 1.15; color: var(--white);
  }
  .primary-nav a.nav-link::after { display: none; }
  .primary-nav .btn { position: relative; z-index: 1; }
  .brand { position: relative; z-index: 2; }
}

/* --------------------------------------------------------------------------
   Surfaces
   -------------------------------------------------------------------------- */

.section { padding-block: var(--section); position: relative; }
.on-dark { background: var(--ink); color: var(--white); }
.on-navy { background: var(--navy); color: var(--white); }
.on-paper { background: var(--paper); }
.on-light { background: var(--white); }

/* Recurring motif: the diagonal band from the logo */
.band {
  position: absolute; pointer-events: none;
  background: var(--red);
  clip-path: polygon(70% 0, 100% 0, 30% 100%, 0 100%);
}

.slash-rule { display: flex; align-items: center; gap: 0; height: 12px; }
.slash-rule::before { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .18; }
.slash-rule::after {
  content: ""; width: 56px; height: 12px; background: var(--red);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */

.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  transform: scale(1.08); animation: heroZoom 2.4s var(--ease) forwards;
  filter: grayscale(.35) contrast(1.05);
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,16,.94) 0%, rgba(10,10,16,.78) 42%, rgba(10,10,16,.35) 100%),
    linear-gradient(0deg, rgba(10,10,16,.9) 0%, rgba(10,10,16,0) 45%);
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__band {
  position: absolute; z-index: -1; right: 0; bottom: 0;
  width: clamp(240px, 34vw, 600px); aspect-ratio: 1 / 1.05;
  pointer-events: none;
}
.hero__band::before {
  content: ""; position: absolute; inset: 0; background: var(--red);
  clip-path: polygon(100% 0, 100% 34%, 34% 100%, 0 100%);
  transform-origin: bottom left;
  animation: bandIn 1.4s .5s var(--ease) both;
}
@keyframes bandIn { from { clip-path: polygon(100% 100%, 100% 100%, 100% 100%, 100% 100%); } }

.hero__inner {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) + 48px); padding-bottom: 56px;
}
.hero__title { max-width: 18ch; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: block; animation: lineUp 1.1s var(--ease) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
.hero__title .line:nth-child(4) > span { animation-delay: .36s; }
.hero__title .accent { color: var(--red); }
@keyframes lineUp { from { transform: translateY(105%); } }

.hero__copy { max-width: 560px; margin-top: clamp(28px, 3vw, 40px); color: rgba(255,255,255,.8); animation: fadeUp 1s .6s var(--ease) both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; animation: fadeUp 1s .75s var(--ease) both; }
.hero .eyebrow { margin-bottom: 28px; animation: fadeUp 1s .1s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }

.hero__foot {
  border-top: 1px solid rgba(255,255,255,.12);
  animation: fadeUp 1s .9s var(--ease) both;
}
.hero__foot .wrap { display: flex; align-items: stretch; justify-content: space-between; gap: 24px; }
.hero__foot-item { display: flex; align-items: center; gap: 18px; padding-block: 22px; font-size: .875rem; color: rgba(255,255,255,.7); }
.hero__foot-item strong { color: var(--white); font-weight: 600; }
.hero__foot-item .idx { font-family: var(--font-display); font-weight: 800; color: var(--red); font-size: 1rem; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.scroll-cue i { display: block; width: 1px; height: 36px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--red); animation: cue 2s infinite var(--ease); }
@keyframes cue { to { top: 100%; } }

@media (max-width: 720px) {
  .hero__foot .scroll-cue { display: none; }
  .hero__band { width: 62vw; opacity: .95; }
  .hero__media::after {
    background: linear-gradient(0deg, rgba(10,10,16,.96) 10%, rgba(10,10,16,.7) 60%, rgba(10,10,16,.55) 100%);
  }
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative; background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(72px, 10vw, 140px));
  padding-bottom: clamp(56px, 7vw, 96px);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,16,.95) 0%, rgba(10,10,16,.75) 55%, rgba(10,10,16,.5) 100%); }
.page-hero .band { right: -2%; bottom: 0; width: clamp(160px, 22vw, 360px); height: 100%; z-index: -1; opacity: .95; clip-path: polygon(82% 0, 100% 0, 100% 8%, 18% 100%, 0 100%); }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { max-width: 620px; margin-top: 28px; color: rgba(255,255,255,.78); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: .8125rem; color: rgba(255,255,255,.6); margin-bottom: 32px; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--red); }

/* --------------------------------------------------------------------------
   Grid helpers
   -------------------------------------------------------------------------- */

.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 48px; }
.col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; } .col-7 { grid-column: span 7; }
.col-4 { grid-column: span 4; } .col-8 { grid-column: span 8; }
.start-7 { grid-column-start: 7; } .start-8 { grid-column-start: 8; }
@media (max-width: 900px) {
  .grid-12 > * { grid-column: 1 / -1 !important; }
}

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(48px, 6vw, 80px); flex-wrap: wrap; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 { max-width: 15ch; }
.section-head p { max-width: 440px; }

/* --------------------------------------------------------------------------
   Intro / statement
   -------------------------------------------------------------------------- */

.intro .statement { max-width: 22ch; }
.intro__aside { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.intro__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 8px; }
.intro__meta div { background: var(--white); padding: 22px 22px 20px; }
.intro__meta dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.intro__meta dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.2; }

/* --------------------------------------------------------------------------
   Pillars (business model)
   -------------------------------------------------------------------------- */

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pillar {
  position: relative; padding: 40px clamp(20px, 2.4vw, 36px) 48px 0;
  border-right: 1px solid var(--line);
}
.pillar + .pillar { padding-left: clamp(20px, 2.4vw, 36px); }
.pillar:last-child { border-right: 0; }
.pillar__num { font-family: var(--font-display); font-weight: 800; font-size: .875rem; color: var(--red); letter-spacing: .04em; }
.pillar h3 { margin: 56px 0 18px; }
.pillar p { color: var(--slate); max-width: 34ch; }
.pillar::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--red);
  transition: width .7s var(--ease);
}
.pillar + .pillar::before { left: clamp(20px, 2.4vw, 36px); }
.pillar:hover::before { width: 64px; }
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px 0 36px; }
  .pillar + .pillar::before { left: 0; }
  .pillar h3 { margin-top: 28px; }
}

.pillars--dark { border-top-color: rgba(255,255,255,.14); }
.pillars--dark .pillar { border-color: rgba(255,255,255,.14); }
.pillars--dark .pillar p { color: rgba(255,255,255,.7); }
.pillars--dark .pillar__num, .theme-company .pillars--dark .pillar::before { color: var(--co-accent); }
.theme-company .pillars--dark .pillar::before { background: var(--co-accent); }

/* --------------------------------------------------------------------------
   Group structure diagram
   -------------------------------------------------------------------------- */

.structure { margin-top: clamp(64px, 8vw, 112px); }
.structure__parent {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--navy); color: var(--white); padding: 28px clamp(20px, 3vw, 40px);
  overflow: hidden;
}
.structure__parent .band { right: 0; top: 0; bottom: 0; width: 160px; clip-path: polygon(60% 0, 100% 0, 100% 0, 40% 100%, 0 100%); }
.structure__parent img { height: 64px; width: auto; position: relative; }
.structure__label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.structure__parent-text { position: relative; z-index: 1; margin-right: auto; }
.structure__parent-text strong { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; letter-spacing: -.01em; }
.structure__stem { width: 1px; height: 40px; background: var(--navy); margin-left: clamp(52px, 6vw, 72px); }
.structure__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.structure__row::before { content: ""; position: absolute; top: 0; left: clamp(52px, 6vw, 72px); right: calc(33.33% - 16px + 50%); height: 1px; background: var(--navy); display: none; }
.structure__node {
  position: relative; padding: 24px 24px 26px; border: 1px solid var(--line); background: var(--white);
  min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
}
.structure__node--active { border-color: var(--navy); }
.structure__node--active::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--co-accent, var(--red)); }
.structure__node strong { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.15; }
.structure__node--future { border-style: dashed; color: var(--slate); background: transparent; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--active { color: #2E8B57; }
.status--future { color: var(--slate); }
@media (max-width: 820px) {
  .structure__row { grid-template-columns: 1fr; }
  .structure__node--future:nth-of-type(n+3) { display: none; }
  .structure__parent img { height: 52px; }
}

/* --------------------------------------------------------------------------
   Company cards (dynamic portfolio)
   -------------------------------------------------------------------------- */

.portfolio { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 24px); }
.portfolio > .co-card:first-child { grid-column: span 8; }
.portfolio > .co-card { grid-column: span 4; }
.portfolio > .co-card--future { grid-column: span 4; }
@media (max-width: 1000px) {
  .portfolio > .co-card, .portfolio > .co-card:first-child, .portfolio > .co-card--future { grid-column: 1 / -1; }
}

.co-card {
  --co-accent: var(--red);
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(440px, 46vw, 600px); overflow: hidden; isolation: isolate;
  background: var(--navy-2); color: var(--white);
}
.co-card__media { position: absolute; inset: 0; z-index: -2; }
.co-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; filter: grayscale(.5) brightness(.8); }
.co-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,10,16,.96) 0%, rgba(10,10,16,.55) 55%, rgba(10,10,16,.25) 100%); }
.co-card:hover .co-card__media img { transform: scale(1.05); filter: grayscale(0) brightness(.85); }
.co-card__body { padding: clamp(24px, 3.2vw, 48px); display: grid; gap: 20px; }
.co-card__top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 24px clamp(24px, 3.2vw, 48px); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.co-card__top .idx { font-family: var(--font-display); font-weight: 800; font-size: .9375rem; letter-spacing: 0; color: var(--white); }
.co-card__group { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.co-card__group::before { content: ""; width: 18px; height: 1px; background: var(--red); }
.co-card h3 { max-width: 14ch; }
.co-card p { max-width: 52ch; color: rgba(255,255,255,.76); }
.co-card__links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 8px; }
.co-card__corner {
  position: absolute; right: 0; bottom: 0; width: 120px; height: 120px; z-index: 0;
  background: var(--co-accent);
  clip-path: polygon(100% 100%, 100% 100%, 100% 100%);
  transition: clip-path .6s var(--ease);
}
.co-card:hover .co-card__corner { clip-path: polygon(100% 30%, 100% 100%, 30% 100%); }

.co-card--future {
  background: transparent; color: var(--white);
  border: 1px dashed rgba(255,255,255,.22);
  justify-content: space-between; padding: clamp(24px, 3.2vw, 48px);
  min-height: clamp(320px, 46vw, 600px);
}
.co-card--future::after { display: none; }
.co-card--future .plus { width: 56px; height: 56px; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; color: var(--red); transition: transform .5s var(--ease), border-color .3s; }
.co-card--future:hover .plus { transform: rotate(90deg); border-color: var(--red); }
.co-card--future p { color: var(--stone); max-width: 30ch; }

/* Subsidiary wordmark (fallback when no logo file is supplied) */
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; color: var(--co-accent); }
.wordmark__top { font-family: var(--font-display); font-weight: 800; letter-spacing: .02em; font-size: 1.5rem; }
.wordmark__bottom { font-family: var(--font-body); font-weight: 600; font-size: .875rem; letter-spacing: .02em; margin-top: 4px; }
.wordmark--lg .wordmark__top { font-size: clamp(2rem, 4vw, 3.25rem); }
.wordmark--lg .wordmark__bottom { font-size: clamp(1rem, 1.6vw, 1.375rem); margin-top: 8px; }
.co-logo { display: block; }
.co-logo img { height: 48px; width: auto; }
.co-logo--lg img { height: clamp(56px, 6vw, 84px); }
.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; }

/* --------------------------------------------------------------------------
   Featured company (split)
   -------------------------------------------------------------------------- */

.feature { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 720px; background: var(--white); }
.feature__media { position: relative; overflow: hidden; background: var(--navy); }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.03); }
.feature__badge {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  background: var(--co-surface, var(--ink)); color: var(--white);
  padding: 28px clamp(24px, 3vw, 40px); display: grid; gap: 14px; min-width: min(360px, 90%);
}
.feature__badge small { font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.feature__body { padding: clamp(48px, 7vw, 112px) clamp(24px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.feature__body .h2 { max-width: 12ch; }
.feature__list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.feature__list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; font-weight: 500; display: flex; gap: 12px; align-items: center; }
.feature__list li:nth-child(odd) { padding-right: 16px; }
.feature__list li::before { content: ""; width: 6px; height: 6px; background: var(--co-accent); transform: rotate(45deg); flex: none; }
.feature__actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 8px; }
@media (max-width: 980px) {
  .feature { grid-template-columns: 1fr; min-height: 0; }
  .feature__media { min-height: 420px; }
}
@media (max-width: 520px) { .feature__list { grid-template-columns: 1fr; } .feature__list li:nth-child(odd) { padding-right: 0; } }

/* --------------------------------------------------------------------------
   Vision & mission
   -------------------------------------------------------------------------- */

.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--navy); }
.vm__item { padding: 40px clamp(20px, 4vw, 64px) 8px 0; position: relative; }
.vm__item + .vm__item { padding-left: clamp(20px, 4vw, 64px); border-left: 1px solid var(--line); }
.vm__label { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(40px, 5vw, 72px); }
.vm__label span:first-child { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.vm__label span:last-child { font-family: var(--font-display); font-weight: 800; color: var(--red); }
.vm__item .statement { font-size: clamp(1.5rem, 2.6vw, 2.375rem); }
@media (max-width: 820px) {
  .vm { grid-template-columns: 1fr; }
  .vm__item, .vm__item + .vm__item { padding: 36px 0 48px; border-left: 0; }
  .vm__item + .vm__item { border-top: 1px solid var(--line); }
}

/* --------------------------------------------------------------------------
   Growth band
   -------------------------------------------------------------------------- */

.growth { position: relative; overflow: hidden; isolation: isolate; }
.growth__media { position: absolute; inset: 0; z-index: -2; }
.growth__media img { width: 100%; height: 120%; object-fit: cover; filter: grayscale(.6) brightness(.55); will-change: transform; }
.growth::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,16,.92), rgba(10,10,16,.6)); }
.growth .band { left: -6%; top: 0; width: clamp(120px, 16vw, 260px); height: 100%; opacity: .95; clip-path: polygon(64% 0, 100% 0, 36% 100%, 0 100%); z-index: -1; }
.growth__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: clamp(56px, 7vw, 96px); }
.growth__step {
  padding: 32px 28px 36px; background: rgba(18,18,28,.72); border-top: 2px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: border-color .4s var(--ease), transform .5s var(--ease);
}
.growth__step:hover { border-color: var(--red); transform: translateY(-4px); }
.growth__step .idx { font-family: var(--font-display); font-weight: 800; color: var(--red); font-size: .875rem; }
.growth__step h3 { margin: 40px 0 14px; }
.growth__step p { color: rgba(255,255,255,.72); font-size: 1rem; }
@media (max-width: 860px) { .growth__steps { grid-template-columns: 1fr; } .growth .band { display: none; } }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta { position: relative; overflow: hidden; background: var(--red); color: var(--white); }
.cta::before { content: ""; position: absolute; right: -4%; top: 0; bottom: 0; width: 46%; background: var(--red-deep); clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%); }
.cta .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: clamp(64px, 8vw, 112px); flex-wrap: wrap; }
.cta h2 { max-width: 16ch; }
.cta .btn { --btn-bg: var(--navy); }
.cta .btn::before { background: var(--white); }
.cta .btn:hover { color: var(--navy); }

/* --------------------------------------------------------------------------
   Content blocks (about / profile)
   -------------------------------------------------------------------------- */

.prose p + p { margin-top: 1.1em; }
.prose { color: var(--slate); max-width: 62ch; }
.on-dark .prose { color: rgba(255,255,255,.74); }

.block-title { display: grid; gap: 22px; }

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.principle { background: var(--white); padding: clamp(28px, 3.4vw, 48px); display: grid; gap: 16px; align-content: start; transition: background-color .4s var(--ease); }
.principle:hover { background: var(--paper); }
.principle .idx { font-family: var(--font-display); font-weight: 800; color: var(--red); font-size: .875rem; }
.principle p { color: var(--slate); }
@media (max-width: 720px) { .principles { grid-template-columns: 1fr; } }

.figure-tall { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy); }
.figure-tall img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); }
.figure-tall .band { right: 0; bottom: 0; width: 38%; height: 32%; clip-path: polygon(100% 0, 100% 100%, 0 100%); }

.channels { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); }
.channel { background: var(--co-surface, var(--ink)); padding: 28px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 500; transition: background-color .35s var(--ease); }
.channel:hover { background: var(--navy-2); }
.channel span { font-family: var(--font-display); font-weight: 800; font-size: .8125rem; color: var(--co-accent); }

.group-badge {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 12px 18px 12px 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  font-size: .8125rem; color: rgba(255,255,255,.8);
}
.group-badge img { height: 34px; width: auto; }

/* Company page theming */
.theme-company .page-hero .band { background: var(--co-accent); }
.theme-company .page-hero .eyebrow::before { background: var(--co-accent); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: grid; gap: 10px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 0;
  background: transparent; border: 0; border-bottom: 1px solid #C9C7C0; border-radius: 0;
  font-size: 1rem; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%2312121C' stroke-width='1.6' d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center; padding-right: 28px; cursor: pointer;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 1px 0 var(--red); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red); }
.field .error { font-size: .8125rem; color: var(--red); display: none; }
.field.is-invalid .error { display: block; }
.check { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; font-size: .875rem; color: var(--slate); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.form__submit { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form__note { font-size: .875rem; color: var(--slate); }
.form-status { grid-column: 1 / -1; padding: 18px 20px; border-left: 3px solid var(--red); background: var(--paper); font-size: .9375rem; display: none; }
.form-status.is-visible { display: block; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

.contact-card { background: var(--navy); color: var(--white); padding: clamp(28px, 3.6vw, 48px); position: relative; overflow: hidden; }
.contact-card .band { right: 0; top: 0; width: 120px; height: 120px; clip-path: polygon(40% 0, 100% 0, 100% 60%); }
.contact-card dl { display: grid; gap: 26px; margin: 32px 0 0; }
.contact-card dt { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.contact-card dd { margin: 0; font-size: 1.0625rem; }
.contact-card dd a:hover { color: var(--red); }
.contact-sub { margin-top: 16px; padding: 24px clamp(28px, 3.6vw, 48px); border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }

.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2); transition: background-color .3s, border-color .3s, color .3s;
}
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 18px; height: 18px; }
.on-light .socials a, .socials--dark a { border-color: var(--line); color: var(--navy); }
.on-light .socials a:hover, .socials--dark a:hover { color: var(--white); }

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

.site-footer { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 48px 32px; padding-block: clamp(72px, 9vw, 120px) 64px; }
.footer-brand img { height: 92px; width: auto; }
.footer-brand p { margin-top: 28px; color: var(--stone); font-size: .9375rem; max-width: 34ch; }
.footer-col h2 { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-bottom: 22px; }
.footer-col li + li { margin-top: 12px; }
.footer-col a { color: rgba(255,255,255,.86); transition: color .25s; }
.footer-col a:hover { color: var(--red); }
.footer-col address { font-style: normal; color: rgba(255,255,255,.86); display: grid; gap: 12px; }
.footer-big {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.035em;
  font-size: clamp(3rem, 12.4vw, 12.5rem); line-height: .82; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.14); white-space: nowrap; user-select: none;
  padding-bottom: .06em;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-block: 24px; font-size: .8125rem; color: var(--stone); }
.footer-bottom ul { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--white); }
.site-footer .band { right: 0; top: 0; width: clamp(120px, 18vw, 280px); height: clamp(120px, 18vw, 280px); clip-path: polygon(55% 0, 100% 0, 100% 45%); opacity: .95; }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } .footer-brand img { height: 76px; } }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .1s; }
.js [data-reveal-delay="2"] { transition-delay: .2s; }
.js [data-reveal-delay="3"] { transition-delay: .3s; }
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
}

/* --------------------------------------------------------------------------
   Client rule: no small uppercase letter-spaced labels anywhere.
   Remaining supporting labels are sentence case at normal tracking.
   -------------------------------------------------------------------------- */
.intro__meta dt, .structure__label, .status, .co-card__top, .feature__badge small,
.vm__label span:first-child, .contact-card dt, .footer-col h2, .scroll-cue,
.feature__list li, .breadcrumb {
  text-transform: none; letter-spacing: 0;
}
.intro__meta dt, .structure__label, .contact-card dt, .feature__badge small, .vm__label span:first-child { font-size: .875rem; font-weight: 500; }
.status { font-size: .875rem; font-weight: 500; }
.footer-col h2 { font-size: .9375rem; font-weight: 600; }
.co-card__top { font-size: .875rem; }
.scroll-cue { font-size: .875rem; }

/* --------------------------------------------------------------------------
   Our companies: logo cards (pattern used by large holding groups)
   Logo on a clean surface, name, one line, Visit site / More info.
   No borders, glow or photography.
   -------------------------------------------------------------------------- */
.co-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.co-item { display: flex; flex-direction: column; background: #fff; color: var(--navy); }
.co-item__logo { display: grid; place-items: center; padding: 48px 40px; background: var(--paper); min-height: 200px; }
.co-item__logo img { width: min(260px, 80%); height: auto; transition: transform .4s var(--ease); }
.co-item__logo:hover img { transform: scale(1.04); }
.co-item__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 32px; }
.co-item__name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.015em; }
.co-item__text { color: var(--slate); flex: 1; }
.co-item__links { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; margin-top: 8px; border-top: 1px solid var(--line); }
.co-item__links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; color: var(--navy); }
.co-item__links a .arrow { width: 16px; height: 16px; color: var(--red); transition: transform .3s var(--ease); }
.co-item__links a:hover { color: var(--red); }
.co-item__links a:hover .arrow { transform: translateX(3px); }

/* One company: lay the card out horizontally so the row is not left mostly empty */
.co-grid--single { grid-template-columns: 1fr; }
.co-grid--single .co-item { display: grid; grid-template-columns: 5fr 7fr; }
.co-grid--single .co-item__logo { min-height: 300px; }
.co-grid--single .co-item__body { padding: clamp(32px, 4vw, 56px); justify-content: center; }
.co-grid--single .co-item__name { font-size: clamp(1.75rem, 2.4vw, 2.25rem); }
.co-grid--single .co-item__text { flex: none; max-width: 56ch; }
.co-grid--single .co-item__links { justify-content: flex-start; gap: 40px; }

.co-list__note { margin-top: 24px; color: var(--stone); font-size: .9375rem; }
.co-list__note a { color: #fff; text-decoration: underline; text-underline-offset: 4px; margin-left: 6px; }
.co-list__note a:hover { color: var(--red); }
@media (max-width: 800px) {
  .co-grid--single .co-item { grid-template-columns: 1fr; }
  .co-grid--single .co-item__logo { min-height: 200px; }
  .co-item__body, .co-grid--single .co-item__body { padding: 28px 24px; }
}

/* --------------------------------------------------------------------------
   Media hero: crossfading slideshow (or looping reel), ticker, pause control
   -------------------------------------------------------------------------- */
.hero--media .hero__media img.hero__slide,
.hero--media .hero__media .hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero--media .hero__media img.hero__slide {
  opacity: 0; transform: scale(1.12); filter: grayscale(.2) contrast(1.05);
  animation: heroSlide calc(var(--n) * 7s) linear infinite;
  animation-delay: calc(var(--i) * 7s);
  will-change: opacity, transform;
}
.hero--media .hero__media img.hero__slide:first-child { opacity: 1; }
@keyframes heroSlide {
  0%   { opacity: 0; transform: scale(1.12); }
  5%   { opacity: 1; }
  25%  { opacity: 1; }
  31%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}
.hero--media .hero__media::after {
  background:
    linear-gradient(90deg, rgba(10,10,16,.92) 0%, rgba(10,10,16,.7) 45%, rgba(10,10,16,.3) 100%),
    linear-gradient(0deg, rgba(10,10,16,.92) 0%, rgba(10,10,16,0) 40%);
  z-index: 1;
}

.hero__play-icon { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; }

.hero__ticker { position: relative; display: flex; align-items: stretch; border-top: 1px solid rgba(255,255,255,.12); background: rgba(10,10,16,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fadeUp 1s .9s var(--ease) both; }
.hero__ticker-track { flex: 1; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.hero__ticker-track ul { display: flex; flex: none; animation: heroTicker 45s linear infinite; }
.hero__ticker-track li { display: flex; align-items: center; gap: 28px; padding: 20px 0 20px 28px; white-space: nowrap; font-size: .9375rem; font-weight: 500; color: rgba(255,255,255,.82); }
.hero__ticker-track li::after { content: ""; width: 6px; height: 6px; background: var(--red); flex: none; }
.hero__ticker-track li:first-child { color: #fff; font-weight: 600; }
@keyframes heroTicker { to { transform: translateX(-100%); } }
.hero__pause {
  flex: none; width: 60px; display: grid; grid-auto-flow: column; place-content: center; gap: 4px;
  background: transparent; border: 0; border-left: 1px solid rgba(255,255,255,.12); color: #fff; cursor: pointer;
  transition: background-color .25s;
}
.hero__pause:hover { background: rgba(255,255,255,.08); }
.hero__pause span { width: 3px; height: 14px; background: currentColor; }
.hero__pause[aria-pressed="true"] span:first-child { width: 0; height: 0; background: none; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; }
.hero__pause[aria-pressed="true"] span:last-child { display: none; }
.hero--media.is-paused .hero__media img.hero__slide,
.hero--media.is-paused .hero__ticker-track ul { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .hero--media .hero__media img.hero__slide { animation: none; opacity: 0; transform: none; }
  .hero--media .hero__media img.hero__slide:first-child { opacity: 1; }
  .hero__ticker-track ul { animation: none; }
}
.hero--media .hero__media .hero__video { filter: grayscale(.2) contrast(1.05); }

/* Hero slogan: set in mixed case as supplied by the client */
.hero__title--slogan { text-transform: none; letter-spacing: -.035em; line-height: .98; max-width: 16ch; }

/* --------------------------------------------------------------------------
   Tighter vertical rhythm site-wide, and a balanced intro layout
   -------------------------------------------------------------------------- */
:root { --section: clamp(64px, 7vw, 112px); }
.section-head { margin-bottom: clamp(36px, 4vw, 56px); }

.intro__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.intro__top .statement { max-width: 22ch; }
.intro__top .intro__aside { display: grid; gap: 20px; justify-items: start; padding-top: 0; }
.intro__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(40px, 5vw, 64px) 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro__facts > div { padding: 22px 24px 22px 0; }
.intro__facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.intro__facts dt { font-size: .875rem; color: var(--slate); margin-bottom: 6px; }
.intro__facts dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.25; }
@media (max-width: 900px) {
  .intro__top { grid-template-columns: 1fr; gap: 24px; }
  .intro__facts { grid-template-columns: 1fr 1fr; }
  .intro__facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .intro__facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Hero video pause control (ticker removed) */
.hero__pause--float {
  position: absolute; right: var(--gutter); bottom: 28px; z-index: 3;
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(10,10,16,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero--media .hero__inner { padding-bottom: 72px; }

/* --------------------------------------------------------------------------
   Section headers: heading + link on one line, description underneath.
   (Aside wrappers are flattened so their children join the header grid.)
   -------------------------------------------------------------------------- */
.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; row-gap: 16px;
  align-items: end; margin-bottom: clamp(36px, 4vw, 56px);
}
.section-head > :first-child { grid-column: 1; grid-row: 1; }
.section-head > div:not(:first-child) { display: contents; }
.section-head h2 { max-width: none; }
.section-head p { grid-column: 1; grid-row: 2; max-width: 60ch; margin: 0 !important; }
.section-head .link-arrow { grid-column: 2; grid-row: 1; justify-self: end; margin-bottom: 10px; white-space: nowrap; }
@media (max-width: 640px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .link-arrow { grid-column: 1; grid-row: 3; justify-self: start; margin-bottom: 0; }
}

/* Our companies: stronger type hierarchy and contrast */
.co-grid ~ .co-list__note, .co-list__note { color: rgba(255,255,255,.78); font-size: 1rem; }
.co-grid ~ .co-list__note a { color: #fff; font-weight: 600; }
section:has(.co-grid) .section-head p { color: rgba(255,255,255,.82); font-size: 1.125rem; line-height: 1.6; }
.co-item__name { color: var(--navy); }
.co-item__tag { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.35; color: #7A5F28; }
.co-item__text { color: #3A3C4A; font-size: 1.0625rem; line-height: 1.65; }
.co-item__links a { font-size: 1rem; }

.text-red { color: var(--red); }

/* Hero montage layers */
.hero--media .hero__media .hero__video { opacity: 0; transition: opacity 1.1s ease; }
.hero--media .hero__media .hero__video.is-active { opacity: 1; }

/* --------------------------------------------------------------------------
   Company page: "What the company does" (styled after miningsaudiarabia.com)
   Warm light background, intro + gold button left, 2x2 icon cards right.
   -------------------------------------------------------------------------- */
.co-does { background: #F7F5F3; color: var(--navy); }
.co-does__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.co-does__intro { display: grid; gap: 20px; align-content: start; }
.co-does__intro .h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); }
.co-does__tag { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: #7A5F28; }
.co-does__intro .prose { color: #3A3C4A; max-width: 52ch; }
.co-does__actions { margin-top: 8px; }
.co-does__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.co-does__card {
  background: #fff; border: 1px solid #E8E2D6; border-radius: 14px; padding: 26px 24px 28px;
  display: grid; gap: 10px; align-content: start;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.co-does__card:hover { border-color: var(--co-accent); box-shadow: 0 12px 28px rgba(14,13,11,.08); transform: translateY(-2px); }
.co-does__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(197,166,102,.16); color: #7A5F28; margin-bottom: 6px; }
.co-does__icon svg { width: 22px; height: 22px; }
.co-does__card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.25; color: var(--navy); }
.co-does__card p { color: #4A4C5A; font-size: .9375rem; line-height: 1.55; }
@media (max-width: 900px) { .co-does__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .co-does__cards { grid-template-columns: 1fr; } }

/* Company page hero: no diagonal band */
.theme-company .page-hero .band { display: none; }

/* Company page hero: image on the right half, fading into the dark behind the text,
   so the text never sits on top of the image subject (e.g. the Saudi flag). */
.theme-company .page-hero { background: #0A0A10; }
.theme-company .page-hero__media { left: 38%; }
.theme-company .page-hero__media img { object-position: 40% center; filter: none; }
.theme-company .page-hero__media::after {
  background: linear-gradient(90deg, #0A0A10 0%, rgba(10,10,16,.55) 28%, rgba(10,10,16,.05) 60%, rgba(10,10,16,.15) 100%);
}
@media (max-width: 800px) {
  .theme-company .page-hero__media { left: 0; }
  .theme-company .page-hero__media::after { background: linear-gradient(0deg, #0A0A10 15%, rgba(10,10,16,.75) 55%, rgba(10,10,16,.35) 100%); }
}
.theme-company .page-hero__media {
  left: 46%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
}
.theme-company .page-hero__media::after { background: linear-gradient(90deg, rgba(10,10,16,.35) 0%, rgba(10,10,16,0) 45%, rgba(10,10,16,.15) 100%); }
@media (max-width: 800px) {
  .theme-company .page-hero__media { left: 0; -webkit-mask-image: none; mask-image: none; }
  .theme-company .page-hero__media::after { background: linear-gradient(0deg, #0A0A10 15%, rgba(10,10,16,.75) 55%, rgba(10,10,16,.35) 100%); }
}

/* Inner page titles: mixed case like the home slogan (no heavy all-caps) */
.page-hero h1.h1 {
  text-transform: none; font-weight: 700; letter-spacing: -.025em; line-height: 1.02;
  font-size: clamp(2.5rem, 5.2vw, 4.75rem);
}

/* --------------------------------------------------------------------------
   Company page (below the hero)
   -------------------------------------------------------------------------- */
.theme-company main .h2 { text-transform: none; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; font-size: clamp(1.875rem, 3.2vw, 2.75rem); }

/* Overview: text + facts card */
.co-overview { background: #fff; }
.co-overview__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.co-overview__text { display: grid; gap: 18px; }
.co-overview__lead { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.35; color: #7A5F28; }
.co-overview__text .prose { color: #3A3C4A; font-size: 1.0625rem; max-width: 60ch; }
.co-facts { background: #F7F5F3; border: 1px solid #E8E2D6; border-radius: 14px; padding: 8px 28px; }
.co-facts dl { margin: 0; }
.co-facts dl > div { padding: 18px 0; display: grid; gap: 4px; }
.co-facts dl > div + div { border-top: 1px solid #E8E2D6; }
.co-facts dt { font-size: .875rem; color: #6B6D7A; }
.co-facts dd { margin: 0; font-weight: 600; font-size: 1.0625rem; color: var(--navy); }
.co-facts a { color: #7A5F28; text-decoration: underline; text-underline-offset: 3px; }

/* What it does: lead + channel tags (cards styled earlier) */
.co-does__lead { color: #3A3C4A; font-size: 1.0625rem; line-height: 1.6; max-width: 46ch; }
.co-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.co-chips li { padding: 8px 14px; background: #fff; border: 1px solid #E8E2D6; border-radius: 999px; font-size: .875rem; font-weight: 500; color: var(--navy); }

/* Part of the group */
.co-group { background: var(--navy); color: #fff; padding-block: clamp(56px, 6vw, 88px); }
.co-group__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.co-group__brand { display: flex; align-items: center; gap: 24px; }
.co-group__brand img { height: 72px; width: auto; flex: none; }
.co-group__brand .h3 { text-transform: none; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.2; }
.co-group__text { display: grid; gap: 20px; justify-items: start; }
.co-group__text p { color: rgba(255,255,255,.82); font-size: 1.0625rem; line-height: 1.65; }

/* Visit: subsidiary black + gold */
.co-visit { background: var(--co-surface); color: #fff; padding-block: clamp(64px, 7vw, 104px); }
.co-visit__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.co-visit__inner .co-logo img { height: 48px; margin-bottom: 20px; }
.co-visit__inner p { color: rgba(255,255,255,.75); margin-top: 10px; }
.co-visit__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.co-visit .socials a { border-color: rgba(197,166,102,.45); color: #fff; }
.co-visit .socials a:hover { background: var(--co-accent); border-color: var(--co-accent); color: var(--co-surface); }

@media (max-width: 900px) {
  .co-overview__grid, .co-group__grid { grid-template-columns: 1fr; }
}

/* Subsidiary-coloured button (gold on black for MSA) */
.btn--co { --btn-bg: var(--co-accent); --btn-fg: var(--co-surface); }
.btn--co::before { background: #fff; }
.btn--co:hover { color: var(--co-surface); }

/* --------------------------------------------------------------------------
   Company page: magazine-spread overview (cover left, story right)
   -------------------------------------------------------------------------- */
.co-spread { background: linear-gradient(180deg, #FFFFFF 0%, #FBF9F5 100%); overflow: hidden; }
.co-spread__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.co-spread__cover { position: relative; margin: 0; justify-self: center; width: min(100%, 380px); padding: 24px 0 0 24px; }
.co-spread__block { position: absolute; left: 0; top: 0; width: 78%; height: 86%; background: var(--co-accent); border-radius: 6px; opacity: .9; }
.co-spread__cover img {
  position: relative; width: 100%; height: auto; border-radius: 4px;
  transform: rotate(-3deg); box-shadow: 0 30px 60px rgba(14,13,11,.28), 0 8px 18px rgba(14,13,11,.14);
  transition: transform .6s var(--ease);
}
.co-spread__cover:hover img { transform: rotate(0deg) translateY(-6px); }
.co-spread__cover figcaption { position: relative; margin-top: 22px; font-size: .875rem; color: #6B6D7A; text-align: center; }
.co-spread__text { display: grid; gap: 18px; }
.co-spread__lead { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.35; color: #7A5F28; }
.co-spread__text .prose { color: #3A3C4A; font-size: 1.0625rem; max-width: 60ch; }
.co-spread__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 8px 0 0; border-top: 1px solid #E8E2D6; }
.co-spread__facts > div { padding: 16px 20px 16px 0; border-bottom: 1px solid #E8E2D6; }
.co-spread__facts > div:nth-child(even) { padding-left: 20px; border-left: 1px solid #E8E2D6; }
.co-spread__facts dt { font-size: .8125rem; color: #6B6D7A; margin-bottom: 4px; }
.co-spread__facts dd { margin: 0; font-weight: 600; color: var(--navy); line-height: 1.35; }
.co-spread__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 10px; }
.co-spread__actions .link-arrow { color: var(--navy); }
@media (max-width: 900px) {
  .co-spread__grid { grid-template-columns: 1fr; }
  .co-spread__cover { width: min(80%, 300px); }
}
@media (max-width: 480px) {
  .co-spread__facts { grid-template-columns: 1fr; }
  .co-spread__facts > div:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* --------------------------------------------------------------------------
   Company page: "What it does" tiles (black + gold on the warm light section)
   -------------------------------------------------------------------------- */
.co-does__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.co-does__head .co-does__lead { margin-top: 14px; }
.co-does__head .co-chips { justify-content: flex-end; }
.co-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.co-tile {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; align-content: start; gap: 12px; min-height: 300px;
  padding: 32px 26px 36px; border-radius: 16px;
  background: var(--co-surface); color: #fff;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.co-tile::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%;
  background: var(--co-accent); transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease);
}
.co-tile:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(14,13,11,.22); }
.co-tile:hover::after { transform: scaleX(1); }
.co-tile__num { position: absolute; top: 22px; right: 24px; font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(197,166,102,.6); }
.co-tile__icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; border: 1px solid rgba(197,166,102,.5); color: var(--co-accent); margin-bottom: 28px; transition: background-color .35s, color .35s; }
.co-tile__icon svg { width: 28px; height: 28px; }
.co-tile:hover .co-tile__icon { background: var(--co-accent); color: var(--co-surface); }
.co-tile h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.25; }
.co-tile p { color: rgba(255,255,255,.72); font-size: .9375rem; line-height: 1.6; }
@media (max-width: 1100px) { .co-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .co-tile { min-height: 260px; } }
@media (max-width: 900px) { .co-does__head { grid-template-columns: 1fr; } .co-does__head .co-chips { justify-content: flex-start; } }
@media (max-width: 560px) { .co-tiles { grid-template-columns: 1fr; } .co-tile { min-height: 0; } }

/* Tiles: white card, black type, gold accents; turns black on hover */
.co-tile { background: #fff; color: var(--co-surface); box-shadow: 0 1px 2px rgba(14,13,11,.06), 0 10px 30px rgba(14,13,11,.06); transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .45s var(--ease), color .45s var(--ease); }
.co-tile p { color: rgba(14,13,11,.66); transition: color .45s var(--ease); }
.co-tile__num { -webkit-text-stroke: 1px var(--co-accent); }
.co-tile__icon { border-color: var(--co-accent); color: #9A7F43; }
.co-tile:hover { background: var(--co-surface); color: #fff; box-shadow: 0 24px 48px rgba(14,13,11,.22); }
.co-tile:hover p { color: rgba(255,255,255,.72); }
.co-tile:hover .co-tile__icon { background: var(--co-accent); color: var(--co-surface); }

/* Tiles in the Mining Saudi Arabia identity (as on miningsaudiarabia.com): sand cards, charcoal type, gold icons */
.theme-company .co-does { background: #FAF7F0; }
.co-tile { background: #F2EDE2; color: #21242C; box-shadow: none; }
.co-tile p { color: #5B5A57; }
.co-tile__num { -webkit-text-stroke: 1px #C5A666; }
.co-tile__icon { border-color: #C5A666; color: #8F7439; background: rgba(197,166,102,.12); }
.co-tile::after { background: #C5A666; }
.co-tile:hover { background: #E9E1CE; color: #21242C; box-shadow: 0 18px 40px rgba(33,36,44,.12); }
.co-tile:hover p { color: #4A4945; }
.co-tile:hover .co-tile__icon { background: #C5A666; color: #21242C; }
.theme-company .co-does .co-chips li { background: #F2EDE2; border-color: #E2D8C3; color: #21242C; }

/* Company overview v3: title | text split, then a sand fact strip (MSA identity) */
.co-overview { background: #fff; padding-bottom: clamp(64px, 7vw, 104px); }
.co-overview__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px clamp(40px, 7vw, 120px); align-items: start; }
.co-overview__title { display: grid; gap: 18px; }
.co-overview__title .h2 { max-width: 12ch; }
.co-overview__lead { font-size: 1.375rem; max-width: 26ch; }
.co-overview__text { display: grid; gap: 28px; justify-items: start; padding-top: 10px; }
.co-overview__text .prose { font-size: 1.1875rem; line-height: 1.7; color: #3A3C4A; max-width: 56ch; }
.co-overview__text .prose p::first-letter { color: inherit; }
.co-facts {
  margin: clamp(48px, 6vw, 80px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #F2EDE2; border: 0; border-radius: 18px; overflow: hidden;
}
.co-facts > div { position: relative; display: grid; align-content: start; gap: 6px; padding: 30px 28px 32px; border: 0 !important; }
.co-facts > div + div::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 1px; background: #DCD1BA; }
.co-facts__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(197,166,102,.18); color: #8F7439; margin-bottom: 14px; }
.co-facts__icon svg { width: 22px; height: 22px; }
.co-facts dt { font-size: .9375rem; color: #6E6A60; }
.co-facts dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.35; color: #21242C; }
@media (max-width: 1024px) {
  .co-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-facts > div:nth-child(3)::before { display: none; }
  .co-facts > div:nth-child(n+3) { border-top: 1px solid #DCD1BA !important; }
}
@media (max-width: 860px) { .co-overview__grid { grid-template-columns: 1fr; } .co-overview__title .h2 { max-width: none; } }
@media (max-width: 520px) {
  .co-facts { grid-template-columns: 1fr; }
  .co-facts > div::before { display: none; }
  .co-facts > div + div { border-top: 1px solid #DCD1BA !important; }
  .co-facts > div { grid-template-columns: 44px 1fr; column-gap: 16px; padding: 22px; }
  .co-facts__icon { grid-row: span 2; margin: 0; }
}

/* Overview retone: site neutrals (paper / line / ink / slate) + one MSA gold hue (#C5A666) */
.co-overview { --gold: #C5A666; --gold-text: #8A6F36; --gold-icon: #9C7F45; }
.co-overview .h2 { color: var(--ink); }
.co-overview__lead { color: var(--gold-text); }
.co-overview__text .prose { color: var(--slate); }
.co-overview .link-arrow { color: var(--ink); }
.co-overview .link-arrow svg { color: var(--gold-icon); }
.co-facts { background: var(--paper); }
.co-facts > div + div::before { background: var(--line); }
.co-facts__icon { background: rgba(197,166,102,.16); color: var(--gold-icon); }
.co-facts dt { color: var(--slate); }
.co-facts dd { color: var(--ink); }
@media (max-width: 1024px) { .co-facts > div:nth-child(n+3) { border-top-color: var(--line) !important; } }
@media (max-width: 520px) { .co-facts > div + div { border-top-color: var(--line) !important; } }

/* Overview in Mining News Ltd colours: ink / paper / red */
.co-overview { --gold-text: var(--red-deep); --gold-icon: var(--red); }
.co-facts__icon { background: rgba(217,47,48,.10); color: var(--red); }
.co-overview { padding-bottom: var(--section); }
.intro + .section.on-light { padding-top: 0; }

/* Growth cards: grow on hover instead of showing a red top bar */
.growth__step { border-top: 0; border-radius: 4px; transform-origin: center; transition: transform .5s var(--ease), background-color .4s var(--ease), box-shadow .5s var(--ease); }
.growth__step:hover { transform: scale(1.06); background: rgba(27,27,42,.9); box-shadow: 0 24px 48px rgba(0,0,0,.4); position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .growth__step:hover { transform: none; } }
.growth__step:hover { transform: scale(1.08); background: rgba(18,18,28,.72); box-shadow: none; }
/* beat the reveal rule (.js [data-reveal].is-in) so the card really grows */
.js .growth__step.is-in { transition: opacity var(--slow) var(--ease), transform .45s var(--ease); transition-delay: 0s; }
.js .growth__step.is-in:hover { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .js .growth__step.is-in:hover { transform: none; } }
.text-red { color: var(--red); }

/* --------------------------------------------------------------------------
   v2 content: bigger logo, Our Brands dropdown, services, legal pages
   -------------------------------------------------------------------------- */
:root { --header-h: 100px; }
.brand img { height: 72px; }
.site-header.is-solid { --header-h: 80px; }
.site-header.is-solid .brand img { height: 56px; }
@media (max-width: 980px) { :root { --header-h: 84px; } .brand img { height: 58px; } .site-header.is-solid .brand img { height: 48px; } }

/* Dropdown under "Our Brands" */
.primary-nav .has-sub { position: relative; }
.primary-nav .has-sub > .nav-link { display: inline-flex; align-items: center; gap: 6px; }
.primary-nav .has-sub > .nav-link::before {
  content: ""; order: 2; width: 7px; height: 7px; margin-top: -3px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg);
}
.primary-nav ul.sub-nav {
  position: absolute; top: 100%; left: -18px; min-width: 240px; padding: 10px; margin-top: 10px;
  display: block; background: rgba(10,10,16,.97); border-top: 2px solid var(--red);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.primary-nav ul.sub-nav::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.primary-nav .has-sub:hover > ul.sub-nav, .primary-nav .has-sub:focus-within > ul.sub-nav { opacity: 1; visibility: visible; transform: none; }
.primary-nav ul.sub-nav a { display: block; padding: 12px 14px; font-size: .9375rem; font-weight: 500; color: rgba(255,255,255,.86); white-space: nowrap; transition: background-color .2s, color .2s; }
.primary-nav ul.sub-nav a:hover, .primary-nav ul.sub-nav a[aria-current="page"] { background: rgba(255,255,255,.06); color: #fff; }
@media (max-width: 980px) {
  .primary-nav .has-sub > .nav-link::before { display: none; }
  .primary-nav ul.sub-nav {
    position: static; opacity: 1; visibility: visible; transform: none; margin: 0 0 8px; padding: 0 0 0 4px;
    background: none; border: 0; box-shadow: none; min-width: 0;
  }
  .primary-nav ul.sub-nav a { padding: 6px 0; font-size: 1.125rem; color: rgba(255,255,255,.7); }
  .primary-nav ul.sub-nav a::before { content: "\2014\00a0"; color: var(--red); }
}

/* Services */
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service {
  padding: 36px 30px 38px; background: var(--paper); border-radius: 6px;
  transition: transform .45s var(--ease);
}
.js .service.is-in { transition: opacity var(--slow) var(--ease), transform .45s var(--ease); transition-delay: 0s; }
.js .service.is-in:hover, .service:hover { transform: translateY(-6px); }
.service__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: rgba(217,47,48,.1); color: var(--red); margin-bottom: 36px; }
.service__icon svg { width: 26px; height: 26px; }
.service h3 { margin-bottom: 12px; }
.service p { color: var(--slate); }
@media (max-width: 980px) { .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services__grid { grid-template-columns: 1fr; } .service__icon { margin-bottom: 24px; } }
.intro + .services { padding-top: 0; }

/* Legal pages */
.page-legal .page-hero { min-height: 0; padding-bottom: clamp(48px, 6vw, 80px); }
.legal { max-width: 760px; color: var(--slate); font-size: 1.0625rem; line-height: 1.7; }
.legal > * + * { margin-top: 1em; }
.legal h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.25; color: var(--ink); margin-top: 2em; }
.legal ul { padding-left: 1.25em; list-style: disc; }
.legal li + li { margin-top: .35em; }
.legal li::marker { color: var(--red); }
.legal strong { color: var(--ink); }
.legal a { color: var(--red-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal__updated { color: var(--stone); font-size: .9375rem; }
.check a { text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------------------------------
   v2.1: hero logo that shrinks into the header, services in the theme's
   numbered-hairline style, contact card icons
   -------------------------------------------------------------------------- */
.has-hero-logo .site-header .brand { align-self: flex-start; margin-top: calc(22px - 10px * var(--logo-k, 0)); }
.has-hero-logo .site-header .brand img,
.has-hero-logo .site-header.is-solid .brand img {
  height: calc(var(--logo-big) - (var(--logo-big) - 56px) * var(--logo-k, 0));
  transition: none;
}
.has-hero-logo { --logo-big: 190px; }
.has-hero-logo .hero__inner { padding-top: calc(var(--header-h) + 150px); }
@media (max-width: 980px) {
  .has-hero-logo { --logo-big: 120px; }
  .has-hero-logo .site-header .brand img, .has-hero-logo .site-header.is-solid .brand img { height: calc(var(--logo-big) - (var(--logo-big) - 48px) * var(--logo-k, 0)); }
  .has-hero-logo .site-header .brand { margin-top: calc(16px - 6px * var(--logo-k, 0)); }
  .has-hero-logo .hero__inner { padding-top: calc(var(--header-h) + 90px); }
  .has-hero-logo .nav-open .site-header .brand img { height: 48px; }
}

/* Services: same language as the pillars (hairlines, red index, uppercase titles) */
.services__grid { gap: 0; border-top: 1px solid var(--line); }
.service {
  position: relative; background: none; border-radius: 0;
  padding: 40px clamp(20px, 2.4vw, 36px) 48px;
  border-bottom: 1px solid var(--line);
}
.service:nth-child(3n + 1) { padding-left: 0; }
.service:nth-child(3n + 2), .service:nth-child(3n + 3) { border-left: 1px solid var(--line); }
.service::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--red);
  transition: width .7s var(--ease);
}
.service:nth-child(3n + 2)::before, .service:nth-child(3n + 3)::before { left: clamp(20px, 2.4vw, 36px); }
.service:hover::before { width: 64px; }
.js .service.is-in:hover, .service:hover { transform: none; }
.service__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; }
.service__num { font-family: var(--font-display); font-weight: 800; font-size: .875rem; color: var(--red); letter-spacing: .04em; }
.service__icon { width: auto; height: auto; background: none; border-radius: 0; margin: 0; color: var(--red); }
.service__icon svg { width: 28px; height: 28px; }
.service h3 { margin: 0 0 14px; }
.service p { max-width: 34ch; }
@media (max-width: 980px) {
  .service:nth-child(n) { padding: 36px clamp(20px, 2.4vw, 36px) 40px; border-left: 0; }
  .service:nth-child(2n + 1) { padding-left: 0; }
  .service:nth-child(2n) { border-left: 1px solid var(--line); }
  .service:nth-child(n)::before { left: 0; }
  .service:nth-child(2n)::before { left: clamp(20px, 2.4vw, 36px); }
}
@media (max-width: 600px) {
  .service:nth-child(n) { padding: 32px 0 36px; border-left: 0; }
  .service:nth-child(n)::before { left: 0; }
  .service__top { margin-bottom: 28px; }
}

/* Contact card sits on navy: keep its social icons white */
.contact-card .socials a { color: #fff; border-color: rgba(255,255,255,.3); }
.contact-card .socials a:hover { background: var(--red); border-color: var(--red); }

/* --------------------------------------------------------------------------
   v2.2: hero logo lives in the hero and hands over to the header logo on scroll
   -------------------------------------------------------------------------- */
/* undo the v2.1 oversized header logo */
.has-hero-logo .site-header .brand { align-self: center; margin-top: 0; }
.has-hero-logo .site-header .brand img,
.has-hero-logo .site-header.is-solid .brand img { height: 56px; }
.has-hero-logo .hero__inner { padding-top: calc(var(--header-h) + 40px); }

/* header logo fades in as the hero logo leaves */
.has-hero-logo .site-header .brand { opacity: var(--logo-k, 0); transform: translateY(calc((1 - var(--logo-k, 0)) * 10px)); }
.has-hero-logo .site-header:not(.is-solid) .brand { pointer-events: none; }
.has-hero-logo .nav-open .site-header .brand { opacity: 1; transform: none; pointer-events: auto; }

.hero__logo {
  display: block; width: auto; height: clamp(104px, 12vw, 172px);
  margin-bottom: clamp(32px, 3.6vw, 52px);
  transform-origin: left bottom;
  transform: scale(calc(1 - .3 * var(--logo-k, 0)));
  opacity: calc(1 - 1.15 * var(--logo-k, 0));
  animation: heroLogoIn 1s var(--ease) backwards;
}
@keyframes heroLogoIn { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 980px) {
  .has-hero-logo .site-header .brand img, .has-hero-logo .site-header.is-solid .brand img { height: 48px; }
  .hero__logo { height: 96px; margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) { .hero__logo { animation: none; } }

/* nav items on one line */
.primary-nav ul { align-items: center; }
.primary-nav a.nav-link { display: inline-flex; align-items: center; line-height: 1.2; }
.primary-nav .has-sub > .nav-link::before { margin-top: -4px; }

/* services: number only, no icons */
.service__top { margin-bottom: 40px; }
.hero__logo { align-self: flex-start; flex: none; }

/* --------------------------------------------------------------------------
   v2.3: hero row = logo | vertical divider | text; headline never clipped
   -------------------------------------------------------------------------- */
.hero__row {
  display: grid; grid-template-columns: auto 1px minmax(0, 1fr);
  align-items: center; column-gap: clamp(32px, 4vw, 72px);
}
.hero__logo {
  height: clamp(150px, 17vw, 260px); margin: 0;
  transform-origin: left center;
}
.hero__divider {
  align-self: stretch; width: 1px; background: rgba(255,255,255,.28);
  transform-origin: top; animation: dividerIn 1.1s .2s var(--ease) backwards;
}
@keyframes dividerIn { from { transform: scaleY(0); } }
.hero__text { min-width: 0; }
.hero__text .hero__title { font-size: clamp(2.5rem, 5.2vw, 5.25rem); max-width: none; }

/* headline: no clipping of ascenders/descenders */
.hero__title .line { overflow: visible; padding-bottom: 0; }
.hero__title--slogan { line-height: 1.06; }
.hero__title .line > span { animation-name: lineFade; }
@keyframes lineFade { from { opacity: 0; transform: translateY(28px); } }

@media (max-width: 860px) {
  .hero__row { grid-template-columns: 1fr; row-gap: 28px; }
  .hero__logo { height: 104px; }
  .hero__divider { align-self: start; width: 64px; height: 1px; transform-origin: left; animation-name: dividerInX; }
  @keyframes dividerInX { from { transform: scaleX(0); } }
}

/* Contact: phone beside the social icons, company profile request */
.contact-reach { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 8px; }
.contact-phone { font-size: 1.0625rem; font-weight: 600; color: #fff; white-space: nowrap; }
.contact-phone:hover { color: var(--red); }
.contact-profile { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px 20px; }
.contact-profile img { height: 56px; width: auto; }
.contact-profile__title { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--ink); }
.contact-profile__note { font-size: .875rem; color: var(--slate); margin-top: 2px; }
.contact-profile .btn { grid-column: 1 / -1; justify-self: start; }

/* Contact form: spam trap and Google reCAPTCHA */
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form__captcha { grid-column: 1 / -1; }
.form__captcha .error { display: none; margin-top: 8px; font-size: .8125rem; color: var(--red-deep); }
.form__captcha.is-invalid .error { display: block; }
@media (max-width: 380px) { .form__captcha .g-recaptcha { transform: scale(.9); transform-origin: left top; } }

/* --------------------------------------------------------------------------
   v2.4: hero lockup. Logo | divider | headline share one row; the logo is as
   tall as the three headline lines. Copy and buttons sit under the headline.
   -------------------------------------------------------------------------- */
.hero__row {
  --hs: clamp(2.6rem, 5vw, 5rem);           /* headline size */
  --lh: 1.06;                               /* headline line height */
  grid-template-columns: auto 1px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-items: start; column-gap: clamp(28px, 3.2vw, 56px); row-gap: 0;
}
.hero__text { display: contents; }
.hero__text .hero__title { grid-column: 3; grid-row: 1; font-size: var(--hs); line-height: var(--lh); }
.hero__copy { grid-column: 3; grid-row: 2; }
.hero__actions { grid-column: 3; grid-row: 3; }
.hero__logo {
  grid-column: 1; grid-row: 1;
  height: calc(var(--hs) * var(--lh) * 3 - var(--hs) * .2);
  margin-top: calc(var(--hs) * .1);
}
.hero__divider { grid-column: 2; grid-row: 1; align-self: stretch; background: rgba(255,255,255,.32); }

@media (max-width: 860px) {
  .hero__row { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 0; }
  .hero__logo { grid-column: 1; grid-row: 1; height: 96px; margin: 0; }
  .hero__divider { grid-column: 1; grid-row: 2; margin: 24px 0; }
  .hero__text .hero__title { grid-column: 1; grid-row: 3; }
  .hero__copy { grid-column: 1; grid-row: 4; }
  .hero__actions { grid-column: 1; grid-row: 5; }
}

/* Home: keep the small header logo visible at all times (hero logo stays too) */
.has-hero-logo .site-header .brand,
.has-hero-logo .site-header:not(.is-solid) .brand { opacity: 1; transform: none; pointer-events: auto; }

/* --------------------------------------------------------------------------
   v2.5: centered hero. Logo, short red rule, two-line headline, copy, buttons.
   -------------------------------------------------------------------------- */
.hero__inner { align-items: center; padding-top: calc(var(--header-h) + 24px); padding-bottom: 72px; }
.hero__row {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 980px; margin-inline: auto;
}
.hero__logo {
  height: clamp(120px, 12vw, 176px); margin: 0;
  transform-origin: center bottom;
}
.hero__divider {
  align-self: center; width: 56px; height: 2px; background: var(--red);
  margin: clamp(28px, 3vw, 40px) 0 clamp(24px, 2.6vw, 34px);
  transform-origin: center; animation-name: dividerInX;
}
@keyframes dividerInX { from { transform: scaleX(0); } }
.hero__text .hero__title { font-size: clamp(2.4rem, 4.8vw, 4.75rem); line-height: 1.06; max-width: none; }
.hero__title .line:nth-child(2), .hero__title .line:nth-child(3) { display: inline-block; }
.hero__title .line:nth-child(2) { margin-right: .22em; }
.hero__copy { max-width: 620px; margin-inline: auto; }
.hero__actions { justify-content: center; }
.hero--media .hero__media::after {
  background:
    radial-gradient(ellipse 70% 65% at 50% 52%, rgba(10,10,16,.68) 0%, rgba(10,10,16,.86) 100%),
    linear-gradient(0deg, rgba(10,10,16,.85) 0%, rgba(10,10,16,0) 40%);
}
@media (max-width: 860px) {
  .hero__logo { height: 96px; }
  .hero__divider { width: 44px; margin: 24px 0 22px; }
  .hero__title .line:nth-child(2) { margin-right: .2em; }
}
.hero__row > .hero__logo { align-self: center; }
.hero__title .line:nth-child(2), .hero__title .line:nth-child(2) { margin-right: 0; }

/* v2.6: same stacked hero, aligned to the left */
.hero__inner { align-items: stretch; }
.hero__row { align-items: flex-start; text-align: left; margin-inline: 0; max-width: 980px; }
.hero__row > .hero__logo { align-self: flex-start; transform-origin: left bottom; }
.hero__divider { align-self: flex-start; transform-origin: left; }
.hero__copy { margin-inline: 0; }
.hero__actions { justify-content: flex-start; }
.hero--media .hero__media::after {
  background:
    linear-gradient(90deg, rgba(10,10,16,.92) 0%, rgba(10,10,16,.74) 45%, rgba(10,10,16,.35) 100%),
    linear-gradient(0deg, rgba(10,10,16,.85) 0%, rgba(10,10,16,0) 40%);
}

/* v2.7: bigger hero logo; no small header logo at the top of the home page
   (it fades in only after the hero logo has scrolled away) */
.hero__logo { height: clamp(170px, 17vw, 250px); }
.has-hero-logo .site-header .brand,
.has-hero-logo .site-header:not(.is-solid) .brand { opacity: var(--logo-k, 0); transform: none; }
.has-hero-logo .site-header:not(.is-solid) .brand { pointer-events: none; }
.has-hero-logo .nav-open .site-header .brand { opacity: 1; pointer-events: auto; }
@media (max-width: 860px) { .hero__logo { height: 128px; } }

/* v1.4.2: v1.3.9 hero without the red dash */
.hero__divider { display: none; }
.hero__logo { margin-bottom: clamp(36px, 3.6vw, 52px); }
@media (max-width: 860px) { .hero__logo { margin-bottom: 32px; } }
/* "Ecosystem" on its own line */
.hero__title .line:nth-child(2), .hero__title .line:nth-child(3) { display: block; }
/* v1.4.4: logo on the left, text on the right (no divider) */
.hero__row {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center;
  column-gap: clamp(48px, 5.5vw, 104px); max-width: none; width: 100%;
}
.hero__row > .hero__logo { grid-column: 1; grid-row: 1; height: clamp(200px, 18vw, 280px); margin: 0; align-self: center; transform-origin: left center; }
.hero__text { display: block; grid-column: 2; grid-row: 1; min-width: 0; }
.hero__text .hero__title { grid-column: auto; grid-row: auto; }
.hero__copy, .hero__actions { grid-column: auto; grid-row: auto; }
@media (max-width: 860px) {
  .hero__row { grid-template-columns: 1fr; row-gap: 32px; }
  .hero__row > .hero__logo { height: 120px; }
  .hero__text { grid-column: 1; grid-row: 2; }
}
/* v1.4.5: logo and text aligned at the top */
.hero__row { align-items: start; }
.hero__row > .hero__logo { align-self: start; margin-top: .12em; }
.hero__row .hero__text .hero__title { margin-top: 0; }
.hero__row > .hero__logo { margin-top: calc(clamp(2.4rem, 4.8vw, 4.75rem) * .145); }
@media (max-width: 860px) { .hero__row > .hero__logo { margin-top: 0; } }
/* v1.4.6: small header logo always visible on the home page too */
.has-hero-logo .site-header .brand,
.has-hero-logo .site-header:not(.is-solid) .brand { opacity: 1; transform: none; pointer-events: auto; }
/* v1.4.7: no red line appears on hover anywhere */
.pillar::before, .service::before, .co-tile::after { display: none; }
.primary-nav a.nav-link:hover::after { transform: scaleX(0); }
.primary-nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.growth__step:hover { border-color: transparent; }
/* v1.4.9: mask reveal clips the child, so IntersectionObserver can still see the wrapper */
.js [data-reveal="mask"] { clip-path: none; }
.js [data-reveal="mask"] > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.js [data-reveal="mask"].is-in > * { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .js [data-reveal="mask"] > * { clip-path: none; } }
/* Services page: what each service includes */
.service__list { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.service__list li { position: relative; padding-left: 18px; color: var(--ink); font-size: .9375rem; }
.service__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--red); }

.mn-builder-content { padding-top: var(--header-h); min-height: 60vh; }
.mn-builder-content > .elementor { width: 100%; }

/* Logged-in WordPress admin bar: push the fixed header below it */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { #wpadminbar { position: fixed; } }

/* Keep social icons visible when Elementor's global link colour loads after the theme */
body .site-footer .socials li a,
body .co-visit .socials li a { color: rgba(255,255,255,.86); display: inline-grid; place-items: center; }
body .site-footer .socials li a:hover { color: #fff; }
body .on-light .socials li a { color: var(--navy); }
body .socials li a svg { width: 18px; height: 18px; display: block; flex: none; }
body .socials li a svg[fill="currentColor"] { fill: currentColor; }
.site-footer .socials a, .co-visit .socials a { color: #fff !important; opacity: 1 !important; }
.site-footer .socials a svg, .co-visit .socials a svg { width: 18px !important; height: 18px !important; min-width: 18px; visibility: visible !important; opacity: 1 !important; }
.site-footer .socials a svg[fill="currentColor"], .co-visit .socials a svg[fill="currentColor"],
.site-footer .socials a svg[fill="currentColor"] path, .co-visit .socials a svg[fill="currentColor"] path { fill: #fff !important; }
body .contact-card .socials li a { color: #fff !important; opacity: 1 !important; display: inline-grid; place-items: center; }
body .contact-card .socials li a svg { width: 18px !important; height: 18px !important; display: block; visibility: visible !important; }
body .contact-card .socials li a svg[fill="currentColor"], body .contact-card .socials li a svg[fill="currentColor"] path { fill: #fff !important; }
body .contact-card .contact-phone { color: #fff !important; }

/* --------------------------------------------------------------------------
   Elementor templates (Mining News Elementor folder): container helpers
   -------------------------------------------------------------------------- */
.mn-builder-content:has(.mn-e-hero) { padding-top: 0; }
.mn-builder-content .e-con { --widgets-spacing: 0px; }
.mn-red { color: var(--red); }
.mn-e-num .elementor-heading-title { color: var(--red); }
.mn-e-dark, .mn-e-dark .elementor-widget-text-editor { color: rgba(255,255,255,.76); }
.mn-e-dark a:not(.elementor-button), .mn-e-card a:not(.elementor-button) { color: #fff; }
.mn-e-dark .link-arrow, .mn-e-card .link-arrow { color: #fff; }
.mn-builder-content .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.mn-builder-content .elementor-widget-text-editor .link-arrow { text-decoration: none; }
.mn-e-hero .elementor-background-video-container { opacity: 1; }
.mn-e-card { position: relative; overflow: hidden; }
.mn-e-card::after { content: ""; position: absolute; right: 0; top: 0; width: 120px; height: 120px; background: var(--red); clip-path: polygon(40% 0, 100% 0, 100% 60%); pointer-events: none; }
.mn-e-card .socials a { color: #fff !important; border-color: rgba(255,255,255,.3); }
.mn-e-service { transition: none; }
.mn-e-list ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.mn-e-list li { position: relative; padding-left: 18px; color: var(--ink); font-size: .9375rem; }
.mn-e-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--red); }
