:root {
  --leaf: #1f5a3b;
  --leaf-dark: #123524;
  --leaf-soft: #d8ead8;
  --mint: #eef7ef;
  --paper: #fbfaf6;
  --white: #ffffff;
  --ink: #17211b;
  --muted: #647067;
  --line: rgba(23, 33, 27, 0.14);
  --clay: #bd6b4f;
  --sun: #e9ba52;
  --sky: #dcecf2;
  --shadow: 0 18px 55px rgba(18, 53, 36, 0.16);
  --shadow-soft: 0 10px 28px rgba(18, 53, 36, 0.1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 8px;
  --max: 1180px;
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

main {
  overflow: hidden;
}

:focus-visible {
  outline: 3px solid rgba(233, 186, 82, 0.82);
  outline-offset: 4px;
}

[id] {
  scroll-margin-top: 112px;
}

.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: fixed;
  z-index: 20;
  top: clamp(10px, 2vw, 16px);
  left: 50%;
  width: min(calc(100% - 32px), var(--max));
  min-height: 64px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(12px, 2.3vw, 22px);
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: var(--radius);
  background: rgba(251, 250, 246, 0.86);
  box-shadow: 0 14px 40px rgba(18, 53, 36, 0.14);
  backdrop-filter: blur(18px);
  animation: headerDrop 620ms var(--ease-out) both;
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-color: rgba(23, 33, 27, 0.12);
  background: rgba(251, 250, 246, 0.94);
  box-shadow: 0 18px 48px rgba(18, 53, 36, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  color: var(--white);
  font-weight: 800;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1.04rem;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: var(--radius);
  color: rgba(23, 33, 27, 0.78);
  font-size: 0.95rem;
  font-weight: 650;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--mint);
  color: var(--leaf-dark);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.header-action,
.button.primary {
  background: var(--leaf);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(31, 90, 59, 0.24);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.button.full {
  width: 100%;
}

.header-action:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--leaf-dark);
}

.hero {
  position: relative;
  min-height: min(840px, 86svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--leaf-dark);
}

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

.hero-media {
  background-image: url("assets/old-hero.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 53, 36, 0.82), rgba(18, 53, 36, 0.4) 42%, rgba(18, 53, 36, 0.08)),
    linear-gradient(0deg, rgba(18, 53, 36, 0.72), rgba(18, 53, 36, 0.04) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 148px 0 56px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f5d584;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 6.1rem;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.88);
}

.hero-proof strong {
  color: var(--white);
}

.quick-strip {
  width: min(calc(100% - 32px), var(--max));
  margin: -28px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.quick-strip a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0 12px;
  align-items: center;
  min-height: 92px;
  padding: 18px;
  border-right: 1px solid var(--line);
  transition: background 180ms ease, transform 180ms ease;
}

.quick-strip a:last-child {
  border-right: 0;
}

.quick-strip span {
  grid-row: span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--leaf);
  font-weight: 900;
}

.quick-strip small {
  color: var(--muted);
  min-width: 0;
  overflow-wrap: anywhere;
}

.quick-strip a:hover,
.quick-strip a:focus-visible {
  background: var(--mint);
}

.section {
  padding: 96px 0;
}

.section-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
}

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

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 30px;
  align-items: end;
}

h2 {
  margin: 0;
  font-size: 3.8rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.25;
}

p {
  line-height: 1.7;
}

.section-heading p,
.intro-copy p,
.visual-copy p,
.faq-section p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.intro-section {
  background: var(--paper);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.trust-grid span {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 750;
  box-shadow: var(--shadow-soft);
}

.services-section,
.process-section {
  background: var(--mint);
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.chip {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.chip.is-active {
  border-color: var(--leaf);
  background: var(--leaf);
  color: var(--white);
}

.chip:hover {
  transform: translateY(-1px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 16px;
}

.service-card {
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(18, 53, 36, 0.07);
  transition: transform 220ms var(--ease-out), opacity 180ms ease, box-shadow 220ms ease;
}

.service-card.is-hidden {
  display: none;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(18, 53, 36, 0.13);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--leaf-soft);
  color: var(--leaf);
  font-weight: 900;
}

.service-card p {
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-weight: 650;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
}

.visual-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: 84px max(16px, calc((100vw - var(--max)) / 2));
  background: var(--leaf-dark);
  color: var(--white);
}

.visual-copy {
  padding-left: 16px;
}

.visual-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.compare {
  position: relative;
  --split: 52%;
  width: 100%;
  height: clamp(320px, 43vw, 520px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--leaf);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.compare > img,
.compare-after img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.compare-after {
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.compare::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 3px;
  transform: translateX(-50%);
  background: var(--sun);
  pointer-events: none;
}

.compare input {
  position: absolute;
  inset: auto 6% 22px;
  width: 88%;
  accent-color: var(--sun);
}

.compare-label {
  position: absolute;
  top: 16px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: rgba(18, 53, 36, 0.72);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 900;
}

.compare-label.before {
  right: 16px;
}

.compare-label.after {
  left: 16px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-auto-rows: 250px;
  gap: 16px;
}

.project-tile {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--leaf-dark);
  color: var(--white);
  cursor: pointer;
  padding: 0;
  text-align: left;
  box-shadow: var(--shadow-soft);
}

.project-tile.wide {
  grid-row: span 2;
}

.project-tile img {
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, opacity 260ms ease;
}

.project-tile:hover img {
  transform: scale(1.04);
  opacity: 0.88;
}

.project-tile span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(18, 53, 36, 0.78);
  font-weight: 900;
}

.team-section {
  background: var(--paper);
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.team-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--leaf-dark);
  box-shadow: var(--shadow);
}

.team-card img {
  height: clamp(420px, 52vw, 620px);
  object-fit: cover;
  object-position: center top;
}

.team-copy p {
  color: var(--muted);
  font-size: 1.03rem;
}

.team-role {
  margin: 12px 0 0;
  color: var(--clay) !important;
  font-weight: 900;
  text-transform: uppercase;
}

.team-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.team-points span {
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--leaf-soft);
  color: var(--leaf-dark);
  font-weight: 850;
  line-height: 1.25;
}

.reviews-section {
  background: var(--white);
}

.rating-summary {
  justify-self: end;
  display: grid;
  gap: 4px;
  min-width: 180px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--leaf-dark);
  color: var(--white);
}

.rating-summary strong {
  font-size: 2.6rem;
  line-height: 1;
}

.rating-summary span {
  color: var(--sun);
}

.rating-summary small {
  color: rgba(255, 255, 255, 0.72);
}

.reviews-shell {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 14px;
  align-items: center;
}

.round-button,
.modal-close {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--leaf-dark);
  cursor: pointer;
  font-weight: 900;
}

.round-button {
  width: 48px;
  height: 48px;
  font-size: 1.8rem;
}

.reviews-track {
  overflow: hidden;
}

.review-card {
  display: none;
  min-height: 260px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.review-card.is-active {
  display: block;
  animation: fadeLift 420ms var(--ease-out) both;
}

.review-card p {
  margin: 0 0 18px;
  color: var(--sun);
  font-weight: 900;
}

.review-card blockquote {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 2.05rem;
  line-height: 1.25;
}

.review-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.process-list span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--white);
  font-weight: 900;
}

.process-list p {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

summary {
  min-height: 60px;
  padding: 18px 52px 18px 18px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  margin-right: -34px;
  color: var(--leaf);
  font-size: 1.3rem;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 18px 20px;
  animation: fadeLift 260ms var(--ease-out) both;
}

.contact-section {
  background: var(--leaf-dark);
  color: var(--white);
}

.contact-section .section-kicker {
  color: #f5d584;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-facts {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-facts span {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  overflow-wrap: anywhere;
}

.contact-facts strong {
  display: block;
  color: var(--white);
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 30px);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
  width: 100%;
}

.form-row {
  display: grid;
  gap: 8px;
}

label {
  color: var(--leaf-dark);
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(23, 33, 27, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:not([type="range"]),
select,
textarea {
  padding: 13px 14px;
}

textarea {
  min-height: 126px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(31, 90, 59, 0.64);
  box-shadow: 0 0 0 4px rgba(31, 90, 59, 0.1);
  outline: 0;
}

output {
  color: var(--muted);
  font-weight: 800;
}

.file-drop {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px dashed rgba(31, 90, 59, 0.42);
  border-radius: var(--radius);
  background: var(--mint);
  cursor: pointer;
}

.file-drop span {
  color: var(--leaf-dark);
  font-weight: 900;
}

.file-drop small,
.file-list {
  color: var(--muted);
}

.file-list {
  display: grid;
  gap: 8px;
  min-height: 22px;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.file-list.is-empty {
  display: block;
}

.file-list ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(31, 90, 59, 0.16);
  border-radius: 12px;
  background: rgba(31, 90, 59, 0.07);
}

.file-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.file-name {
  color: var(--ink);
  font-weight: 850;
}

.file-size {
  color: var(--muted);
  font-size: 0.78rem;
}

.file-remove {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  background: var(--leaf-dark);
  color: var(--white);
  font-weight: 850;
  cursor: pointer;
}

.file-remove:hover,
.file-remove:focus-visible {
  background: var(--leaf);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--leaf);
  font-weight: 750;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(16px, calc((100vw - var(--max)) / 2));
  background: #0e2419;
  color: rgba(255, 255, 255, 0.76);
  overflow-wrap: anywhere;
}

.site-footer strong,
.site-footer a {
  color: var(--white);
}

.site-footer span {
  display: block;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.legal-hero {
  padding: 154px max(16px, calc((100vw - var(--max)) / 2)) 66px;
  background: var(--leaf-dark);
  color: var(--white);
}

.legal-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: 4.4rem;
  line-height: 1;
}

.legal-content {
  width: min(calc(100% - 32px), 900px);
  margin: 0 auto;
  padding: 72px 0;
}

.legal-lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-card {
  padding: clamp(20px, 3vw, 30px);
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.legal-content h2,
.legal-content h3 {
  margin-top: 34px;
}

.legal-card h2,
.legal-card h3 {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-content ul {
  padding-left: 1.2rem;
}

.legal-content a {
  color: var(--leaf);
  font-weight: 800;
}

.legal-note {
  padding: 16px 18px;
  margin: 24px 0;
  border-left: 4px solid var(--sun);
  border-radius: var(--radius);
  background: var(--mint);
  color: var(--leaf-dark);
  font-weight: 750;
}

.legal-updated {
  margin-top: 28px;
  color: var(--leaf-dark);
  font-weight: 900;
}

.project-modal {
  width: min(920px, calc(100% - 32px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

.project-modal[open] {
  animation: modalIn 260ms var(--ease-out) both;
}

.project-modal::backdrop {
  background: rgba(14, 36, 25, 0.72);
}

.project-modal img {
  height: min(62vh, 560px);
  object-fit: cover;
}

.project-modal h3 {
  padding: 20px;
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.5rem;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translate(-50%, -14px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.07) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes fadeLift {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1120px) {
  .hero h1 {
    font-size: 5rem;
  }

  h2 {
    font-size: 3.2rem;
  }

  .review-card blockquote {
    font-size: 1.8rem;
  }

  .legal-hero h1 {
    font-size: 3.8rem;
  }
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: auto auto;
    width: min(calc(100% - 24px), var(--max));
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav,
  .header-action {
    display: none;
  }

  .site-header.is-open .site-nav {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    gap: 4px;
    padding-top: 8px;
  }

  .site-header.is-open .site-nav a {
    background: var(--mint);
  }

  .quick-strip,
  .two-column,
  .team-layout,
  .contact-layout,
  .visual-band,
  .section-heading.split {
    grid-template-columns: 1fr;
  }

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

  .quick-strip a:last-child {
    border-bottom: 0;
  }

  .visual-copy {
    padding-left: 0;
  }

  .rating-summary {
    justify-self: start;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .project-tile.wide {
    grid-row: span 1;
  }

  .hero {
    min-height: 760px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  .team-card img {
    height: 520px;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), var(--max));
    min-height: 60px;
    padding: 9px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: min(calc(100% - 24px), var(--max));
    padding-top: 132px;
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: 3rem;
    line-height: 0.96;
    overflow-wrap: anywhere;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .button {
    width: 100%;
    white-space: normal;
  }

  .hero-proof span {
    width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  .trust-grid,
  .reviews-shell {
    grid-template-columns: 1fr;
  }

  .section-inner,
  .quick-strip,
  .legal-content {
    width: min(calc(100% - 24px), var(--max));
  }

  h2 {
    font-size: 2.18rem;
    line-height: 1.06;
  }

  h3 {
    font-size: 1.16rem;
  }

  .round-button {
    display: none;
  }

  .service-card {
    min-height: auto;
  }

  .visual-band {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .compare {
    height: 280px;
  }

  .project-grid {
    grid-auto-rows: 230px;
  }

  .team-card img {
    height: 420px;
  }

  .review-card {
    min-height: auto;
  }

  .review-card blockquote {
    font-size: 1.32rem;
  }

  .contact-facts span,
  .quote-form {
    padding: 14px;
  }

  .file-item {
    align-items: stretch;
    flex-direction: column;
  }

  .file-remove {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-hero {
    padding-top: 132px;
    padding-bottom: 54px;
  }

  .legal-hero h1 {
    font-size: 2.6rem;
  }

  .legal-content {
    padding: 56px 0;
  }
}

@media (max-width: 400px) {
  .brand strong {
    font-size: 0.96rem;
  }

  .hero h1 {
    font-size: 2.62rem;
  }

  h2 {
    font-size: 1.96rem;
  }

  .quick-strip a {
    grid-template-columns: 38px 1fr;
    padding: 15px;
  }

  .service-card,
  .process-list li {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
