/* =========================================================
   Twin Eagles Marketing — High-Energy Static Site
   Base: Midnight Navy  ·  Accent: Gold → Electric Amber
   ========================================================= */

:root {
  --navy-900: #070d1d;
  --navy-850: #0a1124;
  --navy-800: #0d1b34;
  --navy-700: #122443;
  --navy-600: #1b3157;
  --gold:     #d4af37;
  --gold-soft:#f0d488;
  --gold-deep:#a8852f;
  --energy:   #ff7a18;   /* electric amber */
  --energy-2: #ffb347;
  --cream:    #f7f4ed;
  --ink:      #161b27;
  --muted:    #5d6577;
  --line:     rgba(212,175,55,0.22);
  --white:    #ffffff;

  --grad-fire: linear-gradient(115deg, var(--gold-soft) 0%, var(--gold) 38%, var(--energy) 100%);
  --grad-gold: linear-gradient(120deg, var(--gold-soft), var(--gold-deep));

  --shadow-sm: 0 6px 22px rgba(7,13,29,0.10);
  --shadow-md: 0 22px 60px rgba(7,13,29,0.22);
  --glow-gold: 0 0 0 1px rgba(212,175,55,0.3), 0 14px 40px rgba(212,175,55,0.30);
  --glow-fire: 0 12px 38px rgba(255,122,24,0.40);

  --radius: 18px;
  --maxw: 1680px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.12; font-weight: 800; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(24px, 4vw, 76px); }
a { text-decoration: none; color: inherit; }

.hl {
  background: var(--grad-fire); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hl-dark { color: var(--navy-900); position: relative; }

/* ===== Scroll progress ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 0%;
  background: var(--grad-fire); z-index: 200; box-shadow: 0 0 12px rgba(255,122,24,0.6);
  transition: width .1s linear;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 15px 32px; border-radius: 50px; font-weight: 700; font-size: .95rem;
  letter-spacing: .02em; transition: all .35s var(--ease); cursor: pointer;
  border: 2px solid transparent; position: relative; overflow: hidden;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-primary { background: var(--grad-fire); color: var(--navy-900); box-shadow: var(--glow-fire); }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.35);
  transform: translateX(-120%) skewX(-20deg); transition: transform .6s var(--ease);
}
.btn-primary:hover { transform: translateY(-4px) scale(1.02); }
.btn-primary:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn-ghost { border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--gold-soft); transform: translateY(-4px); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.btn-dark:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ===== Navbar ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 0; transition: all .4s var(--ease); }
.navbar.scrolled { background: rgba(7,13,29,0.88); backdrop-filter: blur(14px); padding: 11px 0; box-shadow: 0 10px 34px rgba(0,0,0,0.3); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 52px; width: auto; display: block; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.45)); }
.eagle-mark { display: none; align-items: center; font-size: 1.7rem; }
.brand-text { font-family: 'Anton', sans-serif; font-size: 1.4rem; letter-spacing: .16em; color: var(--white); }
.brand-text strong { color: var(--gold); font-weight: 400; }
.brand-text.big { font-size: 1.9rem; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { color: rgba(255,255,255,0.82); font-size: .9rem; font-weight: 600; transition: color .25s; position: relative; }
.nav-links a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad-fire); transition: width .3s var(--ease); }
.nav-links a:not(.nav-cta):hover { color: var(--white); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { padding: 10px 24px; border: 2px solid var(--gold); border-radius: 50px; color: var(--gold) !important; }
.nav-cta:hover { background: var(--gold); color: var(--navy-900) !important; box-shadow: 0 8px 22px rgba(212,175,55,0.4); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: .3s; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: radial-gradient(circle at 70% 15%, var(--navy-700), var(--navy-900) 62%);
  color: var(--white); overflow: hidden;
}
.hero-particles { position: absolute; inset: 0; z-index: 1; }
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 1; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 75%);
}
.hero-aurora {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(45% 55% at 78% 28%, rgba(255,122,24,0.30), transparent 70%),
    radial-gradient(45% 55% at 18% 72%, rgba(212,175,55,0.22), transparent 70%);
  filter: blur(10px);
  animation: aurora 14s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1.05); }
  100% { transform: translate3d(4%, 3%, 0) scale(1.12); }
}
.hero-inner {
  position: relative; z-index: 3; padding-top: 132px; padding-bottom: 90px;
  display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 72px); align-items: center;
}
.hero-inner:has(.hero-visual) { grid-template-columns: 1fr clamp(360px, 41%, 560px); }
.hero-copy { min-width: 0; }
.hero-visual { display: flex; justify-content: center; align-items: center; min-width: 0; }

.hero-logo {
  width: 100%; max-width: 560px; height: auto; display: block;
  filter: drop-shadow(0 24px 60px rgba(212,175,55,0.42));
  animation: floatLogo 5.5s ease-in-out infinite, dropIn 1.1s var(--spring) both;
}
@keyframes floatLogo { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }
@keyframes dropIn { 0%{ opacity:0; transform: translateY(-30px) scale(.9);} 100%{ opacity:1; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold-soft); border: 1px solid var(--line);
  padding: 9px 20px; border-radius: 50px; margin-bottom: 26px; background: rgba(255,255,255,0.03);
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--energy); box-shadow: 0 0 0 0 rgba(255,122,24,0.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(255,122,24,0.6);} 70%{ box-shadow: 0 0 0 12px rgba(255,122,24,0);} 100%{ box-shadow:0 0 0 0 rgba(255,122,24,0);} }

.hero-title { font-family: 'Anton', sans-serif; font-weight: 400; letter-spacing: .004em; text-transform: uppercase; }
.hero-title .line { display: block; font-size: clamp(2.4rem, 6vw, 6.6rem); line-height: 0.92; }
.hero-title .line:nth-child(3) { color: var(--white); }

/* Word reveal — dramatic, clipped rise with overshoot */
.reveal-word { opacity: 0; transform: translateY(78px) scale(.92); clip-path: inset(0 0 100% 0); animation: wordUp .95s var(--spring) forwards; }
.reveal-word:nth-child(1){ animation-delay:.12s; }
.reveal-word:nth-child(2){ animation-delay:.30s; }
.reveal-word:nth-child(3){ animation-delay:.48s; }
@keyframes wordUp { to { opacity:1; transform: none; clip-path: inset(0 0 -10% 0); } }

/* Rotating word */
.rotator { display: inline-grid; vertical-align: bottom; height: 1em; overflow: hidden; }
.rotator > span {
  grid-area: 1 / 1; background: var(--grad-fire); -webkit-background-clip: text; background-clip: text;
  color: transparent; opacity: 0; transform: translateY(100%);
  animation: rotateWord 8s infinite;
}
.rotator > span:nth-child(1){ animation-delay: 0s; }
.rotator > span:nth-child(2){ animation-delay: 2s; }
.rotator > span:nth-child(3){ animation-delay: 4s; }
.rotator > span:nth-child(4){ animation-delay: 6s; }
@keyframes rotateWord {
  0%   { opacity:0; transform: translateY(100%); }
  4%   { opacity:1; transform: translateY(0); }
  21%  { opacity:1; transform: translateY(0); }
  25%  { opacity:0; transform: translateY(-100%); }
  100% { opacity:0; transform: translateY(-100%); }
}

.hero-sub { max-width: 600px; font-size: 1.14rem; color: rgba(255,255,255,0.78); margin: 30px 0 38px; font-weight: 300; }
.hero-sub strong { color: var(--gold-soft); font-weight: 600; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 4; }
.scroll-cue span { display: block; width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.4); border-radius: 14px; position: relative; }
.scroll-cue span::before { content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--energy); border-radius: 4px; animation: scroll 1.6s infinite; }
@keyframes scroll { 0%{opacity:0;top:8px} 50%{opacity:1} 100%{opacity:0;top:20px} }

/* ===== Marquee ===== */
.marquee { background: var(--grad-fire); color: var(--navy-900); padding: 16px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 42s linear infinite; }
.marquee-track span { font-family: 'Anton', sans-serif; font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; padding-right: 1ch; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Stats band ===== */
.stats-band { background: var(--navy-900); padding: 56px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats-band .stat { text-align: center; }
.stats-band .stat-num { font-family: 'Anton', sans-serif; font-size: clamp(2.4rem, 5vw, 3.6rem); background: var(--grad-fire); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; line-height: 1; }
.stats-band .stat-label { font-size: .82rem; letter-spacing: .12em; color: rgba(255,255,255,0.6); text-transform: uppercase; margin-top: 8px; display: block; }

/* ===== Sections ===== */
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 780px; margin-bottom: 60px; }
.kicker { display: inline-block; font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 16px; position: relative; padding-left: 30px; }
.kicker::before { content: ''; position: absolute; left: 0; top: 50%; width: 22px; height: 2px; background: var(--grad-fire); }
.kicker.light { color: var(--gold-soft); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); color: var(--navy-900); }
.section-head h2.on-dark { color: var(--white); }
.section-lead { margin-top: 18px; color: var(--muted); font-size: 1.08rem; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.about-text p { color: var(--muted); margin-bottom: 18px; font-size: 1.05rem; }
.about-text strong { color: var(--navy-800); }
.vm-cards { display: flex; flex-direction: column; gap: 22px; }
.vm-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--gold); transition: transform .5s var(--ease), box-shadow .5s; }
.vm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vm-icon { font-size: 1.9rem; margin-bottom: 12px; }
.vm-card h3 { font-size: 1.4rem; color: var(--navy-900); margin-bottom: 8px; }
.vm-card p { color: var(--muted); font-size: .98rem; }

.mission-points { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 50px; }
.mission-points li { display: flex; align-items: center; gap: 12px; background: var(--white); padding: 16px 20px; border-radius: 12px; box-shadow: var(--shadow-sm); font-weight: 600; color: var(--navy-800); font-size: .96rem; transition: transform .4s var(--ease); }
.mission-points li:hover { transform: translateX(4px); }
.mission-points li span { color: var(--energy); font-size: 1.1rem; }

/* ===== Services ===== */
.services { background: linear-gradient(180deg, #fff, var(--cream)); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 36px 30px; box-shadow: var(--shadow-sm); border: 1px solid rgba(7,13,29,0.05); transition: transform .5s var(--ease), box-shadow .5s var(--ease); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-fire); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service-card::after { content: ''; position: absolute; top: -40%; right: -40%; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,122,24,0.12), transparent 70%); opacity: 0; transition: opacity .5s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: .55; }
.service-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; background: linear-gradient(135deg, rgba(255,122,24,0.14), rgba(212,175,55,0.10)); border-radius: 16px; margin-bottom: 20px; transition: transform .45s var(--ease); }
.service-card:hover .service-icon { transform: scale(1.05); }
.service-card h3 { font-size: 1.42rem; color: var(--navy-900); margin-bottom: 12px; }
.service-card > p { color: var(--muted); font-size: .98rem; margin-bottom: 20px; }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.chip-list li { font-size: .78rem; background: rgba(7,13,29,0.05); color: var(--navy-700); padding: 6px 12px; border-radius: 30px; font-weight: 600; transition: background .25s, color .25s, transform .25s; }
.service-card:hover .chip-list li { background: rgba(255,122,24,0.12); color: var(--gold-deep); }

/* ===== Industries ===== */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.industry { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s; }
.industry:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow-md); background: linear-gradient(160deg, #fff, #fff8ec); }
.ind-ico { font-size: 2rem; margin-bottom: 14px; }
.industry h3 { font-size: 1.3rem; color: var(--navy-900); }
.industry h3::after { content: ''; display: block; width: 40px; height: 3px; background: var(--grad-fire); margin-top: 8px; border-radius: 2px; transition: width .4s var(--ease); }
.industry:hover h3::after { width: 70px; }
.industry p { color: var(--muted); font-size: .94rem; margin-top: 14px; }

/* ===== Why ===== */
.why { background: var(--navy-900); color: var(--white); overflow: hidden; }
.why-aurora { position: absolute; inset: 0; background: radial-gradient(40% 50% at 80% 20%, rgba(255,122,24,0.18), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(212,175,55,0.14), transparent 70%); }
.why .container { position: relative; z-index: 1; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { background: linear-gradient(160deg, var(--navy-700), var(--navy-800)); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--radius); padding: 34px; transition: transform .5s var(--ease), border-color .5s; position: relative; overflow: hidden; }
.why-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-fire); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.why-card:hover { transform: translateY(-4px); border-color: var(--line); }
.why-card:hover::before { transform: scaleY(1); }
.why-num { font-family: 'Anton', sans-serif; font-size: 2.6rem; background: var(--grad-fire); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .85; display: block; margin-bottom: 14px; }
.why-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,0.7); font-size: .96rem; }

/* ===== Presence ===== */
.presence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.loc-card { padding: 36px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); border-bottom: 4px solid var(--gold); transition: transform .5s var(--ease), box-shadow .5s; }
.loc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-bottom-color: var(--energy); }
.loc-card.wide { grid-column: 1 / -1; background: linear-gradient(120deg, var(--navy-800), var(--navy-700)); color: var(--white); border-bottom-color: var(--energy); }
.loc-card h3 { font-size: 1.5rem; color: var(--navy-900); margin-bottom: 8px; }
.loc-card.wide h3 { color: var(--gold-soft); }
.loc-card p { color: var(--muted); }
.loc-card.wide p { color: rgba(255,255,255,0.82); }

/* ===== Values ===== */
.values { background: radial-gradient(circle at 18% 18%, var(--navy-700), var(--navy-900)); color: var(--white); }
.values-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value { text-align: center; padding: 32px 18px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.08); transition: transform .5s var(--ease), background .5s, border-color .5s; }
.value:hover { background: rgba(255,122,24,0.07); border-color: var(--line); transform: translateY(-4px); }
.value h3 { background: var(--grad-fire); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.4rem; margin-bottom: 8px; }
.value p { color: rgba(255,255,255,0.72); font-size: .9rem; }

/* ===== CTA ===== */
.cta { background: var(--grad-fire); color: var(--navy-900); text-align: center; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.25), transparent 60%); }
.cta-inner { max-width: 840px; position: relative; z-index: 1; }
.cta-quote { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 600; font-size: clamp(1.3rem, 3vw, 2.05rem); line-height: 1.4; margin-bottom: 30px; }
.cta h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px; }
.cta-sub { font-family: 'Anton', sans-serif; font-size: 1.2rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 34px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta .btn-primary { background: var(--navy-900); color: var(--white); box-shadow: 0 12px 30px rgba(7,13,29,0.35); }
.cta-contact { margin-top: 24px; font-weight: 700; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-contact a { color: var(--navy-900); border-bottom: 1px solid rgba(7,13,29,0.35); padding-bottom: 1px; transition: border-color .25s; }
.cta-contact a:hover { border-bottom-color: var(--navy-900); }
.cta-contact span { color: rgba(7,13,29,0.45); }

/* ===== Footer ===== */
.footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 50px; padding-bottom: 48px; }
.footer-tag { margin-top: 14px; font-size: .9rem; color: rgba(255,255,255,0.5); }
.footer-contact { margin-top: 16px; font-size: .95rem; line-height: 1.9; }
.footer-contact a { color: var(--gold-soft); transition: color .25s; }
.footer-contact a:hover { color: var(--gold); }
.footer-social { margin-top: 18px; }
.social-ig { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,0.82); font-size: .92rem; font-weight: 600; padding: 9px 18px; border: 1px solid rgba(255,255,255,0.16); border-radius: 50px; transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease); }
.social-ig:hover { color: var(--navy-900); background: var(--grad-fire); border-color: transparent; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-cols h4 { font-family: 'Inter', sans-serif; color: var(--gold-soft); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-cols a, .footer-cols span { display: block; color: rgba(255,255,255,0.6); font-size: .92rem; margin-bottom: 10px; transition: color .25s; }
.footer-cols a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: rgba(255,255,255,0.45); }
.footer-slogan { color: var(--gold-soft); font-weight: 600; }

/* ===== Back to top ===== */
.to-top { position: fixed; right: 26px; bottom: 26px; width: 50px; height: 50px; border-radius: 50%; border: none; background: var(--grad-fire); color: var(--navy-900); font-size: 1.3rem; font-weight: 800; cursor: pointer; box-shadow: var(--glow-fire); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: all .4s var(--spring); z-index: 90; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px) scale(1.06); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner:has(.hero-visual) { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-logo { max-width: 320px; }
  .about-grid { grid-template-columns: 1fr; }
  .service-grid, .industry-grid, .why-grid, .presence-grid { grid-template-columns: repeat(2, 1fr); }
  .values-row { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 80%; background: var(--navy-900); flex-direction: column; justify-content: center; gap: 26px; padding: 40px; transition: right .4s var(--ease); box-shadow: -10px 0 40px rgba(0,0,0,0.4); }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; z-index: 110; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 76px 0; }
  .service-grid, .industry-grid, .why-grid, .presence-grid, .values-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .hero-logo { max-width: 240px; }
}
