/* =====================================================================
   COMET TRADING S.A — Custom design layer
   Extends the original Webflow design system (webflow.css) for a full
   multi-page site. Reuses the EXACT brand tokens of the existing site.
   ===================================================================== */

:root {
  --navy: #0c1737;
  --navy-2: #111f47;
  --navy-glass: rgba(12, 23, 55, .72);
  --yellow: #ffc820;
  --accent: #1c42fe;
  --bg: #f4f5ff;
  --white: #fff;
  --ink: #0c1737;
  --muted: #5b6173;
  --neutral: #666;
  --line: rgba(12, 23, 55, .12);
  --line-light: rgba(255, 255, 255, .14);
  --radius: 0px;
  --maxw: 80rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Schibsted Grotesk", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); margin: 0; }

/* ---- shared layout helpers (mirror Webflow naming) ---- */
.ct-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: 5vw; padding-right: 5vw; }
.ct-container.narrow { max-width: 64rem; }
.ct-section { padding-top: 7rem; padding-bottom: 7rem; }
.ct-section.tight { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.ct-section.navy { background: var(--navy); color: var(--white); }
.ct-section.soft { background: var(--bg); }
.ct-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.ct-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--yellow); display: inline-block; }
.ct-section.navy .ct-eyebrow { color: var(--yellow); }
.ct-section.navy .ct-eyebrow::before { background: var(--yellow); }
.ct-h1 { font-size: clamp(2.6rem, 5.2vw, 4rem); font-weight: 700; line-height: 1.08; letter-spacing: -1.5px; }
.ct-h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; line-height: 1.14; letter-spacing: -1px; color: var(--navy); }
.ct-section.navy .ct-h2 { color: var(--white); }
.ct-h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 700; line-height: 1.2; letter-spacing: -.5px; }
.ct-lead { font-size: 1.18rem; line-height: 1.6; color: var(--muted); }
.ct-section.navy .ct-lead { color: rgba(255, 255, 255, .8); }
.ct-text { color: var(--muted); line-height: 1.7; }
.ct-section.navy .ct-text { color: rgba(255, 255, 255, .76); }
.ct-yellow { color: var(--yellow); }
.ct-center { text-align: center; }
.ct-maxw { max-width: 46rem; }
.ct-center .ct-maxw { margin-left: auto; margin-right: auto; }

/* ---- buttons ---- */
.ct-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: .95rem 1.7rem; border: 1px solid var(--navy);
  background: var(--navy); color: var(--white); cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.ct-btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); transform: translateY(-2px); }
.ct-btn .ar { transition: transform .3s var(--ease); }
.ct-btn:hover .ar { transform: translateX(4px); }
.ct-btn.yellow { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.ct-btn.yellow:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.ct-btn.ghost { background: transparent; color: var(--navy); }
.ct-btn.ghost:hover { background: var(--navy); color: var(--white); }
.ct-section.navy .ct-btn.ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.ct-section.navy .ct-btn.ghost:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
/* ghost button on the dark hero video — keep it visible */
.ct-hero .ct-btn.ghost { color: #fff !important; -webkit-text-fill-color: #fff !important; border-color: rgba(255,255,255,.6) !important; background: rgba(255,255,255,.1) !important; backdrop-filter: blur(2px); }
.ct-hero .ct-btn.ghost:hover { color: var(--navy) !important; -webkit-text-fill-color: var(--navy) !important; background: var(--yellow) !important; border-color: var(--yellow) !important; }
.ct-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--navy); border-bottom: 2px solid var(--yellow); padding-bottom: 2px; transition: gap .25s var(--ease); }
.ct-link:hover { gap: .85rem; }
.ct-section.navy .ct-link { color: var(--white); }

/* =====================================================================
   HEADER / NAVIGATION (multi-page, dropdowns, sticky)
   ===================================================================== */
.ct-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.ct-nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 5vw;
  height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.ct-nav.scrolled, .ct-nav.solid { background: var(--navy-glass); backdrop-filter: blur(14px); border-bottom-color: var(--line-light); }
.ct-nav.scrolled .ct-nav-inner, .ct-nav.solid .ct-nav-inner { height: 72px; }
.ct-brand { display: flex; align-items: center; gap: .6rem; }
.ct-brand img { height: 42px; width: auto; }
.ct-brand .bt { font-family: var(--font-head); font-weight: 500; color: var(--white); font-size: .8rem; letter-spacing: .12em; }
.ct-menu { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.ct-menu > li { position: relative; }
.ct-menu > li > a {
  display: flex; align-items: center; gap: .35rem; padding: .9rem 1rem;
  color: rgba(255, 255, 255, .9); font-weight: 500; font-size: .95rem; cursor: pointer;
  transition: color .2s var(--ease);
}
.ct-menu > li > a:hover, .ct-menu > li.current > a { color: var(--yellow); }
.ct-menu > li > a .chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .25s var(--ease); opacity: .8; }
.ct-menu > li:hover > a .chev { transform: rotate(225deg); margin-top: 2px; }
.ct-dropdown {
  position: absolute; top: calc(100% - 6px); left: 50%; transform: translate(-50%, 12px);
  min-width: 280px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(12, 23, 55, .35);
  opacity: 0; visibility: hidden; transition: all .3s var(--ease); padding: .6rem;
}
.ct-menu > li:hover .ct-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.ct-dropdown a { display: flex; gap: .8rem; align-items: flex-start; padding: .75rem .9rem; transition: background .2s var(--ease); }
.ct-dropdown a:hover { background: var(--bg); }
.ct-dropdown a .di { width: 34px; height: 34px; flex: none; background: var(--navy); color: var(--yellow); display: grid; place-items: center; }
.ct-dropdown a .dt { display: block; font-weight: 600; color: var(--navy); font-size: .95rem; }
.ct-dropdown a .ds { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; margin-top: 5px; }
.ct-nav-cta { display: flex; align-items: center; gap: 1rem; }
.ct-burger { display: none; width: 30px; height: 22px; position: relative; cursor: pointer; background: none; border: 0; }
.ct-burger span { position: absolute; left: 0; height: 2px; width: 100%; background: var(--white); transition: all .3s var(--ease); }
.ct-burger span:nth-child(1) { top: 0; } .ct-burger span:nth-child(2) { top: 10px; } .ct-burger span:nth-child(3) { top: 20px; }
.ct-burger.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.ct-burger.open span:nth-child(2) { opacity: 0; }
.ct-burger.open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* =====================================================================
   HERO (home — video / image slider background, Trafigura-style)
   ===================================================================== */
.ct-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.ct-hero-bg { position: absolute; inset: 0; z-index: 0; }
.ct-hero-bg .slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.6s var(--ease), transform 7s linear; }
.ct-hero-bg .slide.active { opacity: 1; transform: scale(1); }
.ct-hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.ct-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(12,23,55,.55) 0%, rgba(12,23,55,.45) 40%, rgba(12,23,55,.82) 100%); }
.ct-hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 8rem 5vw 6rem; width: 100%; }
.ct-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 700; line-height: 1.04; letter-spacing: -2px; max-width: 17ch; }
.ct-hero h1 .ct-yellow { color: var(--yellow); }
.ct-hero p { font-size: 1.25rem; line-height: 1.6; max-width: 50ch; color: rgba(255,255,255,.86); margin: 1.6rem 0 2.4rem; }
.ct-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.ct-hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,.7); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.ct-hero-scroll .mouse { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.5); border-radius: 12px; position: relative; }
.ct-hero-scroll .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; background: var(--yellow); border-radius: 2px; animation: ctwheel 1.6s infinite; }
@keyframes ctwheel { 0% { opacity: 0; top: 6px; } 30% { opacity: 1; } 100% { opacity: 0; top: 18px; } }

/* tickers / marquee of commodities */
.ct-ticker { background: var(--yellow); color: var(--navy); overflow: hidden; white-space: nowrap; }
.ct-ticker .track { display: inline-flex; gap: 3rem; padding: .85rem 0; animation: ctmarquee 28s linear infinite; font-weight: 600; font-size: .92rem; letter-spacing: .04em; }
.ct-ticker .track span { display: inline-flex; align-items: center; gap: 3rem; }
.ct-ticker .track span::after { content: "◆"; font-size: .6rem; }
@keyframes ctmarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =====================================================================
   SUB-PAGE HERO (interior pages)
   ===================================================================== */
.ct-subhero { position: relative; padding: 12rem 0 5rem; color: var(--white); background: var(--navy); overflow: hidden; }
.ct-subhero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; z-index: 0; }
.ct-subhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, var(--navy) 25%, rgba(12,23,55,.55) 100%); z-index: 1; }
.ct-subhero .ct-container { position: relative; z-index: 2; }
.ct-subhero h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -1.5px; line-height: 1.08; max-width: 18ch; }
.ct-subhero p { color: rgba(255,255,255,.82); font-size: 1.15rem; max-width: 56ch; margin-top: 1.2rem; line-height: 1.6; }
.ct-breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 1.4rem; }
.ct-breadcrumb a:hover { color: var(--yellow); }
.ct-breadcrumb .sep { opacity: .5; }

/* =====================================================================
   STATS COUNTER BAND
   ===================================================================== */
.ct-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-light); }
.ct-stats .stat { background: var(--navy); padding: 2.6rem 1.6rem; text-align: center; }
.ct-section.soft .ct-stats { background: var(--line); }
.ct-section.soft .ct-stats .stat { background: var(--white); }
.ct-stats .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--yellow); line-height: 1; letter-spacing: -1px; }
.ct-section.soft .ct-stats .num { color: var(--navy); }
.ct-stats .lab { margin-top: .6rem; font-size: .92rem; color: rgba(255,255,255,.72); }
.ct-section.soft .ct-stats .lab { color: var(--muted); }

/* =====================================================================
   GRID / CARDS
   ===================================================================== */
.ct-grid { display: grid; gap: 1.5rem; }
.ct-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.ct-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.ct-grid.c4 { grid-template-columns: repeat(4, 1fr); }

/* commodity / segment cards with image */
.ct-card { position: relative; overflow: hidden; background: var(--navy); color: var(--white); min-height: 360px; display: flex; }
.ct-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; transition: transform .8s var(--ease), opacity .5s var(--ease); }
.ct-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,23,55,.1), rgba(12,23,55,.92)); }
.ct-card:hover img { transform: scale(1.07); opacity: .75; }
.ct-card .body { position: relative; z-index: 2; margin-top: auto; padding: 1.8rem; width: 100%; }
.ct-card .k { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); font-weight: 600; }
.ct-card h3 { font-size: 1.5rem; margin: .5rem 0 .4rem; }
.ct-card .body p { color: rgba(255,255,255,.78); font-size: .92rem; line-height: 1.5; }
.ct-card .more { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-weight: 600; color: var(--white); font-size: .9rem; }
.ct-card .more .ar { color: var(--yellow); transition: transform .3s var(--ease); }
.ct-card:hover .more .ar { transform: translateX(5px); }

/* feature / icon cards */
.ct-feature { background: var(--white); border: 1px solid var(--line); padding: 2rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.ct-feature:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -28px rgba(12,23,55,.3); border-color: transparent; }
.ct-feature .ic { width: 52px; height: 52px; background: var(--navy); color: var(--yellow); display: grid; place-items: center; margin-bottom: 1.3rem; }
.ct-feature .ic svg { width: 26px; height: 26px; }
.ct-feature h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: .6rem; font-weight: 700; }
.ct-feature p { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.ct-section.navy .ct-feature { background: var(--navy-2); border-color: var(--line-light); }
.ct-section.navy .ct-feature h3 { color: var(--white); }
.ct-section.navy .ct-feature p { color: rgba(255,255,255,.72); }

/* product chips grid (reusing original product look) */
.ct-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.ct-product { background: var(--bg); border: 1px solid var(--line); transition: transform .3s var(--ease); }
.ct-product:hover { transform: translateY(-4px); }
.ct-product .ph { aspect-ratio: 4/3; overflow: hidden; }
.ct-product .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ct-product:hover .ph img { transform: scale(1.06); }
.ct-product .pt { padding: 1rem 1.1rem; font-weight: 600; color: var(--navy); font-size: .98rem; }

/* split / alternating media-text rows */
.ct-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.ct-split.rev .media { order: 2; }
.ct-split .media { position: relative; }
.ct-split .media img { width: 100%; height: 100%; object-fit: cover; }
.ct-split .media .badge { position: absolute; left: 0; top: 2rem; background: var(--yellow); color: var(--navy); padding: .8rem 1.2rem; font-weight: 700; font-family: var(--font-head); }
.ct-split .accent-bar { width: 64px; height: 6px; background: var(--yellow); margin-bottom: 1.6rem; }
.ct-split ul.ticks { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.ct-split ul.ticks li { position: relative; padding-left: 1.9rem; margin-bottom: .9rem; color: var(--muted); line-height: 1.5; }
.ct-split ul.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* =====================================================================
   TIMELINE (history / milestones)
   ===================================================================== */
.ct-timeline { position: relative; margin-top: 3rem; }
.ct-timeline::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line); }
.ct-section.navy .ct-timeline::before { background: var(--line-light); }
.ct-tl-item { position: relative; padding: 0 0 2.6rem 2.4rem; }
.ct-tl-item::before { content: ""; position: absolute; left: -7px; top: 4px; width: 14px; height: 14px; background: var(--yellow); border: 3px solid var(--navy); }
.ct-section.navy .ct-tl-item::before { border-color: var(--navy); }
.ct-tl-item .yr { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: 1.3rem; }
.ct-section.navy .ct-tl-item .yr { color: var(--yellow); }
.ct-tl-item h4 { font-size: 1.15rem; margin: .25rem 0 .4rem; color: var(--navy); }
.ct-section.navy .ct-tl-item h4 { color: var(--white); }
.ct-tl-item p { color: var(--muted); font-size: .95rem; line-height: 1.6; max-width: 52ch; }
.ct-section.navy .ct-tl-item p { color: rgba(255,255,255,.72); }

/* =====================================================================
   INTERACTIVE WORLD MAP (IMI-style)
   ===================================================================== */
.ct-map-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: stretch; }
.ct-map { position: relative; background: var(--navy-2); border: 1px solid var(--line-light); overflow: hidden; }
.ct-map svg { width: 100%; height: auto; display: block; }
.ct-map .land { fill: rgba(255,255,255,.07); stroke: rgba(255,255,255,.12); stroke-width: .5; transition: fill .3s var(--ease); }
.ct-map .land.lit { fill: rgba(255,200,32,.16); }
.ct-hub { cursor: pointer; }
.ct-hub .ring { fill: none; stroke: var(--yellow); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: cthub 2.4s ease-out infinite; }
.ct-hub .dot { fill: var(--yellow); }
.ct-hub.rep .dot { fill: #7fa0ff; }
.ct-hub.rep .ring { stroke: #7fa0ff; }
.ct-hub.active .dot, .ct-hub:hover .dot { fill: var(--white); }
@keyframes cthub { 0% { stroke-opacity: .9; transform: scale(.4); } 80%,100% { stroke-opacity: 0; transform: scale(2.6); } }
.ct-route { fill: none; stroke: rgba(255,200,32,.4); stroke-width: 1; stroke-dasharray: 4 4; }
.ct-map-panel { background: var(--navy); border: 1px solid var(--line-light); padding: 2rem; color: var(--white); display: flex; flex-direction: column; }
.ct-map-panel .pk { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); font-weight: 600; }
.ct-map-panel h3 { font-size: 1.7rem; margin: .4rem 0 .2rem; }
.ct-map-panel .role { color: rgba(255,255,255,.6); font-size: .9rem; margin-bottom: 1rem; }
.ct-map-panel p { color: rgba(255,255,255,.78); line-height: 1.6; font-size: .95rem; }
.ct-map-panel .pflag { width: 46px; height: auto; margin-bottom: 1rem; border: 1px solid var(--line-light); }
.ct-hub-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: 1.5rem; }
.ct-hub-list button { background: rgba(255,255,255,.06); border: 1px solid var(--line-light); color: rgba(255,255,255,.8); padding: .45rem .8rem; font-size: .82rem; cursor: pointer; font-family: var(--font-body); transition: all .2s var(--ease); }
.ct-hub-list button:hover, .ct-hub-list button.active { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.ct-legend { display: flex; gap: 1.5rem; margin-top: 1.4rem; font-size: .82rem; color: var(--muted); }
.ct-legend .it { display: flex; align-items: center; gap: .5rem; }
.ct-legend .it i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }

/* ---- interactive map: image-overlay variant ---- */
.ct-map { position: relative; line-height: 0; }
.ct-map > img { width: 100%; height: auto; display: block; }
.ct-map-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,23,55,.62), rgba(12,23,55,.48)); pointer-events: none; mix-blend-mode: multiply; }
.ct-map-routes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.ct-map-markers { position: absolute; inset: 0; }
.ct-hub { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; padding: 0; background: none; border: 0; cursor: pointer; line-height: 1; }
.ct-hub svg { width: 100%; height: 100%; overflow: visible; display: block; }
.ct-map-panel { line-height: 1.5; }

/* =====================================================================
   INTERACTIVE GEOGRAPHIC WORLD MAP (IMI-style)
   ===================================================================== */
.ct-imap { width: 100%; }
.ct-imap-stage {
  position: relative; width: 100%; overflow: hidden;
  background: radial-gradient(120% 120% at 50% 18%, #16264f 0%, #0c1737 60%, #080f25 100%);
  border: 1px solid var(--line-light);
  padding: 1.4rem clamp(.5rem, 2vw, 2rem);
}
.ct-world { width: 100%; height: auto; display: block; overflow: visible; }
.ct-world path { fill: #1b2c57 !important; stroke: rgba(255, 255, 255, .06); stroke-width: .4; }
.ct-world path.ct-c { transition: fill .25s var(--ease), filter .25s var(--ease); }
.ct-world path.ct-c.hq, .ct-world path.ct-c.hub { fill: var(--yellow) !important; }
.ct-world path.ct-c.rep { fill: #6b8cff !important; }
.ct-world path.ct-c.market { fill: #f0844a !important; }
.ct-world path.ct-c { cursor: pointer; outline: none; }
.ct-world path.ct-c:hover, .ct-world path.ct-c.hot { fill: #ffffff !important; filter: drop-shadow(0 0 6px rgba(255, 200, 32, .8)); }
.ct-world path.ct-c:focus-visible { filter: drop-shadow(0 0 6px rgba(255, 200, 32, .9)); }

/* country name labels written on the map */
.ct-clabel {
  fill: #fff; font-family: var(--font-body); font-weight: 600; font-size: 13px;
  paint-order: stroke; stroke: rgba(6, 12, 30, .92); stroke-width: 3.4px; stroke-linejoin: round;
  pointer-events: none; letter-spacing: .2px;
}
.ct-clabel.rep { fill: #cdd9ff; }
.ct-clabel.market { fill: #ffd9c2; }
@media (max-width: 760px) { .ct-clabel { display: none; } }

/* pulsing office pins */
.ct-pin .core { fill: var(--yellow); }
.ct-pin.rep .core { fill: #9db4ff; }
.ct-pin.market .core { fill: #ff9a5e; }
.ct-pin .halo { fill: none; stroke: var(--yellow); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: ctpin 2.6s ease-out infinite; }
.ct-pin.rep .halo { stroke: #9db4ff; }
.ct-pin.market .halo { stroke: #ff9a5e; }
.ct-pin .halo.h2 { animation-delay: 1.3s; }
@keyframes ctpin { 0% { stroke-opacity: .9; transform: scale(.35); } 75%, 100% { stroke-opacity: 0; transform: scale(3.4); } }

/* floating tooltip */
.ct-maptip {
  position: absolute; z-index: 5; display: none; left: 0; top: 0;
  width: 270px; max-width: 80%; pointer-events: none;
  background: rgba(8, 15, 37, .96); border: 1px solid rgba(255, 200, 32, .35);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); padding: 1.1rem 1.2rem;
  backdrop-filter: blur(6px);
}
.ct-maptip h4 { font-family: var(--font-head); font-size: 1.2rem; color: #fff; margin: 0 0 .5rem; letter-spacing: -.3px; }
.ct-maptip .rl { display: inline-block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: .25rem .6rem; margin-bottom: .7rem; color: var(--navy); background: var(--yellow); }
.ct-maptip .rl.rep { background: #9db4ff; }
.ct-maptip .rl.market { background: #f0844a; }
.ct-maptip p { margin: 0; color: rgba(255, 255, 255, .8); font-size: .86rem; line-height: 1.5; }

/* legend */
.ct-imap-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 1.2rem; font-size: .88rem; color: var(--muted); }
.ct-section.navy .ct-imap-legend, .ct-section.soft .ct-imap-legend { color: var(--muted); }
.ct-imap-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.ct-imap-legend i { width: 13px; height: 13px; border-radius: 50%; display: inline-block; }
.ct-imap-legend i.hq, .ct-imap-legend i.hub { background: var(--yellow); }
.ct-imap-legend i.rep { background: #6b8cff; }
.ct-imap-legend i.market { background: #f0844a; }
.ct-imap-legend em { color: var(--muted); opacity: .8; margin-left: auto; font-style: italic; }
@media (max-width: 640px) { .ct-imap-legend em { margin-left: 0; width: 100%; } }

/* =====================================================================
   METAL SPHERES (steel) — floating orbs with scroll parallax
   ===================================================================== */
.ct-spheres { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1rem, 3.2vw, 3rem); padding: 1.5rem 0; }
.ct-sphere { text-align: center; will-change: transform; }
.ct-sphere .orb {
  position: relative; border-radius: 50%; overflow: hidden; margin: 0 auto 1rem;
  box-shadow: 0 28px 46px -14px rgba(0, 0, 0, .7), inset 0 2px 6px rgba(255, 255, 255, .14);
  animation: ctfloat 7s ease-in-out infinite; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.ct-sphere .orb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ct-sphere .orb::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle at 33% 26%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 44%),
    radial-gradient(circle at 72% 84%, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 60%);
}
.ct-sphere.lg .orb { width: clamp(140px, 18vw, 210px); height: clamp(140px, 18vw, 210px); }
.ct-sphere.md .orb { width: clamp(112px, 14vw, 165px); height: clamp(112px, 14vw, 165px); }
.ct-sphere.sm .orb { width: clamp(92px, 11vw, 132px); height: clamp(92px, 11vw, 132px); }
.ct-sphere:nth-child(2n) .orb { animation-duration: 8.5s; animation-delay: -2s; }
.ct-sphere:nth-child(3n) .orb { animation-duration: 6s; animation-delay: -3.5s; }
.ct-sphere:hover .orb { animation-play-state: paused; transform: scale(1.08); box-shadow: 0 34px 60px -12px rgba(0, 0, 0, .8), inset 0 0 0 3px rgba(255, 200, 32, .6); }
.ct-sphere .lbl { display: block; color: rgba(255, 255, 255, .82); font-weight: 600; font-size: .9rem; max-width: 14rem; margin: 0 auto; line-height: 1.3; }
@keyframes ctfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .ct-sphere .orb { animation: none; } }

/* home commodity orbs (clickable category spheres) */
.ct-orbs { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: clamp(1.5rem, 4vw, 4.5rem); padding: 1rem 0; }
.ct-orb { display: block; text-align: center; text-decoration: none; will-change: transform; }
.ct-orb .orb {
  position: relative; border-radius: 50%; overflow: hidden; margin: 0 auto;
  width: clamp(150px, 16vw, 215px); height: clamp(150px, 16vw, 215px);
  box-shadow: 0 30px 50px -16px rgba(12, 23, 55, .45), inset 0 2px 6px rgba(255, 255, 255, .25);
  animation: ctfloat 7s ease-in-out infinite; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.ct-orb:nth-child(2n) .orb { animation-duration: 8.5s; animation-delay: -2.5s; }
.ct-orb:nth-child(3n) .orb { animation-duration: 6.2s; animation-delay: -1.4s; }
.ct-orb .orb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ct-orb .orb::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle at 33% 26%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 44%),
    radial-gradient(circle at 72% 84%, rgba(12, 23, 55, .55), rgba(12, 23, 55, 0) 60%);
}
.ct-orb .cap { margin-top: 1.4rem; }
.ct-orb .cap .k { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--accent); letter-spacing: .1em; }
.ct-orb .cap h3 { font-size: 1.5rem; color: var(--navy); margin: .25rem 0 .5rem; transition: color .25s var(--ease); }
.ct-orb .cap p { color: var(--muted); font-size: .9rem; line-height: 1.45; max-width: 15rem; margin: 0 auto .8rem; }
.ct-orb .cap .ex { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .9rem; color: var(--navy); border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.ct-orb .cap .ex .ar { color: var(--accent); transition: transform .3s var(--ease); }
.ct-orb:hover .orb { animation-play-state: paused; transform: scale(1.07); box-shadow: 0 36px 62px -14px rgba(12, 23, 55, .55), inset 0 0 0 4px rgba(255, 200, 32, .7); }
.ct-orb:hover .cap h3 { color: var(--accent); }
.ct-orb:hover .cap .ex .ar { transform: translateX(5px); }

/* sphere labels adapt to section background (navy vs light) */
.ct-sphere .lbl { color: var(--navy); }
.ct-section.navy .ct-sphere .lbl { color: rgba(255, 255, 255, .85); }
.ct-section.navy .ct-orb .cap h3 { color: #fff; }
.ct-section.navy .ct-orb .cap p { color: rgba(255, 255, 255, .76); }
.ct-section.navy .ct-orb .cap .ex { color: #fff; }
.ct-section.navy .ct-orb:hover .cap h3 { color: var(--yellow); }

/* dropdown icons: clean line icons + material sphere thumbnails */
.ct-dropdown a .di { transition: transform .25s var(--ease); overflow: hidden; }
.ct-dropdown a .di svg { width: 18px; height: 18px; }
.ct-dropdown a:hover .di { transform: scale(1.1); }
.ct-dropdown a .di.sphere { background: none; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 5px 12px -4px rgba(0, 0, 0, .45); }
.ct-dropdown a .di.sphere img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* big intro "hero sphere" (full material sphere + name, never cropped) */
.ct-herosphere { text-align: center; }
.ct-herosphere .orb {
  position: relative; width: min(100%, 400px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0 auto;
  box-shadow: 0 40px 70px -22px rgba(12, 23, 55, .5), inset 0 2px 8px rgba(255, 255, 255, .24);
  animation: ctfloat 8s ease-in-out infinite;
}
.ct-herosphere .orb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ct-herosphere .orb::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle at 33% 26%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 44%),
    radial-gradient(circle at 72% 84%, rgba(12, 23, 55, .5), rgba(12, 23, 55, 0) 60%);
}
.ct-herosphere .hs-name { display: block; margin-top: 1.4rem; font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; color: var(--navy); letter-spacing: -.3px; }
.ct-section.navy .ct-herosphere .hs-name { color: #fff; }

/* newsroom article cards */
.ct-newscard { overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.ct-newscard img { transition: transform .6s var(--ease); }
.ct-newscard:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -24px rgba(12, 23, 55, .35); border-color: transparent !important; }
.ct-newscard:hover img { transform: scale(1.05); }

/* more breathing room at the top of interior pages */
.ct-subhero { padding: 13.5rem 0 5.5rem; }
.ct-breadcrumb { margin-bottom: 1.9rem; }
.ct-subhero h1 { line-height: 1.14; }
.ct-subhero p { margin-top: 1.7rem; line-height: 1.7; }
.ct-lead { line-height: 1.65; }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.ct-cta { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.ct-cta .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; }
.ct-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, var(--navy), rgba(12,23,55,.7)); }
.ct-cta .inner { position: relative; z-index: 2; padding: 5.5rem 5vw; max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.ct-cta h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); max-width: 20ch; letter-spacing: -1px; }
.ct-cta .yellow-rule { width: 70px; height: 6px; background: var(--yellow); margin-bottom: 1.4rem; }

/* values blocks (Guiding values) */
.ct-value { padding: 2rem; border-top: 3px solid var(--yellow); background: var(--white); border-right: 1px solid var(--line); }
.ct-value h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: .6rem; }
.ct-value p { color: var(--muted); line-height: 1.6; font-size: .95rem; }

/* leadership / team */
.ct-person { background: var(--bg); }
.ct-person .ph { aspect-ratio: 3/4; background: var(--navy-2); overflow: hidden; }
.ct-person .ph img { width: 100%; height: 100%; object-fit: cover; }
/* initial-monogram avatar (until real photos are supplied) */
.ct-person .ph.mono { position: relative; display: grid; place-items: center; background: linear-gradient(150deg, var(--navy) 0%, #1b2c57 100%); }
.ct-person .ph.mono::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 24%, rgba(255,200,32,.14), transparent 55%); }
.ct-person .ph.mono span { position: relative; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--yellow); letter-spacing: .05em; }
.ct-person:hover .ph.mono span { transform: scale(1.06); transition: transform .3s var(--ease); }
.ct-person .meta { padding: 1.1rem 1.2rem; }
.ct-person .meta .nm { font-weight: 700; color: var(--navy); font-family: var(--font-head); }
.ct-person .meta .rl { color: var(--muted); font-size: .88rem; margin-top: .2rem; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.ct-footer { background: var(--navy); color: rgba(255,255,255,.7); position: relative; }
.ct-footer .top { max-width: var(--maxw); margin: 0 auto; padding: 5rem 5vw 3rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.ct-footer .brand img { height: 46px; margin-bottom: 1rem; }
.ct-footer .brand p { font-size: .92rem; line-height: 1.6; max-width: 34ch; }
.ct-footer h5 { color: var(--white); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; font-family: var(--font-body); }
.ct-footer ul { list-style: none; padding: 0; margin: 0; }
.ct-footer ul li { margin-bottom: .7rem; }
.ct-footer ul li a { font-size: .94rem; transition: color .2s var(--ease); }
.ct-footer ul li a:hover { color: var(--yellow); }
.ct-footer .news input { width: 100%; background: rgba(255,255,255,.06); border: 1px solid var(--line-light); color: var(--white); padding: .85rem 1rem; font-family: var(--font-body); margin-bottom: .8rem; }
.ct-footer .news input::placeholder { color: rgba(255,255,255,.45); }
.ct-footer .social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.ct-footer .social a { width: 40px; height: 40px; border: 1px solid var(--line-light); display: grid; place-items: center; transition: all .25s var(--ease); }
.ct-footer .social a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.ct-footer .social a svg { width: 18px; height: 18px; }
.ct-footer .bottom { border-top: 1px solid var(--line-light); }
.ct-footer .bottom .row { max-width: var(--maxw); margin: 0 auto; padding: 1.4rem 5vw; display: flex; justify-content: space-between; gap: 1rem; font-size: .82rem; flex-wrap: wrap; }
.ct-footer .bottom a:hover { color: var(--yellow); }

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .ct-footer .top { grid-template-columns: 1fr 1fr; }
  .ct-map-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
  .ct-menu, .ct-nav-cta .ct-btn { display: none; }
  .ct-burger { display: block; }
  .ct-nav { background: var(--navy-glass); backdrop-filter: blur(14px); }
  .ct-nav-inner { height: 70px; }
  .ct-nav.scrolled .ct-nav-inner { height: 64px; }
  .ct-grid.c3, .ct-grid.c4, .ct-products, .ct-stats { grid-template-columns: repeat(2, 1fr); }
  .ct-split { grid-template-columns: 1fr; gap: 2rem; }
  .ct-split.rev .media { order: 0; }
  .ct-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  /* mobile menu drawer */
  .ct-mobile { position: fixed; inset: 0; z-index: 999; background: var(--navy); padding: 100px 6vw 3rem; transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto; display: block; }
  .ct-mobile.open { transform: translateX(0); }
  .ct-mobile a { display: block; color: var(--white); font-family: var(--font-head); font-size: 1.4rem; padding: .9rem 0; border-bottom: 1px solid var(--line-light); }
  .ct-mobile a.sub { font-size: 1rem; padding-left: 1rem; color: rgba(255,255,255,.7); font-family: var(--font-body); }
  .ct-mobile .mh { color: var(--yellow); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 1.4rem; }
}
/* .ct-mobile is shown via the max-width:991px rule above; hidden on desktop here */
@media (min-width: 992px) { .ct-mobile { display: none !important; } }
@media (max-width: 640px) {
  .ct-grid.c2, .ct-grid.c3, .ct-grid.c4, .ct-products, .ct-stats { grid-template-columns: 1fr; }
  .ct-footer .top { grid-template-columns: 1fr; }
  .ct-cta .inner { flex-direction: column; align-items: flex-start; }
  .ct-hero h1 { letter-spacing: -1px; font-size: clamp(2rem, 8vw, 2.8rem); }
  .ct-hero p { font-size: 1.05rem; }
  .ct-hero-inner { padding-top: 6.5rem; }
}
