:root {
  --gph-ink: #17150f;
  --gph-charcoal: #161611;
  --gph-charcoal-2: #222019;
  --gph-paper: #f7f3ea;
  --gph-paper-2: #efe7d8;
  --gph-card: #fffdf8;
  --gph-gold: #d8aa2e;
  --gph-gold-bright: #f0c95d;
  --gph-gold-dark: #806219;
  --gph-line: rgba(81, 67, 35, .16);
  --gph-muted: #625c50;
  --gph-shadow: 0 24px 70px rgba(0, 0, 0, .18);
}

/* ============================================================
   PAGE FRAME
   ============================================================ */

body {
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(216, 170, 46, .08),
      transparent 30rem
    ),
    #151510;
}

main.gph-home {
  max-width: 1180px;
  margin: 0 auto 3rem;
  background: var(--gph-paper);
  color: var(--gph-ink);
  box-shadow: var(--gph-shadow);
  overflow: hidden;
}

main.gph-home > hr {
  display: none;
}

/* ============================================================
   HERO
   ============================================================ */

.gph-home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding:
    clamp(3rem, 7vw, 6.5rem)
    clamp(1.5rem, 6vw, 5.5rem)
    clamp(2.75rem, 6vw, 5rem);
  color: #f9f3e6;
  background:
    radial-gradient(
      circle at 86% 24%,
      rgba(240, 201, 93, .22),
      transparent 22rem
    ),
    linear-gradient(
      135deg,
      #10100d 0%,
      #1c1a14 58%,
      #292414 100%
    );
}

.gph-home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  right: -10rem;
  bottom: -15rem;
  border: 1px solid rgba(240, 201, 93, .26);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(240, 201, 93, .035),
    0 0 0 8rem rgba(240, 201, 93, .02);
}

.gph-home-hero::after {
  content: "AU";
  position: absolute;
  z-index: -1;
  right: clamp(1rem, 5vw, 4rem);
  top: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(8rem, 20vw, 18rem);
  line-height: 1;
  font-weight: 700;
  color: rgba(240, 201, 93, .045);
  pointer-events: none;
}

.gph-home-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fff8e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  line-height: .96;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.gph-home-hero > p {
  max-width: 800px;
  margin-top: 1.35rem;
  color: rgba(255, 248, 233, .82);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
}

.gph-home-hero > p:first-of-type {
  max-width: 720px;
  margin-top: 1.6rem;
  color: var(--gph-gold-bright);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 800;
}

.gph-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.gph-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.gph-hero-button-primary {
  background: var(--gph-gold-bright);
  color: #17140b;
  box-shadow: 0 8px 30px rgba(216, 170, 46, .18);
}

.gph-hero-button-secondary {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .06);
  color: #fff8e9;
}

.gph-hero-button:hover {
  transform: translateY(-2px);
}

.gph-hero-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.gph-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.gph-trust-strip li {
  padding: .5rem .78rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: rgba(255,248,233,.82);
  font-size: .86rem;
  font-weight: 700;
}

/* ============================================================
   DIRECTORY / SEARCH
   ============================================================ */

.gph-directory-search {
  margin:
    clamp(1.25rem, 3vw, 2rem)
    clamp(1rem, 4vw, 3rem);
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid rgba(128, 98, 25, .20);
  border-radius: 26px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(216, 170, 46, .12),
      transparent 22rem
    ),
    #fffdf8;
  box-shadow:
    0 14px 35px rgba(55, 43, 15, .07);
}

.gph-directory-search .gph-kicker {
  color: var(--gph-gold-dark);
}

.gph-directory-search h2 {
  max-width: 760px;
  margin-bottom: .8rem;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.gph-directory-search > p {
  color: var(--gph-muted);
  font-size: 1.03rem;
  line-height: 1.6;
}

.gph-directory-search pagefind-searchbox {
  max-width: 820px;
  margin: 1.6rem 0 2rem;
}

.gph-home-directory {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gph-directory-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gph-line);
  border-radius: 18px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, .77);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.gph-directory-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background:
    linear-gradient(
      var(--gph-gold-bright),
      var(--gph-gold-dark)
    );
  opacity: .7;
}

.gph-directory-card:hover {
  transform: translateY(-4px);
  border-color: rgba(128, 98, 25, .34);
  box-shadow: 0 14px 30px rgba(35, 29, 16, .09);
}

.gph-directory-card h3,
.gph-directory-card h2 {
  margin-top: 0;
  font-size: 1.35rem;
  line-height: 1.12;
}

.gph-directory-card p {
  color: var(--gph-muted);
}

.gph-directory-card a {
  color: #31280f;
  text-decoration-color: rgba(128, 98, 25, .42);
  text-underline-offset: .18em;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */

.gph-home-section {
  margin:
    clamp(1rem, 3vw, 2rem)
    clamp(1rem, 4vw, 3rem);
  padding: clamp(1.6rem, 4vw, 3.2rem);
  border-radius: 24px;
  background: rgba(255, 253, 248, .72);
}

.gph-home-section:nth-of-type(even) {
  background: #eee6d7;
}

.gph-home-section h2 {
  margin-top: 0;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -.03em;
}

.gph-home-section h3 {
  margin-top: 1.8rem;
  font-size: 1.35rem;
}

.gph-home-section p,
.gph-home-section li {
  color: #514b41;
  line-height: 1.68;
}

.gph-home-section a {
  color: #30270f;
  text-decoration-color: rgba(128, 98, 25, .45);
  text-underline-offset: .18em;
}

/* ============================================================
   GOLD TOOLS FEATURE BAND
   ============================================================ */

#gold-tools.gph-home-section {
  color: #fff8e9;
  background:
    radial-gradient(
      circle at 90% 15%,
      rgba(240, 201, 93, .18),
      transparent 22rem
    ),
    #1a1914;
}

#gold-tools.gph-home-section h2,
#gold-tools.gph-home-section > p {
  color: #fff8e9;
}

#gold-tools .gph-directory-grid {
  margin-top: 1.5rem;
}

#gold-tools .gph-directory-card {
  background: #fffaf0;
  color: var(--gph-ink);
}

#gold-tools .gph-directory-card p {
  color: #5f584d;
}

/* ============================================================
   RESEARCH / TRUST
   ============================================================ */

#research-methodology.gph-home-section {
  border: 1px solid rgba(128, 98, 25, .18);
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.72),
      rgba(232,220,192,.7)
    );
}

#research-methodology ul {
  padding-left: 1.2rem;
}

#research-methodology li::marker {
  color: var(--gph-gold-dark);
}

/* ============================================================
   LINKS / FOCUS
   ============================================================ */

.gph-home a:focus-visible {
  outline: 3px solid var(--gph-gold-dark);
  outline-offset: 4px;
  border-radius: 3px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 920px) {
  .gph-home-directory {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  main.gph-home {
    margin-bottom: 0;
  }

  .gph-home-hero {
    padding:
      3rem
      1.25rem
      2.7rem;
  }

  .gph-home-hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .gph-home-hero::after {
    font-size: 9rem;
    right: -.5rem;
  }

  .gph-hero-actions {
    flex-direction: column;
  }

  .gph-hero-button {
    width: 100%;
  }

  .gph-home-directory {
    grid-template-columns: 1fr;
  }

  .gph-directory-search,
  .gph-home-section {
    margin:
      1rem
      .75rem;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gph-hero-button,
  .gph-directory-card {
    transition: none;
  }

  .gph-hero-button:hover,
  .gph-directory-card:hover {
    transform: none;
  }
}

/* ============================================================
   PASS 07K — REMOVE LEGACY DESKTOP BRANDING ROW
   The redesigned homepage hero now carries the brand identity.
   Keep the separate mobile branding/navigation untouched.
   ============================================================ */

body.home #main-header .site-main-header-wrap {
  display: none;
}
