:root {
  --color-navy: #2B3348;
  --color-navy-light: #38425C;
  --color-navy-deep: #1D2333;
  --color-charcoal: #2B2F36;
  --color-gold: #6E9BBF;
  --color-gold-hover: #4F7EA3;
  --color-gold-soft: #E4EDF4;
  --color-accent2: #D98E4A;
  --color-accent2-soft: #FBEADB;
  --color-bg: #FFFFFF;
  --color-bg-offwhite: #F7F7F5;
  --color-text: #1B1E23;
  --color-text-muted: #5B5F66;
  --color-border: #E4E4E1;

  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --fs-h1: clamp(2.1rem, 4.4vw, 3.4rem);
  --fs-h2: clamp(1.55rem, 2.8vw, 2.3rem);
  --fs-h3: 1.3rem;
  --line-height-body: 1.7;
  --max-w-paragraph: 68ch;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-card: 0 2px 14px rgba(11,30,61,0.07);
  --shadow-card-hover: 0 10px 30px rgba(11,30,61,0.14);
  --container: 1180px;
  --transition: all .22s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0; font-family: var(--font-body); color: var(--color-text);
  background: var(--color-bg); line-height: var(--line-height-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-navy); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { max-width: var(--max-w-paragraph); color: var(--color-text-muted); }
a { color: var(--color-navy); transition: var(--transition); }
img { max-width: 100%; display: block; border-radius: var(--radius); }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--color-gold); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.site-header .container { max-width: 1440px; }
@media (max-width: 1500px) { .nav { gap: 18px; } }
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 80px 0; } }
.section--offwhite { background: var(--color-bg-offwhite); }
.section--tight { padding: 32px 0; }

/* Skip link */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-navy); color: #fff; padding: 10px 16px; z-index: 999; border-radius: 0 0 6px 0; }
.skip-link:focus { left: 0; }

/* Header */
.site-header { position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--color-border); z-index: 100; transition: transform .3s ease, box-shadow .3s ease; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(11,30,61,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; display: block; border-radius: 0; }
.logo-title-wrap { display: flex; flex-direction: column; line-height: 1.2; }
.logo-title { font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; color: var(--color-navy); letter-spacing: -.01em; white-space: nowrap; }
.logo-subtitle { font-size: .72rem; font-weight: 600; color: var(--color-text-muted); letter-spacing: .02em; align-self: flex-end; }
@media (max-width: 480px) { .logo-img { height: 32px; } .logo-title-wrap { display: none; } }
@media (max-width: 640px) { .logo-title { font-size: .92rem; } }
.nav { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--color-charcoal); position: relative; padding: 6px 0; white-space: nowrap; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--color-gold); transition: var(--transition); }
.nav a:hover { color: var(--color-navy); }
.nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

/* Mobile nav toggle (real button, JS-driven) */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer; padding: 10px 8px; width: 40px; background: none; border: none;
}
.nav-toggle-bar { width: 100%; height: 2px; background: var(--color-navy); border-radius: 2px; transition: var(--transition); display: block; }
body.nav-open .nav-toggle .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle .nav-toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  body.nav-open { overflow: hidden; }
  .nav {
    display: none;
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: #fff; flex-direction: column; gap: 0; padding: 10px 0;
    overflow-y: auto; box-shadow: 0 12px 20px rgba(0,0,0,.08);
  }
  body.nav-open .nav { display: flex; }
  .nav a { display: block; padding: 16px 24px; border-bottom: 1px solid var(--color-border); font-size: 1.02rem; }
  .nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn-gold { display: none; }
}
@media (max-width: 480px) {
  .site-header .container { height: 64px; }
  .nav { top: 64px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; min-width: 150px; border-radius: var(--radius); font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: .93rem; transition: var(--transition); text-align: center; }
.btn-block { display: flex; width: 100%; margin-top: 20px; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.btn-group--center { justify-content: center; }
@media (max-width: 560px) { .btn-group { flex-direction: column; align-items: stretch; } .btn-group .btn { width: 100%; } }
.btn-gold { background: var(--color-gold); color: var(--color-navy); }
.btn-gold:hover { background: var(--color-gold-hover); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(110,155,191,.35); }
.btn-outline { border-color: var(--color-navy); color: var(--color-navy); background: transparent; }
.btn-outline:hover { background: var(--color-navy); color: #fff; }

/* Hero (brand-safe geometric pattern, no external images) */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(110,155,191,.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(217,142,74,.12), transparent 40%),
    linear-gradient(155deg, var(--color-navy-deep) 0%, var(--color-navy) 55%, var(--color-navy-light) 100%);
  background-size: 140% 140%, 140% 140%, 100% 100%;
  animation: hero-drift 18s ease-in-out infinite alternate;
  color: #fff; padding: 84px 0 96px;
}
@keyframes hero-drift {
  from { background-position: 0% 0%, 100% 100%, 0 0; }
  to { background-position: 15% 10%, 85% 90%, 0 0; }
}
@media (prefers-reduced-motion: reduce) { .hero { animation: none; } }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0px, rgba(255,255,255,.035) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(25deg, rgba(255,255,255,.03) 0px, rgba(255,255,255,.03) 1px, transparent 1px, transparent 64px);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { color: #c9d2e4; font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 56ch; }

/* Photo/video hero backgrounds (real licensed stock media) */
.hero-media { position: relative; overflow: hidden; }
.hero-media-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-media::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(115deg, rgba(11,17,33,.95) 0%, rgba(11,17,33,.90) 45%, rgba(11,17,33,.80) 100%);
}
.hero-media .container { position: relative; z-index: 1; }

/* Inline supporting video panel (not full hero, contained within a section) */
.inline-video-panel { margin-top: 44px; border-radius: var(--radius-lg); overflow: hidden; position: relative; max-width: 900px; }
.inline-video-panel video { width: 100%; height: 380px; object-fit: cover; display: block; }
.inline-video-caption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 20px 24px;
  background: linear-gradient(to top, rgba(11,17,33,.88), transparent);
  color: #fff; font-size: .92rem; max-width: none;
}
@media (max-width: 640px) { .inline-video-panel video { height: 240px; } }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 560px) {
  .hero { padding: 56px 0 64px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
}
section.hero .container h1 { max-width: none; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 36px; }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-card); transition: var(--transition); }
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); border-color: rgba(110,155,191,.35); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--color-text-muted); font-size: .95rem; max-width: none; }
.card .btn { margin-top: 16px; margin-right: 8px; }
.card .btn-group { margin-top: 16px; flex-direction: column; align-items: stretch; }
.card .btn-group .btn { margin-top: 0; margin-right: 0; width: 100%; }

/* Division intro */
.division-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 40px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 768px) { .division-grid { grid-template-columns: 1fr; } }
.division-panel { position: relative; padding: 44px 38px; background: #fff; transition: var(--transition); border-left: 1px solid var(--color-border); }
.division-panel:first-child { border-left: none; }
@media (max-width: 768px) { .division-panel { border-left: none; border-top: 1px solid var(--color-border); } .division-panel:first-child { border-top: none; } }
.division-panel:hover { background: var(--color-bg-offwhite); }
.division-num { position: absolute; top: 32px; right: 38px; font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; color: var(--color-gold); opacity: .3; line-height: 1; }
.division-panel:nth-child(2) .division-num { color: var(--color-accent2); }
.division-panel:nth-child(2) .division-highlights li::before { color: var(--color-accent2); }
.division-icon { margin-bottom: 18px; border-radius: 0; }
.division-panel h3 { margin-bottom: 10px; }
.division-highlights { list-style: none; padding: 0; margin: 18px 0 24px; }
.division-highlights li { padding: 8px 0 8px 22px; position: relative; font-size: .9rem; color: var(--color-text-muted); border-top: 1px solid var(--color-border); }
.division-highlights li:first-child { border-top: none; }
.division-highlights li::before { content: '\2192'; position: absolute; left: 0; color: var(--color-gold-hover); font-weight: 700; }

/* Professional empty state (used for Projects, Blog, Products when none exist yet) */
.empty-state { text-align: center; max-width: 560px; margin: 30px auto 0; padding: 48px 32px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.empty-state-icon { font-size: 2.2rem; margin-bottom: 14px; opacity: .7; }
.empty-state h3 { font-size: 1.15rem; margin-bottom: 10px; }
.empty-state p { margin: 0 auto 22px; }

/* Project images */
.project-card-img { width: 100%; height: 190px; object-fit: cover; border-radius: 48px 0 0 0; margin: -28px -28px 20px; width: calc(100% + 56px); transition: transform .5s ease; }
.project-card { overflow: hidden; }
.project-card:hover .project-card-img { transform: scale(1.06); }
.project-hero-img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 90px 0 0 0; margin-bottom: 28px; }

/* Page content blocks (About/Credentials/generic pages) */
.page-text-block, .page-cta { margin-bottom: 44px; }
.page-text { color: var(--color-text-muted); max-width: var(--max-w-paragraph); }
.page-cta { text-align: center; background: var(--color-bg-offwhite); border-radius: var(--radius-lg); padding: 44px 24px; }

/* CEO message block */
.ceo-message { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-card); }
.ceo-message blockquote { margin: 0 0 28px; padding: 0 0 0 22px; border-left: 3px solid var(--color-gold); font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; color: var(--color-navy); font-style: normal; line-height: 1.5; }
.ceo-signature { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 2px; }
.ceo-signature strong { font-family: var(--font-heading); color: var(--color-navy); font-size: 1.05rem; }
.ceo-signature span { color: var(--color-text-muted); font-size: .88rem; }

/* Vision/Mission statement cards */
.statement-card { text-align: center; border-top: 3px solid var(--color-gold); }
.statement-card h3 { font-size: 1.1rem; }
.statement-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .ceo-message { padding: 28px; } .statement-grid { grid-template-columns: 1fr; } }

/* Animated stats band (real counts, count-up on scroll) */
.stats-band {
  position: relative; background: linear-gradient(115deg, var(--color-navy-deep) 0%, var(--color-navy) 100%);
  padding: 64px 0 76px;
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-item { display: flex; flex-direction: column; gap: 6px; }
.stat-number { font-family: var(--font-heading); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; color: var(--color-gold); line-height: 1; }
.stat-item:nth-child(even) .stat-number { color: var(--color-accent2); }
.stat-label { color: #c9d2e4; font-size: .85rem; font-weight: 600; letter-spacing: .02em; }

/* Bold final CTA banner */
.cta-banner {
  background: linear-gradient(100deg, var(--color-gold-hover) 0%, var(--color-gold) 60%, var(--color-accent2) 130%);
  padding: 64px 0; position: relative; overflow: hidden;
}
.cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-banner-text h2 { color: var(--color-navy-deep); margin-bottom: 8px; }
.cta-banner-text p { color: rgba(29,35,51,.75); max-width: 46ch; }
.cta-banner-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-banner .btn-gold { background: var(--color-navy-deep); color: #fff; }
.cta-banner .btn-gold:hover { background: var(--color-navy); }
.cta-banner-phone { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; }
.cta-banner-phone-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: rgba(29,35,51,.65); }
.cta-banner-phone-number { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: var(--color-navy-deep); }
@media (max-width: 640px) { .cta-banner-inner { flex-direction: column; align-items: flex-start; text-align: left; } }

/* Colorful animated marquee band */
.marquee-band {
  overflow: hidden; white-space: nowrap; padding: 18px 0;
  background: linear-gradient(100deg, var(--color-navy) 0%, var(--color-navy-light) 50%, var(--color-navy) 100%);
  border-top: 3px solid var(--color-gold); border-bottom: 3px solid var(--color-accent2);
}
.marquee-track { display: inline-flex; animation: marquee-scroll 32s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; color: #fff; text-transform: uppercase; letter-spacing: .04em; padding: 0 28px; }
.marquee-track span::after { content: '\2726'; margin-left: 28px; color: var(--color-gold); font-size: .8rem; }
.marquee-track span:nth-child(4n)::after { color: var(--color-accent2); }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Map embed */
.map-embed-wrap { width: 100%; height: 420px; border-radius: var(--radius-lg); overflow: hidden; margin-top: 28px; border: 1px solid var(--color-border); }
@media (max-width: 640px) { .map-embed-wrap { height: 300px; } }

/* Homepage banner image */
.homepage-banner { width: 100%; line-height: 0; }
.homepage-banner img { width: 100%; height: auto; display: block; max-height: 560px; object-fit: cover; }
@media (max-width: 640px) { .homepage-banner img { max-height: 320px; object-fit: cover; object-position: center 30%; } }

/* Scroll-reveal animation */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.fade-up.fade-up-delay-1 { transition-delay: .1s; }
.fade-up.fade-up-delay-2 { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; transition: none; } }

/* Animated highlighter-pen marker sweep behind key words */
.highlight-sweep {
  background-color: transparent;
  background-image: linear-gradient(var(--color-gold-soft), var(--color-gold-soft));
  background-repeat: no-repeat; background-size: 0% 42%; background-position: 0 85%;
  transition: background-size 1s ease .15s; padding: 0 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.highlight-sweep.is-visible { background-size: 100% 42%; }
@media (prefers-reduced-motion: reduce) { .highlight-sweep { background-size: 100% 42%; transition: none; } }

/* Hand-drawn underline squiggle under eyebrow labels */
.eyebrow { position: relative; display: inline-block; }
.eyebrow::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 46px; height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 6'%3E%3Cpath d='M1 4.5C8 1.5 14 1 19 3.5S31 5.5 37 2.5 45 1.5 45 1.5' stroke='%236E9BBF' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}
.eyebrow--hero::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 6'%3E%3Cpath d='M1 4.5C8 1.5 14 1 19 3.5S31 5.5 37 2.5 45 1.5 45 1.5' stroke='%23D98E4A' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* Pillar cards (Who We Are / Mission / Vision) */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-card); transition: var(--transition); }
.pillar-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); border-color: rgba(110,155,191,.4); }
.pillar-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--color-gold-soft); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px; }
.pillar-card:nth-child(2) .pillar-icon { background: var(--color-accent2-soft); }
.pillar-card h3 { margin-bottom: 10px; }
.pillar-card p { font-size: .93rem; max-width: none; }
.image-text-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.image-text-block img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.image-text-block.reverse .image-text-media { order: 2; }
.image-text-icon { width: 64px; height: 64px; border-radius: 14px; background: var(--color-gold-soft); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 18px; }
@media (max-width: 768px) {
  .image-text-block { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .image-text-block.reverse .image-text-media { order: 0; }
  .image-text-block img { height: 220px; }
}

/* Trading category bands: each category is a full-width section, alternating
   white / light-grey backgrounds, with the image switching sides for rhythm. */
.trading-band { padding: 80px 0; background: #fff; }
.trading-band--alt { background: var(--color-bg-offwhite); }
.trading-band-head { margin-bottom: 32px; }
.trading-band-head .eyebrow { margin-bottom: 8px; }
.trading-band-head h2 { margin: 0; }
.trading-band-body { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.trading-band--alt .trading-band-body .trading-band-media { order: 2; }
.trading-band-media img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius-lg); display: block; box-shadow: 0 18px 40px rgba(29,35,51,.14); }
.trading-band-intro { font-size: 1.05rem; color: var(--color-text); margin-bottom: 8px; }
.trading-band .division-highlights { margin-top: 12px; }
.trading-band .division-highlights li { font-size: .93rem; line-height: 1.6; padding: 10px 0 10px 24px; }
.trading-band .division-highlights li strong { color: var(--color-navy); }
.trading-band--alt .division-highlights li { border-top-color: rgba(43,51,72,.1); }
@media (max-width: 900px) {
  .trading-band { padding: 56px 0; }
  .trading-band-body { grid-template-columns: 1fr; gap: 28px; }
  .trading-band--alt .trading-band-body .trading-band-media { order: 0; }
  .trading-band-media img { height: 240px; }
}


/* Footer — light background so the logo's navy "AA" mark stays fully visible
   (the logo has no white/light color variant, so a dark footer would hide it) */
.site-footer { position: relative; overflow: hidden; background: var(--color-gold-soft); color: var(--color-text-muted); padding: 56px 0 24px; margin-top: 40px; border-top: 1px solid var(--color-border); }
.site-footer::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(115deg, rgba(43,51,72,.025) 0px, rgba(43,51,72,.025) 1px, transparent 1px, transparent 64px);
}
.site-footer .container { position: relative; z-index: 1; }
.site-footer a { color: var(--color-text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--color-gold-hover); }
.footer-logo { height: 46px; width: auto; margin-bottom: 14px; }
.footer-tagline { color: var(--color-text-muted); font-size: .9rem; max-width: none; }
.footer-heading { color: var(--color-navy); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.footer-bottom { border-top: 1px solid var(--color-border); margin-top: 40px; padding-top: 20px; font-size: .82rem; }

/* WhatsApp floating button */
.whatsapp-float { position: fixed; bottom: 22px; right: 22px; background: #25D366; color: #fff; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.28); text-decoration: none; font-size: 1.6rem; z-index: 200; transition: var(--transition); }
.whatsapp-float:hover { transform: scale(1.08); }
@media (max-width: 480px) { .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; font-size: 1.4rem; } }

/* Forms */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .88rem; color: var(--color-charcoal); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: .96rem; transition: var(--transition); background: #fff;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--color-gold); box-shadow: 0 0 0 3px rgba(110,155,191,.18); }
.form-honeypot { position: absolute; left: -9999px; }

/* Eyebrow label — small caps label above section headings */
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-gold-hover); margin-bottom: 10px; }
.eyebrow--hero { color: var(--color-gold); }

/* Process / "How We Deliver" section */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; position: relative; }
.process-grid::before {
  content: ''; position: absolute; right: -10px; top: -30px; width: 60px; height: 60px; z-index: -1;
  background-image: radial-gradient(var(--color-gold) 1.5px, transparent 1.5px);
  background-size: 10px 10px; opacity: .35;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { position: relative; padding-top: 8px; }
.process-num { display: block; font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; color: var(--color-gold); opacity: .55; line-height: 1; margin-bottom: 10px; }
.process-step:nth-child(even) .process-num { color: var(--color-accent2); }
.process-step h3 { margin-bottom: 8px; }
.process-step p { font-size: .92rem; max-width: none; }

@media (max-width: 640px) {
  .card { padding: 22px; }
  .division-card { padding: 26px; }
}

/* ============================================================
   STATIC SITE ADDITIONS
   ============================================================ */
a { text-decoration: none; }
.page-text a, .footer-bottom a, .contact-info a, .form-note a { text-decoration: underline; }
.nav a.is-active { color: var(--color-navy); }
.nav a.is-active::after { width: 100%; }

/* Breadcrumb inside heroes */
.breadcrumb { font-size: .85rem; color: #c9d2e4; margin-bottom: 14px; }
.breadcrumb a { color: #c9d2e4; }
.breadcrumb a:hover { color: #fff; }

/* Form status messages (shown by JS after the PHP handler redirects back) */
.form-alert { display: none; padding: 16px 20px; border-radius: var(--radius); margin-bottom: 24px; font-weight: 600; }
.form-alert.is-visible { display: block; }
.form-alert--success { background: #e7f5ec; color: #1e6b3a; border-left: 4px solid #2e9e5b; }
.form-alert--error { background: #fdecea; color: #8a2a20; border-left: 4px solid #c0392b; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-note { color: var(--color-text-muted); font-size: .85rem; margin-top: 16px; }
.form-panel { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-card); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } .form-panel { padding: 24px; } }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.contact-info { background: var(--color-navy); color: #c9d2e4; border-radius: var(--radius-lg); padding: 36px; }
.contact-info h2, .contact-info h3 { color: #fff; }
.contact-info h3 { font-size: 1rem; margin: 22px 0 4px; }
.contact-info p { color: #c9d2e4; margin: 0; }
.contact-info a { color: #fff; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* Category detail pages */
.scope-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.scope-item { background: #fff; border: 1px solid var(--color-border); border-left: 3px solid var(--color-gold); border-radius: var(--radius); padding: 22px 24px; }
.scope-item:nth-child(even) { border-left-color: var(--color-accent2); }
.scope-item h3 { font-size: 1.02rem; margin-bottom: 8px; }
.scope-item p { font-size: .92rem; margin: 0; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { padding: 8px 16px; border: 1px solid var(--color-border); border-radius: 999px; font-size: .88rem; font-weight: 600; background: #fff; }
.related-links a:hover { border-color: var(--color-gold); color: var(--color-gold-hover); }

/* Project detail gallery */
.project-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; }
.project-meta span { background: var(--color-gold-soft); color: var(--color-navy); font-size: .82rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.project-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 28px; }
.project-gallery img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius-lg); display: block; }

/* Card that links somewhere: keep button at the bottom so cards line up */
.card--link { display: flex; flex-direction: column; }
.card--link .btn { margin-top: auto; }
.card--link p { flex-grow: 0; margin-bottom: 18px; }

/* ============================================================
   MOTION & POLISH LAYER
   ============================================================ */
/* Hero: staggered entrance on page load */
@keyframes eaaRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero .container > * { animation: eaaRise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero .container > *:nth-child(1) { animation-delay: .05s; }
.hero .container > *:nth-child(2) { animation-delay: .18s; }
.hero .container > *:nth-child(3) { animation-delay: .32s; }
.hero .container > *:nth-child(4) { animation-delay: .46s; }

/* Hero photos: slow cinematic zoom */
@keyframes eaaKenBurns { from { transform: scale(1); } to { transform: scale(1.09); } }
img.hero-media-bg { animation: eaaKenBurns 18s ease-out both; transform-origin: 60% 40%; }

/* Grids: children cascade in one after another */
.card-grid.fade-up, .scope-grid.fade-up, .process-grid.fade-up, .pillar-grid, .project-gallery.fade-up { opacity: 1; transform: none; }
.card-grid.fade-up > *, .scope-grid.fade-up > *, .process-grid.fade-up > *, .project-gallery.fade-up > * {
  opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.fade-up.is-visible > * { opacity: 1; transform: none; }
.fade-up.is-visible > *:nth-child(2) { transition-delay: .08s, .08s, 0s, 0s; }
.fade-up.is-visible > *:nth-child(3) { transition-delay: .16s, .16s, 0s, 0s; }
.fade-up.is-visible > *:nth-child(4) { transition-delay: .24s, .24s, 0s, 0s; }
.fade-up.is-visible > *:nth-child(5) { transition-delay: .32s, .32s, 0s, 0s; }
.fade-up.is-visible > *:nth-child(6) { transition-delay: .40s, .40s, 0s, 0s; }
.fade-up.is-visible > *:nth-child(n+7) { transition-delay: .48s, .48s, 0s, 0s; }

/* Cards: lift + growing accent bar on hover */
.card { position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--color-gold), var(--color-accent2)); transition: width .45s ease; }
.card:hover::before { width: 100%; }
.card-grid.fade-up.is-visible > .card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(29,35,51,.12); }
.scope-item { transition: transform .3s ease, box-shadow .3s ease; }
.scope-grid.fade-up.is-visible > .scope-item:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(29,35,51,.1); }

/* Images inside bands and galleries zoom gently on hover */
.trading-band-media, .image-text-media, .project-gallery a, .project-gallery { border-radius: var(--radius-lg); }
.trading-band-media { overflow: hidden; border-radius: var(--radius-lg); }
.trading-band-media img { transition: transform .8s ease; }
.trading-band-media:hover img { transform: scale(1.05); }
.project-gallery img { transition: transform .5s ease, box-shadow .5s ease; }
.project-gallery img:hover { transform: scale(1.02); box-shadow: 0 18px 36px rgba(29,35,51,.18); }

/* Buttons: soft light sweep on hover */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(110deg, transparent, rgba(255,255,255,.35), transparent); transition: left .6s ease; pointer-events: none; }
.btn:hover::after { left: 140%; }

/* Scroll progress bar + back-to-top button (injected by main.js) */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 300; background: linear-gradient(90deg, var(--color-gold), var(--color-accent2)); transition: width .1s linear; }
.back-to-top { position: fixed; right: 22px; bottom: 92px; width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer; z-index: 199;
  background: var(--color-navy); color: #fff; font-size: 1.2rem; box-shadow: 0 6px 18px rgba(0,0,0,.25);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s ease, transform .3s ease, background .3s ease; }
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--color-gold-hover); }
@media (max-width: 480px) { .back-to-top { right: 18px; bottom: 80px; width: 42px; height: 42px; } }

/* Header gets a shadow once you scroll */
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(29,35,51,.08); }

/* Contact info panel: subtle pattern for depth */
.contact-info { background-image: radial-gradient(circle at 100% 0%, rgba(110,155,191,.25), transparent 45%), radial-gradient(circle at 0% 100%, rgba(217,142,74,.18), transparent 40%); background-color: var(--color-navy); }

@media (prefers-reduced-motion: reduce) {
  .hero .container > *, img.hero-media-bg { animation: none; }
  .card-grid.fade-up > *, .scope-grid.fade-up > *, .process-grid.fade-up > *, .project-gallery.fade-up > * { opacity: 1; transform: none; transition: none; }
  .btn::after { display: none; }
}

/* Fix: project photos bleed edge-to-edge across the card top (the global img max-width rule was clipping them) */
.project-card-img { max-width: none; display: block; }
/* Fix: global img border-radius was clipping the corner of the footer logo ("DELIVER" -> "DELIVEP") */
.footer-logo { border-radius: 0; }

/* Header fit (measured): the full logo text + menu needs ~1,200px. Between 1101px and
   1260px show the logo mark only; at 1100px and below the hamburger menu takes over. */
@media (min-width: 1101px) and (max-width: 1260px) {
  .logo-title-wrap { display: none; }
  .nav { gap: 20px; }
}
