/* =========================================================
   Authent Co. — WordPress theme styles
   Brand palette + fonts are placeholders until the brand
   kit arrives; swap the variables below.
   ========================================================= */

:root {
  --authent-green: #415150;      /* primary dark green   */
  --authent-cream: #fff8ee;      /* warm off-white       */
  --authent-band:  #7a8380;      /* muted CTA band green */
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans:  "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--authent-green);
  background-color: var(--authent-cream);
  overflow-x: clip;
}

.section-pad { padding: 6rem 0; }

.site-logo,
.hero-logo img { height: 44px; width: auto; }

/* Kill default figure margins WP adds around image blocks */
.wp-block-image { margin: 0; }

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: clip;
  background-color: var(--authent-green);
  color: var(--authent-cream);
  min-height: 870px;
}

/* Fingerprint is a CSS background so it can't be deleted in the editor */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/fingerprint.png");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: auto 909px;
  pointer-events: none;
}

.hero > * { position: relative; }

.hero-nav { padding-top: 1.5rem; padding-bottom: 1.5rem; }

.hero-copy {
  max-width: 40rem;
  padding-top: 14rem;
  padding-bottom: 10rem;
}

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.25;
  margin: 0 0 1.5rem;
}

.hero-sub {
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 30rem;
  margin: 0;
}

/* light (cream) hero variant for interior pages */
.hero--light {
  background-color: var(--authent-cream);
  color: var(--authent-green);
  min-height: 909px;
}

.hero--light::before {
  background-image: url("../img/fingerprint_dark.png");
}

/* ============ SECTION HEADING (rule + dot) ============ */
.section-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 2rem;
  display: inline-block;
  position: relative;
  margin: 0;
}

.section-heading::before {
  content: "";
  position: absolute;
  top: calc(100% + 12px);
  right: -2.25rem;
  width: 100vw;
  height: 2px;
  background-color: var(--authent-green);
}

.section-heading::after {
  content: "";
  position: absolute;
  top: calc(100% + 8px);
  right: -2.25rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--authent-green);
}

.firm-heading-wrap { margin-bottom: 3rem; }

/* ============ THE FIRM ============ */
.firm {
  background-color: var(--authent-cream);
  color: var(--authent-green);
}

.firm-body p {
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

/* Buttons — covers both plain links and WP button blocks */
.btn-authent,
.wp-block-button.btn-authent .wp-block-button__link {
  font-family: var(--font-serif);
  background-color: var(--authent-green);
  color: var(--authent-cream);
  border: none;
  border-radius: 0;
  padding: 0.85rem 3.25rem;
  font-size: 1.125rem;
  text-decoration: none;
  display: inline-block;
}

.btn-authent:hover,
.btn-authent:focus,
.wp-block-button.btn-authent .wp-block-button__link:hover,
.wp-block-button.btn-authent .wp-block-button__link:focus {
  background-color: #2f3c3b;
  color: var(--authent-cream);
}

/* ============ CLIMATE TECH CATALYST ============ */
.ctc {
  background-color: var(--authent-green);
  background-image: url("../img/bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: var(--authent-cream);
}

.ctc-logo img { width: 350px; max-width: 90vw; height: auto; }
.ctc-logo { margin-bottom: 3rem; }

.ctc-body {
  max-width: 800px;
  margin: 0 auto;
}

.ctc-body p {
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
}

.ctc-illustration { margin-top: 3rem; }
.ctc-illustration img { max-width: 964px; width: 100%; height: auto; }

/* ============ CTA BAND ============ */
.cta {
  background-color: var(--authent-band);
  color: var(--authent-cream);
  padding: 4.5rem 0;
  text-align: center;
}

.cta-copy {
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.cta-reach {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0;
}

.cta-reach a {
  color: var(--authent-cream);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.cta-reach a:hover { color: #ffffff; }

/* ============ TEAM ============ */
.team-photo img {
  width: 100%;
  max-width: 307px;
  height: auto;
}

.team-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.75rem;
  margin: 2rem 0 0.75rem;
}

.team-role {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

/* Social icon circles (core social-links block) */
.team-social.wp-block-social-links .wp-block-social-link {
  border-radius: 50%;
}

/* ============ ASSETS ============ */
.asset-card { text-align: center; display: inline-block; }

.asset-thumb img {
  max-width: 359px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(65, 81, 80, 0.25);
}

.asset-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.75rem;
  margin: 1.75rem 0;
}

/* ============ HAMBURGER MENU ============ */
.site-menu-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  pointer-events: none;
}

.site-menu-wrap .container-xl { position: relative; }

.menu-toggle {
  pointer-events: auto;
  position: absolute;
  top: 1.5rem;
  right: 12px; /* aligns with container-xl inner edge */
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 0;
  background: transparent;
  border: 2px solid var(--authent-cream);
  border-radius: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--authent-cream);
}

.menu-toggle:hover { opacity: 0.75; }

/* every page except home has the cream hero: flip the button to green */
body.has-light-hero .menu-toggle,
body:has(.hero--light) .menu-toggle { border-color: var(--authent-green); }
body.has-light-hero .menu-toggle span,
body:has(.hero--light) .menu-toggle span { background-color: var(--authent-green); }

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background-color: var(--authent-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-menu[hidden] { display: none; }

.site-menu-inner {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.menu-close {
  position: absolute;
  top: 1.5rem;
  right: 12px;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 2px solid var(--authent-cream);
  border-radius: 0;
  color: var(--authent-cream);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.menu-close:hover { opacity: 0.75; }

.site-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.site-menu-list li { margin: 1.5rem 0; }

.site-menu-list a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--authent-cream);
  text-decoration: none;
}

.site-menu-list a:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
}

body.menu-open { overflow: hidden; }

@media (min-width: 992px) {
  /* align with the taller desktop logo padding */
  .menu-toggle { top: 3rem; }
}

/* ============ FOOTER ============ */
.footer {
  background-color: var(--authent-green);
  color: var(--authent-cream);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  font-family: var(--font-serif);
  color: var(--authent-cream);
  font-size: 1.125rem;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-nav a:hover { color: #ffffff; }

/* ============ FADE-IN ============ */
.fade-section {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-section.is-visible {
  opacity: 1;
  transform: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991.98px) {
  .hero { min-height: 0; }
  .hero--light { min-height: 0; }
  .hero-copy { padding-top: 10rem; padding-bottom: 4rem; }

  /* mobile comp: fingerprint full-strength, top-right corner, bleeding off-screen */
  .hero::before {
    background-size: auto min(56%, 480px);
    background-position: top 0 right -80px;
  }

  .hero-headline { line-height: 1.15; }
  .section-pad { padding: 4rem 0; }
  .hero-nav .hero-logo img { height: 32px; }
}

@media (max-width: 575.98px) {
  .hero-copy { padding-top: 9rem; padding-bottom: 3.5rem; }
  .hero-nav .hero-logo img { height: 24px; }
  .hero-sub { font-size: 1.125rem; }
  /* wrap like the mobile comp: A brand / should sound / unmistakably / like itself. */
  .hero-headline { max-width: 15rem; }
}