:root {
  --brand-black: #1e1d22;
  --brand-green: #c1cc6c;
  --brand-white: #ffffff;
  --brand-muted: #d6d3d1;
  --brand-page: #f6faf2;
  --brand-emergency: #f25555;
  --font-display: "Work Sans", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;
  --section-title-size: clamp(36px, 6vw, 48px);
  --section-title-weight: 700;
  --section-title-line: 1.1;
  --topbar-height: 38px;
  --nav-height: 99px;
  /* Sticky nav only — topbar scrolls away */
  --header-height: var(--nav-height);
  --content-max: 1280px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
  overflow-x: clip;
  max-width: 100%;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--brand-page);
  color: var(--brand-black);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* —— Header —— */
.site-header {
  background: var(--brand-black);
  max-width: 100%;
}

.site-topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--brand-black);
  max-width: 100%;
}

.site-header__sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  max-width: 100%;
  background: color-mix(in srgb, var(--brand-black) 95%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 4px solid var(--brand-green);
  transform: translate3d(0, 0, 0);
  transition: transform 0.28s ease;
}

.site-header__sticky.is-hidden {
  transform: translate3d(0, -100%, 0);
  pointer-events: none;
}

/* Keeps layout space while the nav is position: fixed */
.site-header__nav-slot {
  height: calc(var(--nav-height) + 4px);
  background: var(--brand-black);
}

@media (max-width: 899px) {
  .site-header__sticky,
  .site-header__sticky.is-hidden {
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  .site-topbar__inner {
    gap: 10px;
    padding: 6px 16px;
    min-width: 0;
    align-items: flex-start;
  }

  .site-topbar__emergency,
  .site-topbar__emergency:link,
  .site-topbar__emergency:visited {
    min-width: 0;
    flex: 1 1 auto;
    align-items: flex-start;
    font-size: 12px;
    gap: 6px;
    white-space: normal;
    overflow: visible;
  }

  .site-topbar__emergency svg {
    margin-top: 2px;
  }

  .site-topbar__emergency-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.25;
  }

  .site-topbar__langs {
    gap: 8px;
    flex-shrink: 0;
    align-self: center;
  }

  .site-header__bar {
    gap: 12px;
    padding: 0 16px;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header__sticky {
    transition: none;
  }
}

.site-topbar__inner {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: var(--content-max);
  min-height: var(--topbar-height);
  padding: 6px 32px;
}

.site-topbar__emergency,
.site-topbar__emergency:link,
.site-topbar__emergency:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-emergency);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.site-topbar__emergency-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  min-width: 0;
}

.site-topbar__emergency svg {
  flex-shrink: 0;
}

.site-topbar__emergency:hover {
  opacity: 0.85;
  color: var(--brand-emergency);
}

.site-topbar__langs {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-topbar__lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 20px;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0.72;
  transition: opacity 0.15s ease, outline-color 0.15s ease;
  outline: 1px solid transparent;
  outline-offset: 1px;
}

.site-topbar__lang:hover,
.site-topbar__lang.is-active {
  opacity: 1;
}

.site-topbar__lang.is-active {
  outline-color: var(--brand-green);
}

.site-topbar__lang svg {
  display: block;
  width: 28px;
  height: 20px;
}

.site-header__bar {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--content-max);
  height: var(--nav-height);
  padding: 0 35px 0 32px;
}

.site-logo {
  position: relative;
  flex-shrink: 0;
  width: 90px;
  height: 75px;
}

.site-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header__right {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 48px;
  margin-left: auto;
  min-width: 0;
}

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

.site-nav a {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--brand-white);
  transition: color 0.15s ease;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--brand-green);
}

.site-nav a.is-active {
  color: var(--brand-green);
  border-bottom: 2px solid var(--brand-green);
  padding-bottom: 6px;
}

.site-header__social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-white);
  transition: color 0.15s ease;
}

.site-header__social-link svg {
  width: 26px;
  height: 26px;
}

.site-header__social-link:hover {
  color: var(--brand-green);
}

.site-header__social--mobile {
  margin-top: 4px;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--brand-green);
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-black);
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

.btn-contact:hover {
  opacity: 0.9;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-left: auto;
}

.menu-toggle svg {
  display: block;
  width: 24px;
  height: 24px;
}

.menu-toggle .icon-close {
  display: none;
}

.site-header.is-open .menu-toggle .icon-menu {
  display: none;
}

.site-header.is-open .menu-toggle .icon-close {
  display: block;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--brand-black);
  padding: 24px 32px;
}

.site-header.is-open .mobile-nav {
  display: block;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: var(--brand-white);
}

.mobile-nav a.is-active {
  color: var(--brand-green);
}

.mobile-nav .btn-contact,
.mobile-nav .btn-contact.is-active {
  display: inline-flex;
  width: 100%;
  margin-top: 8px;
  color: var(--brand-black);
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .site-header__right {
    display: flex;
  }

  .menu-toggle,
  .mobile-nav,
  .site-header.is-open .mobile-nav {
    display: none;
  }
}

/* —— Page placeholders —— */
.page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 32px;
}

.page__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: var(--brand-black);
}

/* —— About hero —— */
.about-hero {
  flex: 1;
  background: var(--brand-page);
  padding: 48px 24px;
}

.about-hero__inner {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  width: 100%;
  max-width: var(--content-max);
}

.about-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.about-hero__text {
  margin: 0;
  max-width: 36em;
  color: #424844;
  font-family: var(--font-body);
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 400;
  line-height: 1.625;
}

.about-hero__text strong {
  font-weight: 700;
  color: #1e1d22;
}

.about-hero__media {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.about-hero__photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  background: #e9f0e4;
}

.about-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep the climber in frame within the square crop */
  object-position: center 42%;
  display: block;
}

@media (min-width: 900px) {
  .about-hero {
    display: flex;
    align-items: center;
    padding: 72px 32px;
  }

  .about-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    gap: 20px;
    align-items: center;
  }

  .about-hero__copy {
    padding-right: 0;
  }

  .about-hero__text {
    max-width: none;
  }

  .about-hero__media {
    max-width: 360px;
    margin: 0;
  }
}

/* —— Standards (certs + equipment, shared dark band) —— */
.standards {
  background: #1e1d22;
  color: #ffffff;
  padding: 64px 24px 88px;
}

.standards__inner {
  margin: 0 auto;
  width: 100%;
  max-width: var(--content-max);
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* —— About certifications —— */
.about-certs {
  display: flex;
  flex-direction: column;
  gap: 48px;
  background: transparent;
  padding: 0;
}

.about-certs__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.about-certs__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 672px;
}

.about-certs__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--section-title-size);
  font-weight: var(--section-title-weight);
  line-height: var(--section-title-line);
  letter-spacing: normal;
  text-transform: none;
  color: var(--brand-white);
}

.about-certs__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.about-certs__protocol {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 8px;
  background: var(--brand-green);
  color: var(--brand-black);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-certs__protocol img,
.about-certs__protocol-icon {
  flex-shrink: 0;
  width: 1.35rem;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--brand-black);
}

.about-certs__carousel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.about-certs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  aspect-ratio: 1;
  border-radius: 12px;
  padding: 28px 22px;
  min-height: 0;
  box-sizing: border-box;
}

.cert-card--dark {
  background: #2a292f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.cert-card--accent {
  background: var(--brand-green);
}

.cert-card__glyph {
  margin: 0 0 4px;
  width: auto;
  height: auto;
  flex-shrink: 0;
  font-size: 2rem;
  line-height: 1;
  color: #173124;
}

.cert-card--dark .cert-card__glyph {
  color: var(--brand-green);
}

.cert-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: #173124;
}

.cert-card--dark .cert-card__title {
  color: var(--brand-green);
}

.cert-card__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: #424844;
}

.cert-card--dark .cert-card__text {
  color: rgba(255, 255, 255, 0.88);
}

@media (min-width: 900px) {
  .standards {
    padding: 88px 32px 104px;
  }

  .standards__inner {
    gap: 72px;
  }

  .about-certs {
    gap: 64px;
  }

  .about-certs__break {
    display: none;
  }

  .about-certs__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
  }

  .about-certs__title {
    white-space: nowrap;
  }

  .about-certs__protocol {
    flex-shrink: 0;
  }

  .about-certs__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .cert-card {
    padding: 32px 24px;
  }

  .cert-card__title {
    font-size: 20px;
  }
}

@media (min-width: 700px) and (max-width: 899px) {
  .about-certs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: swipeable cert cards — full-bleed, next card peeks from screen edge */
@media (max-width: 699px) {
  .standards {
    padding-left: 0;
    padding-right: 0;
    overflow-x: clip;
  }

  .standards__inner {
    padding: 0;
    min-width: 0;
    max-width: 100%;
  }

  .about-certs__header,
  .equipment {
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-certs__header {
    align-items: stretch;
  }

  .about-certs__protocol {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .equipment__cta {
    width: 100%;
    align-self: stretch;
    box-sizing: border-box;
  }

  .about-certs__carousel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .about-certs__grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
    scroll-padding-right: 24px;
    padding: 4px 0 8px 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    max-width: 100%;
  }

  .about-certs__grid::-webkit-scrollbar {
    display: none;
  }

  .cert-card {
    /* Leave room so the next card peeks in from the right viewport edge */
    flex: 0 0 calc(100% - 48px);
    width: calc(100% - 48px);
    max-width: none;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .about-certs__grid::after {
    content: "";
    flex: 0 0 24px;
  }
}

/* —— About team —— */
.about-team {
  background: var(--brand-page);
  padding: 64px 24px;
}

.about-team__inner {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: var(--content-max);
}

.about-team__heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--section-title-size);
  font-weight: var(--section-title-weight);
  line-height: var(--section-title-line);
  letter-spacing: normal;
  text-transform: none;
  color: #173124;
  text-align: center;
}

.about-team__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  justify-items: center;
  width: 100%;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-width: 0;
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.team-member__photo {
  width: 245px;
  height: 245px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: #e9f0e4;
}

.team-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.team-member__img--james {
  object-position: center 28%;
}

.team-member__img--frank {
  /* Center Frank in the circular crop */
  object-position: center center;
}

.team-member__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.team-member__role {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #645d58;
}

.team-member__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  color: #173124;
}

.team-member__bio {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #424844;
}

.team-member__certs {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.team-member__certs li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #424844;
  text-align: center;
}

.team-member__certs img {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

@media (min-width: 768px) {
  .about-team {
    padding: 96px 32px;
  }

  .about-team__inner {
    gap: 48px;
  }

  .about-team__list {
    grid-template-columns: repeat(2, minmax(0, 360px));
    justify-content: center;
    gap: 96px;
  }

  .team-member {
    gap: 24px;
  }

  .team-member__photo {
    width: 285px;
    height: 285px;
  }
}

body.is-menu-open {
  overflow: hidden;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 17.5px 32px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  opacity: 0.92;
}

.btn--primary {
  background: var(--brand-green);
  color: var(--brand-black);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.btn--secondary {
  background: var(--brand-black);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--brand-white);
  padding: 15.5px 32px;
}

/* —— Hero —— */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(100svh, 56rem);
  overflow: clip;
  max-width: 100%;
  color: var(--brand-white);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image,
.hero__video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.hero__video {
  display: block;
  background: #1e1d22;
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }

  .hero__media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #1e1d22 url("../assets/hero/hero-poster.jpg") center / cover no-repeat;
  }
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    67deg,
    rgb(95, 93, 99) 0%,
    rgba(95, 93, 99, 0.4) 50%,
    rgba(95, 93, 99, 0) 100%
  );
}

.hero__slash {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -1px;
  width: 34%;
  height: 72px;
  background: var(--brand-page);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  transform: skewX(-8deg);
  transform-origin: bottom right;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  /* Sit near the bottom so the CTA aligns with the hero slash edge */
  padding: 120px 24px 72px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero__eyebrow {
  margin: 0;
  display: inline-flex;
  background: var(--brand-green);
  color: var(--brand-black);
  padding: 4px 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--brand-white);
}

.hero__accent {
  color: var(--brand-white);
}

.hero__lead {
  margin: 0;
  max-width: 40rem;
  padding-top: 8px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 32.5px;
  color: var(--brand-white);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
}

@media (min-width: 768px) {
  .hero {
    min-height: 57.5rem;
  }

  .hero__gradient {
    background: linear-gradient(
      36deg,
      rgb(95, 93, 99) 0%,
      rgba(95, 93, 99, 0.4) 50%,
      rgba(95, 93, 99, 0) 100%
    );
  }

  .hero__slash {
    width: 33.33%;
    height: 100px;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
    transform: skewX(-6deg);
  }

  .hero__inner {
    padding: 160px 32px 100px;
  }

  .hero__title {
    max-width: 18ch;
    font-size: 72px;
    line-height: 72px;
  }
}

/* —— Services —— */
.services {
  background: var(--brand-page);
  padding: 48px 24px 64px;
}

.services__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.services__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.services__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--section-title-size);
  font-weight: var(--section-title-weight);
  line-height: var(--section-title-line);
  letter-spacing: normal;
  text-transform: none;
  color: #173124;
  text-decoration: none;
  border: 0;
}

.services__carousel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.services__grid {
  display: grid;
  gap: 24px;
  width: 100%;
  grid-template-columns: 1fr;
}

.services__dots,
.about-certs__dots,
.instagram-gallery__dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.scroll-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 49, 36, 0.22);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.scroll-carousel__dot.is-active {
  background: #173124;
  transform: scale(1.15);
}

.about-certs .scroll-carousel__dot {
  background: rgba(255, 255, 255, 0.28);
}

.about-certs .scroll-carousel__dot.is-active {
  background: var(--brand-green);
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--brand-white);
  color: #1e1d22;
  border-radius: 12px;
}

/* Mobile: hand-scroll carousel with next-card peek */
@media (max-width: 699px) {
  .services {
    padding-left: 0;
    padding-right: 0;
    overflow-x: clip;
  }

  .services__header {
    padding: 0 24px;
  }

  .services__carousel {
    min-width: 0;
    max-width: 100%;
  }

  .services__grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    padding: 2px 24px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    max-width: 100%;
  }

  .services__grid::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    flex: 0 0 min(82%, 300px);
    width: min(82%, 300px);
    scroll-snap-align: start;
  }

  .services__dots,
  .about-certs__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 24px;
  }
}

.service-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1e1d22;
}

.service-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__img--tree-surgery {
  object-position: center 58%;
}

.service-card__img--forestry {
  object-position: center 45%;
}

.service-card__img--fire-breaks {
  object-position: center 48%;
}

.service-card__img--storm {
  object-position: center 42%;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  flex: 1;
}

.service-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #1e1d22;
}

.service-card__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(30, 29, 34, 0.78);
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  margin-top: auto;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--brand-green);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brand-black);
  transition: opacity 0.15s ease;
  box-sizing: border-box;
}

.service-card__cta:hover {
  opacity: 0.9;
  color: var(--brand-black);
}

@media (min-width: 700px) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .services {
    padding: 72px 32px;
  }

  .services__inner {
    gap: 48px;
  }

  .services__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .service-card__body {
    padding: 22px 20px 24px;
  }

  .service-card__title {
    font-size: 20px;
  }

  .service-card__text {
    font-size: 14px;
  }
}

/* —— Equipment Standards —— */
.equipment {
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: transparent;
  color: #ffffff;
}

.equipment__copy {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.equipment__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--section-title-size);
  font-weight: var(--section-title-weight);
  line-height: var(--section-title-line);
  letter-spacing: normal;
  text-transform: none;
  color: #ffffff;
}

.equipment__title-accent {
  color: #ffffff;
}

.equipment__lead {
  margin: 0;
  max-width: 28rem;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #ffffff;
}

.equipment__specs {
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.equipment__specs li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 8px;
}

.equipment__spec-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffffff;
}

.equipment__spec-value {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: #c1cc6c;
}

.equipment__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  background: var(--brand-green);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brand-black);
  transition: opacity 0.15s ease;
}

.equipment__cta:hover {
  opacity: 0.9;
  color: var(--brand-black);
}

.equipment__media {
  position: relative;
  width: 100%;
}

.equipment__photo {
  width: 100%;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.equipment__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 55%;
}

@media (max-width: 699px) {
  .equipment {
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }
}

@media (min-width: 960px) {
  .equipment {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

  .equipment__copy {
    padding-left: 0;
  }

  .equipment__specs li {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .equipment__media {
    height: 500px;
  }

  .equipment__photo {
    height: 100%;
  }
}

/* —— CTA Consultation —— */
.cta {
  background: var(--brand-page);
  padding: 48px 24px 64px;
}

.cta__panel {
  position: relative;
  width: 100%;
  max-width: 1216px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  background: var(--brand-green);
  padding: 40px 28px;
}

.cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.cta__title {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: var(--section-title-size);
  font-weight: var(--section-title-weight);
  line-height: var(--section-title-line);
  letter-spacing: normal;
  text-transform: none;
  color: #1e1d22;
}

.cta__lead {
  margin: 0;
  max-width: 42rem;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #1e1d22;
}

.cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  border-radius: 6px;
  background: #1e1d22;
  padding: 16.5px 40px 17.5px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  transition: opacity 0.15s ease;
}

.cta__button:hover {
  opacity: 0.9;
}

@media (max-width: 767px) {
  .cta__button {
    width: 100%;
    align-self: stretch;
    box-sizing: border-box;
  }
}

@media (min-width: 768px) {
  .cta {
    padding: 72px 32px;
  }

  .cta__panel {
    padding: 64px;
  }

  .cta__content {
    gap: 32px;
  }

  .cta__title {
    max-width: none;
  }

  .cta__lead {
    font-size: 20px;
  }
}

/* —— Contact page —— */
.contact-page {
  background: var(--brand-page);
  padding: 64px 24px 96px;
}

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

.contact-page__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-page__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  color: #173124;
}

.contact-page__intro {
  margin: 0;
  max-width: 34em;
  color: #424844;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

.contact-page__layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 24px;
  border-radius: 16px;
  background: var(--brand-black);
}

.contact-form__row {
  display: grid;
  gap: 16px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field__label {
  color: var(--brand-green);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-field__required {
  color: var(--brand-emergency);
  letter-spacing: 0;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--brand-white);
  color: var(--brand-black);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
}

.contact-field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #8a857f;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: 2px solid var(--brand-green);
  outline-offset: 1px;
}

.contact-field--icon .contact-field__control {
  position: relative;
  display: block;
}

.contact-field__icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  pointer-events: none;
}

.contact-field--icon input {
  padding-left: 42px;
}

.contact-services {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-services__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 16px;
  margin-top: 4px;
}

.contact-services__option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.35;
  cursor: pointer;
}

.contact-services__option input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--brand-green);
  cursor: pointer;
}

@media (min-width: 640px) {
  .contact-services__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-upload {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.contact-upload__heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-upload__title {
  margin: 0 0 4px;
  color: var(--brand-green);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
}

.contact-upload__hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.45;
}

.contact-upload__previews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-upload__slot {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  background: #c1cc6c;
}

.contact-upload__slot--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 0;
  padding: 16px;
  color: var(--brand-black);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.contact-upload__slot--empty:hover {
  opacity: 0.92;
}

.contact-upload__slot--empty:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.contact-upload__slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-upload__slot-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(30, 29, 34, 0.75);
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.contact-upload__meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form__status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.contact-form__turnstile {
  min-height: 65px;
}

.contact-form__status.is-error {
  background: rgba(220, 80, 80, 0.18);
  color: #ffb4b4;
}

.contact-form__status.is-success {
  background: color-mix(in srgb, var(--brand-green) 35%, transparent);
  color: var(--brand-green);
  font-weight: 600;
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  border: 0;
  border-radius: 10px;
  padding: 14px 22px;
  background: var(--brand-green);
  color: var(--brand-black);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 767px) {
  .contact-form__submit {
    width: 100%;
    align-self: stretch;
    box-sizing: border-box;
  }
}

.contact-form__submit:hover {
  opacity: 0.92;
}

.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-emergency {
  padding: 28px 24px;
  border-radius: 16px;
  background: var(--brand-emergency);
  color: var(--brand-black);
  flex-shrink: 0;
}

.contact-emergency__title {
  margin: 0 0 12px;
  color: var(--brand-black);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}

.contact-emergency__text {
  margin: 0 0 20px;
  color: var(--brand-black);
  font-size: 14px;
  line-height: 1.55;
}

.contact-emergency__phone,
.contact-emergency__phone:link,
.contact-emergency__phone:visited {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-black);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.contact-emergency__phone span {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.contact-emergency__phone:hover {
  color: var(--brand-black);
  opacity: 0.85;
}

.contact-emergency__phone svg path {
  stroke: currentColor;
}

.contact-aside__photo {
  position: relative;
  flex: 1 1 auto;
  min-height: 320px;
  overflow: hidden;
  border-radius: 16px;
  background: #3a3940;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.35);
}

.contact-aside__photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (min-width: 900px) {
  .contact-page {
    padding: 96px 32px 128px;
  }

  .contact-page__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 48px;
  }

  .contact-page__intro {
    max-width: 40em;
    text-align: left;
  }

  .contact-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.7fr);
    gap: 28px;
    align-items: stretch;
  }

  .contact-form {
    padding: 40px;
  }

  .contact-form__row--2 {
    grid-template-columns: 1fr 1fr;
  }

  .contact-upload__previews {
    grid-template-columns: repeat(2, minmax(0, 180px));
  }

  .contact-aside {
    min-height: 100%;
  }

  .contact-aside__photo {
    min-height: 0;
    flex: 1 1 0;
  }
}

/* —— Footer —— */
.site-footer {
  background: #1e1d22;
  padding: 40px 24px 32px;
  color: #d6d3d1;
}

.site-footer__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.site-footer__grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.site-footer__logo {
  display: block;
  width: 90px;
  height: 75px;
  flex-shrink: 0;
}

.site-footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer__tagline {
  margin: 0;
  max-width: 22rem;
  opacity: 0.8;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 22.75px;
  color: #d6d3d1;
}

.site-footer__location {
  margin: 0;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #d6d3d1;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.site-footer__location:hover,
.site-footer__location:focus-visible {
  opacity: 1;
  color: var(--brand-green);
}

.site-footer__pin {
  display: block;
  width: 16px;
  height: 20px;
  flex-shrink: 0;
  padding-bottom: 6px;
  box-sizing: content-box;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 22.75px;
  color: #c1cc6c;
  transition: opacity 0.15s ease;
}

.site-footer__nav a:hover {
  opacity: 0.8;
}

.site-footer__nav a.site-footer__quote {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.site-footer__heading {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

a.site-footer__heading:hover {
  opacity: 0.8;
  color: #ffffff;
}

.site-footer__contact a:not(.site-footer__heading) {
  margin: 0;
  opacity: 0.8;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #d6d3d1;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.site-footer__contact a:not(.site-footer__heading):hover {
  opacity: 1;
  color: #d6d3d1;
}

.site-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.site-footer__legal p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: #d6d3d1;
}

@media (min-width: 900px) {
  .site-footer {
    padding: 40px 32px 28px;
  }

  .site-footer__inner {
    gap: 28px;
  }

  .site-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
  }

  .site-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    column-gap: 40px;
    row-gap: 8px;
  }
}

/* —— Gallery page —— */
.gallery-page {
  flex: 1;
  width: 100%;
}

.gallery-hero {
  padding: 48px 24px 32px;
}

.gallery-hero__inner {
  width: 100%;
  max-width: 1216px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gallery-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand-black);
}

.gallery-hero__intro {
  border-left: 4px solid var(--brand-green);
  padding-left: 22px;
  max-width: 28rem;
}

.gallery-hero__intro p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  color: var(--brand-black);
}

.gallery-section {
  padding: 0 0 64px;
}

.gallery-section__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.gallery-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  padding-inline: 24px;
  max-width: 100%;
}

.gallery-grid::-webkit-scrollbar {
  height: 4px;
}

.gallery-grid::-webkit-scrollbar-thumb {
  background: rgba(30, 29, 34, 0.25);
  border-radius: 2px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  flex: 0 0 82%;
  height: 360px;
  scroll-snap-align: start;
  background: #1e1d22;
}

.gallery-card--cluster {
  display: contents;
}

.gallery-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px;
  background: linear-gradient(
    180deg,
    rgba(30, 29, 34, 0) 0%,
    rgba(30, 29, 34, 0.85) 100%
  );
  color: #ffffff;
}

.gallery-card__eyebrow {
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #c1cc6c;
}

.gallery-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

.gallery-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 29, 34, 0.35);
  pointer-events: none;
}

.gallery-card--feature {
  height: 420px;
}

@media (min-width: 900px) {
  .gallery-hero {
    padding: 128px 32px 96px;
  }

  .gallery-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .gallery-hero__title {
    font-size: 56px;
    line-height: 65px;
  }

  .gallery-hero__intro {
    max-width: 448px;
    justify-self: end;
  }

  .gallery-section {
    padding: 0 32px 96px;
  }

  .gallery-section__inner {
    padding: 0;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: 288px 288px 450px;
    gap: 24px;
    overflow: visible;
    margin: 0;
    padding: 0;
    scroll-snap-type: none;
  }

  .gallery-card {
    flex: none;
    width: auto;
    height: auto;
    scroll-snap-align: none;
  }

  .gallery-card--feature {
    grid-column: 1 / span 8;
    grid-row: 1 / span 2;
    height: auto;
    min-height: 0;
  }

  .gallery-card--equip {
    grid-column: 9 / span 4;
    grid-row: 1;
  }

  .gallery-card--prune {
    grid-column: 9 / span 4;
    grid-row: 2;
  }

  .gallery-card--canopy {
    grid-column: 1 / span 5;
    grid-row: 3;
  }

  .gallery-card--cluster {
    display: grid;
    grid-column: 6 / span 7;
    grid-row: 3;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
    height: auto;
    background: transparent;
    overflow: visible;
  }

  .gallery-card--tech {
    grid-column: 1;
    grid-row: 1;
  }

  .gallery-card--finish {
    grid-column: 2;
    grid-row: 1;
  }

  .gallery-card--forest {
    grid-column: 1 / span 2;
    grid-row: 2;
  }

  .gallery-card__title {
    font-size: 24px;
    line-height: 32px;
  }
}

/* —— Instagram gallery (one-pager) —— */
.instagram-gallery {
  padding: 56px 24px;
  background: var(--brand-page);
}

.instagram-gallery__inner {
  width: 100%;
  max-width: 1216px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.instagram-gallery__header {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}

.instagram-gallery__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--section-title-size);
  font-weight: var(--section-title-weight);
  line-height: var(--section-title-line);
  letter-spacing: normal;
  text-transform: none;
  color: var(--brand-black);
}

.instagram-gallery__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.instagram-gallery__title a:hover {
  color: color-mix(in srgb, var(--brand-black) 75%, var(--brand-green));
}

.instagram-gallery__follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  background: var(--brand-black);
  color: var(--brand-green);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.15s ease;
}

.instagram-gallery__follow:hover {
  opacity: 0.9;
}

.instagram-gallery__status {
  margin: 0;
  color: rgba(30, 29, 34, 0.7);
  font-size: 15px;
}

.instagram-gallery__empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px;
  border-radius: 16px;
  background: rgba(30, 29, 34, 0.04);
}

.instagram-gallery__empty p {
  margin: 0;
  max-width: 40rem;
  line-height: 1.55;
}

.instagram-gallery__empty code {
  font-size: 0.92em;
}

.instagram-gallery__carousel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.instagram-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.instagram-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 6px;
  background: #1e1d22;
  color: #ffffff;
  text-decoration: none;
}

/* Mobile: swipeable Instagram posts with next-card peek */
@media (max-width: 699px) {
  .instagram-gallery {
    padding-left: 0;
    padding-right: 0;
    overflow-x: clip;
  }

  .instagram-gallery__inner {
    gap: 24px;
    min-width: 0;
    max-width: 100%;
  }

  .instagram-gallery__header {
    padding: 0 24px;
  }

  .instagram-gallery__feed,
  .instagram-gallery__carousel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .instagram-gallery__grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    padding: 2px 24px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    max-width: 100%;
  }

  .instagram-gallery__grid::-webkit-scrollbar {
    display: none;
  }

  .instagram-gallery__item {
    flex: 0 0 min(78%, 280px);
    width: min(78%, 280px);
    scroll-snap-align: start;
  }

  .instagram-gallery__dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 0 24px;
  }

  .instagram-gallery .scroll-carousel__dot {
    width: 7px;
    height: 7px;
  }
}

.instagram-gallery__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.instagram-gallery__item:hover .instagram-gallery__media {
  transform: scale(1.03);
}

.instagram-gallery__shade {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

.instagram-gallery__badge,
.instagram-gallery__play {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.instagram-gallery__badge {
  min-width: 36px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.instagram-gallery__play {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
}

.instagram-gallery__meta {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 44px);
  pointer-events: none;
}

.instagram-gallery__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  background: #000000;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.9);
}

.instagram-gallery__meta-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.instagram-gallery__user {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.instagram-gallery__time {
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.instagram-gallery__ig {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  color: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

@media (min-width: 700px) {
  .instagram-gallery {
    padding: 72px 32px;
  }

  .instagram-gallery__title {
    font-size: 48px;
  }

  .instagram-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .instagram-gallery__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .instagram-gallery__user {
    font-size: 13px;
  }
}
