:root {
  --ink: #17211d;
  --muted: #5f6b65;
  --paper: #f6f4f1;
  --surface: #ffffff;
  --sage: #dce8df;
  --forest: #193c34;
  --teal: #79b9bd;
  --teal-dark: #407f83;
  --gold: #d5a62e;
  --line: rgba(23, 33, 29, 0.14);
  --shadow: 0 22px 70px rgba(24, 34, 31, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-size: clamp(3.4rem, 8vw, 7.6rem);
  line-height: 0.95;
  color: #fff;
}

h2 {
  font-size: clamp(2.15rem, 4vw, 4.7rem);
  line-height: 1.02;
}

h3 {
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 1.24rem;
  line-height: 1.15;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  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;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
}

.nav {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  width: min(100% - 48px, 1360px);
  margin: 0 auto;
}

.brand {
  justify-self: center;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 1.35rem;
  align-items: center;
  font-size: 0.98rem;
}

.nav-links a {
  opacity: 0.92;
}

.nav-links a:hover,
.text-link:hover,
.service-card a:hover,
.blog-list a:hover,
.footer a:hover {
  color: var(--teal);
}

.nav-cta {
  justify-self: end;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  padding: 0.95rem 1.75rem;
  font-weight: 700;
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button-small {
  min-height: 54px;
  padding-inline: 1.55rem;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.58);
}

.button-secondary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--forest);
}

.button-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}

.button-outline:hover {
  color: #fff;
  background: var(--forest);
  border-color: var(--forest);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--forest);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("https://images.squarespace-cdn.com/content/v1/6339fc365cd840602803b18c/803b4346-574b-4e14-92a5-f3c2d2864230/next+guest+hero+section+%282%29+%281%29.jpg?format=2500w");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-shade {
  background: linear-gradient(90deg, rgba(10, 18, 15, 0.86) 0%, rgba(10, 18, 15, 0.46) 45%, rgba(10, 18, 15, 0.12) 100%),
    linear-gradient(0deg, rgba(10, 18, 15, 0.7) 0%, rgba(10, 18, 15, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1360px);
  margin: 0 auto;
  padding: 9rem 0 7rem;
}

.eyebrow,
.section-label {
  color: var(--teal-dark);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta .section-label {
  color: #b9e3e5;
}

.hero-copy {
  max-width: 610px;
  margin-top: 1.35rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.section-pad {
  padding: clamp(4.5rem, 8vw, 8rem) max(24px, calc((100vw - var(--max)) / 2));
}

.intro {
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.72fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  margin-top: 1rem;
}

.intro-grid p,
.confidence-copy > p,
.service-card p,
.steps p,
.footer p,
.feature-list p {
  color: var(--muted);
}

.text-link,
.service-card a {
  display: inline-flex;
  margin-top: 1.2rem;
  color: var(--forest);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 760px;
  margin-top: 0.45rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 1.5rem;
}

.service-card h3 {
  margin-bottom: 0.55rem;
}

.confidence {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  background: var(--sage);
}

.confidence-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.confidence-copy h2 {
  margin: 0.5rem 0 1.2rem;
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-list div,
.steps article,
blockquote {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(25, 60, 52, 0.12);
  padding: 1.25rem;
}

.feature-list h3 {
  margin-bottom: 0.4rem;
}

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

.steps article {
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.steps span {
  color: var(--teal-dark);
  font-family: "Inter Tight", Arial, sans-serif;
  font-weight: 700;
  margin-bottom: auto;
}

.steps h3 {
  margin: 2.8rem 0 0.65rem;
}

.testimonials {
  background: var(--forest);
  color: #fff;
}

.testimonials .section-label {
  color: #b9e3e5;
}

.testimonials h2 {
  max-width: 820px;
  margin-top: 0.45rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

blockquote {
  margin: 0;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

blockquote p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.16;
}

cite {
  display: block;
  margin-top: 1.25rem;
  color: #b9e3e5;
  font-style: normal;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.blog-list a {
  min-height: 170px;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.2;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 max(24px, calc((100vw - var(--max)) / 2)) clamp(4.5rem, 8vw, 8rem);
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--forest);
  color: #fff;
}

.cta h2 {
  margin-top: 0.4rem;
}

.footer {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(150px, 0.6fr));
  gap: 2rem;
  padding: clamp(3rem, 6vw, 5rem) max(24px, calc((100vw - var(--max)) / 2)) 2rem;
  background: #101713;
  color: #fff;
}

.footer .brand {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer h2 {
  margin-bottom: 0.8rem;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer a {
  display: block;
  width: fit-content;
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer p {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.68);
}

.land-acknowledgement {
  margin-top: 1.2rem;
  font-size: 0.9rem;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

@media (max-width: 960px) {
  .site-header {
    position: fixed;
    background: rgba(16, 23, 19, 0.86);
    backdrop-filter: blur(14px);
  }

  .nav {
    min-height: 76px;
    grid-template-columns: auto 1fr auto;
    width: min(100% - 32px, 1360px);
  }

  .brand {
    justify-self: start;
    font-size: 1.75rem;
  }

  .menu-toggle {
    display: inline-grid;
    justify-self: end;
    gap: 5px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    background: transparent;
    place-content: center;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
  }

  .nav-links {
    position: absolute;
    inset: 76px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .nav-links a {
    padding: 0.95rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: min(100% - 32px, 1360px);
    padding-bottom: 4rem;
  }

  .intro-grid,
  .confidence,
  .footer {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .hero {
    min-height: 720px;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-actions,
  .section-heading,
  .cta {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section-pad {
    padding-inline: 18px;
  }

  .steps,
  .blog-list {
    grid-template-columns: 1fr;
  }

  .steps article,
  .blog-list a {
    min-height: 0;
  }

  .steps h3 {
    margin-top: 2rem;
  }

  .cta {
    margin-inline: 18px;
  }
}
