:root {
  --bg: #f2f3f7;
  --surface: #e7e9f1;
  --surface-strong: #dadee9;
  --text: #111827;
  --muted: #526073;
  --line: #c8cedb;
  --accent: #c81624;
  --accent-strong: #18298c;
  --accent-text: #f8f9ff;
  --shadow: rgba(24, 41, 140, 0.18);
  --radius: 14px;
  --container: 1320px;
  --header-height: 72px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1321;
    --surface: #181e31;
    --surface-strong: #212a44;
    --text: #f1f3fb;
    --muted: #aab2c6;
    --line: #343d59;
    --accent: #ff6570;
    --accent-strong: #3347aa;
    --accent-text: #f8f9ff;
    --shadow: rgba(0, 0, 0, 0.34);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Aptos", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.header-sentinel {
  position: absolute;
  top: 24px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-height);
  border-bottom: 1px solid #dfe3ec;
  background: #fff;
  color: #111827;
  transition: background-color 260ms ease, border-color 260ms ease, color 260ms ease;
}

.site-header.is-scrolled {
  border-color: #dfe3ec;
  background: #fff;
  color: #111827;
  box-shadow: 0 10px 32px rgba(24, 41, 140, 0.08);
}

.menu-open .site-header {
  border-color: #dfe3ec;
  background: #fff;
  color: #111827;
}

.menu-open .site-header .brand-name span {
  color: var(--accent);
}

.nav-shell {
  width: min(calc(100% - 40px), var(--container));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  padding: 4px;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}

.brand-name {
  max-width: 8rem;
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.brand-name span {
  color: var(--accent);
}

.site-header:not(.is-scrolled) .brand-name span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.2vw, 2.5rem);
  font-size: 0.88rem;
  font-weight: 650;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  padding: 0.65rem 0;
}

.site-nav .nav-phone {
  color: var(--accent);
  font-weight: 800;
}

.site-header.is-scrolled .nav-phone,
.menu-open .site-header .nav-phone {
  color: var(--accent);
}

.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 0.82rem 1.25rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms ease, color 220ms ease;
}

.nav-cta {
  background: #18298c;
  color: #fff;
}

.is-scrolled .nav-cta,
.button-primary {
  background: var(--accent-strong);
  color: var(--accent-text);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-cta:active,
.button:active {
  transform: translateY(1px) scale(0.98);
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 100dvh;
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
}

.hero-layout {
  width: min(calc(100% - 40px), var(--container));
  min-height: calc(100dvh - var(--header-height));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 7.5rem);
  padding: clamp(2.5rem, 5vw, 5.5rem) 0;
}

.hero-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.8rem, 6.4vw, 7.1rem);
  font-weight: 760;
  letter-spacing: -0.072em;
  line-height: 0.89;
}

.hero-copy {
  width: 100%;
  max-width: 500px;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.hero .button-primary {
  background: var(--accent-strong);
  color: #fff;
}

.hero-visual {
  position: relative;
  min-height: clamp(500px, 67vh, 680px);
}

.hero-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-main {
  inset: 0 0 auto auto;
  width: 88%;
  height: 76%;
}

.hero-photo-main img {
  object-position: 55% center;
}

.hero-photo-detail {
  left: 0;
  bottom: 0;
  width: 43%;
  height: 46%;
  border: 8px solid var(--bg);
}

.hero-photo-detail img {
  object-position: center 58%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.9rem;
  font-weight: 750;
}

.text-link span {
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.text-link:hover span {
  transform: translate(3px, 3px);
}

.trust-band {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  display: grid;
  gap: 0.25rem;
  padding: 2rem 0;
}

.trust-item + .trust-item {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.trust-item strong {
  font-size: 1rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: clamp(5.5rem, 10vw, 9rem) 0;
}

.section h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5.2vw, 5.6rem);
  font-weight: 740;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.section-intro {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.section-intro p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
  margin-top: 4.5rem;
}

.service-grid article {
  border-radius: var(--radius);
}

.service-feature {
  grid-row: span 2;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--accent-strong);
  color: var(--accent-text);
  box-shadow: 0 30px 80px -48px var(--shadow);
}

.service-feature > div:last-child {
  max-width: 620px;
}

.service-feature h3 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 4vw, 4.2rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.service-feature p {
  max-width: 500px;
  margin: 0 0 1.75rem;
  color: color-mix(in srgb, var(--accent-text) 76%, transparent);
}

.service-number {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.service-panel {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.service-panel .service-number {
  margin-bottom: auto;
  color: var(--muted);
}

.service-panel h3 {
  margin: 2rem 0 0.5rem;
  font-size: 1.55rem;
  letter-spacing: -0.035em;
}

.service-panel p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.service-panel-accent {
  border-color: transparent;
  background: var(--accent);
  color: var(--accent-text);
}

.service-panel-accent p,
.service-panel-accent .service-number {
  color: color-mix(in srgb, var(--accent-text) 76%, transparent);
}

.service-panel-pattern {
  background-color: var(--surface-strong);
  background-image: linear-gradient(135deg, transparent 45%, color-mix(in srgb, var(--accent) 10%, transparent) 45%, color-mix(in srgb, var(--accent) 10%, transparent) 55%, transparent 55%);
  background-size: 22px 22px;
}

.work {
  border-top: 1px solid var(--line);
}

.work-heading {
  margin-bottom: 4rem;
}

.project {
  display: grid;
  gap: 2rem;
}

.project + .project {
  margin-top: clamp(5rem, 12vw, 11rem);
}

.project-large {
  grid-template-columns: minmax(0, 1.4fr) minmax(360px, 0.6fr);
  align-items: center;
}

.project-offset {
  grid-template-columns: minmax(360px, 0.6fr) minmax(0, 1.15fr);
  align-items: center;
}

.project-offset .project-media {
  grid-column: 2;
}

.project-offset .project-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}

.project-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 28px 80px -50px var(--shadow);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project:hover .project-media img {
  transform: scale(1.025);
}

.project-copy {
  max-width: 460px;
  padding: 1.5rem 0;
}

.project-copy p {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.project-copy span {
  color: var(--muted);
  font-size: 0.9rem;
}

.project-gallery {
  margin-top: clamp(5rem, 10vw, 9rem);
  columns: 3;
  column-gap: 1rem;
}

.project-gallery figure {
  break-inside: avoid;
  margin: 0 0 1rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.project-gallery img {
  width: 100%;
  height: auto;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project-gallery figure:hover img {
  transform: scale(1.025);
}

.project-gallery figcaption {
  padding: 0.85rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.process {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 8rem);
  border-top: 1px solid var(--line);
}

.process-statement {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  height: max-content;
}

.process-grid {
  display: grid;
  gap: 0;
}

.process-step {
  min-height: 260px;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}

.process-step:first-child {
  padding-top: 0;
}

.process-step span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-step h3 {
  max-width: 520px;
  margin: 1rem 0;
  font-size: clamp(1.65rem, 2.8vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.process-step p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

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

.about-copy {
  max-width: 1040px;
  margin-left: auto;
}

.about-copy h2 {
  max-width: 960px;
}

.about-copy p {
  max-width: 720px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.55;
}

.about-copy blockquote {
  max-width: 860px;
  margin: clamp(2.5rem, 5vw, 4.5rem) 0;
  padding: 0 0 0 2rem;
  border-left: 3px solid var(--accent);
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 8vw, 8rem);
  margin-bottom: clamp(2rem, 5vw, 5rem);
  padding-right: clamp(1.5rem, 5vw, 5rem);
  padding-left: clamp(1.5rem, 5vw, 5rem);
  border-radius: var(--radius);
  background: var(--accent-strong);
  color: var(--accent-text);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 1.75rem 0 0;
  color: color-mix(in srgb, var(--accent-text) 75%, transparent);
}

.contact-phone {
  display: grid;
  width: fit-content;
  gap: 0.2rem;
  margin-top: 2rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-text) 55%, transparent);
}

.contact-phone span {
  color: color-mix(in srgb, var(--accent-text) 70%, transparent);
  font-size: 0.8rem;
  font-weight: 700;
}

.contact-phone strong {
  color: var(--accent-text);
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  letter-spacing: -0.035em;
}

.contact h2 {
  font-size: clamp(2.5rem, 4.4vw, 4.7rem);
}

.estimate-form {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid color-mix(in srgb, var(--accent-text) 18%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent-text) 7%, transparent);
}

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

.estimate-form label {
  display: grid;
  gap: 0.55rem;
  font-size: 0.86rem;
  font-weight: 750;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--accent-text) 30%, transparent);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  background: color-mix(in srgb, var(--accent-text) 11%, transparent);
  color: var(--accent-text);
  outline: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.estimate-form select option {
  background: var(--accent-strong);
}

.estimate-form textarea {
  resize: vertical;
}

.estimate-form input::placeholder,
.estimate-form textarea::placeholder {
  color: color-mix(in srgb, var(--accent-text) 56%, transparent);
}

.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
  border-color: var(--accent-text);
  background: color-mix(in srgb, var(--accent-text) 16%, transparent);
}

.estimate-form small {
  display: none;
  color: #ffd9d0;
  font-weight: 600;
}

.estimate-form label.invalid small {
  display: block;
}

.estimate-form label.invalid input,
.estimate-form label.invalid select,
.estimate-form label.invalid textarea {
  border-color: #ffb4a5;
}

.estimate-form .button {
  justify-self: start;
  background: var(--accent-text);
  color: var(--accent-strong);
}

.form-note,
.form-status {
  margin: 0;
  color: color-mix(in srgb, var(--accent-text) 67%, transparent);
  font-size: 0.78rem;
}

.form-status:not(:empty) {
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent-text) 12%, transparent);
  color: var(--accent-text);
}

.site-footer {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.footer-top {
  padding-bottom: 4rem;
}

.footer-top p {
  max-width: 450px;
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.brand-footer .brand-mark {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1rem;
}

.brand-footer .brand-name {
  max-width: 11rem;
  font-size: 1rem;
}

.footer-brand-original img {
  width: 76px;
  height: 76px;
  padding: 6px;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.footer-links a:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.hero .reveal:nth-child(2) { transition-delay: 80ms; }
.hero .reveal:nth-child(3) { transition-delay: 150ms; }
.hero .reveal:nth-child(4) { transition-delay: 220ms; }

@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
    gap: 3rem;
  }

  .project,
  .project-large,
  .project-offset {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .project-offset .project-media,
  .project-offset .project-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .project-copy {
    max-width: 720px;
    padding: 0;
  }

  .project-large .project-media {
    aspect-ratio: 16 / 10;
  }

  .project-offset .project-media {
    aspect-ratio: 4 / 5;
    width: min(100%, 720px);
    justify-self: end;
  }

  .project-offset .project-copy {
    width: min(100%, 720px);
    justify-self: end;
  }
}

@media (max-width: 1050px) {
  .hero {
    min-height: auto;
  }

  .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2.75rem;
    padding-top: clamp(4rem, 9vw, 6rem);
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-visual {
    width: min(100%, 760px);
    min-height: 540px;
    justify-self: end;
  }

  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 6px;
    border: 0;
    border-radius: var(--radius);
    background: color-mix(in srgb, currentColor 10%, transparent);
    color: inherit;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 220ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    min-height: calc(100dvh - var(--header-height));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 2rem 20px;
    background: var(--bg);
    color: var(--text);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1), visibility 360ms;
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav > a:not(.nav-cta) {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 720;
    letter-spacing: -0.05em;
  }

  .site-nav .nav-phone {
    font-size: clamp(1.45rem, 5vw, 2.3rem);
  }

  .site-nav .nav-cta {
    margin-top: 2rem;
    background: var(--accent-strong);
    color: var(--accent-text);
  }

  .process,
  .contact {
    grid-template-columns: 1fr;
  }

  .process-statement {
    position: static;
  }

}

@media (max-width: 767px) {
  :root {
    --header-height: 64px;
  }

  .nav-shell,
  .hero-layout,
  .trust-band,
  .section,
  .site-footer {
    width: calc(100% - 32px);
  }

  .brand-name {
    max-width: 8rem;
  }

  .hero-layout {
    gap: 2.25rem;
    padding: 3.25rem 0 2.75rem;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 15vw, 5.4rem);
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-photo-main {
    width: 94%;
    height: 76%;
  }

  .hero-photo-detail {
    width: 46%;
    height: 45%;
    border-width: 6px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .trust-band {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item + .trust-item {
    padding: 1.25rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 5.5rem 0;
  }

  .service-grid,
  .project,
  .project-large,
  .project-offset {
    grid-template-columns: 1fr;
  }

  .service-feature {
    grid-row: auto;
    min-height: 440px;
  }

  .project-offset .project-media,
  .project-offset .project-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .project-copy {
    padding-bottom: 0;
  }

  .process-step {
    min-height: 0;
  }

  .contact {
    width: 100%;
    padding: 4.5rem 1rem;
    border-radius: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .project-gallery {
    columns: 2;
  }

  .estimate-form {
    padding: 1.2rem;
  }

  .estimate-form .button {
    width: 100%;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top p {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .project-gallery {
    columns: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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

@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
