:root {
  --black: #000000;
  --taupe: #9f8f7c;
  --beige: #ddcbb7;
  --cream: #e2d9c9;
  --white: #ffffff;
  --text: #1c1c1c;
  --header-font: "DM Serif Display", Georgia, serif;
  --body-font: "Open Sans", Arial, sans-serif;
  --nav-height: 120px;
  --header-content-width: 1196px;
  --pathos-content-width: 1105px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 16px;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--black);
  color: var(--white);
}

.utility-link {
  position: absolute;
  top: 25px;
  right: max(28px, calc((100% - var(--header-content-width)) / 2));
  color: var(--beige);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--header-content-width), calc(100% - 72px));
  height: 100%;
  margin: 0 auto;
  padding-top: 0;
}

.brand {
  width: 377px;
  flex: 0 0 auto;
  transform: translate(-11px, 8px);
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 23px;
  margin: 45px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.nav-item {
  position: relative;
}

.nav-about::after {
  content: "";
  position: absolute;
  top: 34px;
  left: 0;
  width: 223px;
  height: 21px;
}

.nav-item > a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-transform: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: color 180ms ease;
}

.nav-item > a:hover,
.nav-item > a:focus-visible,
.nav-trigger:hover,
.nav-trigger:focus-visible {
  color: var(--beige);
}

.nav-trigger:focus-visible,
.submenu a:focus-visible,
.button:focus-visible,
.testimonial-arrow:focus-visible,
.mobile-menu:focus-visible {
  outline: 2px solid var(--beige);
  outline-offset: 4px;
}

.nav-caret {
  width: 0;
  height: 0;
  margin-left: 8px;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  border-top: 8px solid currentColor;
  transform: translateY(1px);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-about.is-open > .nav-trigger,
.nav-about:hover > .nav-trigger,
.nav-about:focus-within > .nav-trigger {
  color: var(--beige);
}

.nav-about.is-open .nav-caret,
.nav-about:hover .nav-caret,
.nav-about:focus-within .nav-caret {
  transform: translateY(2px);
  opacity: 0.82;
}

.nav-divider {
  width: 1px;
  height: 17px;
  background: var(--cream);
  opacity: 0.85;
}

.submenu {
  position: absolute;
  top: 54.5px;
  left: 0;
  display: grid;
  min-width: 223px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(221, 203, 183, 0.78);
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scaleY(0.98);
  transform-origin: top left;
  transition: opacity 220ms ease, transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-about:hover .submenu,
.nav-about:focus-within .submenu,
.nav-about.is-open .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scaleY(1);
}

.submenu a {
  display: block;
  padding: 15px 23px;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, padding-left 180ms ease;
}

.submenu a:hover,
.submenu a:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  padding-left: 27px;
}

.hero {
  position: relative;
  min-height: 548px;
  margin-top: var(--nav-height);
  overflow: hidden;
  background: var(--cream);
}

.hero-photo,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-photo {
  background-image: url("./assets/HeroPhoto_FPO.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.8) 33%, rgba(255, 255, 255, 0.35) 55%, rgba(255, 255, 255, 0) 78%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 675px) 1fr;
  align-items: end;
  width: min(1200px, calc(100% - 64px));
  min-height: 548px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.hero-copy {
  padding-top: 92px;
}

.hero-copy h1,
.pathos-copy h2,
.testimonial-section h2 {
  margin: 0;
  font-family: var(--header-font);
  font-weight: 400;
  letter-spacing: 0;
}

.hero-copy h1 {
  color: var(--black);
  font-size: 80px;
  line-height: 0.98;
}

.hero-copy p {
  width: min(640px, 100%);
  margin: 26px 0 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.38;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border: 0;
  border-radius: 22px 0 22px 0;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--taupe);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
}

.hero-button {
  justify-self: end;
  margin-right: 8px;
}

.pathos-section {
  position: relative;
  overflow: hidden;
  min-height: 506px;
  background: var(--taupe);
  color: var(--white);
}

.pattern {
  position: absolute;
  top: 0;
  bottom: 0;
  width: max(32px, calc((100% - var(--pathos-content-width)) / 2));
  background-image: url("./assets/LeafPattern_FPO.svg");
  background-position: center -118px;
  background-repeat: repeat;
  background-size: 900px auto;
  opacity: 0.58;
  mix-blend-mode: normal;
}

.pattern-left {
  left: 0;
}

.pattern-right {
  right: 0;
}

.pathos-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 475px) minmax(0, 560px);
  gap: 96px;
  align-items: start;
  width: min(1105px, calc(100% - 64px));
  min-height: 506px;
  margin: 0 auto;
  padding: 58px 0 58px;
}

.pathos-photo-wrap {
  overflow: hidden;
  border-radius: 44px 0 44px 0;
  background: var(--beige);
}

.pathos-photo-wrap img {
  width: 100%;
  height: 342px;
  object-fit: cover;
  object-position: 41% 50%;
}

.pathos-copy h2 {
  color: var(--white);
  font-size: 60px;
  line-height: 1.03;
}

.pathos-copy p {
  max-width: 560px;
  margin: 30px 0 34px;
  color: var(--white);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.42;
}

.secondary-button {
  min-height: 54px;
  padding-inline: 36px;
}

.testimonial-section {
  min-height: 270px;
  background: var(--cream);
  color: var(--black);
  text-align: center;
}

.testimonial-inner {
  width: min(1165px, calc(100% - 64px));
  margin: 0 auto;
  padding: 45px 0 48px;
}

.testimonial-section h2 {
  font-size: 60px;
  line-height: 1;
}

.quote-mark {
  height: 38px;
  margin: 18px 0 0;
  color: var(--white);
  font-family: var(--header-font);
  font-size: 78px;
  line-height: 0.65;
}

.testimonial-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 80px;
  align-items: center;
  gap: 20px;
}

.testimonial-row blockquote {
  margin: 0;
  color: var(--black);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.testimonial-quote {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 420ms ease, transform 420ms ease;
}

.testimonial-quote.is-changing {
  opacity: 0;
  transform: translateX(22px);
}

.testimonial-arrow {
  width: 62px;
  height: 62px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--body-font);
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.testimonial-arrow:hover,
.testimonial-arrow:focus-visible {
  color: var(--black);
  transform: translateX(-2px);
}

.testimonial-arrow:last-child:hover,
.testimonial-arrow:last-child:focus-visible {
  transform: translateX(2px);
}

.site-footer {
  min-height: 650px;
  background: var(--black);
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 780px) 260px;
  gap: 166px;
  width: min(1130px, calc(100% - 64px));
  margin: 0 auto;
  padding-top: 70px;
}

.footer-disclosure {
  color: var(--white);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.28;
}

.footer-disclosure p {
  margin: 0 0 22px;
}

.footer-disclosure a {
  display: inline-block;
  margin-top: 6px;
  text-decoration: underline;
}

.footer-badges {
  display: grid;
  gap: 28px;
  align-content: start;
  padding-top: 6px;
}

.footer-badge {
  width: 240px;
  margin: 0;
  background: #11110f;
}

.footer-badge img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(221, 203, 183, 0.42);
}

.footer-badge-cfp,
.footer-badge-forbes {
  width: 240px;
}

.mobile-menu {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  :root {
    --nav-height: 104px;
  }

  .utility-link {
    right: 28px;
  }

  .brand {
    width: 260px;
  }

  .primary-nav {
    gap: 18px;
    font-size: 14px;
  }

  .hero,
  .hero-inner {
    min-height: 610px;
  }

  .hero-photo {
    background-position: 62% 50%;
  }

  .hero-copy p,
  .pathos-copy p {
    font-size: 18px;
  }

  .pathos-inner {
    grid-template-columns: minmax(310px, 430px) minmax(0, 1fr);
    gap: 56px;
  }
}

@media (max-width: 880px) {
  :root {
    --nav-height: 86px;
  }

  .site-header {
    height: var(--nav-height);
  }

  .utility-link {
    display: none;
  }

  .nav-shell {
    width: calc(100% - 36px);
    padding-top: 0;
  }

  .brand {
    width: 230px;
  }

  .mobile-menu {
    display: inline-grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 0;
    background: transparent;
  }

  .mobile-menu span {
    display: block;
    height: 2px;
    background: var(--white);
  }

  .primary-nav {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 14px 28px 28px;
    background: var(--black);
    font-size: 14px;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }

  .primary-nav.nav-open {
    display: flex;
  }

  .nav-item > a,
  .nav-trigger {
    min-height: 46px;
  }

  .nav-divider {
    display: none;
  }

  .submenu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 10px;
    padding: 2px 0;
    background: rgba(221, 203, 183, 0.84);
    transform: none;
    transition: opacity 180ms ease;
  }

  .nav-about:hover .submenu,
  .nav-about:focus-within .submenu,
  .nav-about.is-open .submenu {
    display: grid;
  }

  .submenu a {
    padding: 13px 18px;
  }

  .hero,
  .hero-inner {
    min-height: 620px;
  }

  .hero-photo {
    background-position: 76% 50%;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.88) 43%, rgba(255, 255, 255, 0.74) 100%);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: center;
    padding: 44px 0 60px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-copy h1 {
    font-size: 64px;
  }

  .hero-copy p {
    font-size: 18px;
  }

  .hero-button {
    justify-self: start;
    margin-top: 28px;
  }

  .pathos-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 48px 0 52px;
  }

  .pathos-photo-wrap img {
    height: clamp(285px, 46vw, 430px);
  }

  .pathos-copy h2,
  .testimonial-section h2 {
    font-size: 52px;
  }

  .pathos-copy p,
  .testimonial-row blockquote {
    font-size: 18px;
  }

  .pattern {
    opacity: 0.46;
    width: 32px;
  }

  .testimonial-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .testimonial-arrow {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 58px;
  }

  .footer-badges {
    grid-template-columns: repeat(2, 240px);
    justify-content: center;
    gap: 24px;
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .hero-inner,
  .pathos-inner,
  .testimonial-inner,
  .footer-inner {
    width: calc(100% - 36px);
  }

  .hero-copy h1 {
    font-size: 50px;
  }

  .hero,
  .hero-inner {
    min-height: 650px;
  }

  .hero-photo {
    background-position: 82% 50%;
  }

  .hero-inner {
    padding-top: 38px;
  }

  .button {
    min-height: 58px;
    padding-inline: 24px;
    font-size: 13px;
  }

  .pathos-inner {
    padding: 42px 0 48px;
  }

  .pathos-photo-wrap {
    border-radius: 34px 0 34px 0;
  }

  .pathos-copy h2,
  .testimonial-section h2 {
    font-size: 44px;
  }

  .testimonial-inner {
    padding: 40px 0 44px;
  }

  .footer-inner {
    padding-top: 50px;
  }

  .footer-badges {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
  }

  .footer-badge,
  .footer-badge-cfp,
  .footer-badge-forbes {
    width: min(240px, 78vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
