@font-face {
  font-family: 'Playfair Display Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url('../fonts/playfair-display-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}

:root {
  --ink: #171918;
  --ink-soft: #2a2d2a;
  --body: #555954;
  --muted: #757970;
  --paper: #ffffff;
  --soft: #f4f3ef;
  --soft-deep: #ebe9e3;
  --line: #deded8;
  --line-dark: #353833;
  --serif: 'Playfair Display Variable', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter Variable', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1520px;
  --gutter: clamp(24px, 4.25vw, 76px);
  --section-space: clamp(132px, 14.5vw, 236px);
  --header-height: 132px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

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

img {
  height: auto;
}

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

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

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: var(--ink);
}

h1 {
  font-size: clamp(3.25rem, 7.4vw, 7.35rem);
}

h2 {
  font-size: clamp(2.45rem, 4.7vw, 4.7rem);
  line-height: 1;
}

h3 {
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  line-height: 1.1;
}

h4 {
  font-size: 1.3rem;
  line-height: 1.2;
}

p {
  margin: 0;
  color: var(--body);
}

p + p {
  margin-top: 1.25em;
}

em,
i {
  font-style: normal;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

figure {
  margin: 0;
}

:focus-visible {
  outline: 2px solid #777b71;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: 1600px;
}

.container--gallery {
  max-width: 1720px;
  padding-inline: clamp(14px, 2.5vw, 52px);
}

.section {
  padding-block: var(--section-space);
}

.section--compact {
  padding-block: clamp(104px, 10vw, 168px);
}

.section--soft {
  background: var(--soft);
}

.section--ink {
  background: var(--ink);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 1px;
  background: currentColor;
  content: '';
}

.eyebrow--plain::before {
  display: none;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.72);
}

.kicker {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lead {
  max-width: 46rem;
  color: var(--ink-soft);
  font-size: clamp(1.12rem, 1.55vw, 1.35rem);
  line-height: 1.65;
}

.copy {
  max-width: 44rem;
}

.copy p {
  font-size: 1rem;
  line-height: 1.8;
}

.copy p + p {
  margin-top: 1.45em;
}

.copy h3 {
  margin-top: 2.1rem;
  margin-bottom: 0.85rem;
}

.copy h3 + p {
  margin-top: 0;
}

.serif-number {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 15px 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background-color 240ms var(--ease), border-color 240ms var(--ease), color 240ms var(--ease);
}

.button:hover {
  border-color: var(--ink-soft);
  background: var(--ink-soft);
  color: var(--paper);
}

.button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform 240ms var(--ease);
}

.button:hover svg {
  transform: translateX(4px);
}

.button--light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.button--light:hover,
.button--light:focus-visible {
  border-color: var(--paper);
  background: var(--ink);
  color: var(--paper);
}

.button--outline-light {
  border-color: rgba(255, 255, 255, 0.6);
  background: transparent;
  color: var(--paper);
}

.button--outline-light:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.button--outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button--outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: gap 240ms var(--ease), opacity 240ms var(--ease);
}

.text-link:hover {
  gap: 18px;
  opacity: 0.7;
}

.text-link svg {
  width: 14px;
  height: 14px;
}

.text-link--light {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--paper);
}

.rule {
  width: 100%;
  height: 1px;
  border: 0;
  background: var(--line);
}

.rule--dark {
  background: var(--line-dark);
}

/* Header */

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.97);
  transition: border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 12px 32px rgba(20, 22, 19, 0.045);
}

.site-header__inner {
  display: grid;
  min-height: var(--header-height);
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo {
  width: auto;
  object-fit: contain;
}

.brand-logo--header {
  height: clamp(84px, 6.675vw, 96px);
}

.brand-logo--footer {
  height: clamp(72px, 6vw, 88px);
}

.brand-logo--dark {
  color: var(--ink);
}

.brand-logo--light {
  color: var(--paper);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.wordmark__mark {
  width: 40px;
  height: 40px;
  color: var(--ink);
}

.wordmark__type {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wordmark__name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.wordmark__place {
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.27em;
  line-height: 1.3;
  text-transform: uppercase;
}

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

.desktop-nav a {
  position: relative;
  padding-block: 6px;
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: '';
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current='page']::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  color: var(--ink-soft);
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--muted);
}

.header-cta {
  min-height: 48px;
  padding: 13px 19px;
}

.header-cta__label {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.menu-toggle__lines {
  position: relative;
  width: 17px;
  height: 10px;
}

.menu-toggle__lines::before,
.menu-toggle__lines::after {
  position: absolute;
  left: 0;
  width: 17px;
  height: 1px;
  background: var(--ink);
  content: '';
  transition: transform 220ms var(--ease), top 220ms var(--ease);
}

.menu-toggle__lines::before {
  top: 1px;
}

.menu-toggle__lines::after {
  top: 8px;
}

.menu-toggle[aria-expanded='true'] .menu-toggle__lines::before {
  top: 5px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .menu-toggle__lines::after {
  top: 5px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 70;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(24px, 3vw, 36px) var(--gutter) 40px;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity 260ms var(--ease), visibility 260ms var(--ease), transform 260ms var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mobile-menu__inner {
  width: min(100%, 880px);
  margin-inline: auto;
}

.mobile-menu__label,
.mobile-menu__meta-label {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  min-height: 64px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  transition: color 180ms var(--ease);
}

.mobile-menu__nav a[aria-current='page'] {
  color: var(--muted);
}

.mobile-menu__nav a span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.mobile-menu__meta {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  color: var(--body);
  font-size: 13px;
  line-height: 1.65;
}

.mobile-menu__meta a {
  color: var(--ink);
}

.mobile-menu__meta-label {
  margin-bottom: 4px;
}

.mobile-menu__phone {
  font-family: var(--serif);
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mobile-menu .button {
  width: 100%;
  margin-top: 24px;
}

/* Homepage hero */

.home-hero {
  position: relative;
  display: flex;
  min-height: min(980px, calc(100svh - var(--header-height)));
  align-items: flex-end;
  overflow: hidden;
  background: #242722;
  color: var(--paper);
}

.home-hero__media,
.home-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__media {
  transform-origin: center;
  will-change: transform;
  animation: hero-settle 1600ms var(--ease) both;
}

.home-hero__media img {
  object-fit: cover;
  object-position: center 55%;
  backface-visibility: hidden;
  transform: scale(1.1);
  transform-origin: center;
  will-change: transform;
  animation: hero-drone 12s cubic-bezier(0.37, 0, 0.63, 1) infinite alternate;
}

.home-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  background: #242722;
  filter: none;
  opacity: 0;
  transition: opacity 700ms ease;
}

.home-hero__video.is-ready {
  opacity: 1;
}

.home-hero__video.is-unavailable {
  display: none;
}

.home-hero--video .home-hero__media,
.home-hero--video .home-hero__media img {
  animation: none;
}

.home-hero--video .home-hero__media img {
  transform: none;
}

@keyframes hero-settle {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1.01);
  }
}

@keyframes hero-drone {
  from {
    transform: scale(1.1) translate3d(-4%, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(4%, 0, 0);
  }
}

.home-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 14, 11, 0.54) 0%, rgba(11, 14, 11, 0.22) 48%, rgba(11, 14, 11, 0.08) 100%),
    linear-gradient(0deg, rgba(11, 14, 11, 0.73) 0%, rgba(11, 14, 11, 0.08) 58%, rgba(11, 14, 11, 0.1) 100%);
  content: '';
}

.home-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 130px;
  padding-bottom: clamp(48px, 6vw, 88px);
}

.home-hero h1 {
  max-width: 1040px;
  margin-top: 22px;
  color: var(--paper);
  font-size: clamp(3.2rem, 7.1vw, 7.1rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.home-hero__subhead {
  max-width: 640px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.65;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.home-hero__actions .home-hero__video-control {
  align-self: center;
}

.home-hero__video-control {
  display: inline-flex;
  min-height: 42px;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(11, 14, 11, 0.28);
  color: var(--paper);
  cursor: pointer;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.home-hero__video-control:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(11, 14, 11, 0.5);
}

.home-hero__video-control:active {
  transform: translateY(1px);
}

.home-hero__video-control-icon,
.home-hero__video-control-icon > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-hero__video-control [hidden] {
  display: none;
}

.home-hero__video-control[hidden] {
  display: none;
}

.home-hero__foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(64px, 9vw, 132px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.64);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.home-hero__scroll::after {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: '';
}

/* Shared section rhythm */

.section-heading {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(150px, 2.5fr) minmax(0, 7fr) minmax(0, 2.5fr);
  gap: clamp(44px, 5.5vw, 92px);
}

.section-heading__main {
  grid-column: 2 / span 1;
}

.section-heading h2 {
  max-width: 940px;
  line-height: 0.97;
}

.section-heading__intro {
  grid-column: 3;
  align-self: end;
  padding-bottom: 6px;
}

.section-heading__intro p {
  color: var(--body);
  font-size: 16px;
  line-height: 1.85;
}

.section-heading--wide .section-heading__main {
  grid-column: 1 / span 2;
}

.section-heading--wide .section-heading__intro {
  grid-column: 3;
}

.section-heading__label {
  padding-top: 7px;
}

/* Intro statement */

.intro-statement {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(150px, 2.5fr) minmax(0, 7fr) minmax(0, 2.5fr);
  gap: clamp(32px, 4vw, 60px);
}

.intro-statement__body {
  grid-column: 2;
}

.intro-statement__body h2 {
  max-width: 900px;
}

.intro-statement__detail {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  margin-top: 54px;
}

.intro-statement__detail .copy {
  max-width: 490px;
}

.intro-statement__aside {
  grid-column: 3;
  align-self: end;
  padding-bottom: 4px;
}

.intro-statement__aside ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  list-style: none;
}

.intro-statement__aside li {
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Service cards */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(104px, 10vw, 176px) clamp(56px, 6vw, 104px);
  margin-top: clamp(96px, 10vw, 168px);
}

.service-card {
  display: block;
  min-width: 0;
}

.service-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.25 / 1;
  background: var(--soft-deep);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}

.service-card__video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  background: var(--soft-deep);
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms var(--ease);
}

.service-card__video.is-ready {
  opacity: 1;
}

.service-card__video.is-unavailable {
  display: none;
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  transition: background-color 340ms var(--ease), opacity 340ms var(--ease);
}

.service-card__overlay span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--paper);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateY(6px);
  transition: transform 340ms var(--ease);
}

.service-card__overlay svg {
  width: 13px;
  height: 13px;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-card__media img {
    transform: scale(1.035);
  }

  .service-card:hover .service-card__overlay {
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
  }

  .service-card:hover .service-card__overlay span {
    transform: translateY(0);
  }
}

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

.service-card:focus-visible .service-card__overlay {
  background: rgba(0, 0, 0, 0.4);
  opacity: 1;
}

.service-card:focus-visible .service-card__overlay span {
  transform: translateY(0);
}

.service-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
  padding-top: clamp(24px, 2.8vw, 34px);
}

.service-card__body h3 {
  margin-top: 7px;
}

.service-card__body p {
  max-width: 300px;
  padding-top: 2px;
  font-size: 14px;
  line-height: 1.8;
}

.service-card__number {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Mission */

.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: clamp(48px, 8vw, 156px);
}

.mission-statement h2 {
  max-width: 700px;
}

.mission-statement .copy {
  max-width: 500px;
  margin-top: 44px;
}

.mission-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 54px);
  align-self: end;
}

.mission-pillar {
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.mission-pillar__number {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
}

.mission-pillar h3 {
  max-width: 220px;
  margin-top: 32px;
  font-size: clamp(1.25rem, 1.65vw, 1.7rem);
}

.mission-pillar p {
  margin-top: 16px;
  color: var(--body);
  font-size: 14px;
  line-height: 1.75;
}

/* Project photography */

.project-card {
  display: block;
  min-width: 0;
}

.project-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.5 / 1;
  background: var(--soft-deep);
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(26px, 3.4vw, 52px);
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  transition: background-color 340ms var(--ease), opacity 340ms var(--ease);
}

.project-card__overlay-content {
  display: flex;
  width: 100%;
  max-width: 640px;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 2.1vw, 24px);
  transform: translateY(10px);
  transition: transform 360ms var(--ease);
}

.project-card__overlay-title {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.6vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.project-card__overlay-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--paper);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-card__overlay svg {
  width: 13px;
  height: 13px;
}

@media (hover: hover) and (pointer: fine) {
  .project-card:hover .project-card__media img {
    transform: scale(1.035);
  }

  .project-card:hover .project-card__overlay {
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
  }

  .project-card:hover .project-card__overlay-content {
    transform: translateY(0);
  }
}

.project-card:focus-visible .project-card__overlay {
  background: rgba(0, 0, 0, 0.4);
  opacity: 1;
}

.project-card:focus-visible .project-card__overlay-content {
  transform: translateY(0);
}

.project-card__body {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  padding-top: clamp(28px, 3.2vw, 48px);
}

.project-card__body::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 1px;
  background: var(--line);
  content: '';
}

.project-card__body h3 {
  font-size: clamp(1.6rem, 2.15vw, 2.3rem);
}

.project-card__body p {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.55;
  text-align: right;
  text-transform: uppercase;
}

.featured-grid {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(80px, 9vw, 152px);
  margin-top: clamp(112px, 11vw, 184px);
}

.featured-main {
  grid-column: 1 / -1;
}

.featured-main .project-card__media {
  aspect-ratio: 1.9 / 1;
}

.featured-side {
  display: contents;
}

.featured-side .project-card__media {
  aspect-ratio: 1.25 / 1;
}

/* Testimonial */

.testimonial {
  padding-block: clamp(96px, 12vw, 176px);
  background: var(--ink);
  color: var(--paper);
}

.testimonial__inner {
  display: grid;
  grid-template-columns: minmax(150px, 2.5fr) minmax(0, 7fr) minmax(0, 2.5fr);
  gap: 32px;
}

.testimonial__quote {
  grid-column: 2;
}

.testimonial__quote blockquote {
  max-width: 1000px;
  margin: 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.13;
}

.testimonial__quote cite {
  display: block;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--sans);
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.testimonial .eyebrow {
  color: rgba(255, 255, 255, 0.52);
}

/* CTA */

.cta-band {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.cta-band__inner {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(56px, 8.5vw, 168px);
  padding-block: clamp(136px, 13vw, 208px);
}

.cta-band h2 {
  max-width: 780px;
}

.cta-band__side {
  max-width: 360px;
  padding-bottom: 5px;
}

.cta-band__side p {
  margin-bottom: 26px;
  font-size: 15px;
  line-height: 1.75;
}

/* Page hero */

.page-hero {
  position: relative;
  display: flex;
  min-height: min(900px, calc(100svh - var(--header-height)));
  align-items: flex-end;
  overflow: hidden;
  background: #2a2d28;
  color: var(--paper);
}

.page-hero--short {
  min-height: min(620px, 68svh);
}

.page-hero__media,
.page-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero__media img {
  object-fit: cover;
}

.page-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 12, 10, 0.73) 0%, rgba(10, 12, 10, 0.3) 54%, rgba(10, 12, 10, 0.1) 100%);
  content: '';
}

.page-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 160px;
  padding-bottom: clamp(38px, 5.5vw, 74px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.breadcrumbs a:hover {
  color: var(--paper);
}

.breadcrumbs span {
  color: rgba(255, 255, 255, 0.38);
}

.page-hero h1 {
  max-width: 1120px;
  margin-top: 20px;
  color: var(--paper);
  font-size: clamp(3.2rem, 6.7vw, 6.7rem);
  letter-spacing: -0.055em;
  line-height: 0.99;
  text-wrap: balance;
}

.page-hero__description {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.7;
}

.page-hero__foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(44px, 7vw, 88px);
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Service page */

.service-intro {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(150px, 2.5fr) minmax(0, 7fr) minmax(0, 2.5fr);
  gap: 32px;
}

.service-intro__main {
  grid-column: 2;
}

.service-intro__main h2 {
  max-width: 900px;
}

.service-intro__copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 58px);
  margin-top: 42px;
}

.service-intro__copy p {
  font-size: 15px;
  line-height: 1.8;
}

.service-intro__aside {
  grid-column: 3;
  align-self: end;
  padding-bottom: 4px;
}

.fact-list {
  display: grid;
  gap: 0;
  margin: 0;
  list-style: none;
}

.fact-list li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.split-section {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(64px, 9.5vw, 180px);
}

.split-section--reverse .split-section__media {
  order: 2;
}

.split-section__media {
  min-width: 0;
}

.split-section__media img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.split-section__media--portrait img {
  aspect-ratio: 4 / 5;
}

.split-section__content {
  max-width: 580px;
}

.split-section__content h2 {
  margin-top: 18px;
  margin-bottom: 28px;
}

.split-section__caption {
  margin-top: 18px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.materials-list {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.materials-list__item {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.7fr);
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.materials-list__item h3 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.materials-list__item p {
  font-size: 14px;
  line-height: 1.7;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 4.5vw, 72px);
  margin-top: clamp(64px, 7vw, 104px);
}

.detail-card {
  min-width: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.detail-card__number {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1;
}

.detail-card h3 {
  max-width: 330px;
  margin-top: 30px;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
}

.detail-card .copy {
  margin-top: 24px;
}

.detail-card .copy p {
  font-size: 15px;
  line-height: 1.8;
}

.applications-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(48px, 8vw, 150px);
  margin-top: clamp(64px, 7vw, 104px);
}

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

.benefit-card {
  display: grid;
  grid-template-columns: 44px minmax(160px, 0.7fr) minmax(0, 1.5fr);
  gap: clamp(18px, 3vw, 38px);
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.benefit-card__number {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1;
}

.benefit-card h3 {
  font-size: clamp(1.3rem, 1.65vw, 1.6rem);
}

.benefit-card p {
  font-size: 15px;
  line-height: 1.8;
}

.applications-panel {
  padding: clamp(28px, 4vw, 48px);
  background: var(--soft);
}

.applications-list {
  display: grid;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.applications-list li {
  position: relative;
  padding: 15px 0 15px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.applications-list li::before {
  position: absolute;
  top: 22px;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--ink);
  content: '';
}

.process-section {
  background: var(--soft);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3.2vw, 48px);
  margin-top: clamp(64px, 7vw, 96px);
}

.process-step {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.process-step__number {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1;
}

.process-step h3 {
  margin-top: 26px;
  font-size: 1.45rem;
}

.process-step p {
  margin-top: 17px;
  font-size: 15px;
  line-height: 1.78;
}

.muskoka-section {
  background: var(--soft);
}

.muskoka-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(64px, 9.5vw, 180px);
}

.muskoka-media {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}

.muskoka-media img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.muskoka-content h2 {
  max-width: 620px;
  margin-top: 18px;
}

.muskoka-content .copy {
  margin-top: 38px;
}

.muskoka-details {
  display: grid;
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.muskoka-detail {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.muskoka-detail h3 {
  font-size: clamp(1.25rem, 1.55vw, 1.5rem);
}

.muskoka-detail p {
  margin-top: 11px;
  font-size: 15px;
  line-height: 1.8;
}

.considerations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin-top: 46px;
  border-top: 1px solid var(--line);
}

.considerations li {
  position: relative;
  padding: 17px 0 17px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
  list-style: none;
}

.considerations li::before {
  position: absolute;
  top: 21px;
  left: 0;
  width: 5px;
  height: 1px;
  background: var(--ink);
  content: '';
}

.gallery-section {
  padding-bottom: var(--section-space);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(112px, 10vw, 184px) clamp(64px, 7vw, 128px);
  margin-top: clamp(112px, 11vw, 184px);
}

.gallery-grid__item {
  min-width: 0;
  grid-column: span 1;
}

.gallery-grid__item:nth-child(even) {
  padding-top: clamp(0px, 6vw, 96px);
}

.gallery-grid--three {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid--three .gallery-grid__item:nth-child(1) {
  grid-column: 1 / -1;
  padding-top: 0;
}

.gallery-grid--three .gallery-grid__item:nth-child(n + 2) {
  padding-top: 0;
}

.gallery-grid .project-card__media {
  aspect-ratio: 1.25 / 1;
}

.gallery-grid--three .gallery-grid__item:nth-child(1) .project-card__media {
  aspect-ratio: 1.9 / 1;
}

.gallery-grid--three .gallery-grid__item:nth-child(n + 2) .project-card__media {
  aspect-ratio: 1.25 / 1;
}

.gallery-grid .project-card__body p {
  max-width: 220px;
}

.gallery-grid--six .gallery-grid__item:nth-child(1),
.gallery-grid--six .gallery-grid__item:nth-child(6) {
  grid-column: 1 / -1;
  padding-top: 0;
}

.gallery-grid--six .gallery-grid__item:nth-child(1) .project-card__media,
.gallery-grid--six .gallery-grid__item:nth-child(6) .project-card__media {
  aspect-ratio: 1.9 / 1;
}

.gallery-grid--six .gallery-grid__item:nth-child(6) {
  margin-top: clamp(12px, 2vw, 32px);
}

/* About page */

.about-intro {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(38px, 8vw, 132px);
}

.about-intro__copy {
  max-width: 690px;
}

.about-intro__copy h2 {
  margin-top: 18px;
  margin-bottom: 34px;
}

.about-portrait {
  position: relative;
  justify-self: end;
  width: min(100%, 470px);
  padding-top: 36px;
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1);
}

.about-portrait__caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.about-portrait__caption span:last-child {
  text-align: right;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
  margin-top: 58px;
}

.value-card {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.value-card h3 {
  max-width: 260px;
  margin-top: 20px;
}

.value-card p {
  max-width: 310px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.75;
}

.about-image-band {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 32px;
  background: transparent;
}

.about-image-band img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.service-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 110px);
}

.service-area h2 {
  max-width: 560px;
  margin-top: 18px;
}

.service-area__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.service-area__list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.35rem;
  list-style: none;
}

/* Contact */

.contact-section {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 8vw, 120px);
}

.contact-aside h2 {
  max-width: 430px;
  margin-top: 18px;
}

.contact-aside__copy {
  max-width: 360px;
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.8;
}

.contact-details {
  display: grid;
  gap: 22px;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-details__item {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 16px;
}

.contact-details__label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.contact-details__value {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.contact-details__value a:hover {
  color: var(--muted);
}

.contact-form-wrap {
  padding: clamp(24px, 4vw, 50px);
  background: var(--soft);
}

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

.form-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 2px;
}

.form-heading h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
}

.form-heading span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

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

.form-field label {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.form-field label span {
  color: var(--muted);
  font-weight: 400;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid #d6d5cf;
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
  outline: 0;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.form-field textarea {
  min-height: 170px;
  resize: vertical;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555954' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 38px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #999b95;
}

.form-field--full {
  grid-column: 1 / -1;
}

.file-field {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px dashed #c9c8c1;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.file-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.file-field__label {
  color: var(--ink-soft);
  font-size: 12px;
}

.file-field__button {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.file-field:focus-within {
  border-color: var(--ink);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.form-consent input {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  accent-color: var(--ink);
}

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

.form-note {
  max-width: 260px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.form-success {
  padding: clamp(28px, 4vw, 50px);
  background: var(--ink);
  color: var(--paper);
}

.form-success h2 {
  margin-top: 20px;
  color: var(--paper);
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
}

.form-success p {
  max-width: 420px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.75;
}

.form-success .button {
  margin-top: 30px;
}

.form-success[hidden],
.contact-form[hidden] {
  display: none;
}

/* Blog */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 64px) clamp(24px, 3.5vw, 46px);
}

.blog-card {
  display: block;
  min-width: 0;
}

.blog-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.55 / 1;
  background: var(--soft-deep);
  line-height: 0;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.025);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(24px, 2.4vw, 32px);
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.blog-card__meta span + span::before {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--muted);
  content: '';
  vertical-align: middle;
}

.blog-card h2,
.blog-card h3 {
  max-width: 620px;
  margin-top: 18px;
  font-size: clamp(1.7rem, 2.6vw, 2.55rem);
}

.blog-card p {
  max-width: 580px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
}

.blog-card .text-link {
  margin-top: 22px;
}

.blog-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(30px, 7vw, 110px);
  padding-bottom: clamp(56px, 8vw, 110px);
  border-bottom: 1px solid var(--line);
}

.blog-feature__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.5 / 1;
  line-height: 0;
}

.blog-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-feature__content {
  align-self: end;
  padding-top: 4px;
}

.blog-feature h2 {
  margin-top: 18px;
}

.blog-feature p {
  max-width: 480px;
  margin-top: 22px;
}

.blog-list {
  padding-top: clamp(56px, 8vw, 100px);
}

.article-hero {
  position: relative;
  display: flex;
  min-height: min(630px, 68svh);
  align-items: flex-end;
  overflow: hidden;
  background: #242722;
  color: var(--paper);
}

.article-hero__media,
.article-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.article-hero__media img {
  object-fit: cover;
}

.article-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 12, 10, 0.8) 0%, rgba(10, 12, 10, 0.2) 72%, rgba(10, 12, 10, 0.1) 100%);
  content: '';
}

.article-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 150px;
  padding-bottom: clamp(38px, 5vw, 72px);
}

.article-hero h1 {
  max-width: 1040px;
  color: var(--paper);
  font-size: clamp(2.8rem, 5.7vw, 5.7rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.article-meta span + span::before {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 12px;
  border-radius: 50%;
  background: currentColor;
  content: '';
  vertical-align: middle;
}

.article-body {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(150px, 2.5fr) minmax(0, 7fr) minmax(0, 2.5fr);
  gap: 32px;
  padding-block: clamp(64px, 9vw, 130px);
}

.article-body__content {
  grid-column: 2;
  max-width: 760px;
}

.article-body__content p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.85;
}

.article-body__content h2 {
  margin-top: 2.1em;
  margin-bottom: 0.7em;
  font-size: clamp(1.9rem, 2.7vw, 2.7rem);
}

.article-body__content img,
.article-body__content figure {
  margin-block: clamp(32px, 4vw, 52px);
}

.article-body__content img {
  width: 100%;
  height: auto;
}

.article-body__content figure img {
  margin-block: 0;
}

.article-body__content figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.article-body__content > :first-child {
  margin-top: 0;
}

.article-aside {
  grid-column: 3;
  padding-top: 5px;
}

.article-aside__label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.article-aside p {
  margin-top: 12px;
  color: var(--body);
  font-size: 12px;
  line-height: 1.7;
}

.article-back {
  margin-top: 54px;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: var(--paper);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr) minmax(0, 0.7fr) minmax(0, 0.9fr);
  gap: 36px;
  padding-block: clamp(72px, 9vw, 128px) clamp(52px, 6vw, 88px);
}

.site-footer__brand {
  max-width: 330px;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
}

.site-footer .wordmark__mark {
  color: var(--paper);
}

.site-footer .wordmark__place {
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__brand p {
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.75;
}

.footer-column h3 {
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 9px;
  margin-top: 21px;
  list-style: none;
}

.footer-column a,
.footer-column li {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.55;
}

.footer-column a:hover {
  color: var(--paper);
}

.footer-column address {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.8;
}

.footer-column address a {
  display: inline-block;
}

.footer-column address a + a {
  margin-top: 2px;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.site-footer__bottom a:hover {
  color: var(--paper);
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.site-footer__social svg {
  width: 13px;
  height: 13px;
}

/* Lightbox */

.project-lightbox {
  width: min(1120px, calc(100vw - 40px));
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
}

.project-lightbox::backdrop {
  background: rgba(10, 12, 10, 0.94);
}

.project-lightbox__inner {
  position: relative;
}

.project-lightbox__image-wrap {
  display: flex;
  min-height: 60vh;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
}

.project-lightbox img {
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.project-lightbox__close,
.project-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(10, 12, 10, 0.45);
  color: var(--paper);
  cursor: pointer;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
}

.project-lightbox__close:hover,
.project-lightbox__nav:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
}

.project-lightbox__close {
  top: 12px;
  right: 12px;
}

.project-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.project-lightbox__nav--prev {
  left: 16px;
}

.project-lightbox__nav--next {
  right: 16px;
}

.project-lightbox__nav svg,
.project-lightbox__close svg {
  width: 16px;
  height: 16px;
}

.project-lightbox__caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.project-lightbox__caption span:last-child {
  color: rgba(255, 255, 255, 0.42);
}

/* Motion */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.js [data-reveal][data-reveal-delay='1'] {
  transition-delay: 100ms;
}

.js [data-reveal][data-reveal-delay='2'] {
  transition-delay: 200ms;
}

.js [data-reveal][data-reveal-delay='3'] {
  transition-delay: 300ms;
}

/* Responsive */

@media (max-width: 1420px) {
  .header-phone {
    display: none;
  }
}

@media (max-width: 1320px) {
  .desktop-nav {
    gap: 6px;
  }

  .desktop-nav a {
    font-size: 10px;
  }
}

@media (max-width: 1244px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .header-actions {
    justify-self: end;
    gap: 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    display: block;
  }
}

@media (max-width: 1100px) {
  :root {
    --header-height: 112px;
  }

  .project-card__body {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .project-card__body p {
    max-width: none;
    text-align: left;
  }

  .brand-logo--header {
    height: 84px;
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .header-actions {
    justify-self: end;
    gap: 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    display: block;
  }

  .section-heading,
  .intro-statement,
  .testimonial__inner,
  .service-intro,
  .article-body {
    grid-template-columns: minmax(100px, 1.4fr) minmax(0, 7fr);
  }

  .section-heading__main,
  .intro-statement__body,
  .testimonial__quote,
  .service-intro__main,
  .article-body__content {
    grid-column: 2;
  }

  .section-heading__intro,
  .intro-statement__aside,
  .service-intro__aside,
  .article-aside {
    grid-column: 2;
  }

  .section-heading__intro {
    max-width: 550px;
    margin-top: 20px;
  }

  .intro-statement__aside {
    margin-top: 40px;
  }

  .service-intro__aside {
    margin-top: 40px;
  }

  .article-aside {
    grid-column: 3;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .mission-pillars {
    max-width: 1000px;
  }

  .site-footer__top {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  .site-footer__top .footer-column:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 900px) {
  .section {
    padding-block: 160px;
  }

  .section--compact {
    padding-block: 116px;
  }

  .home-hero {
    min-height: min(980px, calc(100svh - var(--header-height)));
  }

  .home-hero__foot {
    margin-top: 64px;
  }

  .section-heading,
  .intro-statement,
  .testimonial__inner,
  .service-intro,
  .article-body {
    display: block;
  }

  .section-heading__label,
  .intro-statement__label,
  .service-intro__label,
  .article-body__label {
    margin-bottom: 24px;
  }

  .section-heading__main,
  .intro-statement__body,
  .testimonial__quote,
  .service-intro__main,
  .article-body__content {
    max-width: 760px;
  }

  .section-heading__intro {
    max-width: 480px;
    margin-top: 32px;
  }

  .intro-statement__detail {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 34px;
  }

  .intro-statement__aside {
    margin-top: 0;
  }

  .intro-statement__aside ul {
    max-width: 340px;
  }

  .services-grid,
  .split-section,
  .muskoka-grid,
  .about-intro,
  .contact-section,
  .blog-feature,
  .service-area {
    grid-template-columns: 1fr;
  }

  .services-grid {
    gap: 112px;
    margin-top: 112px;
  }

  .service-card__media {
    aspect-ratio: 1.2 / 1;
  }

  .featured-side {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 112px;
    margin-top: 120px;
  }

  .featured-main {
    grid-column: auto;
  }

  .featured-main .project-card__media,
  .featured-side .project-card__media {
    aspect-ratio: 1.25 / 1;
  }

  .split-section--reverse .split-section__media {
    order: 0;
  }

  .split-section__media,
  .split-section__content {
    max-width: 760px;
  }

  .split-section__media img {
    aspect-ratio: 1.45 / 1;
  }

  .muskoka-media {
    position: static;
  }

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

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-grid,
  .applications-layout {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 112px;
    margin-top: 120px;
  }

  .gallery-grid__item,
  .gallery-grid__item:nth-child(n) {
    grid-column: 1;
    padding-top: 0;
  }

  .gallery-grid .project-card__media,
  .gallery-grid--three .gallery-grid__item:nth-child(1) .project-card__media,
  .gallery-grid--three .gallery-grid__item:nth-child(n + 2) .project-card__media,
  .gallery-grid--six .gallery-grid__item:nth-child(1) .project-card__media,
  .gallery-grid--six .gallery-grid__item:nth-child(6) .project-card__media {
    aspect-ratio: 1.25 / 1;
  }

  .gallery-grid--six .gallery-grid__item:nth-child(6) {
    margin-top: 0;
  }

  .benefit-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .benefit-card p {
    grid-column: 2;
  }

  .cta-band__inner {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-block: 160px;
  }

  .cta-band__side {
    max-width: 480px;
    padding-bottom: 0;
  }

  .about-portrait {
    justify-self: start;
    width: min(100%, 430px);
  }

  .values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .about-image-band img {
    min-height: 340px;
  }

  .about-image-band img + img {
    display: none;
  }

  .contact-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
  }

  .contact-aside h2,
  .contact-aside__copy {
    max-width: none;
  }

  .contact-details {
    margin-top: 0;
    padding-top: 20px;
  }

  .contact-form-wrap {
    max-width: 760px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    max-width: 760px;
  }

  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    max-width: 420px;
  }

  .site-footer__top .footer-column:last-child {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 96px;
    --gutter: 20px;
  }

  .brand-logo--header {
    height: 54px;
  }

  .brand-logo--footer {
    height: 76px;
  }

  .site-header__inner {
    min-height: var(--header-height);
    gap: 8px;
  }

  .wordmark {
    gap: 9px;
  }

  .wordmark__mark {
    width: 34px;
    height: 34px;
  }

  .wordmark__name {
    font-size: 18px;
  }

  .wordmark__place {
    font-size: 7px;
  }

  .header-cta {
    display: inline-flex;
    min-height: 44px;
    gap: 6px;
    padding: 10px 11px;
    font-size: 8.25px;
    letter-spacing: 0.06em;
  }

  .header-cta svg {
    width: 12px;
    height: 12px;
  }

  .header-actions {
    gap: 8px;
  }

  .mobile-menu {
    top: var(--header-height);
    padding-top: 16px;
    padding-bottom: 18px;
  }

  .mobile-menu__meta > span:last-child {
    display: none;
  }

  .mobile-menu .button {
    margin-top: 20px;
  }

  .home-hero {
    min-height: max(680px, calc(100svh - var(--header-height)));
  }

  .home-hero__content {
    padding-top: 100px;
    padding-bottom: 28px;
  }

  .home-hero h1 {
    margin-top: 18px;
    font-size: clamp(2.9rem, 12vw, 4.4rem);
  }

  .home-hero__subhead {
    margin-top: 20px;
    font-size: 16px;
  }

  .home-hero__actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 26px;
  }

  .home-hero__actions .button {
    width: 100%;
  }

  .home-hero__actions .home-hero__video-control {
    align-self: flex-start;
    margin-top: 0;
  }

  .home-hero__foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 42px;
  }

  .home-hero__scroll {
    display: none;
  }

  .page-hero {
    min-height: max(560px, calc(100svh - var(--header-height)));
  }

  .page-hero--short {
    min-height: 520px;
  }

  .page-hero__content {
    padding-top: 100px;
    padding-bottom: 28px;
  }

  .page-hero h1 {
    margin-top: 15px;
    font-size: clamp(2.75rem, 12vw, 4.2rem);
  }

  .page-hero__description {
    font-size: 15px;
  }

  .page-hero__foot {
    flex-direction: column;
    gap: 7px;
    margin-top: 34px;
  }

  .section {
    padding-block: 136px;
  }

  .section--compact {
    padding-block: 104px;
  }

  .eyebrow {
    font-size: 9px;
  }

  .eyebrow::before {
    width: 18px;
  }

  h2 {
    font-size: clamp(2.15rem, 6.2vw, 3rem);
  }

  .lead {
    font-size: 1rem;
  }

  .services-grid {
    gap: 112px;
  }

  .service-card__media,
  .project-card__media {
    aspect-ratio: 1.15 / 1;
  }

  .service-card__body {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 20px;
  }

  .service-card__body p {
    max-width: 330px;
    font-size: 13.5px;
    line-height: 1.75;
  }

  .service-card__body h3 {
    font-size: 1.55rem;
  }

  .mission-grid {
    gap: 38px;
  }

  .mission-statement h2 {
    max-width: 500px;
  }

  .mission-pillars {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .mission-pillar {
    max-width: 400px;
  }

  .mission-pillar h3 {
    margin-top: 14px;
  }

  .featured-side {
    grid-template-columns: 1fr;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 112px;
    margin-top: 112px;
  }

  .featured-main {
    grid-column: auto;
  }

  .featured-main .project-card__media {
    aspect-ratio: 1.1 / 1;
  }

  .featured-side .project-card__media {
    aspect-ratio: 1.1 / 1;
  }

  .project-card__body {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding-top: 28px;
  }

  .project-card__body h3 {
    font-size: 1.7rem;
  }

  .project-card__body p {
    text-align: left;
  }

  .cta-band__inner {
    gap: 34px;
    padding-block: 140px;
  }

  .cta-band__side .button {
    width: 100%;
    gap: 10px;
    padding-inline: 16px;
  }

  .service-intro__copy {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 36px;
  }

  .service-intro__copy p,
  .detail-card .copy p,
  .benefit-card p,
  .process-step p,
  .muskoka-detail p {
    font-size: 16px;
    line-height: 1.8;
  }

  .split-section {
    gap: 48px;
  }

  .materials-list__item {
    grid-template-columns: 1fr;
    gap: 9px;
    padding-block: 26px;
  }

  .materials-list__item p {
    font-size: 15px;
    line-height: 1.75;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 48px;
  }

  .process-step h3 {
    margin-top: 12px;
  }

  .considerations {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 24px;
  }

  .benefit-card__number {
    font-size: 1.2rem;
  }

  .applications-panel {
    padding: 30px 22px;
  }

  .applications-list li {
    padding-block: 17px;
    font-size: 15px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 112px;
    margin-top: 112px;
  }

  .gallery-grid__item,
  .gallery-grid__item:nth-child(n) {
    grid-column: span 1;
  }

  .gallery-grid .project-card__media {
    aspect-ratio: 1.1 / 1;
  }

  .gallery-grid--three .gallery-grid__item:nth-child(1) .project-card__media,
  .gallery-grid--three .gallery-grid__item:nth-child(n + 2) .project-card__media,
  .gallery-grid--six .gallery-grid__item:nth-child(1) .project-card__media,
  .gallery-grid--six .gallery-grid__item:nth-child(6) .project-card__media {
    aspect-ratio: 1.1 / 1;
  }

  .gallery-grid__item:nth-child(even) {
    padding-top: 0;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 38px;
  }

  .about-image-band img {
    min-height: 260px;
  }

  .service-area {
    gap: 30px;
  }

  .service-area__list {
    margin-top: 24px;
  }

  .contact-aside {
    display: block;
  }

  .contact-details {
    margin-top: 34px;
  }

  .contact-details__item {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
  }

  .contact-form-wrap {
    padding: 22px 18px;
  }

  .contact-form {
    gap: 26px;
  }

  .form-field label {
    font-size: 10px;
  }

  .form-field input,
  .form-field textarea,
  .form-field select {
    min-height: 54px;
    font-size: 16px;
  }

  .file-field {
    min-height: 56px;
  }

  .form-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

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

  .form-submit-row .button {
    width: 100%;
  }

  .form-note {
    max-width: none;
  }

  .blog-card h2,
  .blog-card h3 {
    font-size: 1.8rem;
  }

  .article-body {
    padding-block: 62px;
  }

  .article-body__content h2 {
    font-size: 2rem;
  }

  .article-aside {
    margin-top: 44px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 72px;
  }

  .site-footer__top .footer-column:last-child {
    grid-column: auto;
  }

  .site-footer__brand p {
    font-size: 14px;
    line-height: 1.75;
  }

  .footer-column ul {
    gap: 2px;
  }

  .footer-column li a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding-block: 4px;
    font-size: 14px;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-block: 24px;
  }

  .project-lightbox {
    width: calc(100vw - 24px);
  }

  .project-lightbox__close,
  .project-lightbox__nav {
    width: 48px;
    height: 48px;
  }

  .project-lightbox__close {
    top: 10px;
    right: 10px;
  }

  .project-lightbox__nav--prev {
    left: 10px;
  }

  .project-lightbox__nav--next {
    right: 10px;
  }

  .project-lightbox img {
    max-height: 64vh;
  }

  .project-lightbox__caption {
    flex-direction: column;
    gap: 5px;
    font-size: 10px;
  }
}

@media (max-height: 820px) and (min-width: 641px) and (max-width: 1100px) {
  .mobile-menu {
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .mobile-menu__label,
  .mobile-menu__meta-label {
    margin-bottom: 10px;
  }

  .mobile-menu__nav a {
    min-height: 58px;
    padding-block: 14px;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
  }

  .mobile-menu__meta {
    gap: 6px;
    margin-top: 20px;
    font-size: 12px;
  }

  .mobile-menu__meta > span:last-child {
    display: none;
  }

  .mobile-menu .button {
    min-height: 48px;
    margin-top: 18px;
  }
}

@media (max-width: 640px) and (max-height: 760px) {
  .mobile-menu {
    padding-top: 16px;
    padding-bottom: 18px;
  }

  .mobile-menu__label,
  .mobile-menu__meta-label {
    margin-bottom: 8px;
  }

  .mobile-menu__nav a {
    min-height: 54px;
    padding-block: 12px;
    font-size: clamp(1.65rem, 7.5vw, 2rem);
  }

  .mobile-menu__meta {
    gap: 4px;
    margin-top: 18px;
    font-size: 12px;
  }

  .mobile-menu .button {
    min-height: 48px;
    margin-top: 14px;
  }
}

@media (max-width: 640px) and (max-height: 720px) {
  .mobile-menu {
    padding-top: 12px;
    padding-bottom: 14px;
  }

  .mobile-menu__label,
  .mobile-menu__meta-label {
    margin-bottom: 6px;
  }

  .mobile-menu__nav a {
    min-height: 48px;
    padding-block: 10px;
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }

  .mobile-menu__meta {
    gap: 2px;
    margin-top: 14px;
    font-size: 11px;
  }

  .mobile-menu .button {
    min-height: 48px;
    margin-top: 10px;
  }
}

@media (max-width: 380px) {
  :root {
    --header-height: 88px;
    --gutter: 16px;
  }

  .brand-logo--header {
    height: 46px;
  }

  .site-header__inner {
    gap: 6px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-cta {
    min-height: 42px;
    gap: 5px;
    padding: 7px;
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .header-cta svg {
    width: 9px;
    height: 9px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .home-hero h1,
  .page-hero h1 {
    font-size: clamp(2.6rem, 12.5vw, 3.5rem);
  }

  .mobile-menu__nav a {
    min-height: 64px;
    font-size: 1.8rem;
  }
}

@media (max-width: 380px) and (max-height: 720px) {
  .mobile-menu__nav a {
    min-height: 48px;
    font-size: 1.55rem;
  }
}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .home-hero__media {
    animation: none;
    transform: none;
  }

  .home-hero__media img {
    animation: none;
    transform: scale(1.02);
  }
}

/* WordPress integration */
body.admin-bar .site-header {
  top: 32px;
}

body.admin-bar .mobile-menu {
  top: calc(var(--header-height) + 32px);
}

.wp-block-image,
.entry-content figure {
  margin: 0;
}

.entry-content > * + * {
  margin-top: 1.25em;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 2.1em;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  body.admin-bar .mobile-menu {
    top: calc(var(--header-height) + 46px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__media {
    animation: none;
    transform: none;
  }

  .home-hero__media img {
    animation: none;
    transform: scale(1.02);
  }
}

/* WordPress menu markup */
.desktop-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav li {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav .current-menu-item > a::after,
.desktop-nav .current_page_item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-menu__nav {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: decked-nav;
}

.mobile-menu__nav li {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-increment: decked-nav;
}

.mobile-menu__nav li a::after {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.15em;
  content: counter(decked-nav, decimal-leading-zero);
}

.mobile-menu__nav .current-menu-item > a,
.mobile-menu__nav .current_page_item > a {
  color: var(--muted);
}

.footer-column .footer-nav,
.footer-column .menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column .footer-nav li,
.footer-column .menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Form states */
.form-field--honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-error {
  margin-bottom: 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--ink);
  background: var(--soft);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.form-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

/* WordPress content and media safety */
.blog-card__media,
.blog-feature__media {
  display: block;
  line-height: 0;
}

.blog-card__media img,
.blog-feature__media img {
  display: block;
}

.article-body__content img,
.entry-content img {
  width: 100%;
  height: auto;
  margin-block: clamp(28px, 4vw, 48px);
}

.article-body__content h2,
.article-body__content h3 {
  margin-top: clamp(34px, 4vw, 52px);
}

.article-body__content h2 + p,
.article-body__content h3 + p {
  margin-top: 18px;
}

.article-body__content h4 {
  margin-top: clamp(28px, 3.4vw, 44px);
  margin-bottom: 0.5em;
  font-size: clamp(1.45rem, 1.8vw, 1.8rem);
  line-height: 1.2;
}

.article-body__content h4 + p {
  margin-top: 0.55em;
}

.article-body__content p + img,
.article-body__content img + p {
  margin-top: clamp(24px, 3vw, 36px);
}

.wp-block-image,
.wp-block-gallery,
.wp-block-media-text {
  margin-block: clamp(28px, 4vw, 48px);
}

.wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}

.wp-block-gallery .wp-block-image {
  margin: 0;
}

@media (max-width: 640px) {
  .wp-block-gallery {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Tablet + phone refinement
   Desktop is intentionally untouched: every rule below is scoped to <=1100px.
   Goals: tighter section rhythm, shorter secondary copy, larger photography.
   ========================================================================== */

@media (max-width: 1100px) {
  .section {
    padding-block: 108px;
  }

  .section--compact {
    padding-block: 80px;
  }

  .section-heading__intro {
    margin-top: 18px;
  }

  .intro-statement__detail {
    gap: 24px;
    margin-top: 34px;
  }

  .services-grid {
    gap: 64px 40px;
    margin-top: 68px;
  }

  .service-card__media {
    aspect-ratio: 1.2 / 1;
  }

  .service-card__body {
    gap: 22px;
    padding-top: 22px;
  }

  .mission-statement .copy {
    margin-top: 28px;
  }

  .mission-pillars {
    gap: 24px;
  }

  .featured-grid {
    gap: 64px;
    margin-top: 76px;
  }

  .featured-main .project-card__media {
    aspect-ratio: 1.7 / 1;
  }

  .featured-side .project-card__media {
    aspect-ratio: 1.25 / 1;
  }

  .gallery-grid {
    gap: 64px;
    margin-top: 76px;
  }

  .gallery-grid .project-card__media,
  .gallery-grid--three .gallery-grid__item:nth-child(1) .project-card__media,
  .gallery-grid--three .gallery-grid__item:nth-child(n + 2) .project-card__media,
  .gallery-grid--six .gallery-grid__item:nth-child(1) .project-card__media,
  .gallery-grid--six .gallery-grid__item:nth-child(6) .project-card__media {
    aspect-ratio: 1.25 / 1;
  }

  .split-section {
    gap: 36px;
  }

  .split-section__media img {
    aspect-ratio: 1.35 / 1;
  }

  .process-grid {
    margin-top: 44px;
  }

  .testimonial {
    padding-block: 96px;
  }

  .cta-band__inner {
    gap: 44px;
    padding-block: 108px;
  }

  .detail-grid,
  .applications-layout {
    margin-top: 56px;
  }

  .about-image-band img {
    min-height: 340px;
  }

  .contact-form-wrap {
    padding: 28px;
  }

  .site-footer__top {
    padding-top: 60px;
  }
}

@media (max-width: 900px) {
  .section {
    padding-block: 88px;
  }

  .section--compact {
    padding-block: 72px;
  }

  .home-hero {
    min-height: min(840px, max(700px, calc(100svh - var(--header-height))));
  }

  .home-hero__content {
    padding-top: 96px;
    padding-bottom: 30px;
  }

  .home-hero h1 {
    margin-top: 18px;
  }

  .home-hero__subhead {
    margin-top: 18px;
  }

  .home-hero__actions {
    margin-top: 24px;
  }

  .home-hero__foot {
    margin-top: 32px;
  }

  .page-hero {
    min-height: min(720px, max(580px, calc(100svh - var(--header-height))));
  }

  .page-hero--short {
    min-height: min(560px, 64svh);
  }

  .page-hero__content {
    padding-top: 88px;
    padding-bottom: 22px;
  }

  .page-hero__description {
    margin-top: 16px;
  }

  .page-hero__foot {
    margin-top: 28px;
  }

  .section-heading__intro {
    margin-top: 16px;
  }

  .section-heading__intro,
  .service-card__body p,
  .muskoka-detail p,
  .value-card p {
    display: none;
  }

  .process-step p,
  .mission-pillar p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.65;
  }

  .intro-statement__detail .copy p:nth-of-type(n + 2),
  .mission-statement .copy p:nth-of-type(n + 2),
  .split-section__content .copy p:nth-of-type(n + 2),
  .detail-card .copy p:nth-of-type(n + 2),
  .about-intro__copy .copy p:nth-of-type(n + 2) {
    display: none;
  }

  .intro-statement__detail {
    gap: 18px;
    margin-top: 24px;
  }

  .services-grid {
    gap: 56px;
    margin-top: 56px;
  }

  .service-card__media {
    aspect-ratio: 1.3 / 1;
  }

  .service-card__body {
    gap: 16px;
    padding-top: 18px;
  }

  .mission-grid {
    gap: 28px;
  }

  .mission-statement .copy {
    margin-top: 20px;
  }

  .mission-pillars {
    gap: 20px;
  }

  .featured-grid {
    gap: 56px;
    margin-top: 60px;
  }

  .featured-main .project-card__media,
  .featured-side .project-card__media {
    aspect-ratio: 1.3 / 1;
  }

  .split-section {
    gap: 28px;
  }

  .split-section__media img {
    aspect-ratio: 1.35 / 1;
  }

  .process-grid {
    gap: 22px;
    margin-top: 30px;
  }

  .process-step h3 {
    margin-top: 16px;
  }

  .testimonial {
    padding-block: 76px;
  }

  .cta-band__inner {
    gap: 30px;
    padding-block: 96px;
  }

  .gallery-grid {
    gap: 56px;
    margin-top: 60px;
  }

  .gallery-grid .project-card__media,
  .gallery-grid--three .gallery-grid__item:nth-child(1) .project-card__media,
  .gallery-grid--three .gallery-grid__item:nth-child(n + 2) .project-card__media,
  .gallery-grid--six .gallery-grid__item:nth-child(1) .project-card__media,
  .gallery-grid--six .gallery-grid__item:nth-child(6) .project-card__media {
    aspect-ratio: 1.3 / 1;
  }

  .about-image-band img {
    min-height: 280px;
  }

  .values-grid {
    gap: 18px;
  }

  .contact-form-wrap {
    padding: 22px;
  }

  .article-body {
    padding-block: 48px;
  }

  .site-footer__top {
    gap: 30px;
    padding-top: 52px;
  }

  .site-footer__bottom {
    padding-block: 18px;
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: 78px;
  }

  .section--compact {
    padding-block: 64px;
  }

  /* Let the hero end sooner and bring the first section into reach. */
  .home-hero {
    min-height: max(600px, calc(100svh - var(--header-height)));
  }

  .home-hero__content {
    padding-top: 72px;
    padding-bottom: 20px;
  }

  .home-hero h1 {
    margin-top: 14px;
  }

  .home-hero__subhead {
    margin-top: 16px;
    line-height: 1.55;
  }

  .home-hero__actions {
    gap: 10px;
    margin-top: 18px;
  }

  .home-hero__foot {
    margin-top: 22px;
    padding-top: 14px;
  }

  .page-hero {
    min-height: max(520px, calc(100svh - var(--header-height)));
  }

  .page-hero--short {
    min-height: 460px;
  }

  .page-hero__content {
    padding-top: 82px;
    padding-bottom: 20px;
  }

  .page-hero h1 {
    margin-top: 12px;
  }

  .page-hero__description {
    margin-top: 14px;
    line-height: 1.6;
  }

  .page-hero__foot {
    margin-top: 22px;
  }

  /* Secondary copy is condensed on phones; headlines and key labels stay. */
  .section-heading__intro {
    display: none;
  }

  .intro-statement__detail {
    gap: 14px;
    margin-top: 22px;
  }

  .intro-statement__detail .copy p:nth-of-type(n + 2) {
    display: none;
  }

  .intro-statement__aside {
    display: none;
  }

  .services-grid {
    gap: 52px;
    margin-top: 48px;
  }

  .service-card__media {
    aspect-ratio: 1 / 1;
  }

  .service-card__body {
    gap: 6px;
    padding-top: 16px;
  }

  .service-card__body p {
    display: none;
  }

  .service-card__body h3 {
    font-size: 1.5rem;
  }

  .mission-grid {
    gap: 26px;
  }

  .mission-statement .copy {
    margin-top: 20px;
  }

  .mission-statement .copy p:nth-of-type(n + 2) {
    display: none;
  }

  .mission-pillars {
    gap: 14px;
  }

  .mission-pillar {
    max-width: none;
    padding-top: 13px;
  }

  .mission-pillar h3 {
    margin-top: 8px;
    font-size: 1.3rem;
  }

  .mission-pillar p {
    display: none;
  }

  .split-section {
    gap: 22px;
  }

  .split-section__media img {
    aspect-ratio: 1.15 / 1;
  }

  .split-section__content h2 {
    margin-top: 12px;
    margin-bottom: 16px;
  }

  .split-section__content .copy p:nth-of-type(n + 2) {
    display: none;
  }

  .muskoka-details {
    margin-top: 22px;
  }

  .muskoka-detail {
    padding: 15px 0;
  }

  .muskoka-detail h3 {
    font-size: 1.15rem;
  }

  .muskoka-detail p {
    display: none;
  }

  .process-grid {
    gap: 16px;
    margin-top: 24px;
  }

  .process-step {
    padding-top: 13px;
  }

  .process-step h3 {
    margin-top: 7px;
    font-size: 1.35rem;
  }

  .process-step p {
    display: none;
  }

  .featured-grid {
    gap: 52px;
    margin-top: 48px;
  }

  .featured-main .project-card__media,
  .featured-side .project-card__media {
    aspect-ratio: 1.05 / 1;
  }

  .project-card__body {
    gap: 4px;
    padding-top: 18px;
  }

  .project-card__body h3 {
    font-size: 1.55rem;
  }

  .testimonial {
    padding-block: 64px;
  }

  .testimonial__quote blockquote {
    font-size: 1.7rem;
    line-height: 1.16;
  }

  .testimonial__quote cite {
    margin-top: 16px;
  }

  .cta-band__inner {
    gap: 22px;
    padding-block: 76px;
  }

  .cta-band__side p {
    display: none;
  }

  .site-footer__top {
    gap: 26px;
    padding-top: 44px;
  }

  .site-footer__bottom {
    gap: 8px;
    padding-block: 18px;
  }

  /* Service pages inherit the same tighter rhythm and image emphasis. */
  .service-intro__copy {
    gap: 14px;
    margin-top: 22px;
  }

  .service-intro__copy p:nth-of-type(n + 2) {
    display: none;
  }

  .detail-grid {
    gap: 22px;
    margin-top: 32px;
  }

  .detail-card {
    padding-top: 16px;
  }

  .detail-card h3 {
    margin-top: 12px;
  }

  .detail-card .copy {
    margin-top: 12px;
  }

  .detail-card .copy p:nth-of-type(n + 2) {
    display: none;
  }

  .detail-card .copy p,
  .benefit-card p {
    font-size: 14.5px;
    line-height: 1.7;
  }

  .applications-layout {
    gap: 28px;
    margin-top: 32px;
  }

  .applications-panel {
    padding: 22px 18px;
  }

  .applications-list li {
    padding-block: 12px;
    font-size: 14px;
  }

  .benefit-card {
    gap: 6px;
    padding-block: 17px;
  }

  .benefit-card h3 {
    font-size: 1.25rem;
  }

  .gallery-grid {
    gap: 52px;
    margin-top: 48px;
  }

  .gallery-grid .project-card__media,
  .gallery-grid--three .gallery-grid__item:nth-child(1) .project-card__media,
  .gallery-grid--three .gallery-grid__item:nth-child(n + 2) .project-card__media,
  .gallery-grid--six .gallery-grid__item:nth-child(1) .project-card__media,
  .gallery-grid--six .gallery-grid__item:nth-child(6) .project-card__media {
    aspect-ratio: 1.05 / 1;
  }

  .about-intro {
    gap: 28px;
  }

  .about-intro__copy h2 {
    margin-bottom: 20px;
  }

  .about-intro__copy .copy p:nth-of-type(n + 2) {
    display: none;
  }

  .about-portrait {
    padding-top: 18px;
  }

  .about-image-band img {
    min-height: 300px;
  }

  .values-grid {
    gap: 18px;
    margin-top: 26px;
  }

  .value-card {
    padding-top: 13px;
  }

  .value-card h3 {
    margin-top: 8px;
  }

  .value-card p {
    display: none;
  }

  .service-area {
    gap: 22px;
  }

  .service-area__list {
    margin-top: 18px;
  }

  .contact-section {
    gap: 28px;
  }

  .contact-details {
    margin-top: 24px;
  }

  .contact-form-wrap {
    padding: 20px 16px;
  }

  .contact-form {
    gap: 20px;
  }

  .form-row {
    gap: 14px;
  }

  .article-body {
    padding-block: 48px;
  }

  .article-body__content p {
    margin-bottom: 1em;
    font-size: 15px;
    line-height: 1.72;
  }

  .article-body__content h2 {
    margin-top: 1.6em;
    margin-bottom: 0.5em;
  }

  .article-body__content h4 {
    margin-top: 1.6em;
    margin-bottom: 0.45em;
    font-size: 1.35rem;
  }

  .article-body__content img,
  .article-body__content figure {
    margin-block: 24px;
  }

  .blog-grid {
    gap: 32px;
  }

  .blog-card__meta {
    margin-top: 14px;
  }

  .blog-card h2,
  .blog-card h3 {
    margin-top: 10px;
    font-size: 1.6rem;
  }

  .blog-card p {
    font-size: 14px;
    line-height: 1.65;
  }
}

/* Motion refinement — November 2026 */

/* The hero copy settles once on arrival, then stays still. */
.js .home-hero__content {
  animation: hero-copy-in 900ms var(--ease) 120ms both;
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Scroll reveals: opacity and a short lift only, never layout movement. */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity 800ms var(--ease),
    transform 800ms var(--ease);
  will-change: opacity, transform;
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.js [data-reveal][data-reveal-delay='1'] {
  transition-delay: 100ms;
}

.js [data-reveal][data-reveal-delay='2'] {
  transition-delay: 200ms;
}

.js [data-reveal][data-reveal-delay='3'] {
  transition-delay: 300ms;
}

/* The heading settles first; supporting copy follows by a small beat. */
.js .section-heading[data-reveal] .section-heading__main,
.js .section-heading[data-reveal] .section-heading__intro {
  transform: translate3d(0, 12px, 0);
  transition: transform 800ms var(--ease);
}

.js .section-heading[data-reveal].is-revealed .section-heading__main,
.js .section-heading[data-reveal].is-revealed .section-heading__intro {
  transform: translate3d(0, 0, 0);
}

.js .section-heading[data-reveal] .section-heading__intro {
  transition-delay: 100ms;
}

/* Image cards: 1.05 scale, 40% black veil, 450ms lift and shadow. */
.service-card {
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 0 0 rgba(17, 21, 17, 0);
  transition: transform 450ms var(--ease), box-shadow 450ms var(--ease);
}

.project-card {
  -webkit-tap-highlight-color: transparent;
}

.js .service-card.is-revealed {
  transition: transform 450ms var(--ease), box-shadow 450ms var(--ease);
}

/* A restrained perspective tilt; the card stays square to the page at rest. */
.js .service-card {
  --card-lift: 0px;
  --card-tilt-x: 0deg;
  --card-tilt-y: 0deg;
  box-shadow: 0 0 0 rgba(17, 21, 17, 0);
  transform: perspective(1100px) rotateX(var(--card-tilt-x)) rotateY(var(--card-tilt-y))
    translate3d(0, var(--card-lift), 0);
  transform-style: preserve-3d;
  transition: transform 450ms var(--ease), box-shadow 450ms var(--ease);
}

.js .service-card[data-reveal] {
  translate: 0 30px;
  transform: perspective(1100px) rotateX(var(--card-tilt-x)) rotateY(var(--card-tilt-y))
    translate3d(0, var(--card-lift), 0);
  transition:
    opacity 800ms var(--ease),
    translate 800ms var(--ease),
    transform 450ms var(--ease),
    box-shadow 450ms var(--ease);
}

.js .service-card[data-reveal].is-revealed {
  translate: 0 0;
}

.js .service-card.is-tilting {
  transition:
    opacity 800ms var(--ease),
    translate 800ms var(--ease),
    transform 120ms linear,
    box-shadow 450ms var(--ease);
}

.service-card__media img,
.project-card__media img {
  transition: transform 400ms var(--ease);
}

.service-card__overlay,
.project-card__overlay {
  background: rgba(0, 0, 0, 0.4);
  transition: opacity 400ms var(--ease);
}

.service-card__overlay-content {
  display: flex;
  width: 100%;
  max-width: 86%;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  transform: translate3d(0, 8px, 0);
  transition: transform 400ms var(--ease);
}

.service-card__overlay .service-card__overlay-title {
  display: block;
  padding: 0;
  border: 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.1vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-transform: none;
  transform: none;
}

.service-card__overlay .service-card__overlay-link {
  transform: none;
}

.project-card__overlay-content {
  transform: translate3d(0, 8px, 0);
  transition: transform 400ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .js .service-card:hover {
    --card-lift: -7px;
    box-shadow:
      0 18px 36px -20px rgba(17, 21, 17, 0.28),
      0 8px 18px -12px rgba(17, 21, 17, 0.16);
  }

  .service-card:hover .service-card__media img,
  .project-card:hover .project-card__media img {
    transform: scale(1.05);
  }

  .service-card:hover .service-card__overlay,
  .project-card:hover .project-card__overlay {
    opacity: 1;
  }

  .service-card:hover .service-card__overlay-content,
  .project-card:hover .project-card__overlay-content {
    transform: translate3d(0, 0, 0);
  }
}

.js .service-card:focus-visible {
  --card-lift: -7px;
  box-shadow:
    0 18px 36px -20px rgba(17, 21, 17, 0.28),
    0 8px 18px -12px rgba(17, 21, 17, 0.16);
}

.service-card:focus-visible .service-card__media img,
.project-card:focus-visible .project-card__media img {
  transform: scale(1.05);
}

.service-card:focus-visible .service-card__overlay,
.project-card:focus-visible .project-card__overlay {
  opacity: 1;
}

.service-card:focus-visible .service-card__overlay-content,
.project-card:focus-visible .project-card__overlay-content {
  transform: translate3d(0, 0, 0);
}

/* On touch, the press itself reveals the same image treatment. */
@media (hover: none) {
  .js .service-card.is-pressed,
  .js .service-card:active {
    --card-lift: -6px;
    --card-tilt-x: 2deg;
    --card-tilt-y: 0deg;
    box-shadow:
      0 18px 36px -20px rgba(17, 21, 17, 0.28),
      0 8px 18px -12px rgba(17, 21, 17, 0.16);
  }

  .service-card.is-pressed .service-card__media img,
  .service-card:active .service-card__media img,
  .project-card.is-pressed .project-card__media img,
  .project-card:active .project-card__media img {
    transform: scale(1.05);
  }

  .service-card.is-pressed .service-card__overlay,
  .service-card:active .service-card__overlay,
  .project-card.is-pressed .project-card__overlay,
  .project-card:active .project-card__overlay {
    opacity: 1;
  }

  .service-card.is-pressed .service-card__overlay-content,
  .service-card:active .service-card__overlay-content,
  .project-card.is-pressed .project-card__overlay-content,
  .project-card:active .project-card__overlay-content {
    transform: translate3d(0, 0, 0);
  }
}

/* Desktop keeps the approved drone drift, with a slightly wider, slower pass. */
@media (min-width: 1101px) {
  .home-hero__media img {
    animation: hero-drone 14s cubic-bezier(0.37, 0, 0.63, 1) infinite alternate;
  }
}

@keyframes hero-drone {
  from {
    transform: scale(1.12) translate3d(-5%, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(5%, 0, 0);
  }
}

/* Tablet and phone get a quiet fade, not the desktop pan. */
@media (max-width: 1100px) {
  .home-hero__media {
    animation: hero-fade 1000ms ease-out both;
    transform: none;
    will-change: opacity;
  }

  .home-hero__media img {
    animation: none;
    transform: scale(1.02);
    will-change: auto;
  }
}

@keyframes hero-fade {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .home-hero__content {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .js [data-reveal],
  .js [data-reveal].is-revealed,
  .js .section-heading[data-reveal] .section-heading__main,
  .js .section-heading[data-reveal] .section-heading__intro {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .home-hero__media {
    animation: none !important;
    transform: none !important;
  }

  .home-hero__media img {
    animation: none !important;
    transform: scale(1.02) !important;
  }

  .service-card,
  .js .service-card,
  .js .service-card[data-reveal],
  .service-card__media img,
  .service-card__overlay,
  .service-card__overlay-content,
  .project-card__media img,
  .project-card__overlay,
  .project-card__overlay-content {
    transition: none !important;
  }

  .service-card:hover,
  .service-card:active,
  .service-card.is-pressed {
    transform: none !important;
  }

  .service-card__media img,
  .project-card__media img {
    transform: none !important;
  }

  .js .service-card[data-reveal] {
    translate: none !important;
  }
}

/* The selected-work gallery leads service pages, so it uses a slightly
   tighter opening rhythm than the standard interior-section spacing. */
.gallery-section--lead {
  padding-top: clamp(96px, 10vw, 152px);
}

.gallery-section--lead .gallery-grid {
  margin-top: clamp(56px, 6vw, 96px);
}

@media (max-width: 1100px) {
  .gallery-section--lead {
    padding-top: 88px;
  }

  .gallery-section--lead .gallery-grid {
    margin-top: 48px;
  }
}

@media (max-width: 640px) {
  .gallery-section--lead {
    padding-top: 80px;
  }

  .gallery-section--lead .gallery-grid {
    margin-top: 40px;
  }
}

/* Stair & Railing Detail: keep the full portrait photograph readable on
   desktop and tablet instead of forcing it into the wide gallery crop.
   The phone layout keeps the original full-width card. */
.gallery-grid--six .gallery-grid__item .project-card--detail .project-card__detail-link {
  display: none;
}

@media (min-width: 641px) {
  .gallery-grid--six .gallery-grid__item .project-card--detail {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(48px, 5vw, 88px);
  }

  .gallery-grid--six .gallery-grid__item .project-card--detail .project-card__media {
    aspect-ratio: 0.62 / 1;
  }

  .gallery-grid--six .gallery-grid__item .project-card--detail .project-card__media img {
    object-position: 50% 50%;
  }

  .gallery-grid--six .gallery-grid__item .project-card--detail .project-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(16px, 1.8vw, 24px);
    padding-top: 0;
  }

  .gallery-grid--six .gallery-grid__item .project-card--detail .project-card__body::before {
    position: static;
    display: block;
    width: 48px;
    margin-bottom: 6px;
  }

  .gallery-grid--six .gallery-grid__item .project-card--detail .project-card__body h3 {
    max-width: 10ch;
    font-size: clamp(2.2rem, 3.4vw, 3.6rem);
  }

  .gallery-grid--six .gallery-grid__item .project-card--detail .project-card__body p {
    max-width: 300px;
    text-align: left;
  }

  .gallery-grid--six .gallery-grid__item .project-card--detail .project-card__detail-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .gallery-grid--six .gallery-grid__item .project-card--detail .project-card__detail-link svg {
    width: 13px;
    height: 13px;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .gallery-grid--six .gallery-grid__item .project-card--detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px;
  }
}

/* Custom Elevated Deck: full-width portrait feature card.
   The new project is the seventh card, so it spans the gallery and keeps
   the complete 4:5 photograph visible instead of using a wide crop. */
.gallery-grid--seven .gallery-grid__item:nth-child(7) {
  grid-column: 1 / -1;
  padding-top: 0;
}
.gallery-grid--seven .gallery-grid__item:nth-child(7) .project-card__media {
  aspect-ratio: 0.8 / 1;
}
@media (min-width: 641px) {
  .gallery-grid--seven .gallery-grid__item:nth-child(7) .project-card--portrait .project-card__media {
    aspect-ratio: 0.8 / 1;
  }
  .gallery-grid--seven .gallery-grid__item:nth-child(7) .project-card--portrait .project-card__body h3 {
    max-width: 18ch;
    font-size: clamp(2.1rem, 3vw, 3.3rem);
    line-height: 1.02;
    text-wrap: balance;
  }
  .gallery-grid--seven .gallery-grid__item:nth-child(7) .project-card--portrait .project-card__body p {
    max-width: 320px;
  }
}

/* Pair Stair & Railing Detail with Custom Elevated Deck on wide screens.
   Both portrait photographs keep their native framing side by side. */
@media (min-width: 1024px) {
  .gallery-grid--seven .gallery-grid__item:nth-child(6),
  .gallery-grid--seven .gallery-grid__item:nth-child(7) {
    grid-column: span 1;
    padding-top: 0;
    margin-top: 0;
  }
  .gallery-grid--seven .gallery-grid__item:nth-child(6) .project-card--detail,
  .gallery-grid--seven .gallery-grid__item:nth-child(7) .project-card--portrait {
    display: block;
  }
  .gallery-grid--seven .gallery-grid__item:nth-child(6) .project-card__media {
    aspect-ratio: 0.62 / 1;
  }
  .gallery-grid--seven .gallery-grid__item:nth-child(7) .project-card__media {
    aspect-ratio: 0.8 / 1;
  }
  .gallery-grid--seven .gallery-grid__item:nth-child(6) .project-card__body,
  .gallery-grid--seven .gallery-grid__item:nth-child(7) .project-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 28px;
  }
  .gallery-grid--seven .gallery-grid__item:nth-child(6) .project-card__body::before,
  .gallery-grid--seven .gallery-grid__item:nth-child(7) .project-card__body::before {
    position: static;
    display: block;
    width: 42px;
    margin-bottom: 4px;
  }
  .gallery-grid--seven .gallery-grid__item:nth-child(6) .project-card__body h3 {
    max-width: 12ch;
    font-size: clamp(2rem, 2.8vw, 3.1rem);
    line-height: 1.02;
  }
  .gallery-grid--seven .gallery-grid__item:nth-child(7) .project-card--portrait .project-card__body h3 {
    max-width: 18ch;
    font-size: clamp(2rem, 2.8vw, 3.1rem);
    line-height: 1.02;
    text-wrap: balance;
  }
  .gallery-grid--seven .gallery-grid__item:nth-child(6) .project-card__body p,
  .gallery-grid--seven .gallery-grid__item:nth-child(7) .project-card--portrait .project-card__body p {
    max-width: none;
    text-align: left;
  }
}

/* Black Ash Back Yard Pavilion: keep the complete hero photograph visible
   and centered in the hero on every screen size. Scoped to project 36 so no
   other project page or layout is affected. */
.postid-36 .page-hero__media img {
  object-fit: contain;
  object-position: 50% 50%;
}
/* Lakeside Multi-Level Living Deck: the final Residential Decks card.
   Keep the complete 4:3 photograph visible at its native proportion and
   center it in a full-width card so it reads as the closing feature. */
.gallery-grid--seven .gallery-grid__item:nth-child(8) {
  grid-column: 1 / -1;
  padding-top: 0;
  margin-top: 0;
}
.gallery-grid--seven .gallery-grid__item:nth-child(8) .project-card__media {
  aspect-ratio: 4 / 3;
}
.gallery-grid--seven .gallery-grid__item:nth-child(8) .project-card__media img {
  object-fit: cover;
  object-position: 50% 50%;
}

/* Black Ash Back Yard Pavilion card: the source photograph places the
   pavilion gable to the right of the frame. Shift the card crop so the
   pavilion itself is centred, while leaving every other card unchanged.
   The phone card is nearly square, so it needs a slightly different crop. */
.project-card[href*="/projects/black-ash-shoreline-pavilion/"] .project-card__media img {
  object-position: 74% 50%;
}
@media (max-width: 640px) {
  .project-card[href*="/projects/black-ash-shoreline-pavilion/"] .project-card__media img {
    object-position: 67% 50%;
  }
}

/* Who We Are editorial spacing — 20261127 */
.about-image-band {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-inline: var(--gutter);
  gap: clamp(56px, 6vw, 112px);
}
.about-image-band > .about-image-band__item {
  min-width: 0;
}
.about-image-band .project-card__media {
  height: auto;
  aspect-ratio: 1.5 / 1;
}
.about-image-band img {
  min-height: 0;
}
.about-portrait {
  padding-top: clamp(36px, 4vw, 56px);
}
.about-portrait .project-card__media,
.split-section__media--portrait .project-card__media {
  aspect-ratio: auto;
  background: var(--soft-deep);
}
.about-portrait .project-card__media img,
.split-section__media--portrait .project-card__media img {
  height: auto;
}
/* The collaborative-process photo is a wide landscape image: show all of it
   instead of forcing it into the 4:5 portrait frame. */
.split-section__media--portrait .project-card__media img {
  aspect-ratio: auto;
  object-fit: contain;
}
@media (max-width: 900px) {
  .about-image-band {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-image-band .project-card__media {
    aspect-ratio: 1.25 / 1;
  }
}
@media (max-width: 640px) {
  .about-image-band .project-card__media {
    aspect-ratio: 1.3 / 1;
  }
}
