/* ICON Africa — custom layer on top of Tailwind.
   Tokens: Ink #16171A · Deep gold #94701F · Gold #A8822F · Brand gold #C9A04A
   Light gold #D6B25E · Sand #F8F5EE · Map sand #ECE2C8 · Teal #1FB5BA · Orange #F0562B */
html, body { overflow-x: clip; }
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}
html { scroll-behavior: smooth; }
body { font-size: 17px; line-height: 1.6; }
h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.08; font-weight: 300; letter-spacing: -0.02em; color: #16171A; margin: 0 0 1rem; }
h2 { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.2; font-weight: 300; letter-spacing: -0.015em; color: #16171A; margin: 0 0 1rem; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; margin: 0 0 0.5rem; color: #16171A; }
section { padding: clamp(64px, 8.4vw, 120px) 0; }
p { color: #45484F; }

/* dark navbar — links pure white */
#siteHeader .nav-link,
#siteHeader .nav-link:hover,
#siteHeader .nav-link.active { color: #fff; }
#siteHeader .nav-link.active { text-decoration: underline; text-decoration-color: #C9A04A; text-underline-offset: 6px; text-decoration-thickness: 2px; }
#siteHeader .icon-btn { color: #fff; }
#siteHeader .mob-link { color: #fff; }
#siteHeader .mob-sub { color: #CFC8B8; }
#siteHeader .drop a { color: #fff; }

/* motif: logo ring */
.ring { flex: none; width: 12px; height: 12px; border: 1.5px solid #C9A04A; border-radius: 50%; display: inline-block; }
.ring-dark { border-color: #D6B25E; }
.gold-rule { height: 1.5px; background: linear-gradient(90deg, #8E6B1E, #C9A04A 55%, #E9D58E); }
.brand-mark { position: relative; width: 44px; height: 44px; flex: none; display: inline-block; }
.brand-ring { position: absolute; border: 1.5px solid #C9A04A; border-radius: 50%; inset: 0; }
.brand-ring.r2 { inset: 7px; border-color: #1FB5BA; }
.brand-ring.r3 { inset: 14px; border-color: #F0562B; }

/* nav + buttons */
.nav-link { font-size: 15px; font-weight: 500; color: #16171A; text-decoration: none; }
.nav-link:hover { color: #94701F; }
.nav-link.active { color: #94701F; font-weight: 600; }
.btn-gold, .btn-dark, .btn-outline-dark { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 30px; border-radius: 999px; font-size: 16px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s ease, filter .2s ease; }
.btn-gold { background: #C9A04A; color: #16171A; }
.btn-gold:hover { filter: brightness(.94); transform: translateY(-1px); }
.btn-dark { background: #16171A; color: #fff; }
.btn-dark:hover { transform: translateY(-1px); }
.btn-outline-dark { border: 1.5px solid #16171A; color: #16171A; background: transparent; }
.btn-sm { min-height: 48px; padding: 0 26px; font-size: 15px; }
.icon-btn { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; color: #16171A; cursor: pointer; }
.mob-link { display: block; padding: 12px 4px; text-decoration: none; color: #16171A; font-weight: 500; }
.mob-sub { padding-left: 20px; color: #5C5F66; }
.foot-h { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #D6B25E; }
.foot-link { font-size: 15px; color: #D8D3C8; text-decoration: none; }
.foot-link:hover { color: #fff; }
.link-underline { color: #16171A; font-weight: 600; text-decoration: underline; text-decoration-color: #C9A04A; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }

/* motion helpers */
.lift { transition: transform .25s ease, box-shadow .25s ease; }
.lift:hover { transform: translateY(-4px); }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #A8822F; border-radius: 50%; font-size: 14px; font-weight: 600; color: #94701F; background: #fff; }

/* hero ring motif (slow float, decorative) */
.hero-ring { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1/1; margin: 0 auto; animation: heroFloat 9s ease-in-out infinite; }
.hero-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-dot { position: absolute; left: calc(59.77% - 5px); top: calc(52.35% - 5px); width: 10px; height: 10px; border-radius: 50%; background: #94701F; box-shadow: 0 0 0 8px rgba(255,255,255,.55), 0 0 0 9px #A8822F; }
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* CTA band deco rings */
.cta-ring { position: absolute; border: 1px solid rgba(22,23,26,.2); border-radius: 50%; }
.cta-ring.r-a { right: -140px; top: -160px; width: 460px; height: 460px; }
.cta-ring.r-b { right: -100px; top: -120px; width: 380px; height: 380px; border-color: rgba(22,23,26,.12); }

/* sticky in-page nav (brand page) + tech sidebar */
details[id], section[id] { scroll-margin-top: 110px; }
.subnav { position: sticky; top: 84px; z-index: 10; display: flex; flex-wrap: wrap; gap: 8px 12px; background: rgba(255,255,255,.97); padding: 12px 0; border-bottom: 1px solid #E4E1DA; }
.subnav a { font-size: 13px; font-weight: 600; text-decoration: none; color: #94701F; border: 1px solid #DDD5C2; border-radius: 999px; padding: 8px 16px; background: #fff; }
.subnav a:hover { background: #F8F5EE; }
.tech-side { position: sticky; top: 100px; display: flex; flex-direction: column; border: 1px solid #E4E1DA; background: #fff; }
.tech-side a { padding: 14px 18px; text-decoration: none; color: #16171A; font-size: 14px; font-weight: 500; border-bottom: 1px solid #E4E1DA; }
.tech-side a:last-child { border-bottom: 0; }
.tech-side a:hover, .tech-side a.on { background: #F8F5EE; color: #94701F; }
@media (max-width: 900px) { .tech-side { position: static; } }
.tech-main details { border: 1px solid #E4E1DA; margin-bottom: 16px; background: #fff; border-radius: 4px; overflow: hidden; }
.tech-main summary { cursor: pointer; padding: 22px 24px; font-size: 18px; font-weight: 600; list-style: none; display: flex; gap: 16px; align-items: baseline; color: #16171A; }
.tech-main summary::-webkit-details-marker { display: none; }
.tech-main summary .chev { margin-left: auto; color: #A8822F; transition: transform .25s ease; }
.tech-main details[open] summary .chev { transform: rotate(180deg); }
.tech-main details > div { padding: 0 24px 24px; }
.tech-main ul { padding-left: 20px; color: #45484F; }
.tech-main li { margin-bottom: 6px; }

/* placeholders */
.photo-slot, .map-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #ECE2C8; border: 1px dashed #CDBF9C; color: #5C5F66; text-align: center; padding: 32px; }
.photo-slot { min-height: 220px; margin-top: 28px; }
.map-slot { min-height: 380px; }
.logo-slot { display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 20px 24px; border: 1px dashed #CDBF9C; font-size: 13.5px; color: #5C5F66; margin-top: 28px; text-align: center; }

/* forms */
.field input, .field textarea { width: 100%; border: 1px solid #CFC8B8; padding: 0 16px; font: inherit; background: #fff; color: #16171A; }
.field input { height: 52px; }
.field textarea { padding: 14px 16px; resize: vertical; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 1px solid #CFC8B8; border-radius: 999px; font-weight: 500; cursor: pointer; background: #fff; }
.chip input { accent-color: #94701F; }

/* ---------- photographic heroes, ticker, image frames ---------- */
.banner-hero { position: relative; overflow: hidden; background: #16171A; isolation: isolate; }
.banner-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(22,23,26,.88) 20%, rgba(22,23,26,.62) 55%, rgba(22,23,26,.30) 100%); }
.banner-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: linear-gradient(90deg, #8E6B1E, #C9A04A 55%, #E9D58E); }
.kenburns { animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }

/* home full-screen hero */
.hero-full { position: relative; overflow: hidden; background: #16171A; isolation: isolate; min-height: min(92vh, 860px); display: flex; align-items: center; }
.hero-full > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(22,23,26,.90) 15%, rgba(22,23,26,.65) 50%, rgba(22,23,26,.25) 100%); }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: rgba(255,255,255,.75);
  font-size: 12px; letter-spacing: .25em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll i { animation: bounceY 1.8s ease-in-out infinite; }
@keyframes bounceY { 0%,100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(8px); opacity: .5; } }

/* glass stat cards */
.glass-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px); border-radius: 14px; padding: 14px 10px; text-align: center; }
.glass-card strong { display: block; font-size: clamp(26px, 3vw, 38px); font-weight: 300; color: #fff; line-height: 1.1; }
.glass-card span:last-child { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: #D6B25E; }

/* ticker marquee */
.ticker { background: #16171A; border-top: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.ticker-track { display: flex; width: max-content; padding: 16px 0; animation: tick 28s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick-item { display: flex; align-items: center; color: #EDE6D6; font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
@keyframes tick { to { transform: translateX(-50%); } }

/* image frames */
.img-zoom { overflow: hidden; border-radius: 18px; margin: 0; position: relative; }
.img-zoom img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.img-zoom:hover img { transform: scale(1.07); }
.img-badge { position: absolute; left: 18px; bottom: 18px; background: rgba(22,23,26,.82); color: #fff;
  border: 1px solid rgba(214,178,94,.5); border-radius: 12px; padding: 10px 16px; backdrop-filter: blur(6px); }
.img-badge strong { display: block; font-size: 22px; font-weight: 300; color: #D6B25E; }
.img-badge span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #EDE6D6; }

/* industry / detail cards with photo tops */
.photo-card { border: 1px solid #E4E1DA; background: #fff; border-radius: 18px; overflow: hidden; }
.photo-card > .img-zoom { border-radius: 0; }
.photo-card .body { padding: 26px 26px 28px; }

/* header shadow on scroll */
#siteHeader.scrolled { box-shadow: 0 10px 30px rgba(22,23,26,.10); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 640px) { body { font-size: 16px; } }
