:root {
  --bg: #f6f7f4;
  --panel: #ffffff;
  --ink: #18221f;
  --soft-ink: #56635e;
  --line: #d9ddd5;
  --green: #263f35;
  --green-soft: #e5eee9;
  --ochre: #a98746;
  --ochre-soft: #f1eadb;
  --mist: #e9ede7;
  --shadow: 0 14px 34px rgba(24, 34, 31, 0.08);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
}

main {
  overflow-x: clip;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 9px 12px;
  color: #fff;
  background: var(--green);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  min-height: 76px;
  padding: 10px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(169, 135, 70, 0.28);
  color: var(--ink);
  background: rgba(250, 247, 240, 0.96);
  backdrop-filter: blur(14px);
  transition: box-shadow 220ms ease, background-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(250, 247, 240, 0.98);
  box-shadow: 0 12px 30px rgba(24, 34, 31, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 238px;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark-img {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 0;
  min-width: 0;
  line-height: 1.08;
}

.brand-text strong {
  color: #2b2b2b;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-text small {
  color: #777a76;
  font-size: 0.72rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand img:not(.brand-mark-img) {
  width: min(236px, 38vw);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: clamp(12px, 1.6vw, 22px);
  color: var(--soft-ink);
  font-size: 0.76rem;
  font-weight: 700;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--ochre);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  gap: 0;
  align-items: stretch;
  width: min(1240px, calc(100% - 36px));
  min-height: 0;
  padding: clamp(34px, 5.4vw, 66px) 0 clamp(28px, 4.4vw, 52px);
  margin: 0 auto;
}

.home-hero__image {
  position: relative;
  overflow: hidden;
  border-radius: 8px 0 0 8px;
  background: var(--mist);
  box-shadow: 0 18px 46px rgba(24, 34, 31, 0.12);
  transform: translateZ(0);
}

.home-hero__image::after {
  display: none;
}

.home-hero__image img {
  width: 100%;
  height: clamp(430px, 42vw, 560px);
  object-fit: cover;
  object-position: 50% 46%;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  margin-left: clamp(-44px, -3vw, -22px);
  padding: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 48px) clamp(42px, 5vw, 76px);
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ochre);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  max-width: 720px;
  color: var(--green);
  font-size: clamp(2.35rem, 4.2vw, 4.6rem);
}

.home-hero h1 {
  max-width: 560px;
  font-size: clamp(2.15rem, 3.25vw, 3.65rem);
  line-height: 1.08;
}

h2 {
  color: var(--green);
  font-size: clamp(1.75rem, 2.8vw, 3.1rem);
}

h3 {
  margin: 0;
  color: var(--green);
  font-size: 1.1rem;
  line-height: 1.28;
}

.home-hero p,
.page-hero p,
.section-heading p,
.split p,
.prose p,
.client-grid p,
.project-list p {
  color: var(--soft-ink);
  font-size: 1rem;
}

.home-hero__content > p:not(.eyebrow),
.page-hero p {
  color: var(--soft-ink);
}

.home-hero__content > p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button-primary {
  color: #fff;
  background: var(--green);
}

.button-secondary {
  color: var(--green);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(24, 34, 31, 0.12);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #1d3129;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(169, 135, 70, 0.48);
  background: #fff;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(150px, 188px);
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-strip article {
  padding: 20px clamp(14px, 2vw, 28px);
  border-right: 1px solid var(--line);
  background: transparent;
}

.stat-strip article:last-child {
  border-right: 0;
}

.stat-strip strong,
.stat-strip span {
  display: block;
}

.stat-strip strong {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 500;
  line-height: 1.1;
}

.stat-strip span {
  margin-top: 4px;
  color: var(--soft-ink);
  font-size: 0.92rem;
}

.stat-member {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding-block: 14px;
  text-align: center;
}

.stat-member span {
  margin: 0;
  color: var(--soft-ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.stat-member img {
  width: min(128px, 100%);
  height: auto;
}

.section {
  width: min(1240px, calc(100% - 36px));
  padding: clamp(54px, 7vw, 90px) 0;
  margin: 0 auto;
}

.section-routes {
  padding-top: clamp(44px, 6vw, 76px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

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

.route-card {
  display: block;
  min-height: 0;
  padding: 0 0 18px;
  overflow: hidden;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(24, 34, 31, 0.04);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.route-card::after {
  display: none;
}

.route-card img {
  position: static;
  width: 100%;
  height: 176px;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition: filter 180ms ease, transform 220ms ease;
}

.route-card--organization > img {
  object-position: 50% 54%;
}

.route-card--gallery > img {
  object-position: 50% 42%;
}

.route-card:hover {
  border-color: rgba(169, 135, 70, 0.52);
  box-shadow: 0 16px 34px rgba(24, 34, 31, 0.09);
  transform: translateY(-2px);
}

.route-card:hover img {
  opacity: 1;
  transform: scale(1.025);
  filter: saturate(1.04);
}

.route-card > span:not(.route-mosaic),
.route-card strong {
  position: static;
  display: block;
  margin-inline: 18px;
}

.route-card > span:not(.route-mosaic) {
  margin-top: 16px;
  color: var(--ochre);
  font-size: 0.72rem;
  font-weight: 700;
}

.route-card strong {
  margin-top: 8px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.25;
}

.route-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  height: 176px;
  overflow: hidden;
}

.route-mosaic img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.split,
.content-layout,
.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.feature-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: none;
}

.feature-photo--team {
  object-position: 50% 42%;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--green);
  font-weight: 700;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--ochre);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  width: min(1240px, calc(100% - 36px));
  min-height: 430px;
  padding: clamp(34px, 5vw, 64px) 0;
  margin: 0 auto;
  color: var(--ink);
  background: transparent;
}

.page-hero img {
  width: 100%;
  height: clamp(310px, 36vw, 430px);
  min-height: 0;
  object-fit: cover;
  border-radius: 8px;
}

.page-hero--contact img {
  object-position: 50% 43%;
}

.page-hero--clients img {
  object-position: 50% 48%;
}

.page-hero--gallery img {
  object-position: center;
}

.page-hero--projects img {
  object-fit: contain;
  padding: 14px;
  background: #fff;
}

.page-hero div {
  display: block;
  min-width: 0;
  padding: 0;
}

.page-hero h1 {
  font-size: clamp(2.05rem, 3.6vw, 4rem);
}

.prose {
  max-width: 780px;
}

.prose h2 + p,
.prose p + p,
.prose p + h2 {
  margin-top: 18px;
}

.prose ul {
  margin: 18px 0 0;
  padding-left: 1.2rem;
  color: var(--soft-ink);
}

.prose li + li {
  margin-top: 10px;
}

.activity-list {
  columns: 2;
  column-gap: 34px;
}

.activity-list li {
  break-inside: avoid;
}

.info-panel,
.team-panel,
.contact-list,
.contact-form {
  padding: clamp(22px, 3vw, 34px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.info-panel dl {
  margin: 0;
}

.info-panel dt {
  margin-top: 20px;
  color: var(--green);
  font-weight: 700;
}

.info-panel dd {
  margin: 6px 0 0;
  color: var(--soft-ink);
}

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

.client-grid article,
.project-list article {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.client-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.client-grid h2,
.client-grid p,
.client-links {
  margin-inline: 22px;
}

.client-grid h2 {
  margin-top: 20px;
  font-size: 1.7rem;
}

.client-links {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.client-links a {
  display: inline-block;
  color: var(--green);
  font-weight: 700;
}

.contact-list address {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  font-style: normal;
}

.contact-list a,
.contact-list span {
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.team-panel ul {
  padding-left: 20px;
  color: var(--soft-ink);
}

.form-section {
  max-width: 940px;
}

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

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--green);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.page-hero--message img {
  object-position: 50% 45%;
}

.form-intro {
  max-width: 720px;
  margin-bottom: 24px;
}

.form-intro p:last-child {
  color: var(--soft-ink);
}

.contact-form--luxury {
  position: relative;
  gap: 20px;
  padding: clamp(26px, 4vw, 42px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(229, 238, 233, 0.76), rgba(255, 255, 255, 0.96) 44%),
    var(--panel);
  border-color: rgba(38, 63, 53, 0.14);
  box-shadow: 0 18px 44px rgba(24, 34, 31, 0.09);
}

.contact-form--luxury::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--green), #7bc7a2, var(--ochre));
}

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

.contact-form--luxury label span {
  font-size: 0.9rem;
}

.contact-form--luxury input,
.contact-form--luxury textarea {
  border-color: rgba(38, 63, 53, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.86);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form--luxury input:focus,
.contact-form--luxury textarea:focus {
  outline: none;
  border-color: rgba(38, 63, 53, 0.58);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(123, 199, 162, 0.18);
}

.upload-field {
  display: grid;
  gap: 10px;
}

.upload-box {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 20px;
  border: 1px dashed rgba(38, 63, 53, 0.38);
  border-radius: 8px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}

.upload-title {
  font-size: 1rem;
  font-weight: 800;
}

.upload-text,
.file-summary,
.file-error,
.form-submit-row p {
  color: var(--soft-ink);
  font-size: 0.92rem;
  font-weight: 500;
}

.upload-box input {
  width: 100%;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

.file-summary {
  display: grid;
  gap: 4px;
}

.file-summary span {
  display: block;
}

.file-error {
  min-height: 1.4em;
  color: #9f2e1f;
  font-weight: 700;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 4px;
}

.form-submit-row p {
  max-width: 520px;
  margin: 0;
}

.form-result {
  min-height: 100vh;
}

.form-result p:not(.eyebrow) {
  max-width: 620px;
  color: var(--soft-ink);
}

.status-success h1 {
  color: var(--green);
}

.status-error h1 {
  color: #9f2e1f;
}

.project-list {
  display: grid;
  gap: 18px;
}

.project-list article {
  display: grid;
  grid-template-columns: 210px 1fr;
}

.project-list img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.project-list div {
  padding: 24px;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 0;
}

.project-list h2 {
  font-size: clamp(1.55rem, 2vw, 2.25rem);
}

.project-link {
  margin-top: 8px;
}

.project-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.38fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.project-detail__content {
  display: grid;
  gap: 24px;
}

.project-detail__content h2 {
  margin-bottom: 8px;
}

.project-detail__content p {
  color: var(--soft-ink);
}

.project-facts {
  position: sticky;
  top: 104px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.project-facts dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.project-facts dt {
  color: var(--ochre);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-facts dd {
  margin: 2px 0 0;
  color: var(--green);
  font-weight: 800;
}

.project-bullets {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: var(--soft-ink);
}

.gallery-intro {
  padding-bottom: 26px;
}

.gallery-intro h2,
.gallery-intro p {
  max-width: 760px;
}

.gallery-page {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
  width: min(1240px, calc(100% - 36px));
  padding: 0 0 clamp(54px, 7vw, 90px);
  margin: 0 auto;
  background: transparent;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  height: 236px;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: #fff;
  border: 0;
  border-radius: 8px;
  background: var(--mist);
  cursor: zoom-in;
  box-shadow: 0 10px 24px rgba(24, 34, 31, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 180ms ease, transform 260ms ease;
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
  height: 486px;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(24, 34, 31, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.035);
}

.gallery-item:hover span,
.gallery-item:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(12, 18, 16, 0.88);
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox__inner {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(1120px, 100%);
}

.gallery-lightbox img {
  width: 100%;
  max-height: min(78vh, 760px);
  object-fit: contain;
  border-radius: 8px;
  background: #111;
}

.gallery-lightbox__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.gallery-lightbox__caption {
  margin: 0;
  color: #fff;
  font-weight: 700;
}

.gallery-lightbox__counter {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: var(--green);
  background: #fff;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

.gallery-lightbox__close {
  top: -16px;
  right: -16px;
  width: 42px;
  height: 42px;
  font-size: 1.4rem;
  font-weight: 800;
}

.gallery-lightbox__nav {
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  font-size: 2.2rem;
  line-height: 1;
}

.gallery-lightbox__nav--prev {
  left: -26px;
}

.gallery-lightbox__nav--next {
  right: -26px;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover,
.gallery-lightbox__close:focus-visible,
.gallery-lightbox__nav:focus-visible {
  color: #fff;
  background: var(--green);
}

.site-footer {
  color: var(--soft-ink);
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1240px, calc(100% - 36px));
  padding: 30px 0;
  margin: 0 auto;
}

.footer-content strong,
.footer-content span {
  display: block;
}

.footer-contact {
  display: grid;
  gap: 3px;
}

.footer-contact strong {
  margin-bottom: 4px;
}

.footer-nav {
  display: grid;
  gap: 8px;
  min-width: min(260px, 100%);
  text-align: right;
}

.footer-nav strong {
  margin-bottom: 4px;
}

.footer-nav a {
  justify-self: end;
}

.footer-logo {
  width: min(230px, 70vw);
  height: auto;
  margin-bottom: 12px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.footer-content strong,
.footer-content a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.support-logos {
  width: min(1240px, calc(100% - 36px));
  padding: 0 0 28px;
  margin: 0 auto;
  background: transparent;
}

.support-logos img {
  width: min(620px, 100%);
  height: auto;
  object-fit: contain;
  padding: 0;
  background: transparent;
}

.access-counter {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

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

@media (max-width: 1100px) {
  .home-hero,
  .page-hero,
  .split,
  .content-layout,
  .contact-page {
    grid-template-columns: 1fr;
  }

  .home-hero {
    gap: 22px;
  }

  .home-hero__image {
    border-radius: 8px;
  }

  .home-hero__image::after {
    display: none;
  }

  .home-hero__content {
    margin-left: 0;
    padding: 0;
  }

  .route-grid,
  .stat-strip,
  .gallery-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 860px) {
  .site-header {
    gap: 14px;
  }

  .brand {
    flex: 1 1 auto;
    max-width: calc(100% - 54px);
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 14px;
    border: 1px solid rgba(169, 135, 70, 0.2);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 12px 4px;
  }

  .client-grid,
  .project-detail,
  .project-list article,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .activity-list {
    columns: 1;
  }

  .form-submit-row {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 580px) {
  .site-header {
    width: 100vw;
    max-width: 100vw;
    min-height: 70px;
    padding: 9px 14px;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.35rem);
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .eyebrow {
    font-size: 0.7rem;
    overflow-wrap: anywhere;
  }

  .home-hero,
  .page-hero {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    min-height: 0;
    padding-block: 30px;
  }

  .home-hero__content,
  .page-hero div {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .home-hero h1,
  .page-hero h1 {
    max-width: 100%;
  }

  .home-hero p,
  .page-hero p,
  .section-heading p,
  .split p,
  .prose p {
    max-width: 100%;
  }

  .home-hero__image img {
    height: clamp(310px, 88vw, 390px);
    object-position: 50% 48%;
  }

  .page-hero img {
    height: clamp(230px, 72vw, 310px);
  }

  .page-hero--projects img {
    height: auto;
    max-height: 320px;
    object-fit: contain;
  }

  .section,
  .stat-strip,
  .gallery-page,
  .footer-content,
  .support-logos {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .route-grid,
  .stat-strip,
  .gallery-page {
    grid-template-columns: 1fr;
  }

  .stat-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-member img {
    width: 132px;
  }

  .gallery-item,
  .gallery-item--large,
  .gallery-item--wide {
    grid-column: auto;
    grid-row: auto;
    height: 240px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    text-align: left;
  }

  .footer-nav a {
    justify-self: start;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark-img {
    width: 50px;
    height: 50px;
  }

  .brand-text strong {
    font-size: 0.98rem;
  }

  .brand-text small {
    font-size: 0.66rem;
  }

  .project-list div,
  .info-panel,
  .team-panel,
  .contact-list,
  .contact-form {
    padding: 20px;
  }
}
