/* ============================================================
   AEA EMPIRE WORLD — Brand Stylesheet
   Navy + Gold · "From Concept to Execution"
   ============================================================ */

:root {
  --navy-900: #0a1428;
  --navy-800: #0d1c3a;
  --navy-700: #12264d;
  --navy-600: #17325f;
  --gold-500: #c9a24b;
  --gold-400: #d9b869;
  --gold-300: #e7cf95;
  --cream: #f5f1e8;
  --ink: #1a1a1a;
  --muted: #7a8194;
  --white: #ffffff;
  --gold-gradient: linear-gradient(135deg, #e7cf95 0%, #c9a24b 45%, #a67c2e 100%);
  --shadow-sm: 0 2px 10px rgba(10, 20, 40, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 20, 40, 0.12);
  --shadow-lg: 0 20px 50px rgba(10, 20, 40, 0.18);
  --radius: 14px;
  --max: 1200px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-gold {
  background: var(--gold-gradient);
  color: var(--navy-900);
  box-shadow: 0 8px 20px rgba(201, 162, 75, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201, 162, 75, 0.5); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold-500);
}
.btn-outline:hover { background: var(--gold-500); color: var(--navy-900); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 20, 40, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 75, 0.25);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo-img { height: 56px; width: auto; display: block; }
.site-footer .brand-logo-img { height: 72px; margin-bottom: 10px; }
@media (max-width: 560px) { .brand-logo-img { height: 46px; } }
.brand-logo {
  border: 2px solid var(--gold-500);
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--navy-900);
}
.brand-logo b {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--white);
  line-height: 1;
}
.brand-logo span {
  display: block;
  font-size: 0.5rem;
  letter-spacing: 3px;
  color: var(--gold-400);
  text-align: center;
}
.brand-tag {
  color: var(--gold-300);
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-left: 1px solid rgba(201,162,75,.4);
  padding-left: 12px;
}
.nav-links { display: flex; gap: 8px; list-style: none; align-items: center; }
.nav-links a:not(.ihb-link) {
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:not(.ihb-link):hover { color: var(--white); background: rgba(201,162,75,0.12); }

/* ---------- Interactive Hover Button (nav) ----------
   Ported from the shadcn/React `InteractiveHoverButton` component
   to the static HTML/CSS stack. Same animation:
   resting text slides out + fades, hover text + arrow slides in,
   and a dot expands to fill the pill (primary/gold) on hover. */
.ihb-link {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 9px 20px;
  border-radius: 9999px;
  border: 1px solid rgba(201, 162, 75, 0.4); /* border */
  background: transparent;                    /* bg-background */
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.3s ease;
}
.ihb-link .ihb-text {
  position: relative;
  z-index: 20;
  display: inline-block;
  transform: translateX(2px);
  white-space: nowrap;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.ihb-link:hover .ihb-text { transform: translateX(42px); opacity: 0; }
.ihb-link .ihb-hover {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transform: translateX(42px);
  opacity: 0;
  white-space: nowrap;
  color: var(--navy-900); /* text-primary-foreground */
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.ihb-link:hover .ihb-hover { transform: translateX(-2px); opacity: 1; }
.ihb-link .ihb-hover svg { width: 15px; height: 15px; }
.ihb-link .ihb-dot {
  position: absolute;
  left: 20%;
  top: 40%;
  z-index: 10;
  height: 8px;
  width: 8px;
  border-radius: 8px;
  background: var(--gold-500); /* bg-primary */
  transform: scale(1);
  opacity: 0;                  /* hidden at rest so it doesn't look like a bullet */
  transition: all 0.3s ease;
}
.ihb-link:hover .ihb-dot {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  transform: scale(1.8);
  opacity: 1;
  background: var(--gold-gradient);
}
.ihb-link.active { border-color: var(--gold-500); }
.ihb-link.active .ihb-text { color: var(--gold-400); }
.nav-links a.active { color: var(--gold-400); }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--gold-400); border-radius: 2px; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(160deg, rgba(10,20,40,0.92) 0%, rgba(18,38,77,0.82) 55%, rgba(13,28,58,0.94) 100%),
    url("../img/hero.jpg") center/cover no-repeat,
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--navy-800) 100%);
  color: var(--white);
  padding: 110px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(1200px 500px at 80% -10%, rgba(201,162,75,0.18), transparent);
  pointer-events: none;
}
.hero-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-fx canvas { display: block; width: 100%; height: 100%; }
.hero .container { position: relative; z-index: 2; }
.hero::after {
  content: "";
  position: absolute;
  right: -120px; bottom: -120px;
  width: 380px; height: 380px;
  border: 60px solid rgba(201,162,75,0.06);
  border-radius: 50%;
}
.hero .eyebrow {
  color: var(--gold-400);
  letter-spacing: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 900;
  max-width: 780px;
  margin-bottom: 20px;
}
.hero h1 .gold { color: transparent; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; }
.hero p { max-width: 620px; color: rgba(255,255,255,0.82); font-size: 1.08rem; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 70px 0 60px;
  text-align: center;
}
.page-banner .eyebrow { color: var(--gold-400); letter-spacing: 4px; font-size: 0.72rem; text-transform: uppercase; font-weight: 700; }
.page-banner h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; margin: 12px 0 8px; }
.page-banner .crumbs { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.page-banner .crumbs a { color: var(--gold-300); }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .eyebrow { color: var(--gold-500); letter-spacing: 3px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 900; color: var(--navy-800); margin: 10px 0 14px; }
.section-head p { color: var(--muted); }
.bg-cream { background: var(--cream); }
.bg-navy { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: var(--white); }
.bg-navy .section-head h2 { color: var(--white); }
.bg-navy .section-head p { color: rgba(255,255,255,0.7); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { text-align: center; padding: 28px; }
.stat b { display: block; font-size: 2.6rem; font-weight: 900; color: var(--gold-400); }
.stat span { color: rgba(255,255,255,0.75); font-size: 0.92rem; letter-spacing: 0.5px; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border: 1px solid rgba(10,20,40,0.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(201,162,75,0.5); }
.card .ic {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--navy-800);
  color: var(--gold-400);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.card h3 { color: var(--navy-800); font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.94rem; }
.card ul { list-style: none; margin-top: 12px; }
.card ul li { color: #55607a; font-size: 0.9rem; padding: 4px 0 4px 20px; position: relative; }
.card ul li::before { content: "◆"; color: var(--gold-500); position: absolute; left: 0; font-size: 0.7rem; top: 7px; }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pf-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid rgba(201,162,75,0.2);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pf-item img.pf-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.5s ease;
}
.pf-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,20,40,0.05) 0%, rgba(10,20,40,0.55) 55%, rgba(10,20,40,0.92) 100%);
  transition: background 0.3s ease;
}
.pf-item .tag, .pf-item h3, .pf-item p { position: relative; z-index: 2; }
.pf-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(201,162,75,0.55); }
.pf-item:hover img.pf-bg { transform: scale(1.07); }
.pf-item:hover::after { background: linear-gradient(180deg, rgba(10,20,40,0.15) 0%, rgba(10,20,40,0.6) 55%, rgba(10,20,40,0.94) 100%); }
.pf-item .tag { color: var(--gold-400); font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
.pf-item h3 { font-size: 1.05rem; margin: 6px 0; text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.pf-item p { font-size: 0.85rem; color: rgba(255,255,255,0.82); }

/* ---------- Workflow / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step { text-align: center; padding: 24px 14px; }
.step .num {
  width: 48px; height: 48px; margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--navy-900);
  font-weight: 900;
}
.step h4 { color: var(--white); font-size: 0.98rem; margin-bottom: 6px; }
.step p { color: rgba(255,255,255,0.65); font-size: 0.82rem; }

/* ---------- Clients ---------- */
.clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.client-chip {
  padding: 14px 26px;
  border: 1px solid rgba(201,162,75,0.3);
  border-radius: 50px;
  color: #55607a;
  font-weight: 600;
  font-size: 0.85rem;
  background: #fff;
}

/* ---------- About split ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-split .about-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201,162,75,0.35);
}
.about-split .about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-split h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy-800); font-weight: 900; margin: 10px 0 16px; }
.about-split .eyebrow { color: var(--gold-500); letter-spacing: 3px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.about-split p { color: #55607a; margin-bottom: 14px; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.founder-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--gold-500);
}
.founder-info h3 { font-size: 1.6rem; color: var(--navy-800); }
.founder-info .role { color: var(--gold-500); font-weight: 700; letter-spacing: 1px; margin-bottom: 16px; }
.founder-info p { color: var(--muted); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips span { background: var(--cream); border: 1px solid rgba(201,162,75,0.3); padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; color: #55607a; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info .ci { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-info .ci .ic {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px; background: var(--navy-800); color: var(--gold-400); font-size: 1.1rem;
}
.contact-info .ci b { display: block; color: var(--navy-800); }
.contact-info .ci span { color: var(--muted); font-size: 0.92rem; }
.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(10,20,40,0.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy-700); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7dbe4;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-500); }
.field textarea { resize: vertical; min-height: 120px; }
.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 40px; border: 1px solid rgba(10,20,40,0.1); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--gold-gradient); color: var(--navy-900); text-align: center; padding: 64px 0; }
.cta-strip h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 900; margin-bottom: 12px; }
.cta-strip p { margin-bottom: 26px; font-weight: 500; }
.cta-strip .btn { background: var(--navy-900); color: #fff; }
.cta-strip .btn:hover { background: var(--navy-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-grid a { color: rgba(255,255,255,0.68); font-size: 0.9rem; display: block; padding: 4px 0; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-grid p { font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-bottom .gold { color: var(--gold-400); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-2, .portfolio-grid, .stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .founder { grid-template-columns: 1fr; text-align: center; }
  .founder-photo { max-width: 300px; margin: 0 auto; }
  .chips { justify-content: center; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 28px; }
  .about-split .about-media { max-height: 320px; }
  .form-row { grid-template-columns: 1fr; }
  .stats .stat { border-bottom: 1px solid rgba(255,255,255,0.1); }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--navy-900);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 2px;
    border-bottom: 1px solid rgba(201,162,75,0.25);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.ihb-link) { padding: 14px 16px; }
  .nav-links li:not(.nav-cta) { width: 100%; }
  .ihb-link { width: 100%; min-width: 0; margin: 2px 0; }
  .nav-cta { margin: 8px 0 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
}
