/*
Theme Name: David Aligned
Theme URI: https://david.local
Author: Codex
Description: A bespoke coaching landing page inspired by the supplied design reference.
Version: 1.0.0
Text Domain: david-aligned
*/

@font-face {
  font-family: "DM Sans";
  src: url("assets/DMSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/DMSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif";
  src: url("assets/SourceSerif4.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --ink: #111710;
  --cream: #f7f5ef;
  --green: #789b3b;
  --green-bright: #a5cd55;
  --green-deep: #506d2a;
  --gold: #bf8d2f;
  --line: rgba(255, 255, 255, 0.25);
  --page: min(1440px, calc(100% - 8vw));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
}

.nav-wrap {
  width: var(--page);
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 38px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
  min-width: max-content;
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--green-bright);
  border-radius: 50%;
  color: var(--green-bright);
  font: 400 27px/1 "Source Serif", serif;
}

.brand-name {
  display: block;
  font: 500 25px/1.05 "Source Serif", serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-sub {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2vw, 34px);
}

.primary-nav a {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.primary-nav a:not(.nav-cta)::after {
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 0;
  height: 1px;
  content: "";
  background: var(--green-bright);
  transition: width 0.25s ease;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  width: 100%;
}

.primary-nav a.active {
  color: var(--green-bright);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 43px;
  padding: 0 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  background: linear-gradient(110deg, #789b3b, #5e7c31);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.nav-cta {
  min-height: 38px;
  margin-left: 26px;
}

.button:hover,
.nav-cta:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(8, 12, 8, 0.25);
}

.button-dark-outline {
  border-color: #6d735f;
  background: transparent;
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  flex: 0 0 auto;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 485px;
  padding-top: 92px;
  overflow: hidden;
  color: #fff;
  background: #111810 url("assets/hero-landscape-v2.png") center 52% / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 13, 12, 0.88) 0%, rgba(13, 20, 19, 0.62) 36%, rgba(11, 17, 13, 0.32) 65%, rgba(10, 13, 9, 0.05) 100%),
    linear-gradient(0deg, rgba(7, 16, 9, 0.34), transparent 54%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: var(--page);
  min-height: 393px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 120px minmax(300px, 400px) minmax(470px, 1fr);
  align-items: end;
  gap: 28px;
}

.hero-quote {
  align-self: center;
  padding-bottom: 10px;
}

.quote-mark {
  display: block;
  height: 42px;
  color: var(--green-bright);
  font: 700 58px/1 "Source Serif", serif;
}

.hero-quote p {
  margin: 0;
  font-size: 19px;
  line-height: 1.65;
}

.signature {
  display: block;
  width: 135px;
  height: auto;
  margin-top: 12px;
}

.portrait-arch {
  align-self: end;
  height: 398px;
  overflow: hidden;
  border-radius: 50% 50% 5px 5px / 34% 34% 2% 2%;
  background: rgba(255,255,255,.08);
}

.portrait-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  align-self: center;
  max-width: 690px;
  padding: 24px 0 28px 8px;
}

.hero h1 {
  margin: 0;
  font: 400 clamp(46px, 4.4vw, 72px)/0.98 "Source Serif", Georgia, serif;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.hero h1 span {
  display: block;
  margin-top: 11px;
  color: var(--green-bright);
}

.sun-rule {
  display: flex;
  width: 62%;
  margin: 19px 0 18px;
  align-items: center;
  gap: 12px;
  color: var(--gold);
}

.sun-rule::before,
.sun-rule::after {
  height: 1px;
  flex: 1;
  content: "";
  background: currentColor;
}

.sun-rule span {
  font-size: 22px;
}

.hero-lede {
  max-width: 600px;
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
}

.pillars {
  position: relative;
  z-index: 3;
  color: #fff;
  background: linear-gradient(90deg, #668738, #4e6a2b);
}

.pillars-inner {
  width: var(--page);
  min-height: 157px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.pillar {
  position: relative;
  padding: 18px 24px 15px;
  text-align: center;
}

.pillar + .pillar::before {
  position: absolute;
  top: 21px;
  bottom: 21px;
  left: 0;
  width: 1px;
  content: "";
  background: var(--line);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 6px;
  color: #fff;
}

.pillar-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.pillar h3 {
  margin: 0 0 4px;
  font-size: 14px;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.pillar p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
}

.about {
  background:
    radial-gradient(circle at 3% 5%, rgba(191, 141, 47, 0.08), transparent 22%),
    var(--cream);
}

.about-inner {
  width: min(1320px, calc(100% - 12vw));
  padding: 27px 0 19px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.15fr 0.82fr;
  gap: 58px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about h2 {
  margin: 0;
  font: 450 clamp(26px, 2.3vw, 36px)/1.05 "Source Serif", Georgia, serif;
}

.mini-rule {
  display: flex;
  width: 175px;
  margin: 15px 0;
  align-items: center;
  gap: 7px;
  color: var(--gold);
}

.mini-rule::before,
.mini-rule::after {
  height: 1px;
  flex: 1;
  content: "";
  background: currentColor;
}

.about-copy > p:not(.eyebrow) {
  margin: 0 0 9px;
  font-size: 12.5px;
  line-height: 1.5;
}

.about-copy .button {
  min-height: 36px;
  margin-top: 5px;
  padding: 0 19px;
  font-size: 10.5px;
}

.about-photo {
  height: 273px;
  overflow: hidden;
  border-radius: 17px;
  box-shadow: 0 12px 25px rgba(20, 25, 17, 0.12);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials {
  align-self: stretch;
  padding-top: 7px;
}

.testimonial {
  position: relative;
  margin: 0;
  padding: 9px 0 12px 30px;
  font-size: 12.5px;
  line-height: 1.48;
}

.testimonial::before {
  position: absolute;
  top: 2px;
  left: 0;
  content: "“";
  color: var(--green-deep);
  font: 700 38px/1 "Source Serif", serif;
}

.testimonial + .testimonial {
  border-top: 1px solid #d0d0c6;
}

.testimonial cite {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.testimonials .button {
  min-height: 37px;
  margin-left: 30px;
  padding: 0 18px;
  font-size: 10.5px;
}

.google-review {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(90deg, #668738, #4e6a2b);
}

.reviews-shell {
  width: min(1450px, calc(100% - 5vw));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.review-business {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 14px;
}

.review-qr {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.review-qr img {
  width: 92px;
  height: 92px;
  padding: 4px;
  margin-bottom: 5px;
  border-radius: 4px;
  background: #fff;
}

.review-qr:hover {
  color: #fff;
}

.review-business h2 {
  margin: 0 0 3px;
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
}

.business-stars {
  color: #fbbc05;
  font-size: 17px;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.review-business p {
  margin: 2px 0 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
}

.write-review-button {
  display: inline-flex;
  min-height: 28px;
  padding: 0 14px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.write-review-button:hover {
  border-color: #fff;
  background: #fff;
  color: var(--green-deep);
}

.review-carousel {
  position: relative;
  min-width: 0;
}

.review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 26px) / 3);
  gap: 13px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.review-track::-webkit-scrollbar {
  display: none;
}

.review-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid #e1e4de;
  border-radius: 50%;
  background: #fff;
  color: #7a7f79;
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(20, 30, 15, 0.08);
  transform: translateY(-50%);
}

.review-prev {
  left: -13px;
}

.review-next {
  right: -13px;
}

.review-arrow:hover {
  color: #4285f4;
}

.review-card {
  min-height: 178px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 9px;
  background: #f7f7f7;
  box-shadow: none;
  scroll-snap-align: start;
}

.review-card-head {
  display: grid;
  grid-template-columns: 34px 1fr 18px;
  align-items: center;
  gap: 9px;
}

.review-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.review-avatar-photo { background: #8ca26f; }
.review-avatar-blue { background: #6478c9; }
.review-avatar-gold { background: #b79942; }
.review-avatar-green { background: #3e766b; }
.review-avatar-purple { background: #673ab7; }
.review-avatar-rust { background: #8a5942; }
.review-avatar-charcoal { background: #34484a; }

.review-card-head h3 {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.2;
}

.review-card-head p {
  margin: 2px 0 0;
  color: #7b7d77;
  font-size: 9px;
}

.google-mini {
  color: transparent;
  font-size: 16px;
  font-weight: 700;
  background: conic-gradient(from -35deg, #4285f4 0 28%, #34a853 28% 43%, #fbbc05 43% 62%, #ea4335 62% 78%, #4285f4 78%);
  background-clip: text;
  -webkit-background-clip: text;
}

.card-stars {
  margin: 8px 0 6px;
  color: #fbbc05;
  font-size: 14px;
  letter-spacing: 0.015em;
}

.verified {
  width: 12px;
  height: 12px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #4285f4;
  color: #fff;
  font-size: 8px;
  vertical-align: 2px;
}

.review-text {
  margin: 0 0 8px;
  flex: 1;
  font-size: 11px;
  line-height: 1.38;
}

.review-card > a {
  color: #92958f;
  font-size: 9.5px;
}

.review-card > a:hover {
  color: #4285f4;
}

.resources {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #0d2514;
}

.resources::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.16;
  background:
    radial-gradient(circle at 20% 50%, #789b3b 0 4px, transparent 5px),
    radial-gradient(circle at 80% 20%, #789b3b 0 3px, transparent 4px);
  background-size: 70px 50px, 95px 75px;
}

.resources-inner {
  position: relative;
  width: min(1160px, calc(100% - 10vw));
  min-height: 70px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 54px 1fr minmax(430px, 0.9fr);
  align-items: center;
  gap: 18px;
}

.leaf-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green-bright);
  border-radius: 50%;
  color: var(--green-bright);
  font-size: 23px;
}

.resources h2 {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resources p {
  margin: 1px 0 0;
  font-size: 12px;
}

.signup-form {
  display: flex;
  gap: 10px;
}

.signup-form input {
  min-width: 0;
  height: 40px;
  flex: 1;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  outline: none;
}

.signup-form input:focus {
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(165, 205, 85, 0.18);
}

.signup-form .button {
  min-height: 40px;
}

.form-status {
  position: absolute;
  right: 0;
  bottom: 2px;
  color: var(--green-bright);
  font-size: 10px;
}

@media (max-width: 1180px) {
  .nav-wrap {
    gap: 20px;
  }

  .brand-name {
    font-size: 20px;
  }

  .primary-nav {
    gap: 16px;
  }

  .primary-nav a {
    font-size: 11px;
  }

  .nav-cta {
    margin-left: 8px;
  }

  .hero-inner {
    grid-template-columns: minmax(280px, 370px) 1fr;
  }

  .hero-quote {
    display: none;
  }

  .about-inner {
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .nav-wrap {
    height: 78px;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
  }

  .primary-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 86vw);
    padding: 110px 34px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    background: rgba(12, 20, 15, 0.98);
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  .menu-open .primary-nav {
    transform: translateX(0);
  }

  .primary-nav a {
    font-size: 15px;
  }

  .nav-cta {
    margin: 8px 0 0;
  }

  .hero {
    padding-top: 78px;
  }

  .hero-inner {
    min-height: 0;
    padding-top: 40px;
    grid-template-columns: 0.8fr 1.2fr;
  }

  .portrait-arch {
    height: 350px;
  }

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

  .hero h1 {
    font-size: clamp(37px, 6.2vw, 55px);
  }

  .pillars-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillar:last-child {
    grid-column: 1 / -1;
  }

  .about-inner {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials {
    grid-column: 1 / -1;
  }

  .resources-inner {
    grid-template-columns: 54px 1fr;
    padding: 16px 0;
  }

  .signup-form {
    grid-column: 1 / -1;
  }

  .reviews-shell {
    grid-template-columns: 255px minmax(0, 1fr);
  }

  .review-track {
    grid-auto-columns: calc((100% - 13px) / 2);
  }
}

@media (max-width: 640px) {
  :root {
    --page: calc(100% - 36px);
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    font-size: 22px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-sub {
    font-size: 8px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 31px;
    grid-template-columns: 1fr;
  }

  .portrait-arch {
    width: min(340px, 100%);
    height: 340px;
    margin: 0 auto;
    grid-row: 2;
  }

  .hero-copy {
    grid-row: 1;
    padding: 10px 0 24px;
    min-width: 0;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(31px, 9.2vw, 37px);
    letter-spacing: 0.015em;
  }

  .hero-lede {
    font-size: 15px;
  }

  .sun-rule {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-actions .button {
    width: min(280px, 100%);
  }

  .pillars-inner {
    grid-template-columns: 1fr;
  }

  .pillar:last-child {
    grid-column: auto;
  }

  .pillar + .pillar::before {
    inset: 0 18% auto;
    width: auto;
    height: 1px;
  }

  .about-inner {
    width: var(--page);
    grid-template-columns: 1fr;
  }

  .about-copy {
    text-align: center;
  }

  .mini-rule {
    margin-right: auto;
    margin-left: auto;
  }

  .about-photo {
    grid-row: 1;
  }

  .reviews-shell {
    width: 100%;
    padding-left: 18px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .review-business {
    width: 280px;
  }

  .review-carousel {
    margin-left: -18px;
  }

  .review-track {
    padding: 0 18px 4px;
    grid-auto-columns: minmax(255px, 82vw);
    gap: 12px;
  }

  .review-arrow {
    display: none;
  }

  .resources-inner {
    width: var(--page);
  }

  .signup-form {
    flex-direction: column;
  }
}

/* About page */
.about-page-hero {
  position: relative;
  min-height: 390px;
  padding-top: 92px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: #111810 url("assets/hero-landscape-v2.png") center 48% / cover no-repeat;
}

.about-page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(8, 13, 12, 0.83), rgba(10, 15, 11, 0.38));
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  width: min(800px, calc(100% - 40px));
  padding: 45px 0;
}

.about-page-hero .eyebrow {
  color: var(--green-bright);
}

.about-page-hero h1 {
  margin: 0;
  font: 450 clamp(54px, 6vw, 82px)/1 "Source Serif", Georgia, serif;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.about-page-hero .sun-rule {
  width: 230px;
  margin-right: auto;
  margin-left: auto;
}

.about-page-hero p:last-child {
  max-width: 680px;
  margin: 0 auto;
  font: 400 19px/1.6 "Source Serif", Georgia, serif;
}

.about-story {
  background: var(--cream);
}

.about-story-inner {
  width: min(1180px, calc(100% - 10vw));
  padding: 72px 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) 1.22fr;
  align-items: center;
  gap: clamp(45px, 7vw, 95px);
}

.about-story-photo {
  position: relative;
}

.about-story-photo img {
  width: 100%;
  height: 610px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 200px 200px 14px 14px;
  box-shadow: 0 24px 50px rgba(20, 28, 18, 0.14);
}

.photo-quote {
  position: absolute;
  right: -30px;
  bottom: 35px;
  max-width: 240px;
  padding: 19px 22px;
  border-left: 3px solid var(--green-bright);
  background: #142118;
  color: #fff;
  font: italic 17px/1.4 "Source Serif", Georgia, serif;
  box-shadow: 0 12px 28px rgba(15, 22, 14, 0.18);
}

.about-story-copy h2 {
  margin: 0;
  font: 450 clamp(33px, 3.2vw, 48px)/1.08 "Source Serif", Georgia, serif;
}

.about-story-copy > p:not(.eyebrow) {
  margin: 0 0 15px;
  color: #3b4038;
  font-size: 15px;
  line-height: 1.72;
}

.journey {
  padding: 68px 0 76px;
  color: #fff;
  background: #142118;
}

.journey-inner {
  width: min(1240px, calc(100% - 10vw));
  margin: 0 auto;
}

.journey-heading {
  max-width: 550px;
  margin-bottom: 38px;
}

.journey-heading .eyebrow {
  color: var(--green-bright);
}

.journey-heading h2 {
  margin: 0;
  font: 450 clamp(34px, 3vw, 45px)/1.08 "Source Serif", Georgia, serif;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.journey-steps article {
  position: relative;
  padding: 28px 30px 16px;
}

.journey-steps article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.journey-steps span {
  color: var(--green-bright);
  font: 500 30px/1 "Source Serif", Georgia, serif;
}

.journey-steps h3 {
  margin: 18px 0 9px;
  font-size: 14px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.journey-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.about-cta {
  width: min(1080px, calc(100% - 10vw));
  padding: 52px 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.about-cta h2 {
  margin: 0;
  font: 450 clamp(33px, 3vw, 44px)/1.08 "Source Serif", Georgia, serif;
}

.about-cta p:last-child {
  max-width: 700px;
  margin: 8px 0 0;
  color: #50554c;
  font-size: 14px;
}

.about-cta .button {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .about-story-inner {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 45px;
  }

  .about-story-photo img {
    height: 540px;
  }

  .photo-quote {
    right: -18px;
  }

  .journey-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey-steps article:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .about-page-hero {
    min-height: 350px;
    padding-top: 78px;
  }

  .about-story-inner {
    width: var(--page);
    padding: 46px 0;
    grid-template-columns: 1fr;
  }

  .about-story-photo {
    width: min(390px, 100%);
    margin: 0 auto;
  }

  .about-story-photo img {
    height: 510px;
  }

  .photo-quote {
    right: -8px;
  }

  .journey-inner {
    width: var(--page);
  }

  .journey-steps {
    grid-template-columns: 1fr;
  }

  .journey-steps article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .about-cta {
    width: var(--page);
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
}

/* Video library */
.healing-library {
  padding: 72px 0 76px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 14%, rgba(120, 155, 59, 0.15), transparent 24%),
    #111b15;
}

.healing-library-inner {
  width: min(1280px, calc(100% - 9vw));
  margin: 0 auto;
}

.video-section-heading {
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: end;
  gap: 60px;
}

.video-section-heading .eyebrow {
  color: var(--green-bright);
}

.video-section-heading h2 {
  margin: 0;
  font: 450 clamp(40px, 4vw, 58px)/1 "Source Serif", Georgia, serif;
}

.video-section-heading > p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.65;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.video-card:hover {
  border-color: rgba(165, 205, 85, 0.45);
  transform: translateY(-3px);
}

.video-card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.55fr 0.75fr;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #070a08;
}

.video-card-featured .video-frame {
  height: 100%;
  aspect-ratio: auto;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card-copy {
  padding: 19px 20px 22px;
}

.video-card-featured .video-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.video-card-copy span {
  color: var(--green-bright);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.video-card-copy h3 {
  margin: 5px 0 7px;
  font: 500 23px/1.08 "Source Serif", Georgia, serif;
}

.video-card-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  line-height: 1.55;
}

.worlds-row {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.worlds-row > div {
  padding: 25px 30px 0;
}

.worlds-row > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.worlds-row span {
  color: var(--green-bright);
  font: 500 20px/1 "Source Serif", Georgia, serif;
}

.worlds-row h3 {
  margin: 8px 0 5px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.worlds-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

@media (max-width: 900px) {
  .video-section-heading {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-card-featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .healing-library {
    padding: 48px 0 52px;
  }

  .healing-library-inner {
    width: var(--page);
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-card-featured {
    display: block;
  }

  .video-card-featured .video-frame {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .video-card-featured .video-card-copy {
    padding: 19px 20px 22px;
  }

  .worlds-row {
    grid-template-columns: 1fr;
  }

  .worlds-row > div {
    padding: 20px 0;
  }

  .worlds-row > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }
}

/* Contact page */
.contact-page-hero {
  position: relative;
  min-height: 410px;
  padding-top: 92px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: #111810 url("assets/hero-landscape-v2.png") center 52% / cover no-repeat;
}

.contact-page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(8, 13, 12, 0.88), rgba(10, 15, 11, 0.34));
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 40px));
  padding: 45px 0;
}

.contact-page-hero .eyebrow {
  color: var(--green-bright);
}

.contact-page-hero h1 {
  margin: 0;
  font: 450 clamp(52px, 5.7vw, 78px)/1 "Source Serif", Georgia, serif;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.contact-page-hero .sun-rule {
  width: 230px;
  margin-right: auto;
  margin-left: auto;
}

.contact-page-hero p:last-child {
  max-width: 690px;
  margin: 0 auto;
  font: 400 18px/1.6 "Source Serif", Georgia, serif;
}

.contact-main {
  background:
    radial-gradient(circle at 7% 8%, rgba(120, 155, 59, 0.09), transparent 25%),
    var(--cream);
}

.contact-main-inner {
  width: min(1160px, calc(100% - 10vw));
  padding: 72px 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(55px, 8vw, 105px);
  align-items: start;
}

.contact-details h2,
.contact-form-panel h2 {
  margin: 0;
  font: 450 clamp(34px, 3.1vw, 46px)/1.06 "Source Serif", Georgia, serif;
}

.contact-intro {
  margin: 20px 0 30px;
  color: #555b52;
  font-size: 14px;
  line-height: 1.7;
}

.contact-method {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 13px;
  border-top: 1px solid #d9dbd2;
}

.contact-method > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #a5b48b;
  border-radius: 50%;
  color: var(--green-deep);
  font-size: 17px;
}

.contact-method small {
  display: block;
  margin-bottom: 2px;
  color: var(--green-deep);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-method a,
.contact-method p {
  margin: 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.contact-method a:hover {
  color: var(--green-deep);
}

.contact-socials {
  padding-top: 21px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-socials a {
  color: #4d5f3c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-form-panel {
  padding: 38px 42px 42px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(26, 34, 23, 0.1);
}

.contact-form-panel h2 {
  margin-bottom: 26px;
}

.contact-form {
  display: grid;
  gap: 17px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.contact-form label {
  color: #343a31;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form label > span {
  color: #9a4b3e;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid #d2d6ce;
  border-radius: 4px;
  background: #fbfcfa;
  color: var(--ink);
  font: 400 13px/1.4 "DM Sans", Arial, sans-serif;
  outline: none;
  text-transform: none;
}

.contact-form input,
.contact-form select {
  height: 43px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(120, 155, 59, 0.12);
}

.contact-form .button {
  min-width: 190px;
  justify-self: start;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
}

.contact-notice {
  padding: 12px 14px;
  margin: -10px 0 20px;
  border-radius: 4px;
  font-size: 12px;
}

.contact-notice.success {
  background: #eaf6df;
  color: #3f6420;
}

.contact-notice.error {
  background: #f8e8e4;
  color: #8a3e31;
}

.contact-promise {
  padding: 0 max(5vw, calc((100% - 1160px) / 2)) 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--cream);
}

.contact-promise > div {
  padding: 26px 32px;
  border-top: 1px solid #cfd2c7;
}

.contact-promise > div + div {
  border-left: 1px solid #cfd2c7;
}

.contact-promise span {
  color: var(--green);
  font: 500 23px/1 "Source Serif", Georgia, serif;
}

.contact-promise h3 {
  margin: 9px 0 5px;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-promise p {
  margin: 0;
  color: #656a61;
  font-size: 12px;
}

@media (max-width: 900px) {
  .contact-main-inner {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 35px;
  }

  .contact-form-panel {
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .contact-page-hero {
    min-height: 360px;
    padding-top: 78px;
  }

  .contact-main-inner {
    width: var(--page);
    padding: 48px 0;
    grid-template-columns: 1fr;
  }

  .contact-form-panel {
    padding: 27px 21px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-form .button {
    width: 100%;
  }

  .contact-promise {
    padding: 0 18px 45px;
    grid-template-columns: 1fr;
  }

  .contact-promise > div + div {
    border-left: 0;
  }
}
