:root {
  --ink: #151a18;
  --ink-soft: #212825;
  --paper: #f2efe7;
  --white: #fffdf8;
  --muted: #a8afa9;
  --line: rgba(21, 26, 24, 0.16);
  --orange: #ff5a1f;
  --orange-dark: #db3d08;
  --max: 1240px;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Aptos", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

.container {
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.section {
  padding-block: clamp(5.5rem, 10vw, 9rem);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  background: var(--orange);
  color: white;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  color: white;
  transition: background-color 250ms ease, box-shadow 250ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(242, 239, 231, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1400px, calc(100% - (var(--pad) * 2)));
  min-height: 82px;
  margin-inline: auto;
}

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

.brand-mark {
  position: relative;
  display: grid;
  width: 36px;
  height: 40px;
  overflow: hidden;
  place-items: center;
}

.brand-mark::before,
.brand-mark i {
  position: absolute;
  display: block;
  background: currentColor;
  content: "";
}

.brand-mark::before {
  left: 4px;
  width: 8px;
  height: 34px;
}

.brand-mark i {
  left: 16px;
  width: 8px;
  height: 26px;
  transform-origin: 50% 50%;
}

.brand-mark i:first-child {
  top: 0;
  transform: rotate(42deg);
}

.brand-mark i:last-child {
  bottom: 0;
  transform: rotate(-42deg);
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 1.55rem;
  letter-spacing: 0.1em;
}

.brand-copy small {
  margin-top: 0.32rem;
  font-size: 0.63rem;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

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

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

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -0.4rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem 0.85rem 1.2rem;
  color: white;
  background: var(--orange);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 26px;
  height: 2px;
  margin: 7px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: 780px;
  height: 100svh;
  overflow: hidden;
  color: white;
  background: var(--ink);
}

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

.hero-image {
  background-image: url("assets/extension-finished-night.jpg");
  background-position: center 58%;
  background-size: cover;
  transform: scale(1.015);
  animation: hero-in 1.2s cubic-bezier(.2, .8, .2, 1) both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 13, 12, 0.9) 0%, rgba(10, 13, 12, 0.58) 45%, rgba(10, 13, 12, 0.12) 78%),
    linear-gradient(0deg, rgba(10, 13, 12, 0.84) 0%, transparent 42%);
}

.hero-grid {
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 100% 25%, 25% 100%;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-height: 100%;
  padding-top: 5rem;
  padding-bottom: 8rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.4rem;
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow.light {
  color: #ff7b4c;
}

.hero h1,
.section-heading h2,
.process-intro h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 7.8rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.hero h1 {
  max-width: 980px;
}

h1 em,
h2 em {
  font-family: var(--serif);
  font-weight: 400;
}

.hero-intro {
  max-width: 620px;
  margin: 2.2rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  min-height: 54px;
  padding: 0.9rem 1.3rem;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  color: white;
  background: var(--orange);
}

.button-primary:hover {
  background: var(--orange-dark);
}

.button-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}

.button-ghost:hover {
  color: var(--ink);
  background: white;
}

.button-dark {
  color: white;
  background: var(--ink);
}

.button-dark:hover {
  background: var(--orange-dark);
}

.hero-footer {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-footer-inner {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 78px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-footer-inner p {
  margin: 0;
}

.hero-footer-inner p:nth-child(2) {
  text-align: center;
}

.hero-footer-inner a {
  justify-self: end;
}

.pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.7rem;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.7);
  animation: pulse 2s infinite;
}

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

.intro-grid,
.projects-head {
  display: grid;
  align-items: start;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.section-heading h2,
.process-intro h2,
.contact-copy h2 {
  font-size: clamp(3rem, 5.8vw, 5.8rem);
}

.intro-copy {
  padding-top: 1.8rem;
}

.intro-copy p {
  max-width: 620px;
}

.intro-copy .lead {
  margin-top: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.35;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.3rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.values-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(4rem, 8vw, 8rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.values-strip article {
  padding: 2rem clamp(1rem, 3vw, 2.5rem) 2.5rem 0;
}

.values-strip article + article {
  padding-left: clamp(1rem, 3vw, 2.5rem);
  border-left: 1px solid var(--line);
}

.values-strip span,
.service-number,
.process-steps > li > span {
  color: var(--orange-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.values-strip h3 {
  margin: 2.5rem 0 0.5rem;
  font-size: 1.2rem;
}

.values-strip p {
  margin: 0;
  color: #5d645f;
  font-size: 0.9rem;
}

.services,
.process {
  color: white;
  background: var(--ink);
}

.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 4rem;
}

.section-top > p {
  max-width: 390px;
  margin: 0 0 0.5rem;
  color: var(--muted);
}

.service-list {
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.service-card {
  display: grid;
  align-items: center;
  grid-template-columns: 80px 1fr 80px;
  gap: 1.5rem;
  min-height: 160px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  transition: color 180ms ease, background-color 180ms ease, padding 180ms ease;
}

.service-card:hover {
  padding-inline: 1rem;
  color: var(--ink);
  background: var(--orange);
}

.service-card:hover .service-number,
.service-card:hover p {
  color: rgba(21, 26, 24, 0.72);
}

.service-card h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.04em;
}

.service-card p {
  max-width: 550px;
  margin: 0.35rem 0 0;
  color: var(--muted);
  transition: color 180ms ease;
}

.service-icon {
  justify-self: end;
  font-size: 2rem;
}

.projects {
  background: var(--white);
}

.project-description {
  padding-top: 2rem;
}

.project-description > p {
  max-width: 570px;
  margin-top: 0;
  font-size: 1.1rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.project-meta span {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 4rem 0 1.3rem;
}

.filter-button {
  padding: 0.65rem 1rem;
  color: #555c58;
  background: transparent;
  border: 1px solid var(--line);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.project-gallery {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 250px;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 0;
  color: white;
  background: var(--ink);
  border: 0;
  cursor: zoom-in;
}

.gallery-item.hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 300ms ease, transform 500ms cubic-bezier(.2, .7, .2, 1);
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 10, 9, 0.75), transparent 48%);
  content: "";
}

.gallery-item:hover img {
  opacity: 0.78;
  transform: scale(1.04);
}

.gallery-wide {
  grid-column: span 2;
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-label,
.gallery-open {
  position: absolute;
  z-index: 2;
  bottom: 1rem;
}

.gallery-label {
  left: 1rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.gallery-open {
  right: 1rem;
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 1.3rem;
  line-height: 1;
  place-items: center;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(4rem, 10vw, 10rem);
}

.process-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.process-intro > p:not(.eyebrow) {
  max-width: 470px;
  margin: 2rem 0;
  color: var(--muted);
}

.process-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.process-steps li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.process-steps h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
}

.process-steps p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.contact {
  overflow: hidden;
  background: var(--orange);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(3rem, 8vw, 7rem);
}

.contact-copy .eyebrow {
  color: var(--ink);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin: 2rem 0;
}

.contact-copy address {
  display: grid;
  gap: 0.4rem;
  margin: 3rem 0 0;
  font-style: normal;
}

.contact-copy address span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-copy address strong {
  font-size: 1.2rem;
}

.quote-form {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--white);
}

.quote-form label {
  display: grid;
  gap: 0.45rem;
}

.quote-form label > span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.9rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(21, 26, 24, 0.35);
  border-radius: 0;
  outline: 0;
}

.quote-form textarea {
  resize: vertical;
}

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

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
}

.form-footer p {
  max-width: 260px;
  margin: 0;
  color: #69706c;
  font-size: 0.73rem;
}

.form-status {
  min-height: 1.5em;
  margin: 1rem 0 0;
  color: var(--orange-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

.site-footer {
  padding-top: 4rem;
  color: white;
  background: #0d100f;
}

.footer-top {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

.brand-footer {
  color: white;
}

.footer-top > p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.35;
}

.footer-top nav {
  display: grid;
  justify-self: end;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-top nav a:hover,
.footer-bottom a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 74px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #929994;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p:nth-child(2) {
  text-align: center;
}

.footer-bottom a {
  justify-self: end;
}

.lightbox {
  width: min(92vw, 1100px);
  max-width: none;
  height: min(90vh, 900px);
  max-height: none;
  padding: 0;
  overflow: visible;
  color: white;
  background: transparent;
  border: 0;
}

.lightbox::backdrop {
  background: rgba(9, 11, 10, 0.94);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  display: grid;
  width: 100%;
  height: 100%;
  margin: 0;
  grid-template-rows: 1fr auto;
}

.lightbox img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.lightbox figcaption {
  padding-top: 0.8rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  z-index: 3;
  top: -0.25rem;
  right: 0;
  width: 44px;
  height: 44px;
  color: white;
  background: var(--orange);
  border: 0;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2, .7, .2, 1);
}

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

@keyframes hero-in {
  from { opacity: 0; transform: scale(1.09); }
  to { opacity: 1; transform: scale(1.015); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(255, 90, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); }
}

@media (max-width: 900px) {
  .site-header {
    color: var(--ink);
    background: rgba(242, 239, 231, 0.96);
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: block;
  }

  .brand {
    position: relative;
    z-index: 2;
  }

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

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

  .site-nav {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 1.3rem;
    padding: 7.5rem var(--pad) 3rem;
    color: white;
    background: var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a {
    font-size: clamp(1.8rem, 7vw, 3rem);
  }

  .site-nav .nav-cta {
    margin-top: 1rem;
    font-size: 0.9rem;
  }

  .site-header:has(.site-nav.open) {
    color: white;
    background: transparent;
  }

  .hero {
    min-height: 720px;
  }

  .hero-image {
    background-position: 67% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 13, 12, 0.87), rgba(10, 13, 12, 0.28)),
      linear-gradient(0deg, rgba(10, 13, 12, 0.88), transparent 50%);
  }

  .hero-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-footer-inner p:nth-child(2) {
    display: none;
  }

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

  .intro-copy,
  .project-description {
    padding-top: 0;
  }

  .section-top {
    align-items: start;
    flex-direction: column;
  }

  .process-intro {
    position: static;
  }

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

  .gallery-wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 1.2rem;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand-copy strong {
    font-size: 1.3rem;
  }

  .brand-mark {
    transform: scale(0.88);
  }

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

  .hero-intro {
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 320px;
  }

  .hero-footer-inner {
    min-height: 64px;
  }

  .hero-footer-inner > p {
    display: none;
  }

  .hero-footer-inner a {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .section {
    padding-block: 5rem;
  }

  .values-strip {
    grid-template-columns: 1fr;
  }

  .values-strip article {
    padding: 1.5rem 0 2rem;
  }

  .values-strip article + article {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .values-strip h3 {
    margin-top: 1.5rem;
  }

  .service-card {
    grid-template-columns: 42px 1fr;
    min-height: 145px;
  }

  .service-card:hover {
    padding-inline: 0.5rem;
  }

  .service-icon {
    display: none;
  }

  .service-card h3 {
    font-size: 1.65rem;
  }

  .service-card p {
    font-size: 0.86rem;
  }

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

  .gallery-wide,
  .gallery-tall {
    grid-column: auto;
    grid-row: auto;
  }

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

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

  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-top nav {
    justify-self: start;
  }

  .footer-bottom {
    gap: 0.65rem;
    padding-block: 1.5rem;
  }

  .footer-bottom p:nth-child(2) {
    text-align: left;
  }

  .footer-bottom a {
    justify-self: start;
  }
}

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

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