/* ═══════════════════════════════════════════
   Asset Group Holdings — style.css
   assetgroup.com.au
═══════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --navy:       #0D1F3C;
  --navy-mid:   #162C54;
  --blue:       #2B7DC8;
  --blue-light: #4A9AE0;
  --blue-pale:  #E8F2FB;
  --slate:      #5A6E88;
  --white:      #FFFFFF;
  --off-white:  #F6F8FB;
  --border:     rgba(13,31,60,0.12);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  --max-w:  1180px;
  --radius: 4px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.section          { padding: 96px 0; }
.section--dark    { background: var(--navy); color: var(--white); }
.section--pale    { background: var(--off-white); }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 600; }
.heading-xl { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 500; line-height: 1.05; }
.heading-lg { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; }
.em-blue    { font-style: italic; color: var(--blue); }

.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.label--light { color: var(--blue-light); }

.divider        { width: 48px; height: 2px; background: var(--blue); margin-bottom: 24px; }
.divider--light { background: rgba(255,255,255,0.3); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}
.btn--primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--primary:hover { background: var(--blue-light); border-color: var(--blue-light); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn--lg { padding: 16px 40px; font-size: 0.88rem; }

.arrow { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ═══ Navigation ═══ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,31,60,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
/* Logo — use mix-blend-mode so dark bg of PNG blends away on navy nav */
.nav__logo {
  height: 40px;
  width: auto;
  mix-blend-mode: lighten;
  filter: brightness(1.1);
}
.footer__logo {
  height: 36px;
  width: auto;
  mix-blend-mode: lighten;
  filter: brightness(1.1);
  margin-bottom: 16px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
}
.nav__cta:hover { background: var(--blue-light) !important; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
  border-radius: 2px;
}

/* ═══ Hero ═══ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before {
  content: '';
  position: absolute;
  right: -120px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 600px; height: 600px;
  background: linear-gradient(135deg, rgba(43,125,200,0.18) 0%, rgba(43,125,200,0.04) 60%, transparent 100%);
}
.hero__bg::after {
  content: '';
  position: absolute;
  right: 120px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 380px; height: 380px;
  background: linear-gradient(135deg, rgba(43,125,200,0.10) 0%, transparent 70%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero__content { position: relative; z-index: 1; max-width: 760px; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  animation: fadeUp 0.8s 0.2s both;
}
.hero__eyebrow-line { width: 48px; height: 1px; background: var(--blue); }
.hero__eyebrow-text {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.hero__heading {
  color: var(--white);
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.35s both;
}
.hero__body {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 44px;
  animation: fadeUp 0.8s 0.5s both;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.65s both;
}
.hero__values {
  display: flex;
  gap: 40px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeUp 0.8s 0.8s both;
}
.hero__value-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
}
.hero__value-item span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══ About ═══ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__diamond {
  width: 100%;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}
.about__diamond-inner {
  width: 60%; aspect-ratio: 1;
  background: linear-gradient(135deg, var(--blue), var(--navy-mid));
  transform: rotate(45deg);
  position: absolute; top: 50%; left: 50%;
  translate: -50% -50%;
  border-radius: 4px;
}
.about__diamond-outer {
  width: 80%; aspect-ratio: 1;
  border: 1px solid var(--border);
  transform: rotate(45deg);
  position: absolute; top: 50%; left: 50%;
  translate: -50% -50%;
  border-radius: 4px;
}
.about__stat {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(13,31,60,0.10);
}
.about__stat--tl { top: 8%; left: 0; }
.about__stat--br { bottom: 8%; right: 0; }
.about__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.about__stat span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}
.about__text p { color: var(--slate); font-size: 0.98rem; line-height: 1.85; }
.about__text p + p { margin-top: 20px; }
.about__values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.about__value-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--blue);
}
.about__value-card h4 {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  margin-bottom: 6px;
}
.about__value-card p { font-size: 0.82rem; color: var(--slate); line-height: 1.6; }

/* ═══ Services ═══ */
.services__intro { max-width: 620px; margin-bottom: 64px; }
.services__intro p { margin-top: 16px; color: rgba(255,255,255,0.6); font-size: 1rem; line-height: 1.8; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card {
  background: rgba(255,255,255,0.03);
  padding: 40px 36px;
  transition: background 0.25s;
  position: relative;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover { background: rgba(43,125,200,0.08); }
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon { width: 40px; height: 40px; margin-bottom: 24px; color: var(--blue-light); }
.service-card h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 12px; }
.service-card p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.75; }
.service-card--cta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.service-card--cta p {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
  margin-bottom: 20px;
}

/* ═══ Sectors ═══ */
.sectors__intro { max-width: 600px; margin-bottom: 56px; }
.sectors__intro p { margin-top: 16px; color: var(--slate); font-size: 1rem; line-height: 1.8; }
.sectors__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.sector-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--white);
  transition: all 0.2s;
}
.sector-pill:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }
.sector-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

/* ═══ Organisations ═══ */
.orgs__intro { max-width: 600px; margin-bottom: 56px; }
.orgs__intro p { margin-top: 16px; color: rgba(255,255,255,0.6); font-size: 1rem; line-height: 1.8; }
.orgs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.org-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: all 0.3s;
  position: relative;
}
.org-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.org-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-4px); }
.org-card:hover::before { transform: scaleX(1); }

/* Logo container — different treatment per org */
.org-card__logo-space {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 4px;
  overflow: hidden;
}
.org-card__logo-space img {
  max-height: 72px;
  max-width: 100%;
  object-fit: contain;
}
/* College: white logo on transparent — invert to show on dark bg */
.org-card__logo-space--college img {
  filter: none;
  opacity: 1;
}
/* Community: coloured logo on white bg — give it a white pill */
.org-card__logo-space--community {
  background: white;
  padding: 8px 16px;
  border-radius: 6px;
}
.org-card__logo-space--community img {
  filter: none;
  opacity: 1;
}
/* Firearms: already has white text on shield — show as-is */
.org-card__logo-space--firearms img {
  filter: none;
  opacity: 0.92;
}
.org-card h3 { font-size: 1.4rem; color: var(--white); margin-bottom: 8px; }
.org-card__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 16px;
}
.org-card p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.75; }

/* ═══ Founder ═══ */
.founder__grid { display: grid; grid-template-columns: 360px 1fr; gap: 80px; align-items: start; }
.founder__card { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 60px rgba(13,31,60,0.15); }
.founder__card-img { width: 100%; aspect-ratio: 3/4; overflow: hidden; }
.founder__card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.founder__card-meta { padding: 28px 32px; background: var(--navy); }
.founder__card-meta h3 { font-size: 1.6rem; color: var(--white); margin-bottom: 4px; }
.founder__title {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.founder__credentials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cred-badge {
  padding: 4px 12px;
  background: rgba(43,125,200,0.2);
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.founder__body p { color: var(--slate); font-size: 0.98rem; line-height: 1.85; }
.founder__body p + p { margin-top: 18px; }
.founder__contributions { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--border); }
.founder__contributions h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.founder__contribution-list { display: flex; flex-direction: column; gap: 12px; }
.founder__contribution-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.5;
}
.founder__contribution-list li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ═══ Contact ═══ */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact__intro { color: var(--slate); font-size: 0.98rem; line-height: 1.8; margin-bottom: 40px; }
.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact__detail:first-of-type { border-top: 1px solid var(--border); }
.contact__detail-icon {
  width: 40px; height: 40px;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.contact__detail-icon svg { width: 18px; height: 18px; }
.contact__detail-text span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 2px;
}
.contact__detail-text a,
.contact__detail-text p { font-size: 0.95rem; color: var(--navy); font-weight: 400; line-height: 1.6; }
.contact__detail-text a:hover { color: var(--blue); }
.contact__cta-box {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
}
.contact__cta-box h3 { font-size: 2rem; color: var(--white); margin-bottom: 16px; }
.contact__cta-box p { color: rgba(255,255,255,0.6); font-size: 0.95rem; line-height: 1.8; margin-bottom: 36px; }
.contact__email-label { font-size: 0.82rem !important; color: rgba(255,255,255,0.3) !important; margin-top: 20px !important; margin-bottom: 0 !important; }

/* ═══ Footer ═══ */
.footer { background: #08152A; color: rgba(255,255,255,0.5); padding: 64px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__brand p { font-size: 0.85rem; line-height: 1.8; max-width: 280px; color: rgba(255,255,255,0.4); }
.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col ul li { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.5; }
.footer__col ul a { transition: color 0.2s; }
.footer__col ul a:hover { color: var(--white); }
.footer__bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}
.footer__tagline { display: flex; align-items: center; color: rgba(255,255,255,0.25); }
.footer__tagline .sep { color: rgba(255,255,255,0.15); }

/* ═══ Responsive ═══ */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__visual { display: none; }
  .founder__grid { grid-template-columns: 280px 1fr; gap: 48px; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .sectors__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }

  /* Mobile nav */
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--navy);
    padding: 40px 24px;
    gap: 28px;
    z-index: 99;
    overflow-y: auto;
  }
  .nav__links.open a { font-size: 1rem; letter-spacing: 0.05em; }

  .hero__values { flex-direction: column; gap: 20px; }
  .services__grid { grid-template-columns: 1fr; }
  .sectors__grid { grid-template-columns: repeat(2, 1fr); }
  .orgs__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__cta-box { padding: 40px 28px; }
  .founder__grid { grid-template-columns: 1fr; }
  .founder__card { max-width: 360px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .about__values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .sectors__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .btn { justify-content: center; }
}
