/*
Theme Name: Aspire Investment
Theme URI: https://aspire.investments/
Author: Aspire Investment Company Ltd
Description: A focused, responsive one-page corporate theme for Aspire Investment Company Ltd.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: aspire-investment
*/

:root {
  --aspire-green: #0d3b2e;
  --aspire-green-dark: #05251d;
  --aspire-green-deep: #031a15;
  --aspire-gold: #c9a24d;
  --aspire-gold-light: #e2c47f;
  --aspire-stone: #eae4d6;
  --aspire-ivory: #f6f3ec;
  --aspire-ink: #13201a;
  --aspire-muted: #5c6b63;
  --aspire-white: #fff;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--aspire-ivory); }
body.admin-bar .site-header { top: 32px; }

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 16px;
  background: #fff;
  color: var(--aspire-green-dark);
}

.aspire-site {
  color: var(--aspire-ink);
  font-family: "Figtree", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

.aspire-site * { box-sizing: border-box; }
.aspire-site a { color: inherit; text-decoration: none; }
.aspire-site img { display: block; max-width: 100%; height: auto; }
.aspire-site h1,
.aspire-site h2,
.aspire-site h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.015em;
}
.aspire-site p { margin: 0; }
.aspire-site :focus-visible { outline: 2px solid var(--aspire-gold); outline-offset: 3px; }

.site-wrap { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
.site-section { padding: 112px 0; }
.eyebrow {
  margin-bottom: 18px;
  color: #8a6d25;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section-title { color: var(--aspire-green); font-size: clamp(34px, 4.2vw, 56px); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 22px 0;
  color: #fff;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled,
.site-header.is-open {
  padding: 12px 0;
  background: rgba(5, 37, 29, .95);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .12);
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-link { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { flex: 0 0 auto; width: 42px; height: 42px; }
.brand-name { font-family: "Fraunces", Georgia, serif; font-size: 24px; letter-spacing: .01em; }
.brand-name small {
  display: block;
  margin-top: -2px;
  color: var(--aspire-gold-light);
  font-family: "Figtree", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
}
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-width: 230px; max-height: 58px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.site-nav ul { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover { color: var(--aspire-gold-light); }
.nav-toggle {
  display: none;
  width: 46px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 2px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.nav-toggle-line,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}
.site-header.is-open .nav-toggle-line { opacity: 0; }
.site-header.is-open .nav-toggle::before { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle::after { transform: translateY(-7px) rotate(-45deg); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  font: 600 15px/1.2 "Figtree", sans-serif;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-gold { background: var(--aspire-gold); color: var(--aspire-green-deep); }
.button-gold:hover { background: var(--aspire-gold-light); }
.button-outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.button-outline:hover { border-color: var(--aspire-gold-light); color: var(--aspire-gold-light); }
.nav-cta { padding: 11px 20px; background: var(--aspire-gold); color: var(--aspire-green-deep) !important; font-weight: 700; }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 150px 0 100px;
  color: #fff;
  background-color: var(--aspire-green-dark);
  background-image:
    linear-gradient(90deg, rgba(3, 26, 21, .96) 0%, rgba(3, 26, 21, .78) 28%, rgba(3, 26, 21, .28) 58%, rgba(3, 26, 21, .04) 100%),
    var(--aspire-hero);
  background-position: center;
  background-size: cover;
}
.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(transparent, rgba(3, 26, 21, .42));
  content: "";
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-kicker {
  margin-bottom: 22px;
  color: var(--aspire-gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero h1 { max-width: 11em; font-size: clamp(46px, 6.5vw, 86px); font-weight: 400; }
.hero-copy { max-width: 38em; margin: 28px 0 40px; color: #d9e3de; font-size: clamp(17px, 1.5vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.fact-strip { padding: 26px 0; border-top: 1px solid rgba(201, 162, 77, .35); background: var(--aspire-green-dark); color: #c4d2cb; }
.fact-strip .site-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; }
.fact-strip span { font-size: 15px; }
.fact-strip b { margin-right: 6px; color: var(--aspire-gold-light); }

.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; }
.about-copy { max-width: 620px; }
.about-copy p { margin-bottom: 18px; color: var(--aspire-muted); }
.about-copy p:first-child { color: var(--aspire-ink); font-size: 20px; }

.sectors { background: var(--aspire-stone); }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
.section-heading p { max-width: 31em; color: var(--aspire-muted); }
.sector-row {
  display: grid;
  grid-template-columns: 64px 1.1fr 2fr auto;
  gap: 32px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid rgba(13, 59, 46, .22);
  transition: padding .25s ease, background .25s ease;
}
.sector-row:last-child { border-bottom: 1px solid rgba(13, 59, 46, .22); }
.sector-row:hover { padding-right: 18px; padding-left: 18px; background: rgba(255, 255, 255, .52); }
.sector-icon { width: 42px; height: 42px; fill: none; stroke: var(--aspire-green); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.sector-row h3 { color: var(--aspire-green); font-size: 30px; }
.sector-row p { color: var(--aspire-muted); font-size: 16px; }
.sector-tag { justify-self: end; padding: 6px 14px; border: 1px solid rgba(13, 59, 46, .4); border-radius: 99px; color: var(--aspire-green); font-size: 13px; font-weight: 700; white-space: nowrap; }
.sector-tag.active { border-color: var(--aspire-green); background: var(--aspire-green); color: var(--aspire-gold-light); }

.flagship { background: var(--aspire-green); color: #fff; }
.flagship-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.flagship .section-title { margin-bottom: 24px; color: #fff; }
.flagship-copy > p { margin-bottom: 18px; color: #cfdcd5; }
.project-list { margin: 28px 0 36px; padding: 0; border-top: 1px solid rgba(255, 255, 255, .2); list-style: none; }
.project-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.project-list li::before { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 10px; background: var(--aspire-gold); content: ""; transform: rotate(45deg); }
.project-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 520px;
  padding: 36px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 77, .5);
  background:
    linear-gradient(180deg, rgba(5, 37, 29, .02) 28%, rgba(5, 37, 29, .2) 56%, rgba(3, 26, 21, .94) 100%),
    url("assets/images/aspire-smart-education.png") center 42% / cover no-repeat;
}
.project-art::before {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(226, 196, 127, .55);
  content: "";
  pointer-events: none;
}
.project-label {
  position: absolute;
  top: 34px;
  left: 34px;
  z-index: 1;
  padding: 7px 11px;
  border: 1px solid rgba(226, 196, 127, .55);
  background: rgba(3, 26, 21, .78);
  color: var(--aspire-gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
}
.project-caption {
  position: relative;
  z-index: 1;
  max-width: 13em;
  color: var(--aspire-gold-light);
  font: 500 28px/1.15 "Fraunces", Georgia, serif;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
}

.approach .section-title { max-width: 14em; margin-bottom: 56px; }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.approach-card { padding-top: 20px; border-top: 3px solid var(--aspire-gold); }
.approach-card h3 { margin-bottom: 12px; color: var(--aspire-green); font-size: 27px; }
.approach-card p { color: var(--aspire-muted); }

.presence { background: var(--aspire-stone); }
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 48px; background: rgba(13, 59, 46, .22); }
.office-card { padding: 44px; background: var(--aspire-ivory); }
.office-card h3 { margin-bottom: 6px; color: var(--aspire-green); font-size: 36px; }
.office-label { margin-bottom: 18px; color: #8a6d25; font-weight: 700; }
.office-card p { color: var(--aspire-muted); }

.contact { background: var(--aspire-green-dark); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; }
.contact .section-title { margin-bottom: 22px; color: #fff; }
.contact-intro > p { color: #c4d2cb; }
.contact-details { margin-top: 34px; font-size: 16px; }
.contact-details a { display: inline-block; margin-bottom: 7px; }
.contact-details a:hover { color: var(--aspire-gold-light); }
.form-status { margin-bottom: 20px; padding: 12px 16px; border-left: 3px solid var(--aspire-gold); background: rgba(255, 255, 255, .08); }
.contact-form { display: grid; gap: 18px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; color: #c4d2cb; font-size: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 2px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font: inherit;
}
.contact-form select option { color: #111; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .honeypot { position: absolute !important; left: -9999px !important; }

.site-footer { padding: 34px 0; background: var(--aspire-green-deep); color: #8fa399; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.content-page { min-height: 70vh; padding: 150px 0 90px; }
.content-page h1 { margin-bottom: 24px; color: var(--aspire-green); font-size: clamp(38px, 5vw, 64px); }
.entry-content { max-width: 820px; }

@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  .site-section { padding: 80px 0; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    padding: 22px 28px 28px;
    background: rgba(5, 37, 29, .98);
    box-shadow: 0 20px 30px rgba(0, 0, 0, .16);
  }
  .site-header.is-open .site-nav { display: flex; flex-direction: column; align-items: stretch; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 18px; }
  .site-nav .nav-cta { margin-top: 4px; text-align: center; }
  .hero {
    min-height: 820px;
    background-image:
      linear-gradient(90deg, rgba(3, 26, 21, .94) 0%, rgba(3, 26, 21, .72) 60%, rgba(3, 26, 21, .32) 100%),
      var(--aspire-hero);
    background-position: 57% center;
  }
  .hero-content { max-width: 650px; }
  .about-grid,
  .flagship-grid,
  .approach-grid,
  .office-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .sector-row { grid-template-columns: 48px 1fr; gap: 12px 20px; }
  .sector-row p,
  .sector-tag { grid-column: 2; justify-self: start; }
  .project-art { min-height: 420px; }
}

@media (max-width: 560px) {
  .site-wrap { width: min(100% - 36px, 1180px); }
  .site-header { padding: 14px 0; }
  .brand-name { font-size: 20px; }
  .brand-mark { width: 36px; height: 36px; }
  .custom-logo { max-width: 185px; max-height: 48px; }
  .hero { min-height: 760px; padding: 130px 0 80px; background-position: 62% center; }
  .hero h1 { font-size: clamp(42px, 13vw, 60px); }
  .hero-actions .button { width: 100%; }
  .fact-strip .site-wrap { flex-direction: column; }
  .section-heading { align-items: start; margin-bottom: 42px; }
  .sector-row { gap: 10px 14px; }
  .sector-row h3 { font-size: 26px; }
  .office-card { padding: 32px 26px; }
  .form-two { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aspire-site * { scroll-behavior: auto !important; transition: none !important; }
}
