/* WH SISU — shared site chrome (desktop-first) */

:root {
  --color-bg: #f5f5f5;
  --color-bg-alt: #ffffff;
  --color-primary: #8b5a2b;
  --color-primary-dark: #64401f;
  --color-text: #222222;
  --color-muted: #666666;
  --color-border: #dddddd;
  --layout-max-width: 1200px;
  --header-height: 76px;
  --home-hero-min: 560px;
  --inner-hero-min: 1040px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main.site-main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Top bar ---------- */

.topbar {
  background: #141414;
  color: #ececec;
  border-bottom: 1px solid #2a2a2a;
  font-size: 13px;
  letter-spacing: 0.03em;
}

.topbar-inner {
  min-height: 44px;
  padding-block: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
}

.topbar-group {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  row-gap: 8px;
}

.topbar strong {
  font-weight: 600;
  color: #b8b8b8;
  margin-right: 6px;
}

.topbar a {
  color: #e8e8e8;
}

.topbar a:hover,
.topbar a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e8e8e8;
}

.header-inner {
  min-height: var(--header-height);
  padding-block: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  text-decoration: none;
}

.brand:hover .brand-tagline,
.brand:focus-visible .brand-tagline {
  color: #333;
}

.brand-logo {
  width: auto;
  height: 42px;
  max-width: 118px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 16px;
  border-left: 1px solid #e4e4e4;
  min-height: 38px;
}

.brand-tagline {
  font-size: 12px;
  font-weight: 500;
  color: #4a4a4a;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.4;
  max-width: 240px;
}

.primary-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.primary-nav > .nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 11px;
  border-radius: 6px;
  color: #2c2c2c;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.primary-nav > .nav-link:hover,
.primary-nav > .nav-link:focus-visible {
  background: rgba(139, 90, 43, 0.07);
  outline: none;
}

.primary-nav > .nav-link.nav-current:not(.nav-cta) {
  color: var(--color-text);
  background: transparent;
  box-shadow: inset 0 -2px 0 0 var(--color-primary);
  border-radius: 6px 6px 0 0;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 11px;
  border-radius: 6px;
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  cursor: pointer;
  color: #2c2c2c;
}

.nav-dropdown__toggle:hover,
.nav-dropdown__toggle:focus-visible {
  background: rgba(139, 90, 43, 0.08);
  outline: none;
}

.nav-dropdown__caret {
  font-size: 10px;
  opacity: 0.65;
}

.nav-dropdown__panel {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
  padding: 10px 0;
}

.nav-dropdown.is-open > .nav-dropdown__panel {
  display: block;
}

.nav-dropdown__panel a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--color-text);
}

.nav-dropdown__panel a:hover,
.nav-dropdown__panel a:focus-visible {
  background: rgba(139, 90, 43, 0.06);
}

.nav-dropdown__panel a.nav-current {
  font-weight: 700;
  color: var(--color-primary);
}

.nav-dropdown__panel span.dd-muted {
  display: block;
  padding: 6px 18px 2px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
}

.nav-cta {
  padding: 8px 14px !important;
  border-radius: 6px !important;
  border: 1px solid var(--color-primary) !important;
  background-color: transparent !important;
  color: var(--color-primary) !important;
  box-shadow: none !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background-color: rgba(139, 90, 43, 0.12) !important;
  border-color: var(--color-primary-dark) !important;
  color: var(--color-primary-dark) !important;
}

.primary-nav > .nav-link.nav-cta.nav-current {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #fff !important;
}

.primary-nav > .nav-link.nav-cta.nav-current:hover,
.primary-nav > .nav-link.nav-cta.nav-current:focus-visible {
  background-color: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
  color: #fff !important;
}

/* ---------- Heroes ---------- */

body[data-page="home"] {
  --home-hero-min: 640px;
}

body[data-page="home"] .service-card {
  animation: homeLiftIn 0.78s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

body[data-page="home"] .service-card:nth-child(1) {
  animation-delay: 0.07s;
}
body[data-page="home"] .service-card:nth-child(2) {
  animation-delay: 0.15s;
}
body[data-page="home"] .service-card:nth-child(3) {
  animation-delay: 0.23s;
}

body[data-page="home"] .service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.09);
}

body[data-page="home"] .card-grid-3 .card-link {
  animation: homeLiftIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

body[data-page="home"] .card-grid-3 .card-link:nth-child(1) {
  animation-delay: 0.06s;
}
body[data-page="home"] .card-grid-3 .card-link:nth-child(2) {
  animation-delay: 0.11s;
}
body[data-page="home"] .card-grid-3 .card-link:nth-child(3) {
  animation-delay: 0.16s;
}
body[data-page="home"] .card-grid-3 .card-link:nth-child(4) {
  animation-delay: 0.21s;
}
body[data-page="home"] .card-grid-3 .card-link:nth-child(5) {
  animation-delay: 0.26s;
}
body[data-page="home"] .card-grid-3 .card-link:nth-child(6) {
  animation-delay: 0.31s;
}

@keyframes homeLiftIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-hero {
  position: relative;
  min-height: var(--home-hero-min);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  animation: heroKenBurns 28s ease-in-out infinite alternate;
  will-change: transform;
}

.home-hero[data-phase="1"] .home-hero__bg {
  animation-duration: 38s;
}

.home-hero[data-phase="2"] .home-hero__bg {
  animation-duration: 21s;
}

.home-hero[data-phase="3"] .home-hero__bg {
  animation-duration: 34s;
}

.home-hero__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 18% 28%, rgba(232, 194, 142, 0.32), transparent 56%),
    radial-gradient(ellipse at 88% 18%, rgba(139, 90, 43, 0.38), transparent 52%),
    linear-gradient(112deg, rgba(0, 0, 0, 0.78), rgba(18, 12, 8, 0.42));
  animation: washPulse 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.home-hero__noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("../img/home-hero-grain.svg");
  background-repeat: repeat;
  background-size: 240px 240px;
  animation: noiseDrift 48s linear infinite;
}

.home-hero__grain {
  position: absolute;
  inset: -38%;
  z-index: 3;
  opacity: 0.065;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      92deg,
      rgba(255, 255, 255, 0.07) 0 1px,
      transparent 1px 7px
    ),
    repeating-linear-gradient(
      3deg,
      rgba(0, 0, 0, 0.06) 0 1px,
      transparent 1px 8px
    );
  animation: grainShift 18s linear infinite;
}

.home-hero[data-phase="0"] .home-hero__grain {
  opacity: 0.088;
  animation-duration: 14s;
}

.home-hero__planks {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0;
  transition: opacity 2.6s ease;
  pointer-events: none;
  mix-blend-mode: soft-light;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 13px,
    rgba(255, 248, 236, 0.055) 13px,
    rgba(255, 248, 236, 0.055) 14px
  );
  animation: plankDrift 24s linear infinite;
}

.home-hero[data-phase="1"] .home-hero__planks {
  opacity: 1;
}

.home-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0;
  transition: opacity 2.6s ease;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image:
    linear-gradient(rgba(232, 194, 142, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 194, 142, 0.065) 1px, transparent 1px);
  background-size: min(56px, 6vw) min(56px, 6vw);
  animation: gridShift 42s linear infinite;
}

.home-hero[data-phase="3"] .home-hero__grid {
  opacity: 1;
}

.home-hero__sheen {
  position: absolute;
  inset: -35%;
  z-index: 5;
  opacity: 0;
  transition: opacity 2.6s ease;
  pointer-events: none;
  mix-blend-mode: soft-light;
  background: linear-gradient(
    118deg,
    transparent 34%,
    rgba(255, 236, 210, 0.12) 46%,
    rgba(255, 255, 255, 0.26) 50%,
    rgba(255, 236, 210, 0.12) 54%,
    transparent 66%
  );
  animation: sheenSweep 13s ease-in-out infinite;
}

.home-hero[data-phase="2"] .home-hero__sheen {
  opacity: 1;
}

.home-hero__spark {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 16% 74%, rgba(255, 255, 255, 0.16), transparent 34%),
    radial-gradient(circle at 80% 66%, rgba(255, 255, 255, 0.14), transparent 30%);
  animation: sparkFloat 22s ease-in-out infinite alternate;
}

.home-hero[data-phase="2"] .home-hero__spark {
  animation-duration: 16s;
}

.home-hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  box-shadow: inset 0 0 min(160px, 22vw) rgba(0, 0, 0, 0.52);
  animation: vignettePulse 11s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  from {
    transform: scale(1.03) translate(-0.6%, -0.35%);
  }
  to {
    transform: scale(1.085) translate(0.75%, 0.48%);
  }
}

@keyframes noiseDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-14%, -10%, 0);
  }
}

@keyframes grainShift {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(-3.2%, 2.2%, 0) rotate(0.35deg);
  }
}

@keyframes plankDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -28px, 0);
  }
}

@keyframes gridShift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 56px 40px, 56px 40px;
  }
}

@keyframes sheenSweep {
  0% {
    transform: translate3d(-22%, 10%, 0) rotate(-2deg);
  }
  50% {
    transform: translate3d(16%, -8%, 0) rotate(1deg);
  }
  100% {
    transform: translate3d(-22%, 10%, 0) rotate(-2deg);
  }
}

@keyframes washPulse {
  from {
    opacity: 0.93;
    filter: saturate(1);
  }
  to {
    opacity: 1;
    filter: saturate(1.14);
  }
}

@keyframes sparkFloat {
  from {
    opacity: 0.52;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 0.88;
    transform: translate3d(0, -14px, 0);
  }
}

@keyframes vignettePulse {
  from {
    opacity: 0.72;
  }
  to {
    opacity: 0.94;
  }
}

@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.home-hero .hero-inner {
  position: relative;
  z-index: 10;
  padding: 96px 0 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 52px;
}

.hero-content {
  max-width: 540px;
}

.hero-content--entrance > * {
  animation: heroEntrance 0.92s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hero-content--entrance .hero-kicker {
  animation-delay: 0.08s;
}

.hero-content--entrance .hero-title {
  animation-delay: 0.16s;
}

.hero-content--entrance .hero-text {
  animation-delay: 0.26s;
}

.hero-content--entrance .hero-actions {
  animation-delay: 0.34s;
}

.hero-content--entrance .hero-meta {
  animation-delay: 0.42s;
}

.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #dfc9ae;
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.home-hero .hero-title span {
  background: linear-gradient(105deg, #f0d49a, #d4a574);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .home-hero .hero-title span {
    color: #f0d49a;
    background: none;
  }
}

.hero-text {
  font-size: 15px;
  color: #ececec;
  margin-bottom: 28px;
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-meta {
  font-size: 13px;
  color: #d8d8d8;
  margin-top: 16px;
  letter-spacing: 0.04em;
}

.hero-aside {
  max-width: 360px;
  padding: 24px 24px 28px;
  background: rgba(12, 12, 12, 0.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  animation: heroEntrance 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.48s backwards;
}

.hero-aside-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-aside-list {
  list-style: none;
  font-size: 14px;
  color: #efefef;
}

.hero-aside-list li + li {
  margin-top: 6px;
}

/* Inner pages — taller hero band */

.inner-hero {
  position: relative;
  min-height: var(--inner-hero-min);
  color: #fff;
  overflow: hidden;
}

.inner-hero__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.inner-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.38));
}

.inner-hero .hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 0 96px;
  display: flex;
  align-items: flex-end;
}

.inner-hero .hero-title {
  font-size: 42px;
  margin-bottom: 14px;
}

.inner-hero .hero-lead {
  font-size: 17px;
  max-width: 620px;
  color: #eaeaea;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
}

.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn-outline {
  border-color: #ffffff;
  color: #ffffff;
  background-color: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: rgba(255, 255, 255, 0.12);
}

.btn-outline-dark {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline-dark:hover {
  background: rgba(139, 90, 43, 0.08);
}

/* Sections */

.section {
  padding: 72px 0;
  background-color: var(--color-bg-alt);
}

.section-alt {
  background-color: var(--color-bg);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.section-title {
  font-size: 26px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-subtitle {
  max-width: 520px;
  font-size: 14px;
  color: var(--color-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  padding: 22px 20px 24px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background-color: #ffffff;
}

.service-tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.service-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.service-text {
  font-size: 14px;
  color: var(--color-muted);
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card-link {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.card-link__img {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
}

.card-link__body {
  padding: 16px 18px 18px;
}

.card-link__title {
  font-size: 16px;
  margin-bottom: 6px;
}

.card-link__text {
  font-size: 13px;
  color: var(--color-muted);
}

.contact-strip {
  padding: 40px 0;
  background-color: #111111;
  color: #f5f5f5;
}

.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact-strip-title {
  font-size: 18px;
  margin-bottom: 4px;
}

.contact-strip-text {
  font-size: 14px;
  color: #d0d0d0;
}

.contact-strip-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: #cccccc;
}

.contact-strip-meta span strong {
  font-weight: 600;
  color: #ffffff;
}

/* Prose / legal */

.prose-block {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 44px 48px 52px;
  margin-top: -72px;
  position: relative;
  z-index: 3;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.06);
}

.prose-block h1 {
  font-size: 30px;
  margin-bottom: 18px;
}

.prose-block h2 {
  font-size: 19px;
  margin-top: 34px;
  margin-bottom: 12px;
}

.prose-block p,
.prose-block li {
  font-size: 14px;
  color: #3d3d3d;
}

.prose-block ul {
  padding-left: 22px;
  margin: 10px 0;
}

.prose-block .lead {
  font-size: 15px;
  color: #444;
  margin-bottom: 18px;
}

.split-media {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}

.figure-caption {
  font-size: 12px;
  color: #777;
  margin-top: 8px;
}

.quote-form {
  display: grid;
  gap: 16px;
}

.quote-form label {
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  font: inherit;
  background: #fafafa;
}

.quote-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  font-size: 13px;
  color: var(--color-muted);
}

/* Footer */

.site-footer {
  background-color: #111111;
  color: #e0e0e0;
  padding: 40px 0 32px;
  border-top: 1px solid #222222;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr;
  gap: 32px;
  margin-bottom: 26px;
}

.footer-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  color: #f5f5f5;
}

.footer-text {
  font-size: 13px;
  color: #bbbbbb;
}

.footer-list {
  list-style: none;
  font-size: 13px;
  color: #bbbbbb;
}

.footer-list li + li {
  margin-top: 5px;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid #222222;
  font-size: 12px;
  color: #777777;
}

.footer-legal {
  display: flex;
  gap: 16px;
}

.footer-legal a {
  color: #aaaaaa;
}

.footer-legal a:hover {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__bg,
  .home-hero__noise,
  .home-hero__grain,
  .home-hero__planks,
  .home-hero__grid,
  .home-hero__sheen,
  .home-hero__spark,
  .home-hero__wash,
  .home-hero__vignette {
    animation: none !important;
  }

  .home-hero .home-hero__noise {
    opacity: 0.12;
  }

  .home-hero .home-hero__sheen,
  .home-hero .home-hero__grid,
  .home-hero .home-hero__planks {
    opacity: 0 !important;
    transition: none !important;
  }

  .hero-content--entrance > *,
  .home-hero .hero-aside {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  body[data-page="home"] .service-card,
  body[data-page="home"] .card-grid-3 .card-link {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1024px) {
  .brand {
    white-space: normal;
    align-items: flex-start;
  }

  .brand-text {
    border-left: none;
    padding-left: 0;
    max-width: none;
  }

  .primary-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .home-hero .hero-inner,
  .inner-hero .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid,
  .card-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .split-media {
    grid-template-columns: 1fr;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }
}
