:root {
  --rust: #d8452d;
  --rust-dark: #8e3528;
  --brown: #5c2d24;
  --ink: #272321;
  --muted: #706865;
  --white: #fff;
  --warm: #f7f3f1;
  --warm-2: #eee5e1;
  --sky: #b8d7e7;
  --sky-soft: #e9f3f7;
  --line: rgba(92, 45, 36, .14);
  --shadow: 0 24px 60px rgba(72, 35, 28, .10);
  --shadow-soft: 0 18px 42px rgba(72, 35, 28, .08);
  --radius: 26px;
  --radius-sm: 18px;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

section {
  position: relative;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.section-pad {
  padding: 100px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--rust-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--rust);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--brown);
  line-height: 1.08;
  letter-spacing: -.035em;
}

h1 {
  max-width: 15.5ch;
  margin-bottom: 20px;
  font-size: clamp(2.65rem, 5vw, 4.75rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.12rem, 1.6vw, 1.4rem);
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.muted,
.text-flow p {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease, border-color .28s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: var(--white);
  background: var(--rust);
  box-shadow: 0 12px 28px rgba(216, 69, 45, .24);
}

.btn-primary:hover {
  background: var(--rust-dark);
  box-shadow: 0 18px 36px rgba(216, 69, 45, .28);
}

.btn-secondary {
  color: var(--brown);
  background: var(--white);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: rgba(92, 45, 36, .22);
  box-shadow: var(--shadow-soft);
}

.topbar {
  color: var(--white);
  background: var(--brown);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
  font-size: .84rem;
}

.topbar-inner a {
  font-weight: 800;
  transition: opacity .25s ease;
}

.topbar-inner a:hover {
  opacity: .72;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, border-color .25s ease;
}

header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(72, 35, 28, .08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 0;
}

.site-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.site-logo-header {
  width: clamp(255px, 27vw, 390px);
  max-height: 62px;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
/* ================================
   NAV DROPDOWNS
   ================================ */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-row {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-dropdown-label {
  position: relative;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 760;
}

/* Dropdown arrow button */
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  margin-top: 2px;
  border: 0;
  background: transparent;
  color: var(--brown);
  cursor: pointer;
}

.nav-dropdown-toggle span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  transform: none;
  transition: transform .25s ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle span {
  transform: rotate(180deg) translateY(2px);
}

/* Dropdown panel */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 215px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition:
    opacity .25s ease,
    visibility .25s ease,
    transform .25s ease;
  z-index: 1100;
}

/* Small arrow above dropdown */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 13px;
  height: 13px;
  background: var(--white);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}

/* Open on hover */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

/* Dropdown links */
.nav-dropdown-menu a {
  display: block;
  position: relative;
  padding: 11px 13px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
  border-radius: 10px;
  white-space: nowrap;
  transition:
    color .2s ease,
    background .2s ease,
    transform .2s ease;
}

/* Remove the normal nav underline from dropdown links */
.nav-dropdown-menu a::after {
  display: none !important;
}

.nav-dropdown-menu a:hover {
  color: var(--rust-dark);
  background: var(--warm);
  transform: translateX(3px);
}


/* ================================
   MOBILE DROPDOWNS
   ================================ */

@media (max-width:900px) {

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-row {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-label {
    flex: 1;
    padding: 12px 10px;
    font-size: .96rem;
  }

  .nav-dropdown-toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 10px;
  }

  .nav-dropdown-toggle:hover {
    background: var(--warm);
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    max-height: 0;
    margin: 0;
    padding: 0 0 0 12px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transform: none;
    transition:
      max-height .3s ease,
      padding .3s ease;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    max-height: 220px;
    padding-top: 2px;
    padding-bottom: 8px;
  }

  .nav-dropdown-menu a {
    padding: 10px 12px;
    font-size: .9rem;
    border-left: 2px solid var(--warm-2);
    border-radius: 0 9px 9px 0;
  }

  .nav-dropdown-menu a:hover {
    transform: translateX(3px);
  }
}

nav a:not(.btn) {
  position: relative;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 760;
}

nav a:not(.btn)::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--rust);
  transition: right .25s ease;
}

nav a:not(.btn):hover::after,
nav a:not(.btn)[aria-current="page"]::after {
  right: 0;
}

nav a:not(.btn)[aria-current="page"] {
  color: var(--rust-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--brown);
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.page-hero {
  overflow: hidden;
  padding: 56px 0 76px;
  background: linear-gradient(180deg, var(--white) 0%, var(--warm) 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -210px;
  right: -230px;
  width: 520px;
  height: 520px;
  border: 72px solid rgba(216, 69, 45, .055);
  border-radius: 50%;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 52px;
}

.page-hero-grid>div:first-child {
  position: relative;
  z-index: 2;
}

.page-hero-grid>* {
  min-width: 0;
}

.breadcrumb {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 650;
}

.breadcrumb a {
  color: var(--rust-dark);
  transition: color .25s ease;
}

.breadcrumb a:hover {
  color: var(--rust);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-media {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(92, 45, 36, .08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(92, 45, 36, .24));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22, .8, .25, 1);
}

.hero-media:hover img {
  transform: scale(1.045);
}

.split-grid {
  display: grid;
  grid-template-columns: .98fr 1.02fr;
  align-items: center;
  gap: 64px;
}

.warm-band {
  background: var(--warm);
}

.sky-band {
  background: var(--sky-soft);
}

.content-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease;
}

.content-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--rust);
}

.content-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 72px rgba(72, 35, 28, .14);
}

.check-list,
.stack {
  display: grid;
  gap: 16px;
}

.check-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 14px;
  color: var(--muted);
}

.check-item::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: inset 0 0 0 9px rgba(255, 255, 255, .72);
  transition: transform .3s ease;
}

.check-item:hover::before {
  transform: scale(1.12);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(92, 45, 36, .22);
  box-shadow: var(--shadow);
}

.card:hover::before {
  transform: scaleX(1);
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.profile-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-height: 245px;
}

.profile-card>* {
  min-width: 0;
  overflow-wrap: anywhere;
}

.profile-card .btn {
  width: 100%;
  margin-top: auto;
}

.expert-profile-hero h1 {
  max-width: 14ch;
}

.expert-portrait {
  display: grid;
  min-height: 520px;
  place-items: center;
  padding: clamp(30px, 5vw, 58px);
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .9), transparent 30%),
    linear-gradient(145deg, var(--sky-soft), var(--warm-2));
}

.expert-portrait::before {
  content: "";
  position: absolute;
  width: min(72%, 360px);
  aspect-ratio: 1;
  border: 42px solid rgba(216, 69, 45, .09);
  border-radius: 50%;
}

.expert-portrait img {
  position: relative;
  z-index: 1;
  width: min(100%, 315px);
  height: auto;
  min-height: 0;
  aspect-ratio: 168 / 213;
  object-fit: cover;
  border: 10px solid var(--white);
  border-radius: 22px;
  box-shadow: 0 24px 54px rgba(72, 35, 28, .2);
}

.expert-portrait:hover img {
  transform: scale(1.025);
}

.expert-bio-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(280px, .55fr);
    align-items: start;
    gap: clamp(42px, 6vw, 76px);
}

.expert-bio {
  max-width: 780px;
}

.expert-bio p {
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.expert-bio p:last-child {
  margin-bottom: 0;
}

.expert-facts {
  position: sticky;
  top: 130px;
}

.expert-facts h3 {
  margin-bottom: 20px;
}

.expert-facts .check-item {
  font-size: .96rem;
}

.quote-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 36px;
}

.quote-card::after {
  content: "\201C";
  position: absolute;
  top: 24px;
  right: 28px;
  color: rgba(216, 69, 45, .14);
  font: 700 6rem/1 Georgia, serif;
}

.quote-card p {
  position: relative;
  z-index: 1;
  flex: 1;
  color: var(--brown);
  font-size: 1.08rem;
}

.quote-card cite {
  display: block;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--rust-dark);
  font-style: normal;
  font-weight: 800;
}

.testimonial-hero h1 {
  max-width: 14ch;
}

.testimonial-hero .lead {
  max-width: 760px;
}

.testimonials-section {
  background:
    radial-gradient(circle at 100% 8%, rgba(184, 215, 231, .22), transparent 28%),
    var(--white);
}

.testimonial-list {
  display: grid;
  gap: 28px;
  max-width: 980px;
}

.testimonial-card-full {
  position: relative;
  padding: clamp(30px, 5vw, 54px);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.testimonial-card-full::before {
  content: "\201C";
  position: absolute;
  top: 15px;
  right: 34px;
  color: rgba(216, 69, 45, .1);
  font: 700 clamp(6rem, 12vw, 9rem)/1 Georgia, serif;
  pointer-events: none;
}

.testimonial-card-full::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: var(--rust);
}

.testimonial-card-full:hover {
  transform: translateY(-5px);
  border-color: rgba(92, 45, 36, .22);
  box-shadow: var(--shadow);
}

.testimonial-copy {
  position: relative;
  z-index: 1;
}

.testimonial-copy p {
  color: var(--ink);
  font-size: 1.03rem;
}

.testimonial-copy p:last-child {
  margin-bottom: 0;
}

.testimonial-author {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
  margin-top: 28px;
  padding: 22px 0 0;
  color: var(--rust-dark);
  background: transparent;
  border-top: 1px solid var(--line);
}

.testimonial-author cite {
  font-style: italic;
  font-weight: 800;
}

.testimonial-author span {
  color: var(--muted);
  font-size: .9rem;
  font-style: italic;
}

.testimonial-form-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: start;
  gap: 64px;
}

.testimonial-form-grid .text-flow {
  position: sticky;
  top: 130px;
}

.text-link {
  color: var(--rust-dark);
  text-decoration: underline;
  text-decoration-color: rgba(216, 69, 45, .4);
  text-underline-offset: 3px;
  transition: color .25s ease, text-decoration-color .25s ease;
}

.text-link:hover {
  color: var(--rust);
  text-decoration-color: currentColor;
}

.testimonial-form textarea {
  min-height: 220px;
}

.event-card {
  padding: 0;
}

.event-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform .65s ease;
}

.event-card:hover img {
  transform: scale(1.055);
}

.event-card>div {
  position: relative;
  z-index: 1;
  padding: 25px;
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin-inline: auto;
}

.faq-item {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  transition: border-color .3s ease, box-shadow .3s ease;
}

.faq-item:hover,
.faq-item.open {
  border-color: rgba(92, 45, 36, .24);
  box-shadow: var(--shadow);
}

.faq-question {
  position: relative;
  width: 100%;
  min-height: 74px;
  padding: 21px 68px 21px 24px;
  color: var(--brown);
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-question::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background-color: var(--warm);
  background-image: linear-gradient(var(--rust), var(--rust)), linear-gradient(var(--rust), var(--rust));
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px 2px, 2px 14px;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform .25s ease, background .25s ease;
}

.faq-item.open .faq-question::after {
  background-color: var(--rust);
  background-image: linear-gradient(var(--white), var(--white)), linear-gradient(var(--white), var(--white));
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--muted);
  transition: max-height .35s ease, padding .35s ease;
}

.faq-item.open .faq-answer {
  padding-bottom: 70px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: start;
  gap: 38px;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 15px;
  padding: 17px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.contact-row:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-soft);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--rust);
  background: var(--warm);
  border-radius: 14px;
  font-weight: 900;
}

form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field.full {
  grid-column: 1/-1;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--brown);
  font-size: .86rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 15px 16px;
  color: var(--ink);
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

input:focus,
textarea:focus {
  border-color: var(--rust);
  box-shadow: 0 0 0 4px rgba(216, 69, 45, .09);
  transform: translateY(-1px);
}

textarea {
  min-height: 145px;
  resize: vertical;
}

.form-note,
.form-status {
  color: var(--muted);
  font-size: .86rem;
}

.form-status {
  display: none;
  padding: 14px 16px;
  color: var(--rust-dark);
  background: var(--warm);
  border-left: 4px solid var(--rust);
  border-radius: 8px;
  font-weight: 800;
}

.brochure-spread {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.brochure-spread img {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease;
}

.brochure-spread img:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 76px rgba(72, 35, 28, .16);
}

.cta-band {
  padding: 68px 0;
  color: var(--white);
  background: var(--brown);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, .035), transparent 55%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-inner h2,
.cta-inner p {
  color: var(--white);
}

.cta-inner h2 {
  margin-bottom: 10px;
}

.cta-inner p {
  max-width: 720px;
  margin-bottom: 0;
  opacity: .82;
}

footer {
  padding: 60px 0 26px;
  color: rgba(255, 255, 255, .72);
  background: var(--brown);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr .8fr .8fr 1fr;
  gap: 38px;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 18px;
}

.site-logo-footer {
  width: min(100%, 370px);
  max-height: 68px;
}

footer .footer-brand .brand {
  display: inline-flex;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .14);
  transition: transform .3s ease, box-shadow .3s ease;
}

footer .footer-brand .brand:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .2);
}

.footer-col h4 {
  margin: 0 0 16px;
  color: var(--white);
}

.footer-col a {
  display: block;
  margin: 10px 0;
  transition: color .25s ease, transform .25s ease;
}

.footer-col a:hover {
  color: var(--white);
  transform: translateX(4px);
}
.footer-col a.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-col a.facebook-link svg {
  width: 20px;
  height: 20px;
  display: block;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .83rem;
}

.footer-bottom a {
text-decoration: none !important;
    background: linear-gradient(90deg, #c22861, #ea6511, #c22861, #ea6511) !important;
    background-size: 300% 100% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    background-clip: text !important;
    animation: designikGradientMove 3s linear infinite;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

@keyframes designikGradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  color: var(--white);
  background: var(--rust);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(216, 69, 45, .34);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.92);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: var(--rust-dark);
  box-shadow: 0 18px 36px rgba(216, 69, 45, .40);
  transform: translateY(-4px) scale(1.04);
}

.back-to-top svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .8s ease, transform .8s ease;
}

.delay-1 {
  transition-delay: .08s;
}

.delay-2 {
  transition-delay: .16s;
}

.delay-3 {
  transition-delay: .24s;
}

.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.hero-load>* {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn .72s ease forwards;
}

.hero-load>*:nth-child(1) {
  animation-delay: .06s;
}

.hero-load>*:nth-child(2) {
  animation-delay: .14s;
}

.hero-load>*:nth-child(3) {
  animation-delay: .22s;
}

.hero-load>*:nth-child(4) {
  animation-delay: .30s;
}

.hero-load>*:nth-child(5) {
  animation-delay: .38s;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width:1120px) {
  .site-logo-header {
    width: 285px
  }

  nav {
    gap: 17px
  }

  nav a:not(.btn) {
    font-size: .86rem
  }
}

@media (max-width:900px) {
  .section-pad {
    padding: 82px 0
  }

  .site-logo-header {
    width: min(300px, calc(100vw - 110px));
    max-height: 54px
  }

  .menu-toggle {
    display: block
  }

  nav {
    position: fixed;
    top: 120px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 0;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease
  }

  nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0)
  }

  nav a:not(.btn) {
    padding: 12px 10px;
    font-size: .96rem
  }

  nav a:not(.btn)::after {
    display: none
  }

  nav .btn {
    margin-top: 10px
  }

  .page-hero-grid,
  .split-grid,
  .expert-bio-grid,
  .contact-grid,
  .testimonial-form-grid {
    grid-template-columns: 1fr
  }

  .testimonial-form-grid .text-flow {
    position: static
  }

  .page-hero-grid {
    gap: 38px
  }

  .expert-facts {
    position: static
  }

  .hero-media,
  .hero-media img {
    min-height: 460px
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .site-logo-footer {
    width: min(100%, 330px)
  }
}

@media (max-width:620px) {
  .container {
    width: min(calc(100% - 28px), var(--max))
  }

  .topbar {
    display: none
  }

  .nav-wrap {
    min-height: 74px
  }

  nav {
    top: 86px;
    right: 14px;
    left: 14px
  }

  h1 {
    max-width: 15ch;
    font-size: clamp(2.35rem, 12vw, 3.5rem)
  }

  .page-hero {
    padding: 40px 0 58px
  }

  .hero-actions .btn {
    width: 100%
  }

  .hero-media,
  .hero-media img {
    min-height: 360px
  }

  .expert-portrait {
    min-height: 430px;
    padding: 34px
  }

  .expert-portrait img {
    width: min(100%, 260px);
    min-height: 0
  }

  .grid-3,
  .grid-2,
  .form-grid,
  .brochure-spread,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .cta-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start
  }

  .card,
  .quote-card {
    padding: 26px 24px
  }

  .testimonial-card-full {
    padding: 30px 26px 30px 30px
  }

  .testimonial-card-full::before {
    top: 12px;
    right: 18px
  }

  .testimonial-copy p {
    font-size: 1rem
  }

  .testimonial-form .btn {
    width: 100%
  }

  .profile-card {
    min-height: auto
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px
  }
}

@media (max-width:460px) {
  .site-logo-header {
    width: min(245px, calc(100vw - 84px))
  }

  .nav-wrap {
    gap: 10px
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 auto
  }

  footer .footer-brand .brand {
    padding: 10px 12px
  }

  .site-logo-footer {
    width: 100%
  }

  .hero-media,
  .hero-media img {
    min-height: 315px
  }

  .expert-portrait {
    min-height: 385px
  }

  .expert-portrait img {
    min-height: 0
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: .01ms !important
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .hero-load>* {
    opacity: 1;
    transform: none
  }
}
