/* ==========================================================================
   Hyland Financial Planning — static rebuild
   Design tokens taken from the original Elementor kit (post-5.css).
   No third-party CSS, no external requests.
   ========================================================================== */

/* ---------- Fonts ---------------------------------------------------------
   The original site declares two Futura faces only (book + bold). Weights
   100-500 resolve to book, 600-900 to bold, exactly as they did originally.
   A third family, "HFP" (SilkSerif), is declared in the original kit but is
   never referenced by any template, so it is deliberately not shipped here.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Futura";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/futura-book.woff") format("woff"),
       url("../fonts/futura-book.ttf") format("truetype");
}

@font-face {
  font-family: "Futura";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/futura-bold.woff2") format("woff2"),
       url("../fonts/futura-bold.woff") format("woff"),
       url("../fonts/futura-bold.ttf") format("truetype");
}

/* ---------- Tokens -------------------------------------------------------- */
:root {
  --navy: #000f38;
  --off-white: #f9f9f9;
  --teal: #38ccae;
  --mint: #c3f0e7;
  --navy-36: rgba(0, 15, 57, 0.36);
  --white-33: rgba(249, 249, 249, 0.33);
  --ink: #313131;

  --container: 1273px;
  --gutter: 24px;

  --font: "Futura", "Century Gothic", "Avenir Next", "Trebuchet MS", sans-serif;

  --shadow-btn: 0 38px 38px -17px rgba(0, 0, 0, 0.12);
  --header-h: 175px;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #fff;
  color: var(--navy);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.35em; }
li { margin-bottom: 0.5em; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--teal); color: var(--off-white);
  padding: 12px 20px; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout -------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 90px; }
.section--navy { background: var(--navy); color: var(--off-white); }
.section--mint { background: var(--mint); }
.section--tight { padding-block: 60px; }

/* ---------- Typography ---------------------------------------------------- */
.display {
  font-size: 50px;
  font-weight: 700;
  line-height: 54px;
  letter-spacing: -0.03px;
  text-transform: uppercase;
}

.section-title {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.07px;
  text-transform: uppercase;
}

.eyebrow {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.kicker {
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -0.1px;
}

.lede { font-size: 25px; line-height: 30px; }
.body-sm { font-size: 16px; line-height: 26px; }

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--off-white);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 1.2px;
  padding: 20px 37px;
  border-radius: 0;
  box-shadow: var(--shadow-btn);
  text-align: center;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.btn:hover,
.btn:focus { background: var(--mint); color: var(--navy-36); }

.btn--flat { box-shadow: none; }

.btn--ghost {
  background: transparent;
  color: var(--off-white);
  font-size: 24px;
  line-height: 30px;
  letter-spacing: normal;
  padding: 0 0 4px;
  border-bottom: 1px solid var(--off-white);
  box-shadow: none;
}
.btn--ghost:hover,
.btn--ghost:focus { background: transparent; color: var(--teal); border-bottom-color: var(--teal); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
  box-shadow: none;
}
.btn--outline:hover,
.btn--outline:focus { background: var(--navy); color: var(--off-white); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 34px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-header__logo img { width: 210px; max-width: 55vw; }

.site-nav { display: flex; align-items: center; gap: 40px; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 38px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__list > li { margin: 0; position: relative; }

.site-nav__link {
  display: inline-block;
  color: var(--off-white);
  font-size: 20px;
  line-height: 1.2;
  padding-block: 6px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.site-nav__link:hover,
.site-nav__link:focus,
.site-nav__link[aria-current="page"] { border-bottom-color: var(--teal); }

/* Dropdown */
.has-dropdown > .site-nav__link::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: var(--navy);
  box-shadow: 0 24px 48px rgba(0, 15, 56, 0.28);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.dropdown::before {
  content: "";
  position: absolute;
  inset: -14px 0 auto 0;
  height: 14px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown li { margin: 0; }
.dropdown a {
  display: block;
  padding: 9px 26px;
  color: var(--off-white);
  font-size: 17px;
  line-height: 1.4;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.dropdown a:hover,
.dropdown a:focus { background: rgba(56, 204, 174, 0.16); color: var(--teal); }

.site-header .btn { font-size: 15px; padding: 14px 30px; letter-spacing: 1.2px; }

/* Burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  flex: 0 0 auto;
}
.burger span {
  position: absolute;
  left: 9px; right: 9px;
  height: 2px;
  background: var(--off-white);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Interior pages: the header is a solid navy bar rather than floating over a hero. */
/* position: relative (not static) so the header's z-index applies and the
   dropdown paints above positioned page content like the sticky aside. */
.site-header--solid { position: relative; background: var(--navy); padding-block: 26px; }

/* ==========================================================================
   Page head (interior pages) — breadcrumb + navy title on white
   ========================================================================== */
.page-head { padding: 70px 0 0; }

.page-head .breadcrumb { color: rgba(0, 15, 56, 0.5); margin-bottom: 22px; }
.page-head .breadcrumb a { color: var(--navy); }
.page-head .breadcrumb a:hover { color: var(--teal); }

.page-title {
  font-size: 50px;
  font-weight: 700;
  line-height: 50px;
  letter-spacing: -0.03px;
  text-transform: uppercase;
  color: var(--navy);
}

.page-head__meta {
  font-size: 16px;
  color: rgba(0, 15, 56, 0.55);
  margin-bottom: 14px;
}

.page-head__role {
  font-size: 24px;
  color: rgba(0, 15, 56, 0.65);
  margin-top: 14px;
}

.page-head__lede { font-size: 24px; line-height: 34px; margin-top: 20px; max-width: 780px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 860px;
  display: flex;
  align-items: center;
  background-color: var(--navy);
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--off-white);
  padding-block: 200px 90px;
}

.hero__inner { max-width: 620px; }
.hero .display { margin-bottom: 26px; }
.hero__sub { margin-bottom: 30px; }

.hero--page {
  min-height: 520px;
  padding-block: 230px 90px;
  background-position: center center;
}
.hero--page .display { font-size: 60px; line-height: 64px; }

.hero--compact { min-height: 420px; padding-block: 220px 70px; }

/* Breadcrumb */
.breadcrumb {
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 18px;
  color: var(--white-33);
}
.breadcrumb a { color: var(--off-white); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { padding-inline: 8px; }

/* ==========================================================================
   Intro / two-column blocks
   ========================================================================== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-grid .kicker { margin-bottom: 18px; }

/* Accreditation marks. Small source images, so they are shown at their own
   size and never cropped or upscaled. */
.collage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 26px 40px;
}
.collage img {
  width: auto;
  max-height: 78px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.prose-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.divider {
  height: 1px;
  background: rgba(249, 249, 249, 0.25);
  border: 0;
  margin-block: 0;
}

/* ==========================================================================
   Service cards
   ========================================================================== */
.services-head { text-align: center; margin-bottom: 50px; }
.services-head .eyebrow { margin-bottom: 12px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--navy);
  color: var(--off-white);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 26px 44px rgba(0, 15, 56, 0.22); }

.service-card__media {
  min-height: 237px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.service-card__media img { max-width: 100%; }

.service-card__body {
  padding: 0 26px 34px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 14px;
}

.service-card__title {
  font-size: 38px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -2px;
}

.service-card__text { font-size: 24px; line-height: 1.25; }

.service-card__link { margin-top: auto; align-self: flex-start; }

.services-cta { text-align: center; margin-top: 46px; }

/* ==========================================================================
   Who we are (image + panel)
   ========================================================================== */
.feature {
  position: relative;
  background-position: center;
  background-size: cover;
  color: var(--off-white);
  min-height: 620px;
  display: flex;
  align-items: center;
}
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 15, 56, 0.82) 0%, rgba(0, 15, 56, 0.35) 60%, rgba(0, 15, 56, 0.15) 100%);
}
.feature > .container { position: relative; z-index: 1; }
.feature__inner { max-width: 560px; }
.feature__inner .section-title { margin-bottom: 20px; }
.feature__inner p { margin-bottom: 30px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { background: var(--mint); color: var(--navy); }

.slider { position: relative; }

.slider__viewport { overflow: hidden; }

.slider__track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 80px 90px;
}

.quote {
  font-size: 56px;
  font-weight: 400;
  line-height: 66px;
  letter-spacing: -0.04px;
  margin-bottom: 39px;
}

.quote-name {
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink);
  margin-left: 29px;
}

.slider__nav {
  display: flex;
  gap: 14px;
  justify-content: center;
  padding-bottom: 40px;
}
.slider__dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(0, 15, 56, 0.22);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.slider__dot[aria-selected="true"] { background: var(--navy); transform: scale(1.25); }

.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 30px;
  line-height: 1;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}
.slider__arrow:hover { opacity: 1; }
.slider__arrow--prev { left: 8px; }
.slider__arrow--next { right: 8px; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-head { text-align: center; max-width: 900px; margin: 0 auto 50px; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 60px;
  align-items: start;
}

.faq-item { border-bottom: 1px solid rgba(0, 15, 56, 0.18); }

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 24px 0;
  font-size: 24px;
  line-height: 1.3;
  color: var(--navy);
}

.faq-item__icon {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  position: relative;
  margin-top: 6px;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.faq-item__icon::before { inset: 9px 0 auto 0; height: 2px; }
.faq-item__icon::after { inset: 0 9px auto 9px; width: 2px; height: 20px; }
.faq-item__q[aria-expanded="true"] .faq-item__icon::after { transform: scaleY(0); opacity: 0; }

/* Answers are open by default so they remain readable (and indexable) with no
   JavaScript. main.js collapses them on load and animates the max-height. */
.faq-item__a {
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item__a p { font-size: 18px; line-height: 28px; }
.faq-item__a > div > *:last-child { padding-bottom: 26px; }

/* ==========================================================================
   Contact band + footer
   ========================================================================== */
.contact-band { background: var(--navy); color: var(--off-white); padding-block: 90px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-band h2 { font-size: 36px; line-height: 47px; font-weight: 400; margin-bottom: 24px; }
.contact-band h3 { font-size: 24px; font-weight: 400; margin-bottom: 16px; }
.contact-band a:not(.btn):hover { color: var(--teal); }

.contact-list { list-style: none; margin: 0 0 30px; padding: 0; }
.contact-list li { margin-bottom: 10px; }

.office { margin-bottom: 24px; }
.office strong { display: block; font-weight: 700; margin-bottom: 6px; }
.office address { font-style: normal; line-height: 26px; }

.site-footer { background: var(--navy); color: var(--off-white); padding-block: 40px 60px; }
.site-footer .disclaimer {
  font-size: 14px;
  line-height: 22px;
  color: rgba(249, 249, 249, 0.62);
  border-top: 1px solid rgba(249, 249, 249, 0.16);
  padding-top: 34px;
}
.site-footer .disclaimer p { margin-bottom: 0.9em; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}
.footer-nav a:hover { color: var(--teal); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(249, 249, 249, 0.62);
  margin-top: 26px;
}

/* ==========================================================================
   Content pages (prose)
   ========================================================================== */
.prose { font-size: 18px; line-height: 30px; }
.prose h2 { font-size: 38px; line-height: 1.15; margin: 1.4em 0 0.5em; font-weight: 700; text-transform: uppercase; letter-spacing: -0.5px; }
.prose h3 { font-size: 26px; line-height: 1.25; margin: 1.4em 0 0.5em; font-weight: 700; }
.prose h4 { font-size: 21px; margin: 1.3em 0 0.4em; font-weight: 700; }
.prose > *:first-child { margin-top: 0; }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--teal); }
.prose a.btn { color: var(--off-white); text-decoration: none; }
.prose a.btn:hover { color: var(--navy-36); }
.prose img { margin-block: 1.6em; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 8px 0 8px 30px;
  border-left: 3px solid var(--teal);
  font-size: 24px;
  line-height: 34px;
}
.prose hr { border: 0; border-top: 1px solid rgba(0, 15, 56, 0.15); margin-block: 2.2em; }
.prose table { width: 100%; border-collapse: collapse; margin-block: 1.6em; font-size: 16px; }
.prose th, .prose td { border: 1px solid rgba(0, 15, 56, 0.18); padding: 10px 12px; text-align: left; }

.page-body { padding-block: 60px 80px; }

/* Long-form copy is capped for readability but stays flush left with the page
   title above it, rather than being centred in a narrower container. */
.narrow { max-width: 900px; margin-right: auto; }
.page-body .prose { max-width: 900px; }
.split__main .prose { max-width: none; }

/* Service pages: content column with a divider and a "Get started" sidebar,
   matching the original two-column template. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 69%) 1fr;
  gap: 0 40px;
  align-items: start;
}
.split__main { border-right: 1px solid rgba(0, 15, 56, 0.18); padding-right: 40px; }

.aside { position: sticky; top: 30px; }
.aside h2 { font-size: 38px; font-weight: 700; text-transform: uppercase; letter-spacing: -1px; line-height: 1.05; margin-bottom: 16px; }
.aside p { font-size: 18px; line-height: 28px; margin-bottom: 24px; }
.aside .btn { display: block; margin-bottom: 14px; }
.aside ul { list-style: none; padding: 0; margin: 24px 0 0; font-size: 16px; }
.aside ul li { margin-bottom: 8px; }
.aside a:not(.btn):hover { color: var(--teal); }

/* Highlight list used on service pages */
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check-list li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 18px;
  line-height: 28px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 20px; height: 11px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

/* Pull quote used on service pages */
.pull-quote {
  background: var(--mint);
  padding: 50px;
  margin-block: 50px;
}
.pull-quote p { font-size: 28px; line-height: 38px; margin-bottom: 18px; }
.pull-quote cite { font-style: normal; font-size: 18px; color: var(--ink); }

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card { text-align: center; }
.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 18px;
  filter: grayscale(1);
  transition: filter 0.3s ease;
}
.team-card:hover img { filter: grayscale(0); }
.team-card h3 { font-size: 24px; margin-bottom: 4px; }
.team-card p { font-size: 16px; color: rgba(0, 15, 56, 0.65); }

.profile {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}
.profile__photo img { width: 100%; }
.profile__role { font-size: 20px; color: rgba(0, 15, 56, 0.65); margin-bottom: 24px; }

/* ==========================================================================
   Blog
   ========================================================================== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

.post-card { display: flex; flex-direction: column; background: #fff; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mint); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }

.post-card__body { padding: 24px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; }
.post-card__date { font-size: 14px; letter-spacing: 0.6px; text-transform: uppercase; color: rgba(0, 15, 56, 0.55); }
.post-card__title { font-size: 24px; line-height: 30px; }
.post-card__title a:hover { color: var(--teal); }
.post-card__more { margin-top: auto; font-size: 16px; border-bottom: 1px solid var(--navy); align-self: flex-start; padding-bottom: 2px; }
.post-card__more:hover { color: var(--teal); border-color: var(--teal); }

.article-header { max-width: 860px; }
.article-meta { font-size: 16px; color: rgba(249, 249, 249, 0.7); margin-top: 16px; }
.article-featured { margin-bottom: 50px; }
.article-featured img { width: 100%; }

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(0, 15, 56, 0.15);
  margin-top: 60px;
  padding-top: 30px;
  font-size: 16px;
}
.post-nav a:hover { color: var(--teal); }

/* Blog filter */
.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.blog-search {
  flex: 1 1 260px;
  max-width: 360px;
  border: 1px solid rgba(0, 15, 56, 0.25);
  padding: 12px 16px;
  font: inherit;
  font-size: 16px;
  background: #fff;
  color: var(--navy);
}
.blog-search::placeholder { color: rgba(0, 15, 56, 0.45); }
.blog-count { font-size: 16px; color: rgba(0, 15, 56, 0.6); }
.no-results { padding: 40px 0; font-size: 20px; }

/* ==========================================================================
   Contact page form (visual only — no submission endpoint)
   ========================================================================== */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.form-note {
  font-size: 15px;
  line-height: 24px;
  background: var(--mint);
  color: var(--navy);
  padding: 16px 20px;
  margin-bottom: 26px;
}
.form-note--error { background: #fbe9e7; color: #7a1f14; }

/* Honeypot: off-screen rather than display:none, so bots still "see" it. */
.form-hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.recaptcha-field { margin-top: 6px; }
.g-recaptcha { max-width: 100%; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row--full { grid-column: 1 / -1; }
.form-row label { font-size: 16px; }
.form-row .req { color: #c0392b; }

.form-row input,
.form-row textarea {
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 15, 56, 0.28);
  background: #fff;
  color: var(--navy);
  width: 100%;
}
.form-row textarea { min-height: 150px; resize: vertical; }

.cta-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.cta-card { background: var(--navy); color: var(--off-white); padding: 30px; }
.cta-card h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 14px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  :root { --container: 1024px; }

  .section { padding-block: 70px; }

  .display { font-size: 42px; line-height: 46px; }
  .section-title { font-size: 42px; }
  .page-title { font-size: 42px; line-height: 44px; }
  .hero--page .display { font-size: 46px; line-height: 50px; }

  .hero { min-height: 700px; padding-block: 170px 70px; }
  .hero--page { min-height: 440px; padding-block: 190px 70px; }
  .hero--compact { min-height: 360px; padding-block: 180px 60px; }

  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }

  .slide { padding: 60px 50px; }
  .quote { font-size: 40px; line-height: 50px; }

  .site-nav__list { gap: 24px; }
  .site-nav__link { font-size: 17px; }
}

@media (max-width: 900px) {
  .intro-grid,
  .prose-cols,
  .contact-grid,
  .contact-page-grid,
  .split,
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }

  .split__main { border-right: 0; padding-right: 0; }
  .aside { position: static; }

  .profile { grid-template-columns: 1fr; gap: 34px; }
  .profile__photo { max-width: 320px; }

  /* Mobile navigation */
  .burger { display: block; }

  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(400px, 86vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--navy);
    padding: 100px 32px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
  }
  .site-nav.is-open { transform: translateX(0); }

  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .site-nav__list > li { border-bottom: 1px solid rgba(249, 249, 249, 0.12); }
  .site-nav__link { display: block; padding: 16px 0; font-size: 19px; border: 0; }

  .has-dropdown > .site-nav__link::after { float: right; margin-top: 8px; }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: transparent;
    padding: 0 0 12px 16px;
    min-width: 0;
    display: none;
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .dropdown a { padding: 10px 0; font-size: 16px; }

  .site-nav .btn { margin-top: 26px; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 15, 56, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    z-index: 90;
  }
  .nav-backdrop.is-visible { opacity: 1; visibility: visible; }

  body.nav-open { overflow: hidden; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; }

  body { font-size: 14px; line-height: 24px; }

  .section { padding-block: 54px; }
  .page-body { padding-block: 50px; }

  .display { font-size: 38px; line-height: 37px; }
  .section-title { font-size: 38px; line-height: 40px; }
  .page-title { font-size: 32px; line-height: 34px; }
  .page-head { padding-top: 40px; }
  .page-head__role,
  .page-head__lede { font-size: 18px; line-height: 27px; }
  .aside h2 { font-size: 28px; }
  .hero--page .display { font-size: 36px; line-height: 40px; }
  .eyebrow { font-size: 16px; }
  .lede { font-size: 19px; line-height: 26px; }

  .hero { min-height: 560px; padding-block: 140px 60px; }
  .hero--page,
  .hero--compact { min-height: 320px; padding-block: 150px 50px; }

  .btn { font-size: 16px; padding: 16px 26px; }

  .card-grid,
  .team-grid,
  .post-grid,
  .cta-cards,
  .form-grid { grid-template-columns: 1fr; }

  .service-card__title { font-size: 32px; }
  .service-card__text { font-size: 19px; }

  .slide { padding: 46px 26px; }
  .quote { font-size: 26px; line-height: 36px; }
  .quote-name { margin-left: 0; }
  .slider__arrow { display: none; }

  .faq-item__q { font-size: 19px; }
  .faq-item__a p { font-size: 15px; line-height: 25px; }

  .prose { font-size: 16px; line-height: 27px; }
  .prose h2 { font-size: 28px; }
  .prose h3 { font-size: 22px; }
  .prose blockquote { font-size: 19px; line-height: 29px; padding-left: 20px; }

  .pull-quote { padding: 28px; }
  .pull-quote p { font-size: 21px; line-height: 30px; }

  .collage { gap: 12px; }

  .contact-band { padding-block: 54px; }
  .contact-band h2 { font-size: 27px; line-height: 34px; }
}

/* ---------- Print --------------------------------------------------------- */
@media print {
  .site-header, .site-nav, .burger, .slider__nav, .slider__arrow,
  .contact-band, .btn { display: none !important; }
  body { color: #000; background: #fff; font-size: 12pt; }
  .hero { min-height: 0; padding: 0 0 20pt; background: none; color: #000; }
}

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