/* ==========================================================================
   IIC Oil & Gas
   Brand tokens come from "Color Scheme.txt":
   dark grey #4b4a4e · yellow #ffdb01 · cream #f5ede2 · light grey #d8d9db
   ========================================================================== */

:root {
  /* Brand */
  --brand-grey: #4b4a4e;
  --brand-yellow: #ffdb01;
  --brand-cream: #f5ede2;
  --brand-silver: #d8d9db;

  /* Semantic */
  --bg: #faf8f4;
  --surface: #ffffff;
  --surface-alt: var(--brand-cream);
  --ink: #232225;            /* deepest shade of the brand grey, for headings */
  --text: #3b3a3e;
  --text-muted: #67666b;     /* 5.6:1 on white */
  --text-soft: #8a898e;      /* large display text only (3.4:1) */
  --border: #e4e2dd;
  --border-strong: var(--brand-silver);
  --accent: var(--brand-yellow);
  --on-accent: #232225;
  --dark: var(--brand-grey);   /* dark sections use the brand grey #4b4a4e */
  --dark-2: #59585d;
  --on-dark: #f4f3ef;
  --on-dark-muted: #d6d5d9;   /* 5.6:1 on #4b4a4e */

  /* Type */
  --font-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Barlow Condensed", "Inter Tight", sans-serif;

  /* Space (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --dur: 220ms;

  --z-header: 50;
  --z-menu: 60;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* component display rules must never override the hidden attribute */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.1; margin: 0; font-weight: 500; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--brand-yellow); outline-offset: 3px; border-radius: 4px; }
.on-light :focus-visible, .field :focus-visible { outline-color: var(--brand-grey); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--brand-yellow); color: var(--on-accent);
  padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.frame { max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: clamp(8px, 1.5vw, 20px); }
.section { padding-block: clamp(64px, 10vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* ---------- Typography helpers ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-yellow); color: var(--on-accent);
  font-size: .75rem; font-weight: 600; letter-spacing: .02em;
  padding: 4px 10px; border-radius: 6px; line-height: 1.4;
}
.chip--ghost { background: transparent; border: 1px solid currentColor; }
.chip--dark { background: var(--dark); color: var(--on-dark); }

.display {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  font-weight: 500; letter-spacing: -0.035em; line-height: 1.04;
}
.display .soft, .statement .soft { color: var(--text-soft); }
.statement {
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); font-weight: 500;
}
.lead { font-size: clamp(1rem, 1.3vw, 1.125rem); color: var(--text-muted); max-width: 56ch; }
.eyebrow { font-size: .8125rem; color: var(--text-muted); }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 6px 6px 6px 18px;
  border-radius: 10px; border: 0; font-weight: 600; font-size: .9375rem;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), transform 120ms var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn .btn__icon {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 7px;
  background: var(--brand-yellow); color: var(--on-accent);
  transition: transform var(--dur) var(--ease-out);
}
.btn:hover .btn__icon { transform: translateX(3px); }
.btn--dark { background: var(--dark); color: var(--on-dark); }
.btn--dark:hover { background: #3b3a3e; }
.btn--light { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.22); }
.btn--light:hover { background: rgba(255,255,255,.24); }
.btn--yellow { background: var(--brand-yellow); color: var(--on-accent); padding: 10px 18px; }
.btn--yellow:hover { background: #ffe53d; }
.btn--outline { background: transparent; border: 1px solid var(--border-strong); color: var(--ink); padding: 10px 18px; }
.btn--outline:hover { border-color: var(--ink); }
.btn--plain { padding: 10px 18px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .875rem; color: var(--ink); }
.link-arrow svg { transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 14px; height: 14px; }
.icon--lg { width: 24px; height: 24px; }

/* ---------- Logo (rebuilt from letterhead wordmark) ---------- */
.logo { display: inline-flex; flex-direction: column; line-height: 1; font-family: var(--font-display); text-transform: uppercase; color: var(--ink); }
.logo__top { font-weight: 600; font-size: 1.35rem; letter-spacing: .01em; }
.logo__rule { height: 1.5px; background: currentColor; margin: 3px 0 3px; }
.logo__bottom { font-weight: 400; font-size: .72rem; letter-spacing: .58em; margin-right: -.58em; }
.logo--light { color: #fff; }

/* ---------- Header / Nav (IIC Worldwide pattern, IIC Oil & Gas colours) ---------- */
:root { --nav-h: 80px; }
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  height: var(--nav-h); display: flex; align-items: center;
  transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.nav__inner { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); }
.nav__logo { display: inline-flex; align-items: center; min-height: 44px; }
.nav__logo img { height: 40px; width: auto; filter: brightness(0) invert(1); transition: filter var(--dur) var(--ease-out); }
.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__link { position: relative; font-size: .875rem; font-weight: 500; white-space: nowrap; color: rgba(255,255,255,.78); padding-block: 10px; transition: color var(--dur) var(--ease-out); }
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px; background: var(--brand-yellow); }

/* Scrolled / menu open: solid light bar */
.site-header.nav--scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(35,34,37,.1);
}
.site-header.nav--menu-open { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav--scrolled .nav__logo img, .nav--menu-open .nav__logo img { filter: none; }
.nav--scrolled .nav__link, .nav--menu-open .nav__link { color: var(--text-muted); }
.nav--scrolled .nav__link:hover, .nav--scrolled .nav__link[aria-current="page"],
.nav--menu-open .nav__link:hover, .nav--menu-open .nav__link[aria-current="page"] { color: var(--ink); }

/* Toggle (3 bars -> X) */
.nav__toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; background: none; border: 0; margin-right: -10px; }
.nav__toggle span { display: block; height: 2px; border-radius: 1px; background: #fff; transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out); }
.nav--scrolled .nav__toggle span, .nav--menu-open .nav__toggle span { background: var(--ink); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel (drops below the bar) */
.nav__mobile {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: var(--z-menu);
  background: #fff; padding: var(--s-5) var(--gutter) var(--s-6); flex-direction: column; overflow-y: auto;
}
.nav__mobile.is-open { display: flex; animation: menuIn 220ms var(--ease-out); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.nav__mobile .nav__link { display: block; font-size: 1.25rem; padding: 16px 0; color: var(--ink); border-bottom: 1px solid var(--border); }
.nav__mobile .nav__link[aria-current="page"] { font-weight: 600; }
.nav__mobile .nav__link[aria-current="page"]::after { display: none; }
.nav__mobile .nav__link[aria-current="page"]::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-yellow); margin-right: 10px; vertical-align: middle; box-shadow: 0 0 0 1px var(--brand-grey); }
.nav__mobile-foot { margin-top: auto; padding-top: var(--s-6); display: grid; gap: 6px; font-size: .9375rem; color: var(--text-muted); }
.nav__mobile-foot a { color: var(--ink); font-weight: 500; }

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__logo img { height: 34px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: min(100svh, 920px);
  overflow: hidden; color: #fff; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__video { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__media { background: #2b2c2f url("../img/hero-poster.jpg?v=2") center 40% / cover no-repeat; }
.hero__vidtoggle { position: absolute; right: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(20,20,22,.45); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color var(--dur) var(--ease-out); }
.hero__vidtoggle:hover { background: rgba(20,20,22,.7); }
.hero__vidtoggle .vt-play, .hero__vidtoggle.is-paused .vt-pause { display: none; }
.hero__vidtoggle.is-paused .vt-play { display: block; }
@media (max-width: 800px) { .hero__vidtoggle { bottom: auto; top: calc(var(--nav-h) + 8px); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,20,22,.55) 0%, rgba(20,20,22,0) 28%),
    linear-gradient(0deg, rgba(20,20,22,.85) 0%, rgba(20,20,22,.35) 45%, rgba(20,20,22,.15) 70%),
    linear-gradient(90deg, rgba(20,20,22,.35) 0%, rgba(20,20,22,0) 60%);
}
.hero__inner { width: 100%; max-width: var(--container); margin-inline: auto; padding: calc(var(--nav-h) + 24px) var(--gutter) clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--s-6); }
.hero__kicker { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: rgba(255,255,255,.85); margin-bottom: var(--s-4); }
.hero__kicker a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hero__kicker a:hover { color: var(--brand-yellow); }
.hero__kicker, .hero__aside p, .hero__sub { text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 0 18px rgba(0,0,0,.45); }
/* Toll-free badge: top-right of the hero, under the menu; soft blink */
.hero__topbar { position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--nav-h) + clamp(16px, 3vw, 40px)); max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); display: flex; justify-content: flex-end; pointer-events: none; }
.hero__tollfree { pointer-events: auto; display: inline-flex; align-items: center; gap: 16px; padding: 12px 26px 12px 12px; border-radius: 99px; background: rgba(20,20,22,.55); border: 1.5px solid rgba(255,219,1,.7); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: tollBlink 2s ease-in-out infinite; transition: background-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.hero__tollfree-icon { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-yellow); color: var(--on-accent); }
.hero__tollfree-icon .icon { width: 24px; height: 24px; stroke-width: 2; animation: phoneRing 2s ease-in-out infinite; }
.hero__tollfree-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand-yellow); animation: ringPulse 2s ease-out infinite; }
.hero__tollfree-text { display: grid; line-height: 1; gap: 6px; justify-items: center; text-align: center; }
.hero__tollfree-text small { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.hero__tollfree-text strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 2.6vw, 2.375rem); letter-spacing: .04em; color: var(--brand-yellow); }
.hero__tollfree:hover, .hero__tollfree:focus-visible { background: rgba(20,20,22,.75); transform: translateY(-2px); }
.hero__tollfree:hover, .hero__tollfree:hover *, .hero__tollfree:focus-visible, .hero__tollfree:focus-visible * { animation-play-state: paused; }
@keyframes tollBlink {
  0%, 100% { border-color: rgba(255,219,1,.45); box-shadow: 0 0 0 0 rgba(255,219,1,0); }
  50%      { border-color: rgba(255,219,1,1);   box-shadow: 0 0 28px 4px rgba(255,219,1,.4); }
}
@keyframes ringPulse { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes phoneRing { 0%, 40%, 100% { transform: rotate(0); } 5%, 15%, 25% { transform: rotate(-14deg); } 10%, 20%, 30% { transform: rotate(14deg); } }
@media (max-width: 800px) { .hero__topbar { justify-content: flex-start; } .hero__tollfree { gap: 12px; padding: 8px 20px 8px 8px; } .hero__tollfree-icon { width: 42px; height: 42px; } .hero__tollfree-text strong { font-size: 1.6rem; } }
@media (prefers-reduced-motion: reduce) { .hero__tollfree, .hero__tollfree-icon .icon, .hero__tollfree-icon::after { animation: none; } }
.hero__kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-yellow); box-shadow: 0 0 0 4px rgba(255,219,1,.25); animation: dotGlow 2.8s ease-in-out infinite; }
/* Soft glow that swells and fades; the dot itself stays still */
@keyframes dotGlow {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,219,1,.2), 0 0 0 0 rgba(255,219,1,0); }
  50%      { box-shadow: 0 0 0 4px rgba(255,219,1,.45), 0 0 14px 6px rgba(255,219,1,.55); }
}
@media (prefers-reduced-motion: reduce) { .hero__kicker .dot { animation: none; } }
.hero__title {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(3.75rem, 15vw, 13.5rem); line-height: .82; letter-spacing: -.01em; color: #fff;
  display: flex; align-items: flex-start; gap: .04em;
}
.hero__title sup { font-family: var(--font-sans); font-size: .16em; font-weight: 400; margin-top: .25em; }
.hero__sub { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .5em; font-size: clamp(.8rem, 1.6vw, 1.25rem); margin-top: 14px; color: rgba(255,255,255,.88); }
.hero__aside { max-width: 300px; display: grid; gap: var(--s-4); font-size: .875rem; color: rgba(255,255,255,.86); padding-bottom: 12px; }
@media (max-width: 800px) {
  .hero { min-height: min(88svh, 760px); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__aside { max-width: 420px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--dark); color: #fff; isolation: isolate;
  padding: clamp(120px, 16vw, 200px) 0 clamp(40px, 5vw, 64px);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20,20,22,.9), rgba(20,20,22,.2)); }
.page-hero h1 { color: #fff; font-size: clamp(2.5rem, 7vw, 5.5rem); letter-spacing: -.04em; line-height: .98; max-width: 16ch; }
.page-hero h1 .soft { color: rgba(255,255,255,.55); }
.page-hero p { color: rgba(255,255,255,.8); max-width: 56ch; margin-top: var(--s-5); font-size: 1.0625rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8125rem; color: rgba(255,255,255,.7); margin-bottom: var(--s-5); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Market prices (dark board under the hero) ---------- */
.prices { --up: #3ddc97; --down: #ff7a7a; background: var(--dark); color: var(--on-dark); padding-block: clamp(28px, 4vw, 44px); border-top: 1px solid rgba(255,255,255,.06); }
.prices__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.prices__heading { display: flex; align-items: center; gap: 12px; }
.prices__title { color: #fff; font-size: 1.125rem; font-weight: 500; letter-spacing: -.01em; }
.prices__status { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--on-dark-muted); border: 1px solid rgba(255,255,255,.14); border-radius: 99px; padding: 5px 12px; }
.prices__status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--on-dark-muted); }
.prices__status.is-live .dot { background: var(--up); box-shadow: 0 0 0 4px rgba(61,220,151,.18); animation: tickerPulse 1.8s ease-in-out infinite; }
.prices__grid { margin-top: var(--s-5); display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.price { padding: var(--s-5) var(--s-5) var(--s-5) 0; display: grid; gap: 6px; align-content: start; min-width: 0; }
.price + .price { padding-left: var(--s-5); border-left: 1px solid rgba(255,255,255,.1); }
.price__top { display: flex; align-items: center; gap: 10px; }
.price__ico { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255,219,1,.12); color: var(--brand-yellow); }
.price__name { color: #fff; font-weight: 600; font-size: .9375rem; line-height: 1.2; }
.price__sym { font-size: .75rem; color: var(--on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price__quote { position: relative; min-height: 96px; margin-inline: -8px; border-radius: 10px; }
.price__quote::before { content: ""; position: absolute; inset: 8px; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.1), rgba(255,255,255,.04)); background-size: 200% 100%; animation: priceShimmer 1.4s linear infinite; pointer-events: none; transition: opacity var(--dur) var(--ease-out); }
.price__quote.is-loaded::before, .price__quote.is-failed::before { opacity: 0; animation: none; }
@keyframes priceShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.price__quote .tradingview-widget-container { position: relative; }
.price__quote iframe { display: block; width: 100% !important; }
.price__fallback { display: none; padding: 12px 8px; font-size: .8125rem; color: var(--brand-yellow); text-decoration: underline; text-underline-offset: 3px; }
.price__quote.is-failed .price__fallback { display: inline-block; }
.prices__note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.prices__note a:hover { color: var(--brand-yellow); }
.prices__note { margin: var(--s-4) auto 0; font-size: .75rem; color: var(--on-dark-muted); max-width: 90ch; text-align: center; }
@media (max-width: 1100px) {
  .prices__grid { grid-template-columns: repeat(3, 1fr); border-bottom: 0; }
  .price { padding: var(--s-4); border-bottom: 1px solid rgba(255,255,255,.1); }
  .price + .price { border-left: 0; }
  .price:nth-child(3n+2), .price:nth-child(3n+3) { border-left: 1px solid rgba(255,255,255,.1); }
  .price:nth-child(3n+1) { padding-left: 0; }
}
@media (max-width: 640px) {
  .prices__grid { grid-template-columns: 1fr 1fr; }
  .price, .price:nth-child(n) { border-left: 0; padding: var(--s-4) var(--s-3) var(--s-4) 0; }
  .price:nth-child(2n) { border-left: 1px solid rgba(255,255,255,.1); padding-left: var(--s-4); }
  .price:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- About ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-5); position: relative; overflow: hidden; }
.stat__num { font-size: clamp(3rem, 5vw, 4.25rem); letter-spacing: -.05em; line-height: 1; color: var(--ink); font-weight: 500; }
.stat__label { margin-top: 6px; font-weight: 500; color: var(--ink); }
.card--photo { padding: 0; min-height: 340px; color: #fff; border: 0; }
.card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,20,22,.85), rgba(20,20,22,0) 60%); }
.card--photo .card__caption { position: absolute; left: var(--s-5); right: var(--s-5); bottom: var(--s-5); z-index: 1; }
.card--photo .card__caption p { font-size: 1.125rem; font-weight: 500; line-height: 1.35; }
.card--photo .card__caption small { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: rgba(255,255,255,.8); font-size: .8125rem; }
/* ---------- About: editorial rows (big figure + text) ---------- */
.about-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: clamp(32px, 4vw, 52px); border-bottom: 1px solid var(--border-strong); }
.about-row--intro { padding-top: clamp(16px, 2vw, 28px); }
.about-row--vision { grid-template-columns: minmax(0, 1fr) auto; }
.about-row__text { display: grid; gap: var(--s-5); justify-items: start; }
.about-row--intro .about-row__text .btn { justify-self: end; }
.about-big { margin: 0; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; color: #000; line-height: .8; letter-spacing: -.01em; white-space: nowrap; }
.about-row__figure .about-big { font-size: clamp(8rem, 21vw, 19rem); }
/* Video seen through the "20+" figure: a canvas paints the video only inside the
   letter shapes (JS). Until that's ready the text shows solid black as a fallback. */
.about-big--video { position: relative; display: inline-block; }
.about-big__video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.about-big__canvas { position: absolute; inset: -16px; width: calc(100% + 32px); height: calc(100% + 32px); pointer-events: none; } /* bleed so glyph edges never clip */
.about-big__mask { display: block; color: #000; }
.about-big--video.is-filled .about-big__mask { color: transparent; }
.about-big__label { margin-top: var(--s-3); font-size: clamp(1.25rem, 2.1vw, 1.875rem); font-weight: 500; letter-spacing: -.01em; color: #000; }
.about-big--word { font-size: clamp(7rem, 19.5vw, 18rem); }
.about-quote { margin: 0; font-size: clamp(1.35rem, 2.3vw, 2.125rem); line-height: 1.22; letter-spacing: -.02em; font-weight: 500; color: var(--ink); }
.about-quote .soft { color: var(--text-soft); }
/* Core values: solid brand panel (no photo) */
.values-panel { position: relative; overflow: hidden; margin-top: clamp(40px, 5vw, 64px); background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(28px, 5vw, 64px); display: grid; gap: var(--s-5); }
.values-panel::after { content: ""; position: absolute; right: 0; top: 0; width: clamp(90px, 12vw, 150px); aspect-ratio: 1; background: var(--brand-yellow); clip-path: polygon(0 0, 100% 0, 100% 100%); pointer-events: none; }
.values-panel__label { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--text-muted); }
.values-panel__label .icon { color: var(--ink); }
.values-panel__title { max-width: 26ch; color: var(--ink); font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 500; }
.values-panel__title .soft { color: inherit; }
.values-panel__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s-2); }
.values-panel__list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--border-strong); background: var(--bg); font-size: .9375rem; font-weight: 500; color: var(--ink); }
.values-panel__list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-yellow); box-shadow: 0 0 0 1px rgba(35,34,37,.35); }
@media (max-width: 960px) {
  .about-row, .about-row--vision { grid-template-columns: 1fr; }
  .about-row__figure .about-big { font-size: clamp(7rem, 34vw, 11rem); }
  .about-big--word { font-size: clamp(6rem, 30vw, 10rem); }
  .about-row--intro .about-row__text .btn { justify-self: start; }
  .about-big--word { order: -1; }
  }

.stat-strip { margin-top: var(--s-4); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.stat-strip .card { padding: var(--s-5); }
.stat-strip .stat__num { font-size: clamp(2.25rem, 3.5vw, 3rem); }
.stat-strip .stat__label { font-size: .875rem; color: var(--text-muted); font-weight: 400; }
@media (max-width: 960px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
}
/* ---------- Split section heading (title left, lead right) ---------- */
.split-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-6); align-items: end; }
.split-head .lead { justify-self: end; font-size: .9375rem; max-width: 40ch; }
@media (max-width: 960px) {
  .split-head { grid-template-columns: 1fr; }
  .split-head .lead { justify-self: start; }
}

/* ---------- Products teaser (reference "Built to perform") ---------- */
.products-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: start; }
.products-teaser__thumbs { margin-top: var(--s-7); }
.products-teaser__thumbs p { font-size: .8125rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.products-teaser__thumbs div { display: flex; gap: 10px; }
.products-teaser__thumbs img { width: 104px; height: 104px; object-fit: cover; border-radius: var(--radius-sm); }
.acc { display: grid; gap: var(--s-3); }
.acc__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.acc__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 72px; padding: var(--s-4) var(--s-5); background: none; border: 0; text-align: left; font-size: 1.0625rem; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.acc__btn small { font-size: .75rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms var(--ease-out); }
.acc__panel > div { overflow: hidden; }
.acc__body { padding: 0 var(--s-5) var(--s-5); }
.acc__item.is-open { background: var(--dark); border-color: var(--dark); }
.acc__item.is-open .acc__btn { color: #fff; font-size: 1.5rem; }
.acc__item.is-open .acc__btn small { display: none; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__body p { color: var(--on-dark-muted); font-size: .9375rem; max-width: 52ch; }
.specs { margin-top: var(--s-5); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); border-top: 1px solid rgba(255,255,255,.12); padding-top: var(--s-4); }
.specs dt { font-size: .6875rem; color: var(--on-dark-muted); display: flex; align-items: center; gap: 6px; }
.specs dt::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--brand-yellow); }
.specs dd { margin: 4px 0 0; color: #fff; font-weight: 600; font-size: .875rem; }
.acc__body .btn { margin-top: var(--s-5); }
@media (max-width: 960px) { .products-teaser { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .specs { grid-template-columns: 1fr 1fr; } }

/* ---------- Services slider (full-bleed) ---------- */
.services { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff; min-height: min(90svh, 760px); display: flex; isolation: isolate; background: var(--dark); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 500ms var(--ease-out), visibility 0s 500ms; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 500ms var(--ease-out); }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s linear; }
.slide.is-active img { transform: scale(1); }
.services::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(20,20,22,.72), rgba(20,20,22,.5) 45%, rgba(20,20,22,.78)), linear-gradient(0deg, rgba(20,20,22,.5), rgba(20,20,22,0) 40%); }
.services__ui { position: relative; z-index: 1; width: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(24px, 4vw, 48px); gap: var(--s-6); }
.services__body { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--s-6); align-items: center; }
.services__count { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.04em; font-weight: 400; color: #fff; }
.services__count .soft { color: rgba(255,255,255,.5); }
.services__text { text-shadow: 0 1px 24px rgba(0,0,0,.35); }
.services__text h3 { color: #fff; font-size: clamp(1.75rem, 3.6vw, 3rem); letter-spacing: -.035em; line-height: 1.05; }
.services__text p { margin-top: var(--s-4); color: rgba(255,255,255,.82); max-width: 52ch; }
.services__text ul { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: 8px; }
.services__text li { font-size: .8125rem; border: 1px solid rgba(255,255,255,.3); border-radius: 99px; padding: 4px 12px; }
.services__foot { display: flex; align-items: center; gap: var(--s-5); }
.progress { flex: 1; height: 2px; background: rgba(255,255,255,.22); position: relative; }
.progress span { position: absolute; left: 0; top: 0; bottom: 0; background: #fff; transition: width 400ms var(--ease-out); }
.services__nav { display: flex; gap: 8px; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
.round-btn:hover { background: rgba(255,255,255,.15); }
.round-btn--yellow { background: var(--brand-yellow); color: var(--on-accent); border-color: var(--brand-yellow); }
.round-btn--yellow:hover { background: #ffe53d; }
.services__text[data-anim] { animation: fadeUp 480ms var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 800px) {
  .services { min-height: 680px; }
  .services__body { grid-template-columns: 1fr; align-content: end; }
}

/* ---------- News (home teaser + listing) ---------- */
.news-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-5); flex-wrap: wrap; }
/* Flex rows so a last row of 1–2 cards sits centred */
.news-grid { --cols: 3; --gap: var(--s-4); margin-top: var(--s-7); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.news-card { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); position: relative; }
.news-card:hover { border-color: var(--brand-grey); transform: translateY(-3px); }
.news-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-cream); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.news-card__meta { display: flex; align-items: center; gap: 10px; font-size: .75rem; color: var(--text-muted); flex-wrap: wrap; }
.news-card__meta .chip { font-size: .6875rem; }
.news-card h3 { font-size: 1.1875rem; letter-spacing: -.015em; line-height: 1.25; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; }
.news-card p { font-size: .9375rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__foot { margin-top: auto; padding-top: var(--s-3); display: flex; justify-content: space-between; align-items: center; font-size: .8125rem; color: var(--text-muted); border-top: 1px solid var(--border); }
.news-card__foot .go { width: 36px; height: 36px; border-radius: 8px; background: var(--brand-cream); display: grid; place-items: center; color: var(--ink); transition: background-color var(--dur) var(--ease-out); }
.news-card:hover .news-card__foot .go { background: var(--brand-yellow); }

.news-card__media { position: relative; }
.news-card__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-card__badge { position: absolute; left: 14px; top: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 99px; background: rgba(20,20,22,.72); color: #fff; font-size: .75rem; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; }
.news-card__badge .icon { color: var(--brand-yellow); fill: var(--brand-yellow); }
.news-card__vidtoggle { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(20,20,22,.72); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color var(--dur) var(--ease-out); }
.news-card__vidtoggle:hover { background: var(--dark); }
.news-card__vidtoggle .vt-play, .news-card__vidtoggle.is-paused .vt-pause { display: none; }
.news-card__vidtoggle.is-paused .vt-play { display: block; }
.news-card:hover .news-card__media .news-card__video { transform: none; }
.article-video { margin: 1.8em 0; }
.article-video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #000; }
.article-video figcaption { margin-top: 10px; font-size: .875rem; color: var(--text-muted); }
.news-card--feature { flex-basis: 100%; flex-direction: row; background: var(--dark); border-color: var(--dark); color: var(--on-dark); min-height: 440px; }
.news-card--feature .news-card__media { aspect-ratio: auto; flex: 1.2; }
.news-card--feature .news-card__body { flex: 1; padding: clamp(24px, 3.5vw, 48px); gap: var(--s-4); }
.news-card--feature h3 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.4rem); letter-spacing: -.03em; line-height: 1.08; }
.news-card--feature p { color: var(--on-dark-muted); -webkit-line-clamp: 4; font-size: 1rem; }
.news-card--feature .news-card__meta { color: var(--on-dark-muted); }
.news-card--feature .news-card__foot { border-color: rgba(255,255,255,.12); color: var(--on-dark-muted); }
.news-card--feature .news-card__foot .go { background: var(--brand-yellow); }
.news-card--feature:hover { border-color: var(--brand-yellow); }

@media (max-width: 1024px) { .news-grid { --cols: 2; } }
@media (max-width: 800px) {
  .news-card--feature { flex-direction: column; }
  .news-card--feature .news-card__media { aspect-ratio: 16 / 9; flex: none; }
}
@media (max-width: 640px) { .news-grid { --cols: 1; } }

/* Home news carousel: paged, dot pagination (same pattern as the IIC Worldwide site) */
.news-carousel { flex: 0 0 100%; min-width: 0; }
.news-carousel__track { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.news-card.is-entering { animation: ncEnter 400ms ease both; }
@keyframes ncEnter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.news-carousel__dots { display: none; justify-content: center; align-items: center; gap: 4px; margin-top: var(--s-6); }
.news-carousel.is-paginated .news-carousel__dots { display: flex; }
/* 10px dot with a 32px hit area */
.news-carousel__dot { width: 32px; height: 32px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.news-carousel__dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); transition: background-color 300ms var(--ease-out), transform 300ms var(--ease-out); }
.news-carousel__dot:hover::before { background: var(--text-soft); }
.news-carousel__dot.is-active::before { background: var(--brand-yellow); transform: scale(1.3); box-shadow: 0 0 0 1px rgba(35,34,37,.25); }

.news-toolbar { margin-top: var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; align-items: center; position: sticky; top: var(--nav-h); z-index: 5; background: rgba(250,248,244,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding-block: 12px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { min-height: 40px; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--border-strong); background: var(--surface); font-size: .875rem; font-weight: 500; color: var(--ink); transition: all var(--dur) var(--ease-out); }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--dark); color: #fff; border-color: var(--dark); }
.filter .count { margin-left: 6px; font-size: .75rem; opacity: .6; }
.search { position: relative; min-width: min(320px, 100%); }
.search input { width: 100%; min-height: 44px; padding: 10px 14px 10px 42px; border-radius: 99px; border: 1px solid var(--border-strong); background: var(--surface); font-size: 1rem; }
.search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,219,1,.6); }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.news-empty { flex: 0 0 100%; text-align: center; padding: var(--s-9) var(--s-4); border: 1px dashed var(--border-strong); border-radius: var(--radius); color: var(--text-muted); }
.news-empty h3 { font-size: 1.25rem; margin-bottom: 8px; }
.news-empty button { margin-top: var(--s-4); }
.news-more { display: flex; justify-content: center; margin-top: var(--s-7); }
.results-note { font-size: .875rem; color: var(--text-muted); margin-top: var(--s-4); min-height: 1.5em; }

/* ---------- News ticker (TV-style headline crawl) ---------- */
.ticker { position: relative; display: flex; align-items: stretch; height: 52px; background: var(--dark); color: var(--on-dark); overflow: hidden; border-block: 1px solid rgba(255,255,255,.06); }
.ticker--spaced { margin-top: clamp(48px, 6vw, 80px); }
.ticker__label {
  position: relative; z-index: 2; flex: none; display: flex; align-items: center; gap: 10px;
  margin: 0; padding: 0 34px 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  background: var(--brand-yellow); color: var(--on-accent);
  font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}
.ticker__dot { width: 8px; height: 8px; border-radius: 50%; background: #b42318; animation: tickerPulse 1.6s ease-in-out infinite; }
@keyframes tickerPulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.ticker__viewport { position: relative; flex: 1; min-width: 0; overflow: hidden; margin-left: -18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.ticker__track { display: flex; width: max-content; height: 100%; animation: tickerRoll var(--ticker-dur, 60s) linear infinite; }
.ticker.is-paused .ticker__track, .ticker__track:hover, .ticker__track:focus-within { animation-play-state: paused; }
@keyframes tickerRoll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker__list { display: flex; align-items: center; height: 100%; padding-left: 40px; }
.ticker__item { display: flex; align-items: center; }
.ticker__item::after { content: ""; width: 7px; height: 7px; margin: 0 28px; background: var(--brand-yellow); transform: rotate(45deg); flex: none; }
.ticker__item a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .9375rem; font-weight: 500; white-space: nowrap; color: #fff; }
.ticker__item a:hover .ticker__title { text-decoration: underline; text-decoration-color: var(--brand-yellow); text-underline-offset: 4px; }
.ticker__cat { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-yellow); }
.ticker__date { font-size: .8125rem; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.ticker__toggle { position: relative; z-index: 2; flex: none; width: 52px; display: grid; place-items: center; border: 0; border-left: 1px solid rgba(255,255,255,.1); background: var(--dark); color: #fff; transition: background-color var(--dur) var(--ease-out); }
.ticker__toggle:hover { background: var(--dark-2); }
.ticker__toggle .ticker__play, .ticker.is-paused .ticker__toggle .ticker__pause { display: none; }
.ticker.is-paused .ticker__toggle .ticker__play { display: block; }
@media (max-width: 600px) {
  .ticker { height: 48px; }
  .ticker__label { font-size: 1rem; padding-right: 28px; }
}
/* Thin variant: slim strip under the homepage news section */
.ticker--thin { height: 34px; }
.ticker--thin .ticker__label { font-size: .8125rem; letter-spacing: .12em; padding-right: 22px; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.ticker--thin .ticker__viewport { margin-left: -12px; }
.ticker--thin .ticker__item a { min-height: 32px; font-size: .8125rem; gap: 8px; }
.ticker--thin .ticker__cat { font-size: .625rem; }
.ticker--thin .ticker__date { font-size: .75rem; }
.ticker--thin .ticker__item::after { width: 5px; height: 5px; margin: 0 20px; }
.ticker--thin .ticker__toggle { width: 34px; }
.ticker--thin .ticker__toggle .icon { width: 14px; height: 14px; }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .ticker__viewport { overflow-x: auto; }
  .ticker__toggle, .ticker__track > .ticker__list[aria-hidden] { display: none; }
  .ticker__dot { animation: none; }
}

/* ---------- Newsletter ---------- */
.newsletter { background: var(--brand-yellow); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-6); align-items: center; color: var(--on-accent); }
.newsletter h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -.035em; }
.newsletter p { margin-top: 10px; color: #3d3a20; }
.newsletter form { display: grid; gap: 10px; }
.newsletter .row { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-height: 52px; border-radius: 10px; border: 1px solid rgba(35,34,37,.25); background: #fff; padding: 0 16px; font-size: 1rem; min-width: 0; }
.newsletter input:focus { outline: 3px solid var(--dark); outline-offset: 1px; }
.newsletter .btn { min-height: 52px; }
.newsletter small { font-size: .8125rem; color: #3d3a20; }
.form-msg { font-size: .875rem; font-weight: 500; min-height: 1.4em; }
.form-msg.is-error { color: #9b1c1c; }
.form-msg.is-ok { color: #14532d; }
@media (max-width: 800px) { .newsletter { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .newsletter .row { flex-direction: column; } }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); margin-top: var(--s-7); }
.sector { padding: var(--s-5); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: grid; gap: var(--s-3); }
.sector .ico { width: 48px; height: 48px; border-radius: 10px; background: var(--brand-cream); display: grid; place-items: center; color: var(--ink); }
.sector h3 { font-size: 1.125rem; }
.sector p { font-size: .875rem; color: var(--text-muted); }
@media (max-width: 960px) { .sectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sectors { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s-6); align-items: start; }
.contact__info { display: grid; gap: var(--s-4); }
.info-row { display: flex; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--border); }
.info-row .ico { width: 44px; height: 44px; flex: none; border-radius: 10px; background: var(--brand-yellow); display: grid; place-items: center; color: var(--on-accent); }
.info-row dt { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.info-row dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; }
.info-row a:hover { text-decoration: underline; text-underline-offset: 3px; }
.map { margin-top: var(--s-4); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 10; background: var(--brand-cream); }
.map--wide { margin-top: var(--s-7); aspect-ratio: 21 / 8; max-height: 460px; width: 100%; }
@media (max-width: 760px) { .map--wide { aspect-ratio: 4 / 3; margin-top: var(--s-6); } }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(20px, 3.5vw, 40px); }
.form-card h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.form-card > p { color: var(--text-muted); margin-top: 6px; font-size: .9375rem; }
.form-grid { margin-top: var(--s-5); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.field label .req { color: #9b1c1c; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: #fff; font-size: 1rem; color: var(--ink);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,219,1,.65); }
.field .hint { font-size: .8125rem; color: var(--text-muted); }
.field .err { font-size: .8125rem; color: #9b1c1c; font-weight: 500; display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b42318; }
.field.is-invalid .err { display: block; }
.form-actions { margin-top: var(--s-5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.form-actions .form-msg { flex: 1; min-width: 200px; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Products page ---------- */
.prod-filters { margin-top: var(--s-7); }
.prod-grid { --cols: 3; --gap: var(--s-4); margin-top: var(--s-5); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.prod { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); transition: border-color var(--dur) var(--ease-out); }
.prod:hover { border-color: var(--brand-grey); }
.prod__top { display: flex; justify-content: space-between; align-items: center; }
.prod__ico { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-cream); display: grid; place-items: center; color: var(--ink); }
.prod h3 { font-size: 1.1875rem; letter-spacing: -.015em; }
.prod__std { font-size: .8125rem; color: var(--text-muted); }
.prod p { font-size: .9375rem; color: var(--text-muted); }
.prod__vol { margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: end; gap: var(--s-3); }
.prod__vol dt { font-size: .75rem; color: var(--text-muted); }
.prod__vol dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.prod .enquire { font-size: .875rem; font-weight: 600; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; background: var(--brand-yellow); border: 0; white-space: nowrap; }
.prod .enquire:hover { background: #ffe53d; }
@media (max-width: 1024px) { .prod-grid { --cols: 2; } }
@media (max-width: 620px) { .prod-grid { --cols: 1; } }

.steps { margin-top: var(--s-7); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); counter-reset: step; }
.step { padding: var(--s-5); border-radius: var(--radius); background: var(--dark-2); color: var(--on-dark); position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-size: 2.5rem; letter-spacing: -.04em; color: var(--brand-yellow); display: block; line-height: 1; margin-bottom: var(--s-5); }
.step h3 { color: #fff; font-size: 1.125rem; }
.step p { margin-top: 8px; font-size: .9375rem; color: var(--on-dark-muted); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.dark-band { background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); }
.dark-band h2 { color: #fff; }
.dark-band .lead { color: var(--on-dark-muted); }
.dark-band .display .soft { color: rgba(255,255,255,.5); }

/* ---------- Article ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.article__hero { margin-top: calc(-1 * clamp(40px, 6vw, 80px)); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; position: relative; z-index: 2; background: var(--brand-cream); }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--text); max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.625rem; margin-top: 1.8em; letter-spacing: -.02em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--brand-grey); }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-decoration-color: var(--brand-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; color: var(--ink); font-weight: 500; }
.prose blockquote { margin: 1.6em 0; padding: var(--s-5); border-left: 4px solid var(--brand-yellow); background: var(--brand-cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.125rem; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.prose th { background: var(--brand-cream); color: var(--ink); font-weight: 600; }
.prose .lede { font-size: 1.25rem; line-height: 1.55; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.article__meta { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; color: rgba(255,255,255,.8); font-size: .875rem; margin-top: var(--s-5); }
.article__side { position: sticky; top: 100px; display: grid; gap: var(--s-4); }
.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-5); }
.side-card h2 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); font-weight: 600; margin-bottom: var(--s-3); }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share a, .share button { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink); transition: all var(--dur) var(--ease-out); }
.share a:hover, .share button:hover { background: var(--brand-yellow); border-color: var(--brand-yellow); }
.toc a { display: block; padding: 6px 0; font-size: .9375rem; color: var(--text-muted); border-left: 2px solid var(--border); padding-left: 12px; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-color: var(--brand-yellow); }
.article-nav { margin-top: var(--s-8); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.article-nav a { padding: var(--s-5); border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); display: grid; gap: 6px; transition: border-color var(--dur) var(--ease-out); }
.article-nav a:hover { border-color: var(--brand-grey); }
.article-nav small { font-size: .75rem; color: var(--text-muted); display: flex; gap: 6px; align-items: center; }
.article-nav strong { color: var(--ink); font-weight: 500; line-height: 1.3; }
.article-nav a:last-child { text-align: right; }
.article-nav a:last-child small { justify-content: flex-end; }
@media (max-width: 960px) {
  .article { grid-template-columns: 1fr; }
  .article__side { position: static; }
  .toc-card { display: none; }
}
@media (max-width: 560px) { .article-nav { grid-template-columns: 1fr; } .article__hero { aspect-ratio: 4 / 3; } }

/* ---------- Footer (reference: dark block + giant wordmark) ---------- */
.site-footer { background: var(--dark); color: var(--on-dark); overflow: hidden; overflow: clip; position: relative; } /* clip: the corner stripe must not make the footer scrollable */
.footer__top, .footer__bottom { max-width: var(--container); margin-inline: auto; }
.footer__top { padding: clamp(32px, 5vw, 64px) var(--gutter) 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-6); }
.footer__col h2 { font-size: .6875rem; text-transform: uppercase; letter-spacing: .12em; color: var(--on-dark-muted); font-weight: 600; margin-bottom: 10px; }
.footer__col p, .footer__col li { font-size: .9375rem; color: #e9e8e4; }
.footer__col li + li { margin-top: 6px; }
.footer__col a:hover { color: var(--brand-yellow); }
.footer__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.footer__bottom { padding: var(--s-7) var(--gutter) var(--s-5); position: relative; }
/* Footer wordmark, mirrors the logo: name / rule / letter-spaced subtitle */
.footer__mark { position: relative; margin: 0; display: inline-grid; justify-self: start; align-self: start; padding-right: 3.2rem; font-family: var(--font-display); text-transform: uppercase; color: #fff; }
.footer__mark-name { font-weight: 600; font-size: clamp(3.5rem, 6.4vw, 5.75rem); line-height: .85; letter-spacing: -.005em; white-space: nowrap; }
.footer__mark-rule { height: 3px; background: currentColor; margin: .45rem 0 .5rem; }
.footer__mark-sub { display: flex; justify-content: space-between; font-weight: 400; font-size: clamp(1.05rem, 1.95vw, 1.75rem); line-height: 1; }
.footer__mark-sub .sp { width: 0; margin-left: -.35em; }
.footer__mark .yr { position: absolute; top: .1rem; right: 0; font-family: var(--font-sans); font-size: .8125rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--on-dark-muted); }
@media (max-width: 480px) { .footer__mark-name { font-size: 2.75rem; } .footer__mark-sub { font-size: .85rem; } }
.footer__legal { order: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6); font-size: .8125rem; color: var(--on-dark-muted); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.1); }
.footer__legal .crest { display: flex; align-items: center; gap: 12px; }
/* Logo tiles: identical 128x64 boxes; logo files are 112x48 canvases (@1x/2x/3x) shown pixel-exact */
.footer__legal img { width: 128px; height: 64px; box-sizing: border-box; background: #fff; border-radius: 10px; padding: 8px; flex: none; }
.crest--bank:hover p { color: #fff; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer__links a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 8px; }
.social a { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background-color var(--dur) var(--ease-out); }
.social a:hover { background: var(--brand-yellow); color: var(--on-accent); }
.footer__stripe { position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; pointer-events: none; opacity: .9; }
@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; align-items: flex-start; }
}

/* Letterhead chevron motif */
.chevrons { position: absolute; pointer-events: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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


/* ==========================================================================
   Light content theme: content blocks (cards, bands, tickers, prices) are
   white with dark text. The footer and photo/video areas stay dark.
   ========================================================================== */
/* Market prices */
.prices { background: var(--surface); color: var(--text); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.prices__title { color: var(--ink); }
.prices__status { color: var(--text-muted); border-color: var(--border-strong); }
.prices__grid, .prices .price, .prices .price + .price { border-color: var(--border); }
.price__name { color: var(--ink); }
.price__sym { color: var(--text-muted); }
.price__ico { background: rgba(255,219,1,.3); color: var(--ink); }
.prices__note { color: var(--text-muted); }
.prices__note a { color: var(--ink); }
.prices__note a:hover { color: var(--ink); text-decoration-color: var(--brand-yellow); }
.price__quote::before { background: linear-gradient(90deg, rgba(35,34,37,.04), rgba(35,34,37,.09), rgba(35,34,37,.04)); background-size: 200% 100%; }

/* News tickers */
.ticker { background: var(--surface); color: var(--ink); border-block: 1px solid var(--border); }
.ticker__item a { color: var(--ink); }
.ticker__item a:hover .ticker__title { text-decoration-color: var(--ink); }
.ticker__cat { color: var(--text-muted); }
.ticker__date { color: var(--text-muted); }
.ticker__item::after { box-shadow: 0 0 0 1px rgba(35,34,37,.35); }
.ticker__toggle { background: var(--surface); color: var(--ink); border-left-color: var(--border); }
.ticker__toggle:hover { background: var(--bg); }

/* Featured news card */
.news-card--feature { background: var(--surface); border-color: var(--border); color: var(--text); }
.news-card--feature h3 { color: var(--ink); }
.news-card--feature p, .news-card--feature .news-card__meta { color: var(--text-muted); }
.news-card--feature .news-card__foot { border-color: var(--border); color: var(--text-muted); }
.news-card--feature:hover { border-color: var(--brand-grey); }

/* Products accordion (open item) */
.acc__item.is-open { background: var(--surface); border-color: var(--brand-grey); }
.acc__item.is-open .acc__btn { color: var(--ink); }
.acc__body p { color: var(--text-muted); }
.specs { border-top-color: var(--border); }
.specs dt { color: var(--text-muted); }
.specs dd { color: var(--ink); }

/* Products page: "How we trade" band + steps */
.dark-band { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.dark-band h2 { color: var(--ink); }
.dark-band .lead { color: var(--text-muted); }
.dark-band .display .soft { color: var(--text-soft); }
.step { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.step::before { color: var(--ink); }
.step h3 { color: var(--ink); }
.step p { color: var(--text-muted); }

/* ==========================================================================
   Light hero (homepage, body.hero-light): warm-white veil over the video,
   dark text. The toll-free badge stays dark for emphasis.
   ========================================================================== */
.hero-light .hero::after {
  background:
    linear-gradient(90deg, rgba(250,248,244,.78) 0%, rgba(250,248,244,.45) 38%, rgba(250,248,244,.12) 62%, rgba(250,248,244,.5) 100%),
    linear-gradient(0deg, rgba(250,248,244,.5) 0%, rgba(250,248,244,0) 40%);
}
.hero-light .hero { color: var(--ink); }
.hero-light .hero__title { color: var(--ink); }
.hero-light .hero__sub { color: var(--ink); }
.hero-light .hero__kicker { color: var(--text); }
.hero-light .hero__aside { color: var(--text); }
.hero-light .hero__kicker, .hero-light .hero__aside p, .hero-light .hero__sub { text-shadow: none; }
.hero-light .hero .btn--light { background: rgba(255,255,255,.7); color: var(--ink); border-color: rgba(35,34,37,.18); }
.hero-light .hero .btn--light:hover { background: #fff; }
.hero-light .hero__vidtoggle { background: rgba(255,255,255,.7); color: var(--ink); border-color: rgba(35,34,37,.2); }
.hero-light .hero__vidtoggle:hover { background: #fff; }
/* Menu over the light hero (before scrolling) */
.hero-light .site-header:not(.nav--scrolled):not(.nav--menu-open) .nav__logo img { filter: none; }
.hero-light .site-header:not(.nav--scrolled):not(.nav--menu-open) .nav__link { color: var(--text); }
.hero-light .site-header:not(.nav--scrolled):not(.nav--menu-open) .nav__link:hover,
.hero-light .site-header:not(.nav--scrolled):not(.nav--menu-open) .nav__link[aria-current="page"] { color: var(--ink); }
.hero-light .site-header:not(.nav--scrolled):not(.nav--menu-open) .nav__toggle span { background: var(--ink); }
