/* ==========================================================================
   The Intentional Adventure
   ========================================================================== */

:root {
  /* Brand colors */
  --navy: #2f4f6f;
  --teal: #4a90a4;
  --white: #ffffff;
  --gold: #e0a458;

  /* Shades derived from the brand colors */
  --navy-deep: #1f3550;
  --navy-ink: #162a40;
  --gold-light: #ebb873;
  --sky: #eef6f8;
  --sky-deep: #d9eaef;
  --mist: #cfe3e9;
  --teal-soft: #9cc4cf;
  --slate: #4a6078;

  --font: "Montserrat", "Segoe UI", Helvetica, Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(4rem, 10vh, 7rem) var(--gutter) clamp(11rem, 30vh, 16rem);
  overflow: hidden;
  color: var(--navy);
  background: linear-gradient(170deg, var(--white) 0%, var(--sky) 55%, var(--sky-deep) 100%);
}

/* Keeps the copy readable where it overlaps the landscape */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero__scene {
  position: absolute;
  left: -2%;
  bottom: -1px;
  width: 104%;
  height: 78%;
  pointer-events: none;
}

.hero__layer {
  transition: transform 0.5s ease-out;
  will-change: transform;
}

.ridge--far  { fill: var(--mist); }
.ridge--mid  { fill: var(--teal-soft); }
.ridge--near { fill: var(--white); }

.trail {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 2 12;
  opacity: 0.9;
}

.trail__marker {
  fill: var(--gold);
  stroke: var(--white);
  stroke-width: 3;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  font-size: clamp(0.72rem, 1.6vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}

.hero__eyebrow::before {
  content: "";
  flex: none;
  width: 2.5rem;
  height: 2px;
  background: var(--gold);
}

.hero__name {
  margin: 0;
  font-size: clamp(2.4rem, 9vw, 6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.hero__name span {
  display: block;
}

.hero__name-accent {
  color: var(--teal);
}

.hero__title {
  max-width: 34rem;
  margin: 1.75rem 0 0;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
}

.hero__tagline {
  max-width: 34rem;
  margin: 0.9rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 400;
  color: var(--slate);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.9rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.btn--primary {
  color: var(--navy-ink);
  background: var(--gold);
  box-shadow: 0 12px 24px -12px rgba(224, 164, 88, 0.9);
}

.btn--primary:hover {
  background: var(--gold-light);
}

.btn--secondary {
  color: var(--navy);
  border-color: var(--navy);
  background: rgba(255, 255, 255, 0.6);
}

.btn--secondary:hover {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
}

/* ==========================================================================
   Entrance animation (enabled by script.js)
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .is-loaded .reveal {
  opacity: 1;
  transform: none;
}

.js .is-loaded .reveal:nth-child(2) { transition-delay: 0.1s; }
.js .is-loaded .reveal:nth-child(3) { transition-delay: 0.2s; }
.js .is-loaded .reveal:nth-child(4) { transition-delay: 0.3s; }
.js .is-loaded .reveal:nth-child(5) { transition-delay: 0.4s; }

/* ==========================================================================
   Shared section pieces
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-head {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-size: clamp(0.72rem, 1.6vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  flex: none;
  width: 2rem;
  height: 2px;
  background: var(--gold);
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section-lead {
  margin: 1.25rem 0 0;
  font-size: clamp(1rem, 1.6vw, 1.175rem);
  color: var(--slate);
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
  padding: clamp(4rem, 10vw, 7.5rem) var(--gutter);
  background: var(--white);
}

.bio {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  margin-top: clamp(3.5rem, 8vw, 6rem);
}

.bio--reverse {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.bio--reverse .bio__photo {
  order: 2;
}

.bio__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
}

/* Soft offset panel behind the photo */
.bio__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.75rem;
  background: var(--gold);
  opacity: 0.35;
  transform: translate(-1rem, 1rem);
}

.bio--reverse .bio__photo::before {
  background: var(--teal);
  opacity: 0.3;
  transform: translate(1rem, 1rem);
}

.bio__photo img,
.bio__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 1.75rem;
}

.bio__photo img {
  z-index: 1;
  display: block;
  object-fit: cover;
  box-shadow: 0 24px 48px -28px rgba(47, 79, 111, 0.55);
}

/* Shown until a real photo is added (see script.js) */
.bio__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(170deg, var(--sky) 0%, var(--mist) 100%);
}

.bio__initial {
  font-size: clamp(4rem, 10vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  color: var(--white);
}

.bio__photo.is-missing img {
  display: none;
}

.bio__role {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.bio__name {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.bio__name::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin-top: 1rem;
  border-radius: 2px;
  background: var(--gold);
}

.bio__body p:not([class]) {
  margin: 0 0 1.1rem;
  font-size: clamp(1rem, 1.4vw, 1.0625rem);
  line-height: 1.75;
  color: var(--slate);
}

.bio__body p:last-child {
  margin-bottom: 0;
}

.bio__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.bio__tags li {
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--mist);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--navy);
  background: var(--white);
}

/* ==========================================================================
   Products
   ========================================================================== */

.products {
  padding: clamp(4rem, 10vw, 7.5rem) var(--gutter);
  background: var(--sky);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  border: 1px solid var(--mist);
  border-top: 4px solid var(--gold);
  border-radius: 1.5rem;
  background: var(--white);
  box-shadow: 0 20px 40px -32px rgba(47, 79, 111, 0.5);
}

.product-card:nth-child(even) {
  border-top-color: var(--teal);
}

.product-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.product-card__desc {
  flex: 1;
  margin: 0 0 1.5rem;
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--slate);
}

.product-card__price {
  margin: 0 0 1.5rem;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
}

.product-card__price-note {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
}

.product-card__btn {
  width: 100%;
}

@media (max-width: 1100px) {
  .products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .products__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Scroll-in animation (enabled by script.js) */
.js .fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 760px) {
  .bio,
  .bio--reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .bio--reverse .bio__photo {
    order: 0;
  }

  .bio__photo {
    width: calc(100% - 1rem);
    max-width: 22rem;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 600px) {
  .hero {
    align-items: flex-start;
  }

  .hero__scene {
    height: 48%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__layer,
  .btn,
  .js .reveal {
    transition: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Navigation
   ========================================================================== */

:root {
  --nav-height: 5rem;
  --section-pad: clamp(4.5rem, 10vw, 8rem);
}

html {
  scroll-padding-top: var(--nav-height);
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.is-scrolled {
  border-bottom-color: var(--mist);
  box-shadow: 0 10px 24px -20px rgba(47, 79, 111, 0.6);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--navy);
}

.site-nav__logo {
  display: block;
  width: auto;
  height: 3.75rem;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__links a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--navy);
}

.site-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav__links a:hover::after,
.site-nav__links a.is-active::after {
  transform: scaleX(1);
}

.site-nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.5rem;
  padding: 0;
  border: 0;
  border-radius: 0.75rem;
  background: transparent;
  cursor: pointer;
}

.site-nav__toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  border-radius: 1px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-nav.is-open .site-nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav.is-open .site-nav__toggle span:nth-child(2) { opacity: 0; }
.site-nav.is-open .site-nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav a:focus-visible,
.site-nav__toggle:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

/* The nav now sits above the hero, so the two together fill the screen */
.hero {
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100svh - var(--nav-height));
}

@media (max-width: 760px) {
  .js .site-nav__toggle {
    display: inline-flex;
  }

  .js .site-nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1rem;
    border-bottom: 1px solid var(--mist);
    background: var(--white);
    box-shadow: 0 18px 28px -22px rgba(47, 79, 111, 0.6);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .js .site-nav.is-open .site-nav__links {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .js .site-nav__links li + li {
    border-top: 1px solid var(--sky-deep);
  }

  .js .site-nav__links a {
    display: block;
    padding: 0.95rem 0;
    font-size: 1rem;
  }

  .js .site-nav__links a::after {
    display: none;
  }

  .js .site-nav__links a.is-active {
    color: var(--teal);
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: clamp(3rem, 7vw, 4.5rem) var(--gutter) 2rem;
  border-top: 1px solid var(--mist);
  color: var(--slate);
  background: var(--white);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem 3rem;
}

.site-footer__logo {
  display: block;
  width: auto;
  height: 5.5rem;
  margin-left: -0.25rem;
}

.site-footer__tagline {
  margin: 0.9rem 0 0;
  font-size: 0.95rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links a {
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  transition: color 0.2s ease;
}

.site-footer__links a:hover {
  color: var(--teal);
}

.site-footer__bottom {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--sky-deep);
  font-size: 0.85rem;
}

.site-footer__bottom p {
  margin: 0;
}

@media (max-width: 600px) {
  .site-footer__inner {
    flex-direction: column;
  }

  .site-footer__links {
    flex-direction: column;
  }
}

/* ==========================================================================
   Spacing and typography refinements
   ========================================================================== */

body {
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  color: var(--navy-ink);
  background: var(--gold-light);
}

.about,
.products {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.section-title {
  line-height: 1.12;
}

.section-lead {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.bio__body {
  max-width: 36rem;
}

.bio--reverse .bio__body {
  justify-self: end;
}

.bio__name {
  margin-bottom: 1.5rem;
}

.product-card__title {
  min-height: 2.5em;
}

.product-card__price {
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Hover effects
   ========================================================================== */

.btn--primary:hover {
  box-shadow: 0 16px 28px -12px rgba(224, 164, 88, 0.95);
}

.btn--secondary:hover {
  box-shadow: 0 14px 26px -14px rgba(47, 79, 111, 0.7);
}

.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.js .product-card.fade-in.is-visible {
  transition: opacity 0.7s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover,
.js .product-card.fade-in.is-visible:hover {
  border-color: var(--teal-soft);
  box-shadow: 0 28px 48px -28px rgba(47, 79, 111, 0.6);
  transform: translateY(-6px);
}

.product-card:nth-child(odd):hover  { border-top-color: var(--gold); }
.product-card:nth-child(even):hover { border-top-color: var(--teal); }

.bio__photo::before {
  transition: transform 0.4s ease;
}

.bio__photo:hover::before {
  transform: translate(-1.4rem, 1.4rem);
}

.bio--reverse .bio__photo:hover::before {
  transform: translate(1.4rem, 1.4rem);
}

.bio__tags li {
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.bio__tags li:hover {
  border-color: var(--teal);
  background: var(--sky);
}

/* ==========================================================================
   Small screens
   ========================================================================== */

@media (max-width: 1100px) {
  .product-card__title {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .bio__body,
  .bio--reverse .bio__body {
    max-width: none;
    justify-self: stretch;
  }

  .bio__photo:hover::before,
  .bio--reverse .bio__photo:hover::before {
    transform: translate(-0.75rem, 0.75rem);
  }

  .bio__photo::before {
    transform: translate(-0.75rem, 0.75rem);
  }

  .bio--reverse .bio__photo::before {
    transform: translate(0.75rem, 0.75rem);
  }

  .bio--reverse .bio__photo:hover::before {
    transform: translate(0.75rem, 0.75rem);
  }
}

@media (max-width: 360px) {
  .hero__name {
    font-size: 2.1rem;
  }

  .product-card {
    padding: 1.75rem 1.4rem;
  }

  .bio__tags li {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav,
  .site-nav__links,
  .site-nav__links a::after,
  .site-nav__toggle span,
  .product-card,
  .js .product-card.fade-in.is-visible,
  .bio__photo::before,
  .bio__tags li {
    transition: none;
  }

  .product-card:hover,
  .js .product-card.fade-in.is-visible:hover {
    transform: none;
  }
}

/* ==========================================================================
   Navigation call to action
   ========================================================================== */

.site-nav__links a.site-nav__cta {
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--navy-ink);
  background: var(--gold);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-nav__links a.site-nav__cta::after {
  display: none;
}

.site-nav__links a.site-nav__cta:hover {
  background: var(--gold-light);
  box-shadow: 0 10px 20px -12px rgba(224, 164, 88, 0.95);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .js .site-nav__links a.site-nav__cta {
    margin-top: 0.9rem;
    padding: 0.85rem 1.3rem;
    text-align: center;
    color: var(--navy-ink);
  }

  .js .site-nav__links li:last-child {
    border-top: 0;
  }
}

/* ==========================================================================
   Consultation page
   ========================================================================== */

.page-hero {
  padding: clamp(3.5rem, 9vw, 6rem) var(--gutter) clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  background: linear-gradient(170deg, var(--white) 0%, var(--sky) 70%, var(--sky-deep) 100%);
}

.page-hero__title {
  max-width: 48rem;
  margin: 0 auto;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.page-hero__lead {
  max-width: 36rem;
  margin: 1.25rem auto 0;
  font-size: clamp(1rem, 1.6vw, 1.175rem);
  line-height: 1.7;
  color: var(--slate);
}

.consult {
  padding: var(--section-pad) var(--gutter);
  background: var(--white);
}

.consult__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.section-eyebrow--left::before {
  display: none;
}

.consult__heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.consult__philosophy p:not([class]) {
  margin: 0 0 1.1rem;
  font-size: clamp(1rem, 1.4vw, 1.0625rem);
  line-height: 1.75;
  color: var(--slate);
}

.consult__principles {
  display: grid;
  gap: 0.85rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.consult__principles li {
  position: relative;
  padding-left: 2.1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy);
}

.consult__principles li::before {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--gold);
}

.consult__principles li::after {
  content: "";
  position: absolute;
  top: 0.48rem;
  left: 0.4rem;
  width: 0.5rem;
  height: 0.28rem;
  border-left: 2px solid var(--navy-ink);
  border-bottom: 2px solid var(--navy-ink);
  transform: rotate(-45deg);
}

/* Form */

.form-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--mist);
  border-top: 4px solid var(--gold);
  border-radius: 1.5rem;
  background: var(--white);
  box-shadow: 0 28px 56px -36px rgba(47, 79, 111, 0.55);
}

.form-card__title {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.form-card__intro {
  margin: 0.6rem 0 0;
  color: var(--slate);
}

.form {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.75rem;
}

.field {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.field label,
.field-group legend {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--teal-soft);
  border-radius: 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--navy-ink);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--teal);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(74, 144, 164, 0.25);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b3413a;
}

.field-group {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field-group legend {
  padding: 0;
}

.field-group__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.4rem;
}

.field-group .field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
}

.field__hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--slate);
}

.field__error {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #b3413a;
}

.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__submit {
  width: 100%;
}

.form__submit:disabled {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

.form__status {
  margin: 0;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--navy);
}

.form__status:empty {
  display: none;
}

.form__status.is-error {
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  color: #8f2f29;
  background: #fbeceb;
}

.form__note {
  margin: 0;
  font-size: 0.825rem;
  line-height: 1.6;
  color: var(--slate);
}

.form-success p {
  margin: 0.75rem 0 1.5rem;
  color: var(--slate);
}

.form-success:focus {
  outline: none;
}

/* Framework */

.framework {
  padding: var(--section-pad) var(--gutter);
  background: var(--sky);
}

.framework__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
}

.framework__step {
  padding: 1.75rem;
  border: 1px solid var(--mist);
  border-radius: 1.5rem;
  background: var(--white);
  box-shadow: 0 20px 40px -32px rgba(47, 79, 111, 0.5);
}

.framework__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-ink);
  background: var(--gold);
}

.framework__step:nth-child(even) .framework__number {
  color: var(--white);
  background: var(--navy);
}

.framework__step h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.framework__step p {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--slate);
}

@media (max-width: 900px) {
  .consult__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* The form is why people came, so it leads on small screens */
  .consult__grid .form-card {
    order: -1;
  }

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

@media (max-width: 600px) {
  .framework__steps,
  .field-group__row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav__links a.site-nav__cta,
  .field input,
  .field textarea {
    transition: none;
  }
}

/* Five nav items need a little less room just above the mobile breakpoint */
@media (min-width: 761px) and (max-width: 900px) {
  .site-nav__links {
    gap: 1rem;
  }

  .site-nav__links a {
    font-size: 0.85rem;
  }

  .site-nav__links a.site-nav__cta {
    padding: 0.55rem 1rem;
  }
}
/* Form validation extras */

.field input::placeholder,
.field textarea::placeholder {
  color: #8a9aab;
}

.field__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.field__count {
  flex: none;
  margin: 0;
  font-size: 0.825rem;
  font-variant-numeric: tabular-nums;
  color: var(--slate);
}

.field__count.is-near {
  font-weight: 700;
  color: var(--navy);
}

.field__count.is-full {
  font-weight: 700;
  color: #b3413a;
}