@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("assets/fonts/atkinson-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("assets/fonts/atkinson-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("assets/fonts/atkinson-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("assets/fonts/atkinson-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy: #173867;
  --navy-deep: #102f58;
  --red: #d92d24;
  --red-dark: #ba211a;
  --off-white: #f7f8f8;
  --white: #ffffff;
  --focus: #f1ba35;
  --font-sans: "Atkinson Hyperlegible Next", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--off-white);
  color: var(--navy);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}
button, input, textarea { font: inherit; }
img, svg { display: block; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  padding: 0.8rem 1rem;
  background: var(--navy-deep);
  color: var(--white);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.hero-shell {
  position: relative;
  width: min(100%, 1536px);
  aspect-ratio: 1536 / 922;
  margin-inline: auto;
  overflow: hidden;
  background: var(--off-white);
}

.site-header {
  position: relative;
  z-index: 20;
  width: min(100%, 1536px);
  height: min(6.667vw, 102px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.95% 0 5.2%;
  background: var(--white);
}

.wordmark {
  position: relative;
  display: inline-grid;
  grid-template-columns: 3.25rem auto;
  grid-template-rows: auto auto;
  align-items: center;
  width: min-content;
  color: var(--navy-deep);
  text-decoration: none;
  text-transform: uppercase;
}
.wordmark::before {
  content: "";
  grid-column: 1;
  grid-row: 2;
  width: 2.9rem;
  height: 0.2rem;
  margin-top: 0.18rem;
  background: var(--red);
}
.wordmark__primary {
  grid-column: 1 / -1;
  font-size: clamp(1.5rem, 2.45vw, 2.32rem);
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 0.88;
  white-space: nowrap;
}
.wordmark__secondary {
  grid-column: 2;
  grid-row: 2;
  margin-top: 0.08rem;
  font-size: clamp(0.72rem, 1.22vw, 1.12rem);
  font-weight: 500;
  letter-spacing: 0.38em;
  line-height: 1;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: clamp(1.8rem, 2.4vw, 2.35rem);
  font-size: clamp(0.73rem, 1vw, 0.98rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.primary-nav > a:not(.button) {
  position: relative;
  display: grid;
  align-items: center;
  height: 100%;
  text-decoration: none;
}
.primary-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1.35rem;
  left: 0;
  height: 0.14rem;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease-out;
}
.primary-nav > a:not(.button):hover::after,
.primary-nav > a:not(.button):focus-visible::after { transform: scaleX(1); }
.nav-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0 2.15rem;
  border: 0;
  border-radius: 0;
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 0.5rem 1.4rem rgb(0 0 0 / 0.14);
  transition: background-color 160ms ease-out, transform 160ms ease-out, box-shadow 160ms ease-out;
}
.button:hover {
  background: var(--red-dark);
  box-shadow: 0 0.72rem 1.8rem rgb(0 0 0 / 0.18);
  transform: translateY(-2px);
}
.button--header {
  align-self: center;
  width: 15.3rem;
  min-height: 3.55rem;
  padding-inline: 0;
  margin-left: 0.15rem;
}

.hero {
  position: absolute;
  inset: 0 0 16.667%;
  overflow: hidden;
  background: var(--navy);
}
.hero__content {
  position: absolute;
  z-index: 5;
  inset: 0 auto 0 0;
  width: 35.55%;
  padding: 6.2% 4.8% 4%;
  background: var(--navy);
  color: var(--white);
}
.hero h1 {
  max-width: 5ch;
  margin: 0;
  font-size: clamp(3rem, 5.55vw, 5.68rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
}
.hero h1 span { display: block; white-space: nowrap; }
.hero__summary {
  max-width: 24ch;
  margin: clamp(1.2rem, 2.2vw, 2.5rem) 0 0;
  font-size: clamp(1rem, 1.55vw, 1.52rem);
  font-weight: 400;
  line-height: 1.32;
}
.hero__experience {
  position: relative;
  max-width: 21rem;
  margin-top: clamp(1rem, 1.65vw, 1.8rem);
  padding-top: clamp(1rem, 1.55vw, 1.65rem);
  font-size: clamp(0.84rem, 1.16vw, 1.12rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  white-space: nowrap;
  text-transform: uppercase;
}
.hero__experience::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15.8rem;
  height: 1px;
  background: rgb(255 255 255 / 0.85);
}
.button--hero {
  min-width: 21.3rem;
  margin-top: clamp(1.25rem, 1.8vw, 2rem);
  justify-content: space-between;
  padding-inline: 2.2rem 1.85rem;
  font-size: clamp(0.72rem, 0.9vw, 0.88rem);
}
.button--hero svg {
  width: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.project-tile {
  position: absolute;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  background: #a99d94;
}
.project-tile picture,
.work-grid__item picture {
  display: block;
  width: 100%;
  height: 100%;
}
.project-tile img { width: 100%; height: 100%; object-fit: cover; }
.project-tile figcaption {
  position: absolute;
  z-index: 2;
  right: auto;
  bottom: 0.3rem;
  left: 1rem;
  width: max-content;
  padding: 0.14rem 0.3rem;
  background: rgb(16 47 88 / 0.94);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.project-tile--kitchen {
  inset: 0 auto 0 35.55%;
  width: 31.5%;
  border-left: 4px solid var(--white);
  border-right: 4px solid var(--white);
}
.project-tile--kitchen img { object-position: center; }
.project-tile--interior {
  inset: 0 0 auto 67.05%;
  height: 54%;
  border-bottom: 4px solid var(--white);
}
.project-tile--interior img { object-position: center; }
.project-tile--exterior { inset: 54% 0 0 67.05%; }
.project-tile--exterior img { object-position: center 30%; }

.service-index {
  position: absolute;
  z-index: 10;
  inset: 83.333% 0 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: center;
  padding: 0 3.3%;
  background: var(--white);
}
.service-index__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.55rem, 0.75vw, 0.78rem);
  min-width: 0;
  min-height: 4.5rem;
  color: var(--navy-deep);
  font-size: clamp(0.7rem, 0.76vw, 0.76rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}
.service-index__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.15rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: var(--red);
}
.service-index__item svg {
  width: clamp(1.9rem, 2.45vw, 2.4rem);
  height: clamp(1.9rem, 2.45vw, 2.4rem);
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: color 160ms ease-out, transform 160ms ease-out;
}
.service-index__item:hover svg,
.service-index__item:focus-visible svg { color: var(--red); transform: translateY(-2px); }

.section-heading {
  width: min(100%, 86rem);
  margin-inline: auto;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.section-heading h2,
.experience-section h2,
.contact-section h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.section-heading p,
.experience-section__copy p,
.contact-section__intro > p {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1.08rem, 1.35vw, 1.32rem);
  line-height: 1.55;
}

.work-section {
  padding: clamp(6rem, 10vw, 10rem) 5.2%;
  background: var(--off-white);
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, clamp(18rem, 26vw, 25rem));
  gap: 4px;
  width: min(100%, 86rem);
  margin: clamp(3.5rem, 7vw, 7rem) auto 0;
  background: transparent;
}

.work-grid__item {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #978b82;
}

.work-grid__item--residential {
  grid-row: 1 / 3;
}

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

.work-grid__item--residential img { object-position: center 52%; }
.work-grid__item--exterior img { object-position: center 30%; }

.work-grid__item:hover img { transform: scale(1.02); }

.work-grid__item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgb(16 47 88 / 0.92);
  color: var(--white);
}

.work-grid__item figcaption span {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-grid__item figcaption small {
  color: var(--white);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.services-detail {
  padding: clamp(6rem, 9vw, 9rem) 5.2%;
  background: var(--white);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(3rem, 9vw, 9rem);
  width: min(100%, 86rem);
  margin: clamp(3.5rem, 6vw, 6rem) auto 0;
}

.services-list article {
  position: relative;
  min-height: 10rem;
  padding: 1.65rem 4.25rem 2rem 0;
  border-top: 1px solid #aab7c8;
}

.services-list article::after {
  content: "→";
  position: absolute;
  top: 1.5rem;
  right: 0;
  color: var(--red);
  font-size: 1.6rem;
  line-height: 1;
}

.services-list h3 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(1.25rem, 1.75vw, 1.7rem);
  line-height: 1.15;
}

.services-list p {
  max-width: 38ch;
  margin: 0.72rem 0 0;
  color: #405977;
  font-size: 1rem;
  line-height: 1.55;
}

.experience-section {
  display: grid;
  grid-template-columns: minmax(20rem, 0.7fr) minmax(0, 1.3fr);
  width: min(100%, 1536px);
  margin-inline: auto;
  background: var(--navy);
  color: var(--white);
}

.experience-section__credential {
  display: flex;
  min-height: clamp(26rem, 38vw, 36rem);
  flex-direction: column;
  justify-content: center;
  padding: 4rem 15%;
  background: var(--red);
}

.experience-section__credential strong {
  font-size: clamp(7rem, 14vw, 13rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.75;
  font-variant-numeric: tabular-nums;
}

.experience-section__credential span {
  max-width: 12ch;
  margin-top: 2rem;
  font-size: clamp(0.9rem, 1.25vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.experience-section__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vw, 8rem);
}

.experience-section__copy p {
  margin-top: 2rem;
  color: var(--white);
}

.text-link {
  width: max-content;
  margin-top: 2.5rem;
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-link span { margin-left: 0.65rem; color: #ff766f; }

.contact-section {
  display: grid;
  grid-template-columns: minmax(20rem, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(4rem, 9vw, 9rem);
  padding: clamp(6rem, 10vw, 10rem) max(5.2%, calc((100% - 86rem) / 2));
  background: var(--navy-deep);
  color: var(--white);
}

.contact-section h2 { max-width: 11ch; }

.contact-section__intro > p {
  margin-top: 2rem;
  color: var(--white);
}

.contact-widget {
  margin-top: 3rem;
  padding: 0.5rem 1.6rem;
  border: 1px solid #8fa2bc;
}

.contact-widget dl { margin: 0; }

.contact-widget dl > div {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.35rem 0;
}

.contact-widget dl > div + div { border-top: 1px solid #647c9a; }

.contact-widget dt {
  color: #ffaba6;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-widget dd {
  margin: 0;
  color: var(--white);
  line-height: 1.4;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  align-content: start;
  padding-top: 0.5rem;
}

.form-field { min-width: 0; }
.form-field--wide { grid-column: 1 / -1; }

.form-field label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 2px solid transparent;
  border-radius: 0;
  background: var(--white);
  color: var(--navy-deep);
  caret-color: var(--red);
  outline: 0;
}

.form-field input { min-height: 3.65rem; padding: 0 1rem; }
.form-field textarea { min-height: 10rem; padding: 0.9rem 1rem; resize: vertical; }

.form-field input:focus,
.form-field textarea:focus { border-color: var(--focus); box-shadow: 0 0.45rem 1.2rem rgb(0 0 0 / 0.2); }

.form-field [aria-invalid="true"] { border-color: #ff9f99; }

.field-error {
  display: block;
  min-height: 1.35rem;
  margin-top: 0.35rem;
  color: #ffd3d0;
  font-size: 0.88rem;
}

.contact-form__actions {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
}

.button--form { min-width: 16.5rem; cursor: pointer; }

.form-status {
  margin: 0;
  color: var(--white);
  line-height: 1.4;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(100%, 1536px);
  margin-inline: auto;
  padding: 2rem 5.2%;
  background: #0b2547;
  color: #dfe8f3;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

@media (max-width: 1100px) {
  .site-header {
    height: 5rem;
    padding-inline: 2rem;
  }

  .wordmark { grid-template-columns: 2.6rem auto; }
  .wordmark__primary { font-size: 1.65rem; }
  .wordmark__secondary { font-size: 0.72rem; }
  .wordmark::before { width: 2.25rem; }

  .nav-toggle {
    display: grid;
    grid-template-columns: auto 1.2rem;
    grid-template-rows: 1fr 1fr;
    column-gap: 0.7rem;
    align-items: center;
    min-width: 5.5rem;
    min-height: 3rem;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--navy-deep);
    border-radius: 0;
    background: var(--white);
    color: var(--navy-deep);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .nav-toggle__label { grid-row: 1 / -1; }

  .nav-toggle__line {
    grid-column: 2;
    width: 1.2rem;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease-out;
  }

  .nav-toggle__line:nth-child(2) { align-self: end; }
  .nav-toggle__line:nth-child(3) { align-self: start; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 30;
    width: min(100%, 24rem);
    height: auto;
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    box-shadow: 0 0.9rem 2rem rgb(0 0 0 / 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.75rem);
    visibility: hidden;
    transition: opacity 180ms ease-out, transform 180ms ease-out, visibility 180ms;
  }

  .primary-nav[data-open] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .primary-nav > a:not(.button) {
    width: 100%;
    min-height: 3.5rem;
    padding-inline: 0.8rem;
  }

  .primary-nav > a:not(.button)::after { bottom: 0.65rem; left: 0.8rem; right: 0.8rem; }
  .button--header { width: 100%; margin: 0.75rem 0 0; }

  .hero-shell {
    height: clamp(56rem, 100vw, 65rem);
    aspect-ratio: auto;
  }

  .hero { inset: 0 0 14rem; }
  .hero__content { width: 40%; padding: 4.5rem 2.25rem 3rem; }
  .hero h1 { font-size: clamp(3rem, 6.8vw, 4.5rem); line-height: 0.98; }
  .hero__summary { font-size: clamp(1rem, 2vw, 1.22rem); }
  .hero__experience { font-size: 0.82rem; letter-spacing: 0.14em; white-space: normal; }
  .hero__experience::before { width: 100%; }
  .button--hero { width: 100%; min-width: 0; padding-inline: 1.2rem; }
  .project-tile--kitchen { left: 40%; width: 30%; }
  .project-tile--interior { left: 70%; }
  .project-tile--exterior { left: 70%; }

  .service-index {
    inset: auto 0 0;
    height: 14rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, 1fr);
    padding: 0.5rem 2rem;
  }

  .service-index__item { justify-content: flex-start; padding-inline: 0.7rem; }

  .section-heading--split {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    gap: 3rem;
  }

  .experience-section { grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr); }
  .experience-section__copy { padding: 4rem; }
  .contact-section { gap: 4rem; padding-inline: 4rem; }
}

@media (max-width: 760px) {
  .site-header {
    height: 4.625rem;
    padding-inline: 1.25rem;
  }

  .wordmark { grid-template-columns: 2rem auto; }
  .wordmark__primary { font-size: clamp(1.15rem, 5.6vw, 1.42rem); letter-spacing: 0.1em; }
  .wordmark__secondary { font-size: clamp(0.52rem, 2.6vw, 0.64rem); letter-spacing: 0.29em; }
  .wordmark::before { width: 1.75rem; height: 0.16rem; }

  .primary-nav { width: 100%; }

  .hero-shell {
    height: auto;
    overflow: visible;
  }

  .hero {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .hero__content {
    position: relative;
    inset: auto;
    grid-column: 1 / -1;
    width: auto;
    min-height: 36rem;
    padding: 3.8rem 1.5rem 3.4rem;
  }

  .hero h1 {
    max-width: 6ch;
    font-size: clamp(3.15rem, 15vw, 4.25rem);
    line-height: 0.96;
  }

  .hero__summary { max-width: 29ch; margin-top: 1.8rem; font-size: 1.1rem; }
  .hero__experience { max-width: none; margin-top: 1.6rem; padding-top: 1.45rem; font-size: 0.86rem; }
  .button--hero { min-height: 3.75rem; margin-top: 1.6rem; }

  .project-tile {
    position: relative;
    inset: auto;
    width: auto;
    border: 0;
  }

  .project-tile--kitchen { grid-column: 1 / -1; height: 34rem; border-top: 4px solid var(--white); }
  .project-tile--interior { grid-column: 1; height: 15rem; border-top: 4px solid var(--white); border-right: 2px solid var(--white); }
  .project-tile--exterior { grid-column: 2; height: 15rem; border-top: 4px solid var(--white); border-left: 2px solid var(--white); }
  .project-tile figcaption { left: 0.65rem; font-size: 0.75rem; }

  .service-index {
    position: relative;
    inset: auto;
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    padding: 0.8rem 1rem;
  }

  .service-index__item { min-height: 4rem; padding-inline: 0.45rem; font-size: 0.7rem; }
  .service-index__item svg { width: 2rem; height: 2rem; }
  .service-index__item:not(:last-child)::after { right: 0; }

  .section-heading--split { grid-template-columns: 1fr; gap: 1.6rem; }
  .section-heading h2,
  .experience-section h2,
  .contact-section h2 { font-size: clamp(2.65rem, 12vw, 3.75rem); }

  .work-section,
  .services-detail { padding: 5rem 1.25rem; }

  .work-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 32rem 17rem 17rem;
    margin-top: 3rem;
  }

  .work-grid__item--residential { grid-row: auto; }
  .work-grid__item figcaption { padding: 0.85rem; }

  .services-list { grid-template-columns: 1fr; margin-top: 3.2rem; }
  .services-list article { min-height: 0; padding-block: 1.4rem 1.7rem; }

  .experience-section { grid-template-columns: 1fr; }
  .experience-section__credential { min-height: 20rem; padding: 4rem 1.5rem; }
  .experience-section__credential strong { font-size: clamp(7.5rem, 39vw, 10rem); }
  .experience-section__copy { padding: 4.5rem 1.5rem; }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 5rem 1.25rem;
  }

  .contact-form { grid-template-columns: 1fr; }
  .form-field,
  .form-field--wide { grid-column: 1; }
  .contact-form__actions { grid-template-columns: 1fr; }
  .button--form { width: 100%; min-width: 0; }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .nav-toggle { min-width: 3rem; grid-template-columns: 1.2rem; padding-inline: 0.8rem; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .nav-toggle__line { grid-column: 1; }

  .work-grid__item figcaption { align-items: flex-start; flex-direction: column; gap: 0.35rem; }

  .contact-widget dl > div {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}

@keyframes mosaic-in {
  from {
    clip-path: inset(0 100% 0 0);
    filter: saturate(0.65) brightness(0.82);
  }
  to {
    clip-path: inset(0 0 0 0);
    filter: saturate(1) brightness(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .project-tile {
    animation: mosaic-in 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .project-tile--kitchen { animation-delay: 80ms; }
  .project-tile--interior { animation-delay: 180ms; }
  .project-tile--exterior { animation-delay: 280ms; }
}

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