/*
 * Alpha Private — Homepage Redesign
 * Brand: Crimson #C41230 | Charcoal #3C3C3C | Mid-grey #6D6E70
 * Fonts: Georgia (headings) | system-ui (body)
 * ============================================================ */

/* ── CSS Custom Properties ──────────────────────────────────── */
:root {
  --ap-crimson:   #C41230;
  --ap-charcoal:  #3C3C3C;
  --ap-midgrey:   #6D6E70;
  --ap-lightbg:   #F5F5F3;
  --ap-white:     #FFFFFF;
  --ap-maxw:      1100px;
}

/* ── Scope everything to .alpha-home to avoid breaking inner pages ── */
.alpha-home {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ap-charcoal);
  background: var(--ap-white);
}

.alpha-home * {
  box-sizing: border-box;
}

/* ── NAV ─────────────────────────────────────────────────────── */
.alpha-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e6;
  padding: 0 40px;
}

.alpha-nav__inner {
  max-width: var(--ap-maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.alpha-nav__logo img {
  height: 38px;
  width: auto;
  display: block;
}

/* WP nav menu output */
.alpha-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.alpha-nav .menu li a {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ap-charcoal);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.alpha-nav .menu li a:hover {
  color: var(--ap-crimson);
}

/* The Contact Us nav item — add class "menu-contact" in WP admin */
.alpha-nav .menu li.menu-contact a,
.alpha-nav .menu li:last-child a {
  background: var(--ap-crimson);
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 2px;
}

.alpha-nav .menu li.menu-contact a:hover,
.alpha-nav .menu li:last-child a:hover {
  background: #a50f28;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.ap-btn-primary {
  display: inline-block;
  background: var(--ap-crimson);
  color: #ffffff;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid var(--ap-crimson);
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.ap-btn-primary:hover {
  background: #a50f28;
  border-color: #a50f28;
  color: #ffffff;
}

.ap-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--ap-charcoal);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid var(--ap-charcoal);
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.ap-btn-outline:hover {
  border-color: var(--ap-crimson);
  color: var(--ap-crimson);
}

.ap-btn-outline-white {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.2s;
}

.ap-btn-outline-white:hover {
  border-color: #ffffff;
  color: #ffffff;
}

/* ── SECTION LABEL ───────────────────────────────────────────── */
.ap-label {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ap-midgrey);
  margin-bottom: 48px;
  display: block;
}

/* ── HERO ────────────────────────────────────────────────────── */
.ap-hero {
  background: #ffffff;
  padding: 88px 40px 80px;
}

.ap-hero__inner {
  max-width: var(--ap-maxw);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

.ap-hero__left {
  flex: 1;
  min-width: 0;
}

.ap-hero__eyebrow {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ap-crimson);
  margin: 0 0 24px 0;
}

.ap-hero__headline {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 58px;
  font-weight: normal;
  line-height: 1.06;
  color: var(--ap-charcoal);
  margin: 0 0 28px 0;
  letter-spacing: -0.01em;
}

.ap-hero__headline em {
  font-style: normal;
  color: var(--ap-crimson);
}

.ap-hero__body {
  font-size: 16px;
  line-height: 1.72;
  color: var(--ap-midgrey);
  max-width: 440px;
  margin: 0 0 40px 0;
}

.ap-hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Stats panel */
.ap-hero__stats {
  flex: 0 0 268px;
  border: 1px solid #e2e2e0;
  border-radius: 3px;
  padding: 40px 36px;
  margin-top: 16px;
}

.ap-stat {
  padding: 22px 0;
  border-bottom: 1px solid #ebebea;
}

.ap-stat:first-child {
  padding-top: 0;
}

.ap-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ap-stat__number {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 38px;
  font-weight: normal;
  color: var(--ap-charcoal);
  line-height: 1;
  margin-bottom: 8px;
}

.ap-stat__label {
  font-size: 13px;
  color: var(--ap-midgrey);
  line-height: 1.45;
}

/* ── SERVICES ────────────────────────────────────────────────── */
.ap-services {
  background: var(--ap-lightbg);
  padding: 80px 40px;
}

.ap-services__inner {
  max-width: var(--ap-maxw);
  margin: 0 auto;
}

.ap-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.ap-service-card {
  background: #ffffff;
  padding: 36px 32px 40px;
  border-radius: 2px;
}

.ap-service-card__num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ap-midgrey);
  margin-bottom: 18px;
}

.ap-service-card__title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 22px;
  font-weight: normal;
  color: var(--ap-charcoal);
  line-height: 1.3;
  margin: 0 0 16px 0;
}

.ap-service-card__body {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ap-midgrey);
  margin: 0;
}

/* ── OUR CLIENTS ─────────────────────────────────────────────── */
.ap-clients {
  background: var(--ap-charcoal);
  padding: 80px 40px;
}

.ap-clients__inner {
  max-width: var(--ap-maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.ap-clients .ap-label {
  color: var(--ap-crimson);
  margin-bottom: 28px;
}

.ap-clients__quote {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 28px;
  font-weight: normal;
  color: #ffffff;
  line-height: 1.45;
  margin: 0 0 40px 0;
  border: none;
  padding: 0;
}

.ap-clients__quote em {
  font-style: normal;
  color: var(--ap-crimson);
}

.ap-clients__right {
  padding-top: 38px;
}

.ap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.ap-tag {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.ap-clients__body {
  font-size: 14px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 20px 0;
}

.ap-clients__body:last-of-type {
  margin-bottom: 36px;
}

/* ── ABOUT ───────────────────────────────────────────────────── */
.ap-about {
  background: #ffffff;
  padding: 80px 40px;
}

.ap-about__inner {
  max-width: var(--ap-maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  align-items: start;
}

.ap-about__body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 22px;
  font-weight: normal;
  color: var(--ap-charcoal);
  line-height: 1.65;
  margin: 0;
}

/* ── RED CTA STRIP ───────────────────────────────────────────── */
.ap-cta {
  background: var(--ap-crimson);
  padding: 64px 40px;
  text-align: center;
}

.ap-cta__inner {
  max-width: var(--ap-maxw);
  margin: 0 auto;
}

.ap-cta__headline {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 36px;
  font-weight: normal;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.ap-cta__sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 32px 0;
  line-height: 1.5;
}

/* ── NEWS STRIP ──────────────────────────────────────────────── */
.ap-news {
  background: #2e2e2e;
  padding: 26px 40px;
}

.ap-news__inner {
  max-width: var(--ap-maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.ap-news__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}

.ap-news__divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.ap-news__items {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* Cash rate display */
.ap-rate {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
}

.ap-rate__number {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 34px;
  font-weight: normal;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.01em;
}

.ap-rate__meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.ap-news__cta {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
  flex-shrink: 0;
}

.ap-news__cta:hover {
  color: #ffffff;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.ap-footer {
  background: var(--ap-charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 28px 40px;
}

.ap-footer__inner {
  max-width: var(--ap-maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.ap-footer__logo img {
  height: 26px;
  width: auto;
  display: block;
  opacity: 0.75;
}

.ap-footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.ap-footer__links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s;
}

.ap-footer__links a:hover {
  color: #ffffff;
}

.ap-footer__compliance {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  text-align: right;
}

/* ── RESPONSIVE — Tablet ─────────────────────────────────────── */
@media (max-width: 960px) {
  .ap-hero__inner {
    flex-direction: column;
    gap: 48px;
  }

  .ap-hero__stats {
    flex: none;
    width: 100%;
    display: flex;
    gap: 0;
  }

  .ap-stat {
    flex: 1;
    padding: 0 24px;
    border-bottom: none;
    border-right: 1px solid #ebebea;
  }

  .ap-stat:first-child { padding-left: 0; }
  .ap-stat:last-child  { border-right: none; padding-right: 0; }

  .ap-services__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ap-clients__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ap-about__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ap-about__inner .ap-label {
    margin-bottom: 0;
  }

  .ap-hero__headline {
    font-size: 44px;
  }

  .ap-footer__compliance {
    text-align: left;
  }
}

/* ── RESPONSIVE — Mobile ─────────────────────────────────────── */
@media (max-width: 640px) {
  .alpha-nav {
    padding: 0 20px;
  }

  .alpha-nav .menu {
    display: none; /* mobile menu — extend later */
  }

  .ap-hero {
    padding: 56px 20px 60px;
  }

  .ap-hero__headline {
    font-size: 34px;
  }

  .ap-hero__stats {
    flex-direction: column;
  }

  .ap-stat {
    padding: 20px 0;
    border-right: none;
    border-bottom: 1px solid #ebebea;
  }

  .ap-stat:last-child {
    border-bottom: none;
  }

  .ap-services,
  .ap-clients,
  .ap-about,
  .ap-cta {
    padding: 60px 20px;
  }

  .ap-services__grid {
    grid-template-columns: 1fr;
  }

  .ap-news,
  .ap-footer {
    padding: 24px 20px;
  }

  .ap-news__inner {
    flex-wrap: wrap;
    gap: 16px;
  }

  .ap-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ap-footer__compliance {
    text-align: left;
  }

  .ap-cta__headline {
    font-size: 26px;
  }
}
